Results 1 to 3 of 3

Thread: Dd Tab Menu Help

  1. #1
    Join Date
    Oct 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Dd Tab Menu Help

    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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    You shouldn't have any problem running a JavaScript command for one of the tabs. For example:

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

  3. #3
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Quote Originally Posted by otrotabi
    ...nu. I&#180;m a begginer wtih Java scripting, so although I h...
    JavaScript, not Java. It's two separate things.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •