View Full Version : Dd Tab Menu Help

10-31-2006, 07:15 PM
1) Script Title: DD TAB MENU

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm

3) Describe problem: Hi everybody, I need some help with DD Tab Menu. I´m a begginer wtih Java scripting, so although I have an idea of what might be going on I don´t know how to solve the problem. I am able to use the menu without problems as long as there is either a file or and url following the href TAG. However, it would be hepful for me to be able to launch a Java script from the menu, because what I would like to do is to create two frames on the fly, leaving one of the frames with a ¨fixed¨ html page while the other frame is different every time. If you try to run a javascript after the href TAG, for expample : <a href = "javascript load (´url´)">Example </a>, where load creates the frames and loads the url file into the second frame and where the first frame is completely defined within the load script.

I hope I was clear enough describing the problem, thanks for your help.

10-31-2006, 11:50 PM
You shouldn't have any problem running a JavaScript command for one of the tabs. For example:

<li><a href="http://www.dynamicdrive.com" onMouseover="expandcontent('sc1', this)" onClick="load(\'http://cnn.com\'); return false">Home</a></li>

11-01-2006, 05:06 AM
...nu. I&#180;m a begginer wtih Java scripting, so although I h...

JavaScript, not Java. It's two separate things.