I'm trying to get a javascript dynamic 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 javascript dynamic menu that will float when
I scroll down the page. What makes javascript dynamic menu float
from this text? 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.
A:
If you want to create a floatable menu, you should set an absolute position for
the javascript dynamic menu and paste the following code into the <head> tag of your html page:
<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 javascript dynamic menu corner in the data .js file, for
example:
var absolutePos=1;
var posX=30;
var posY=110;
Then you should set var floatable=1 parameter.
This parameter makes a floatable menu.
You can also change any of javascript dynamic menu parameters inside data .js file.
Return to Recent Questions
Related:
- March 21, 2009 - How can we increase the width of the vista style buttons of javascript dynamic menu?
- Apr 07, 2009 - I want to get my text within a single javascript dynamic menu item to be on a two lines...
- Apr 25, 2009 - The javascript dynamic menu looks differently in IE 6 and Firefox...
- May 12, 2009 - Is there a way to set a parameter such that when a javascript dynamic menu Item is CLICKED...
- May 29, 2009 - Does javascript dynamic menu have support for Chinese or other Unicode characters?
- Jun 15, 2009 - I wonder how I can reduce the width of the tree javascript dynamic menu?
- Jul 03, 2009 - Could you please help me with an alignment issue with my javascript dynamic menu?
- Jul 20, 2009 - How to get javascript dynamic menu to swap images to act like a traditional image rollover.
- Aug 06, 2009 - With the licensed .js files of javascript dynamic menu the status bar on IE start shows "Error on page".
- Aug 09, 2009 - Is it possible to keep my floating drop down menu in the centre of the page like <centre></centre>
- Aug 23, 2009 - When I roll over the javascript dynamic menu the font color doesn't change
|