Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling Text

Status
Not open for further replies.

BigCatMCS

Programmer
Apr 29, 2004
57
US
I have put scrolling text that provide links going upward. The problem is that whenever you click on one of the links within the scrolling text, the font of the link gets bigger. It will go back to regular size if you click on another link within the scroll, but then that next link you just clicked on, it's font will get bigger. Any suggestions on how to get the links within the scroll to stay the same size when they are clicked on?

 
Here is the code:


<html>
<head>
<title>Scrolling Text...</title>
</head>
<body>
<div align="center">
<marquee bgcolor="lightblue"
behavior="scroll"
direction="up"
scrollamount="1"
scrolldelay="40"
title="Please Select a Link"
width="20%"
<p>
<a href="http:\\ <a href="http:\\ <a href="http:\\</marquee>

</div>

</body>
</html>
 
The code provided, ignoring the fact that you put backslashes in the link where slashes should be, works fine from me. Is this the real example or have you toned it down for us?
 
It works fine on it's own, but when included on a web page that was built by frontpage, the font of the links enlarges when clicked on. I really don't know why...maybe frontpage has something to do w/ it.
 
So you've sent us a working example in which we cannot see the problem you're experiencing. A lot of help that was. Now try to re-read Cory's message and send us the CSS you use on the site. You know, that one where you insert this terrible marque element in. That one that was done by FrontPage. Ewww.
 
Just to remind you, the <marquee> tag is ONLY visible with IE, which means a growing percentage of Internet users won't see whatever you're trying to do anyway.

Lee
 

You probably have some CSS to increase the font size of an A element that is active or focused.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Hence, the very first response.

Vrag said:
So you've sent us a working example in which we cannot see the problem you're experiencing. A lot of help that was. Now try to re-read Cory's message and send us the CSS you use on the site. You know, that one where you insert this terrible marque element in. That one that was done by FrontPage. Ewww.

LOL! you really should spend some time in 'on point'.

*cLFlaVA
----------------------------
[tt]a frickin' twelve-gauge, what do you think?[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
[banghead]
 
Trollacious is right. I forgot that only IE browsers is only visible w/ the <marquee> tag, and since this site is for the Lung Association...this will not be the best route. Maybe I should use an applet or something. Any other suggestions?
 

Use JavaScript, but see if you can get a script that uses static text placed on the page - but scrolls if javascript is enabled.

That way, non JS browsers will also get to read the text.

Hmm.. an idea for a new script comes to mind ;o)

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top