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


 

    I'm trying to get a cascading menu that will float as I scroll down the page.

Return to Recent Questions


Q: I don't know anything about what JavaScript is all about...and I'm currently trying to get a menu that will float as I scroll down the page.
I saw the examples you have and I'd love to be able to do that on my website, but I don't understand the scripting that you have written there.
Like, what makes it float from this text...


A: If you want a floatable menu, you should set an absolute position for the menu and paste the following code into your html page:

Paste the following code into <head> tag

<script type="text/javascript">var dmWorkPath = "data.files/";</script>
<script type="text/javascript" src="data.files/dmenu.js"></script>

Then set coordinates of top-left menu corner in the data .js file, for example:

var absolutePos=1;
var posX=30;
var posY=110;

Then set var floatable=1.

The parameter floatable=1 makes a floatable menu.

Also you can change any of menu parameters inside data .js file.





Return to Recent Questions

Great Free Page Layouts Set Fine Bootstrap Page Templates - Video List  |  Prime Simple Website Builder Review  |  How to Make a Webpage - Step by Step Tutorial  |  Awesome Mobile-friendly Website Design Review  |  Exceptional Bootstrap Mobile Template Set  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | Free AI Website Builder | AI Website Generator | Website Generator AI | AI web page design generator