Sub-menu jQuery positioning

  • Jasway
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #35015 by Jasway
Hey there,

Hope you could help me out with this one.
I need to know where is located of the jquery code for the submenu houver fuction??
I need to implement an .offset position for the submenu and i need to be sure have the right file!!??

I appreciate the help.

many thanks in advance

Please Log in to join the conversation.

More
11 years 6 months ago #35019 by ivan.milic
It is generated in template_css.php. But you can add your css override rule at bottom of that file in pure css

Please Log in to join the conversation.

  • Jasway
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago - 11 years 6 months ago #35047 by Jasway
Replied by Jasway on topic Sub-menu jQuery positioning
Correct me if im wrong ;)

what I have done was, I made the background image for the drop-downmenu transparent.
And then I added an background image for dropdown-menu with a 1px, repeat, across the page:

.mnu_danishmenu ul {
background: url("/../templates/hot_explorer/images/submenu_dropdown/1px_dropdown_menu.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
height: 115px;
left: -1px;
padding: 12px 12px 12px 40%;
position: fixed;
width: 100%;
}

The dropdown-menu list does not stay in line with the Main Menu above when I resize the page.
I want the UL to stay in line with the menu above, any good idea how I could do that??
Right now it looks like this: visiosign.dk.linux20.unoeuro-server.com/index.php/da/

Appreciate the help
Last edit: 11 years 6 months ago by Jasway.

Please Log in to join the conversation.

More
11 years 6 months ago #35055 by ivan.milic
If you what offset just use margin-top property


.mnu_danishmenu > LI > UL {
margin-top:-1px;
}

Please Log in to join the conversation.

  • Jasway
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #35107 by Jasway
Replied by Jasway on topic Sub-menu jQuery positioning
Thanks for the reply.
It seems that you didnt understand my query. I can not use the solution you gave me.

Please Log in to join the conversation.

More
11 years 6 months ago #35112 by ivan.milic
You can do nothing easy. Only some script to calculate and set left position of sub-items could solve your problem on what you want.

Please Log in to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum