Home » questions » Javascript Scroll Troubles -?

Javascript Scroll Troubles -?

2006-08-15 08:07:45, Category: Programming & Design
Yet another bit of trouble... I'm attempting to make text scroll up and down using javascript. if someone could please check out http://www.unnaturalhelpers.com/olivv/cinema_pulp/cinema_pulp.html under about or events you may see what I mean.. it looks decent in IE but isn't working in mozilla / netscape -- I really don't know what I'm doing with Javascript I mostly copied and pasted code and tinkered with it untill I got it to (sort of) work. If there's a way to put the text in a layer in front of the scroll buttons that'd be great as well. for now I'll settle for anyone who knows what I can do to get it to work in netscape period... thanks in advance to anyone who might want to give it a crack... -M

Answers

  1. jmfc

    On 2006-08-15 08:59:42


    I remember this site - it appears the problem is in your style sheet that defines the scrollArea - you have the height defined in px and in a percent. Try removing the 'height:75%;' and see if that helps. Here is an example. Not pretty but you get the idea and it should work in Firefox (you need to mouse over in the center of the page above/below text for it to scroll since it is so spread out). http://dev.ideanet.org/cir/test2.cfm
  2. helix.helix

    On 2006-08-15 08:34:17


    this page doesnt work in my browser. but i would start out by looking at this, and modifying it.
  3. isub

    On 2006-08-15 08:17:26


    visit http://www.webmasteronline.biz/javascripts.htm .. You can find JavaScripts Demo & source code.. And more You just do Copy & Paste
  4. Tenar2

    On 2006-08-15 08:52:40


    You should check your colors or something in IE, my monitor is a little washed out I know, but I can't even see the nav bar at all, after a few moments I found some squares that became darker when I rolled over them, but I don't see any text there at all. Or maybe this computer just has an old version of flash player. Is there any reason for using so many iframes? okay first of all on line 8 of the about frame you have a body tag and it is repeated at line 78 There are also errors in the syntax for the css on this page on line 80 and line 90 There is also something wrong with the onmouseover event on the span. Probably has to do with copy and pasting you did but for me it seems not to like the single quotes, delete them and type them again.