(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    Submenus doesn't position correctly in my javascript template.

Return to Recent Questions


Q: I�ve tried every configuration available�absolute and relative positioning and so on. I can�t get the menus to display correctly.

I have to offset the topDX by -150 and so on just to fudge it into a CLOSE position�it certainly doesn�t mirror the preview window


A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "position" attribute of the object if the object doesn't have this property within inline style (style="position:absolute"). To get the value you should move .css style into style="" attribute.

Please, try to add your

css file -> inline css, for example:

You should add style="position:absolute;"

to the

<DIV id=navholder>

So, you'll have:

<DIV id=navholder style="position:absolute;">





Return to Recent Questions

Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos Bootstrap Tabs Styles  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  Bootstrap Toggle Tabs  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | AI Website Generator | AI Website Builder | Website Generator AI | AI web page design generator