Results 1 to 2 of 2

Thread: Fading Scroller Suggestion/Comment

  1. #1
    Join Date
    Nov 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Fading Scroller Suggestion/Comment

    Just a friendly suggestion to the code writers of some of the scripts on this site. In your Fading scroller (http://www.dynamicdrive.com/dynamici...fadescroll.htm)...

    The div height assignment places a restraint in Firefox and I would imagine all NS browsers that prevents the css from being able to resize based on the amount of material that is contained within the array. You should make some kind of option that offers variable height to be chosen or not chosen without having to edit the main part of the script...what we are giving ya'll credit for!

    Nic

  2. #2
    Join Date
    Oct 2004
    Location
    Texas
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If your not worried about the height, you can set it to change that as needed simply by removing the height caller in the div tag.

    Instead of this...

    if (ie4||DOM2)
    document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');

    have it read:

    if (ie4||DOM2)
    document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+'"></div>');

    Works just fine in Firefox when you do that.

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
  •