Results 1 to 3 of 3

Thread: Drop down/ Overlapping Content script needs to still funtion as standard link as well

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Drop down/ Overlapping Content script needs to still funtion as standard link as well

    1) Script Title:
    Drop down/ Overlapping Content script
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...lapcontent.htm
    3) Describe problem:

    I am using the rollover function of the script to drop down a menu but I would like the text that is being rolled over to also be clickable to send you to a link.

    for example "About Us" you roll over and it drops a menu with all the links for about us (have this part working fine) I want to be able to click on "About Us" and have it take me to generic aboutus.html

    [code]<a href="aboutus.php" class="MenuLight" id="searchlink2" rel="subcontent2" rev="maboutus.php">About Us [code]
    I have that and it shows a hand and looks like if you click it will take you to aboutus.php not the drop down, but click does nothing.

    This is my init section
    [code]dropdowncontent.init("searchlink2", "right-bottom", 10, "mouseover")[code]

  2. #2
    Join Date
    Aug 2009
    Location
    utf-8
    Posts
    205
    Thanks
    4
    Thanked 7 Times in 7 Posts

    Default

    Open dropdowncontent.js and change
    Code:
    var dropdowncontent={
    	disableanchorlink: true
    to false.

    Also why are you making the box show when the user is going to be redirected anyway? The user will never get to see the full box. If youre trying to make an animated menu I suggest you look at this

  3. The Following User Says Thank You to FrickenTrevor For This Useful Post:

    jeepville (06-08-2011)

  4. #3
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks I didnt know why I didnt see that it was the first option in the .js

    I have the menu show on roll over so they can still see and access the menu by just rolling over the text but for the lazy I want them to still be able to access the pages by going and just clicking on the menu text itself.

    So thank you! Its working the way I want it to now.

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
  •