hi
I needed to make a menu link targets 2 pages , each page in one of 2 separate iframes on mainpage, i searched the web, and came up with this javascript tip/solution:
<a href="javascript:top.frames[x].location.href='URL1';
top.frames[x].location.href='URL2';">Change Frames</a>
where "x" can be frames ID or NAME
how can i embed this into my menu links?
Thank u very much for ur patience
Javascript menu link adding/modifying question,plz help
Javascript menu link adding/modifying question,plz help
Last edited by foufou on Wed Apr 28, 2004 8:31 am, edited 1 time in total.
Tried it, didn't work; the menu just disappears from the page, for the sake of lack of html knowledge i have , i 've tried it again this way:
text=<a href="javascript:top.frames[x].location.href='URL1';
top.frames[x].location.href='URL2';">Change Frames</a>;type=html;
With single "<" or ">"
Same result..
What shall i have to do
text=<a href="javascript:top.frames[x].location.href='URL1';
top.frames[x].location.href='URL2';">Change Frames</a>;type=html;
With single "<" or ">"
Same result..
What shall i have to do