+ Reply to Thread
Results 1 to 3 of 3

Thread: Not calling up DHTML drop-downs. Not sure why

Threaded View

  1. #1
    Member blueuniverse is on a distinguished road
    Join Date
    Jul 2004
    Location
    UK
    Posts
    55

    Not calling up DHTML drop-downs. Not sure why

    Ok, basically my link (which should call up the drop-down) is.....

    Code:
     <a href="search.php?$session[sessionurl]" accesskey="4"><img src="images/v4/misc/search.gif" alt="search" width="61" height="29" border="0" /><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></a>
    It isn't inside a td tag or anything and that is all I've got. It should call up the search drop-down box but it just goes to search.php instead so how (without using td tags) would I call it up?

  2. #2
    vBulletin Team Jake Bunce has a spectacular aura about Jake Bunce has a spectacular aura about Jake Bunce's Avatar
    Join Date
    Dec 2000
    Location
    Land of the In-N-Out Burger
    Age
    28
    Posts
    46,521
    You need to give the popup element an id so the browser knows which element spawns the menu. for example, you could surround your code with this:

    Code:
    <div id="navbar_search">
    
    </div>
    ...or it may work to include the id in the link tag:

    Code:
    <a id="navbar_search" href="search.php?$session[sessionurl]" accesskey="4"><img src="images/v4/misc/search.gif" alt="search" width="61" height="29" border="0" /><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></a>

  3. #3
    Member blueuniverse is on a distinguished road
    Join Date
    Jul 2004
    Location
    UK
    Posts
    55
    Including the id in the link tag worked excellently. Thanks

+ Reply to Thread

Similar Threads

  1. intelligent drop downs
    By sabret00the in forum PHP & HTML Questions
    Replies: 2
    Last Post: Sun 24th Jul '05, 8:19pm
  2. Drop downs without the arrows
    By blueuniverse in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 4
    Last Post: Fri 1st Jul '05, 5:56pm
  3. Help drop downs not working
    By attroll in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 10
    Last Post: Fri 27th Aug '04, 9:08am
  4. Drop downs
    By SpottyPoo in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 5
    Last Post: Sun 14th Mar '04, 3:13pm
  5. Date drop downs
    By XiXora in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 5
    Last Post: Wed 19th Dec '01, 12:43am

Bookmarks

Posting Permissions

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