PDA

View Full Version : Switch Menu Question



Mole
09-17-2004, 10:36 PM
I currently use the switch menu on my web site. Im trying to redo it to where I have a frames page and the switch menu script is in the left frame. I have completed this task but when I click on a link it opens inside of the left frame. Im a nub when it comes to web design/code. Could someone helpo me out with what code I may need to have the link opne in a new page or even in the main frame?

ddadmin
09-20-2004, 07:05 PM
For future reference please always include a link to the script in your post, in this case: http://www.dynamicdrive.com/dynamicindex1/switchmenu.htm

To answer your question, the menu uses plain HTML to implement the links, so to add a target, simply use the target attribute within the HTML, such as:


- <a href="new.htm" target="myframe">What's New</a><br>