Results 1 to 8 of 8

Thread: problems positioning AnyLink JS Drop Down Menu v2.2

  1. #1
    Join Date
    Jun 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default problems positioning AnyLink JS Drop Down Menu v2.2

    1) Script Title: AnyLink JS Drop Down Menu v2.2

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    3) Describe problem: been a newbie I did implemented really well without much problems. When I make it worked, I found 2 problems:

    My site http://furniturevision.com

    first problem: In Chrome looks very nice; the menu shows right at the bottom of the link image. BUT in Explorer and Firefox, the menu it goes all the way to the top of the screen. Which it looks horrible. I even tried changing orientation "lr" , but shows a little lower and to the right, which neither works for me.

    Second problem: I'm trying to do "Target.com" style of multi column menu; I followed the instruction but, it always shows vertical in one row, even I put the "efc" in place.

    I appreciate any help in this matter .
    Thanks !

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

    Default

    At a glance your menu actually looks fine (in FF3). The reason it's dropping from the very top of the screen is intentional- when the menu is too long to drop down from the anchor without obscuring parts of the drop down menu, it moves itself to the top of the screen instead. If you shorten the length of the menu, you'll see how the script will no longer do this.
    DD Admin

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

    Default

    Thank you so much !!
    You are right, I cut half of the menu list and it shows where I want.
    But, I'm still having the second problem; I can't make the menu break in multiple
    columns, even if I apply the required "efc" break.
    Any idea, what i'm doing wrong ?
    Thanks again !!

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

    Default

    For your 2nd question, the reason is since you've assigned an incorrect CSS class to your drop down menu inside menucontents.js. Instead of the default "anylinkmenu" class, you should use "anylinkmenucols". In other words, the code in red highlights the change you should make:

    Code:
    var linklivingmenu={divclass:'anylinkmenucols', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
    linklivingmenu.cols={divclass:'column', inlinestyle:''}

    to:
    DD Admin

  5. #5
    Join Date
    Jun 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks !
    Works great !! One more thing: how can I make bold or italic some of the text links inside of the multi columns menu ?
    Appreciate !!

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

    Default

    Quote Originally Posted by furniturevision View Post
    Thanks !
    Works great !! One more thing: how can I make bold or italic some of the text links inside of the multi columns menu ?
    Appreciate !!
    You should be able to just insert the desired HTML tags into the menu titles inside menucontents.js to achieve the desired effect. For example:

    Code:
    anylinkmenu3.items=[
    	["Dynamic Drive", "http://www.dynamicdrive.com/"],
    	["CSS Drive", "http://www.cssdrive.com/"],
    	["JavaScript Kit", "http://www.javascriptkit.com/"],
    	["Coding Forums", "http://www.codingforums.com/"],
    	["JavaScript Reference", "http://www.javascriptkit.com/jsref/", "efc"],
    	["CNN", "http://www.cnn.com/"],
    	["<b>MSNBC</b>", "http://www.msnbc.com/"],
    	["Google", "http://www.google.com/"],
    	["BBC News", "http://news.bbc.co.uk", "efc"],
    	["News.com", "http://www.news.com/"],
    	["SlashDot", "http://www.slashdot.com/"],
    	["Digg", "http://www.digg.com/"],
    	["Tech Crunch", "http://techcrunch.com"] //no comma following last entry!
    ]
    DD Admin

  7. The Following User Says Thank You to ddadmin For This Useful Post:

    furniturevision (07-01-2009)

  8. #7
    Join Date
    Jun 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much !!

  9. #8
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks!

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
  •