View Full Version : Scrolling Marquee Trouble


Joseph Witchard
10-28-2006, 02:36 AM
www.uhrebirth.com

The right div should be scrolling down the page, but for some reason it isn't. Could someone tell me what I did wrong?

angelic.deception
10-28-2006, 06:25 AM
I don't know if this would be causing a problem, but you were missing quotation mark thingies..
<marquee behavior="scroll" direction="down" scrollamount="5" height="600">
Might want to try adding those, HTML is picky sometimes.

Hope that helps. =)

pb&j
10-28-2006, 09:06 AM
you mean the right column should be down a bit? if so, here is the adjustment to make...

#right {
position: absolute;
right: 15px;
padding: 0px;
top: 0px;
width: 150px;
}

that zero should be the number of pixels from the top of the screen to make the "right" area area go down.

Joseph Witchard
10-28-2006, 08:12 PM
What part of the htm file to I put that in?

angelic.deception
10-28-2006, 08:27 PM
Ooh, it's scrolling. What did the trick, Joseph? =)

Joseph Witchard
10-28-2006, 09:24 PM
I'm not sure=p I took the document type tag out of the file, maybe that was messing it up somehow:confused:

angelic.deception
10-28-2006, 09:49 PM
Hmn, that's odd.

Joseph Witchard
10-29-2006, 02:28 AM
I have a link my my application forum in my scrolling marquee. However, it doesn't stop scrolling when you move your cursor over it, and even if you manage to click it, it doesn't take you to the page. It doesn't do anything.

How do I make the marquee stop when you put your cursor over the link, and what did I do wrong to make it where the link doesn't lead anywhere?

angelic.deception
10-29-2006, 05:11 AM
*jumps up and down* I think I fixed it so it does that! Teensy bit of JavaScript to add to each link, but it works..

With this DOCTYPE. =)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
And this code for the marquee. =)
<marquee behavior="scroll" direction="down" scrollamount="5" height="750px" id="news">
And this code on each link you put in the marquee.
<a href="http://rebirthsortinghat.yuku.com" onMouseOver="news.stop();" onMouseOut="news.start();">Sorting Hat</a>
I checked it in Firefox 2 and Internet Explorer 6. Hopefully it works for you, too. =)

(This is a big deal for me because JavaScript is proving difficult for me to grasp. =P)

If you change this in your CSS, the marquee will be pushed down so it isn't underneath your banner image.
#right {
position: absolute;
right: 15px;
padding: 0px;
top: 180px;
width: 150px; }
Of course, if you like it like that, just ignore this bit. =)

Joseph Witchard
10-29-2006, 08:18 PM
OMG you are a freaking genius=p The page looks MUCH better! Thanks:)

angelic.deception
10-29-2006, 10:15 PM
Haha. Glad I could help! =D