contentgrrl
08-26-2010, 05:44 PM
1) Script Title: DD SmoothMenu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem:
I LOVE :D the SmoothMenu script, and I love the ability to include the actual UL from a separate HTML file. I'm currently implementing this with my Dreamweaver templates on www.ddms.com.
:( However, I feel like I'm wasting a lot of time (weeks) touching individual files just to add "../" to the init script where you require a file-relative path.
There's got to be a better, DOM-friendly way to do this. :confused:
If the path absolutely must be relative to the file in question, I worked with the DivaHTML.com (http://DivaHTML.com) people for their DivaFAQ product. E. Michael Brandt was very helpful in this regard. He agreed, and found a way to automate this local path with his Dreamweaver Extension. It looks like his extension writes a file-relative path into the head when I apply the extension.
Questions:
Couldn't a Javascript dynamically write this path as needed to display the menu?
Is it possible to make this path relative to the site root instead, just as the link rel src for CSS and JS are root-relative paths?
Thank you for this script, and thank you in advance for your excellent advice!
:)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
3) Describe problem:
I LOVE :D the SmoothMenu script, and I love the ability to include the actual UL from a separate HTML file. I'm currently implementing this with my Dreamweaver templates on www.ddms.com.
:( However, I feel like I'm wasting a lot of time (weeks) touching individual files just to add "../" to the init script where you require a file-relative path.
There's got to be a better, DOM-friendly way to do this. :confused:
If the path absolutely must be relative to the file in question, I worked with the DivaHTML.com (http://DivaHTML.com) people for their DivaFAQ product. E. Michael Brandt was very helpful in this regard. He agreed, and found a way to automate this local path with his Dreamweaver Extension. It looks like his extension writes a file-relative path into the head when I apply the extension.
Questions:
Couldn't a Javascript dynamically write this path as needed to display the menu?
Is it possible to make this path relative to the site root instead, just as the link rel src for CSS and JS are root-relative paths?
Thank you for this script, and thank you in advance for your excellent advice!
:)