dropdown & iframes
- Started
- Last post
- 4 Responses
- fredrik
howto update to iframes with a dropdown menu?
i.e
load text.html in textFrame and flyer.html in flyerFrame
- Xentic0
just set the targets right. in the link to text.html use target="textFrame" ... and target="flyerframe" for the other one... can't be that hard...
- fredrik0
yeah i know that, but my dropdown is to load and change 2 iframes
dropdown menu >
1. load text.html in textFrame
2. load flyer.html in flyerFrame
- Xentic0
okay, you mean in the same time? Hmm... You'll need sme kind of java script for that... something like:
onClick='change2()' in the link
And this part in the head (as javascript):
function change2()
{
parent.textFrame.src = 'text.html'
parent.flyerFrame.src = 'flyer.html'
}this is for a normal link. Don't know how to do it in a dropdown menu
- Xentic0
onSelect maybe...