glasshoppa
09-17-2008, 03:28 PM
1) Script Title: Dynamic-FX Slide-In Menu (v 6.5) All, or (variation) Omni Slide Menu
2) Script URL (on DD):
http://www.bobkush.com/scripts/slideinmenu.htm
3) Describe problem:
Right now I'm using a DHTML Slide menu on the Serpent site that I found on Dynamic Drive (hover over the protruding box on the left) http://www.serpentautosport.com/. It works great in the sample, http://www.dynamicdrive.com/dynamicindex1/slideinmenu.htm, but is rather twitchy when in production and doesn't have provision for menu bar text.
I located a better slide menu http://www.bobkush.com/scripts/slideinmenu.htm, that uses a couple of Javascripts to configure it ("ssm.js" and "ssmItems.js"). I've been testing it in the MyWebs (on my HD) and it works well, except I'm having a problem positioning it vertically on the page.
2063
Looks like the "YOffset", and "staticYOffset" are the variables used in the "buildMenu()" function, "document.write" method to position it. For some reason, when I change the value, it doesn't move but stays at the top left corner. I have tried to pass the variables explicitly in the function call, append "px" to the Top: statement, and set menuIsStatic to "No" to bypass the makeStatic() function, etc...No luck. Could use some help. I would like Top: to be 203px as in the old menu (directly left and centered on wheel pic). Also, I copied the scripts out with a test page http://www.serpentautosport.com/menu2_index.html. Doesn't seem to be working at all. Do I need to state path to scripts explicitly in the Home page HTML?
I have seen many folks out there using a variation of this script, but all have it placed in the same offset on the Y axis. If I set YOffset to "0" it'll go into the topmost left corner, but no matter what positive value I set it, it seems to only go 30px down. Interestingly, the X-axis behaves the same.
Many thanks,
2) Script URL (on DD):
http://www.bobkush.com/scripts/slideinmenu.htm
3) Describe problem:
Right now I'm using a DHTML Slide menu on the Serpent site that I found on Dynamic Drive (hover over the protruding box on the left) http://www.serpentautosport.com/. It works great in the sample, http://www.dynamicdrive.com/dynamicindex1/slideinmenu.htm, but is rather twitchy when in production and doesn't have provision for menu bar text.
I located a better slide menu http://www.bobkush.com/scripts/slideinmenu.htm, that uses a couple of Javascripts to configure it ("ssm.js" and "ssmItems.js"). I've been testing it in the MyWebs (on my HD) and it works well, except I'm having a problem positioning it vertically on the page.
2063
Looks like the "YOffset", and "staticYOffset" are the variables used in the "buildMenu()" function, "document.write" method to position it. For some reason, when I change the value, it doesn't move but stays at the top left corner. I have tried to pass the variables explicitly in the function call, append "px" to the Top: statement, and set menuIsStatic to "No" to bypass the makeStatic() function, etc...No luck. Could use some help. I would like Top: to be 203px as in the old menu (directly left and centered on wheel pic). Also, I copied the scripts out with a test page http://www.serpentautosport.com/menu2_index.html. Doesn't seem to be working at all. Do I need to state path to scripts explicitly in the Home page HTML?
I have seen many folks out there using a variation of this script, but all have it placed in the same offset on the Y axis. If I set YOffset to "0" it'll go into the topmost left corner, but no matter what positive value I set it, it seems to only go 30px down. Interestingly, the X-axis behaves the same.
Many thanks,