Click to See Complete Forum and Search --> : Is there a code to make all links open in a certain frame?


skooter
03-09-2006, 11:12 AM
I was wondering if there was a code that made it so that all links when you clicked on them would open up in a certain frame on the webpage. I have an inline frame and I know how to get everything to open in there except I have a javascript menu and the links are different so there is no place for me to put the target frame...

skooter
03-09-2006, 11:19 AM
This is what I have that has no where to put it:
Menu8=new Array("Links","javascript:top.location.href='links.html'","",0);

but is there a code that i can just put under the header so all links open in a certain spot?

skooter
03-09-2006, 12:11 PM
AHA!!!!! I GOT IT!!

Thanks anyways, I figured out how to make the menu open in a different frame lol, it was right in front of me!

Menu8=new Array("Links","javascript:top.location.href='links.html'","",0);

CHANGED TO

Menu8=new Array("Links","javascript:OTHERFRAME.location.href='links.html'","",0);


niiiiiiiiiiiiice