PDA

View Full Version : Chrome dropdown menu top edge



jan24
10-06-2010, 08:04 PM
Hello all,

I just downloaded the chrome dropdown menu from:
http://www.dynamicdrive.com/dynamicindex1/chrome/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

ddadmin
10-07-2010, 07:33 AM
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?

jan24
10-07-2010, 05:15 PM
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

ddadmin
10-08-2010, 07:24 AM
Ah I see. Inside chrome.js, try finding the below line, and add to it the code in red:


this.dropmenuobj.x=this.getposOffset(obj, "left")-5

jan24
10-08-2010, 12:34 PM
Thats what i needed!
It solved the problem! :D
Thanks a lot :)

jan24
10-11-2010, 06:54 PM
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.