-
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
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks