PDA

View Full Version : Menu????



godfatherfan64
09-20-2004, 03:38 AM
ok so i have a frame on the very right side of my page(vertical) and i dont know much about Dynamic html, and every time i click on one of the menu links it opens the link up in that frame wen i want it in the middle frame....i tried to put target="right" but that just messeed it up PLEZZ HELLP MEEEEE

Admin Edit: Script is: http://www.dynamicdrive.com/dynamicindex1/staticmenu3.htm

my website if u need to loook at wtf im talkin bout http://home.comcast.net/~godfatherfan64 :eek: ?????????????

ddadmin
09-20-2004, 07:37 PM
You should be able to do this by modifying the code:

ONCLICK="location=\''+menul[i]

to:

ONCLICK="parent.myframe.location=\''+menul[i]+

Where myframe is the name of the frame you wish to target.

P.S: In the future, please follow the following format when posting a question, namely, always posting a link to the script(s) in question like I've done above: http://www.dynamicdrive.com/forums/showthread.php?t=6 Don't post the entire source code here.