Results 1 to 6 of 6

Thread: Chrome dropdown menu top edge

  1. #1
    Join Date
    Oct 2010
    Posts
    19
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Chrome dropdown menu top edge

    Hello all,

    I just downloaded the chrome dropdown menu from:
    http://www.dynamicdrive.com/dynamici...rome/index.htm

    It all is working perfect although i got one little problem.
    I dont know how or where to change the position of the dorpdown menu to the left.

    Well what i want to do is move the dropdown menu more to the left.
    Although i dont know where to do that, i think its somewhere in the javascript either though i am not that good at javascript.

    I hope somebody could help me out.
    Thanks in advance.
    Greetz,

    Jan24

  2. #2
    Join Date
    Aug 2004
    Posts
    9,902
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    By left, do you mean move each drop down sub menu slightly to the left from where it is now? If so by how much?
    DD Admin

  3. #3
    Join Date
    Oct 2010
    Posts
    19
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    First thanks for your response.
    I made a example of how its now at me and how i want to have it.
    See the attachments
    - drop1.jpg is how its now, and on this way i don't want to have it.
    - drop2.jpg is how i want to have it, i have changed this with paint just for example.

    I hope this makes it more clear.
    If u got any other questions about it or want to know more about the codes i have you just can ask. But i tink with these screenshots its quite clear

    Thanks for advance.
    Greetz,

    Jan24

  4. #4
    Join Date
    Aug 2004
    Posts
    9,902
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Ah I see. Inside chrome.js, try finding the below line, and add to it the code in red:

    Code:
    this.dropmenuobj.x=this.getposOffset(obj, "left")-5
    DD Admin

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

    jan24 (10-08-2010)

  6. #5
    Join Date
    Oct 2010
    Posts
    19
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Thats what i needed!
    It solved the problem!
    Thanks a lot

  7. #6
    Join Date
    Oct 2010
    Posts
    19
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Sorry that start again at this topic.
    But i got kinda a problem with same thing.
    He keeps jumping over from left and right (especially to the left) it just depends on what kind of pc i am running i have tested the site on few computers but he jumps more to the left then other pc's its a bit odd.

    U might have any idea how to solve this?
    Thanks in advance.

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
  •