(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

Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs List of 15 AI Website Creators and Generators - Reviews, Comparison, Pros & Cons.  |  List of 20 AI Code Builders and Generators - Code generated faster with AI.  |  AI website builder and generator - AI-driven websites, limitless possibilities .  |  Best AI website generator and creator - create a website with AI.  |  Best AI Website Builder - Create Website Design with AI  | 
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 | Free AI Website Builder | AI Website Generator | Website Generator AI | AI website design generator