View Full Version : Dynamic-FX Slide-In Menu (v 6.5)

Studly Cannon
06-08-2005, 08:01 AM

Okay, a simple question... will I be able to use inner html for this menu? ANd how do I change the colors of the side bar multiple colors like this (http://zsector.com) site?

Studly Cannon
06-10-2005, 03:50 AM
Anyone, help?

06-10-2005, 06:59 AM
Probably but, not in all places, just what do you mean by inner html? If you mean using tags in the menu items, I'd say yes. As for different colors (like in the example link you gave), use a small .gif or .png, make sure you capitalize the IMG in the image tag where it shows you can use it. Html (other than an IMG tag) won't work there, as it will get parsed as text to be displayed vertically.

Studly Cannon
06-12-2005, 02:30 PM
Inner html such as this site:


The script is an external file, so I don't know... :(

06-13-2005, 04:38 AM
innerHTML, as mentioned on the page you cite, is simply a javascript property of a given element. It can be manipulated and/or queried for various script effects and/or operations. Any element accessible to javascript in the slide in menu will have its innerHTML accessible to further javascript use of your choosing.

The most common use of innerHTML is to insert text or images into an element once it has been parsed by the browser ex:
<span id="greeting">Hello</span>

<script type="text/javascript">
setTimeout("document.getElementById('greeting').innerHTML='and Welcome!'",5000);
</script>This will change the text displayed by the above span element to 'and Welcome!' after a 5 second delay.

You will not be able to use innerHTML for the vertical text part of the slide in menu without a moderately major rewrite of the menu's script because, as currently written - and as I mentioned before, it will parse anything other than an IMG tag that uses the capital letters 'IMG' (ex:<IMG src="some.gif">) as text to be displayed vertically, one character at a time. If you want an effect that cycles the letters through various colors, use the IMG tag with an animated gif.