Results 1 to 5 of 5

Thread: Dynamic-FX Slide-In Menu (v 6.5)

  1. #1
    Join Date
    Jun 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic-FX Slide-In Menu (v 6.5)

    http://dynamicdrive.com/dynamicindex1/davidmenu.htm


    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 site?

  2. #2
    Join Date
    Jun 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Anyone, help?

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Jun 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Inner html such as this site:

    http://www.freewebs.com/nevermores-lounge/

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

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:
    Code:
    <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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •