This should be the menu's target code: ,"Restaurants Downtown", "javascript:openIFrame(\"main\", \"restaurants.htm\")",,,0
Plus put this script on your page(s):
<script language=javascript>
function openIFrame(iFrameId,winURL)
{
ifId=gmobj(iFrameId)
ifId.src=winURL
}
</script>
That will work ...
Search found 2 matches
- Wed Nov 13, 2002 10:14 pm
- Forum: Archived Topics for the old Version 3.0 JavaScript Menu
- Topic: iframe targeting, can't get it to work
- Replies: 1
- Views: 1976
- Wed Nov 13, 2002 9:31 pm
- Forum: Archived Topics for the old Version 3.0 JavaScript Menu
- Topic: A link which opens two pages in two Iframes
- Replies: 1
- Views: 1983
A link which opens two pages in two Iframes
I have a menu wich opens a page in an Iframe. That is working all very well, no problem.
But what I would like to create is a link which opens two pages in two Iframes. Is this possible?
This is the code: ,"Verzameling", "javascript:openIFrame(\"main\", \"verzameling.htm\")",,,0
When clicking this ...
But what I would like to create is a link which opens two pages in two Iframes. Is this possible?
This is the code: ,"Verzameling", "javascript:openIFrame(\"main\", \"verzameling.htm\")",,,0
When clicking this ...