473,385 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Marquee Text

1
1) Can anyone help me solve this problem by slowing the marquee text?

2) How to stop the marquee text when the mouse over it?

Below are the following codes need to be solved:

<table style="background:#000000 url();top:152px;left:0px;width:280px;height:10px;b order:0px">
<tr><td valign="top">
<marquee direction=up scrollAmount=0scrollDelay=0 style="filter:wave(add=0,phase=1,freq=2,strength=3 8);height:200px">
<center>
<font style="font-family:comic sans ms;color:#FFFFFF;font-size:14px"><b>PROFILE</b><br>
<HR size=2 width=90% color="#FFFFFF"><br>:Name:<br>YOUR NAME<br><br>:Sex:<br>MALE/FEMALE<br><br>:Race:<br>YOUR RACE<br>
<br>:Age:<br>YOUR AGE<br><br>:Zodiac Sign:<br>SIGN<br><br>:From:<br>CITY<br><br>:Status :<br>INVOLVED/SINGLE<br><br>:Interests:
<br>WHAT YOU LIKE ETC<br><br>
</center></font></marquee></td></tr></table>

Many Thanks...
Feb 19 '08 #1
3 2403
harshmaul
490 Expert 256MB
Hi,

A few points.

This is a javascript question....
Please validate your code before posting....
And i think marquees are depricated....

Remember those for next time but for now heres the solution i have come up with. You will need to finish off the code... but i think you get the idea...

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3.  
  4. <script type="text/javascript">
  5.  
  6. function sstop(elid){
  7.  document.getElementById(elid).scrollAmount = 0;
  8.  
  9. }
  10. </script>
  11. </head>
  12. <body>
  13.  
  14. <marquee id="marqueeTag" onMouseOver="javascript:sstop('marqueeTag')">HI</marquee>
  15.  
  16. </body>
  17. </html>
Oh and by the way i removed all the extra from the marquee tag just kept the bare minimum, but you can build this up again in the same way you did before
Feb 19 '08 #2
And i think marquees are depricated....
Yea, u r right !!! The marquee element is not part of the HTML specification and it may cause problems with some browsers. I recommend using JS intead.
Feb 19 '08 #3
drhowarddrfine
7,435 Expert 4TB
He needs to bring himself more up to date because much of his markup is deprecated.
Feb 19 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jo_Calico | last post by:
I love the Dynamic Drive cross browser marquee script. I'd like to make the text loop immediately after completion, so the beginning runs right after the end (does that make sense?). Could anyone...
5
by: David Ross | last post by:
Although some browsers support the MARQUEE tag, it is not defined in the HTML 4.01 specification. This tag creates a scrolling line of text. It works with Mozilla 1.6 and supposedly with Internet...
15
by: charlie fortune | last post by:
I'm quite new to HTML, and have seen <marquee> get bad press here. What's wrong with using it. I wanted to have the contents of a .txt file scrolling for news items, can I do this with marquee, or...
2
by: P2P | last post by:
Hi I am wondering if someone can help me here with the "perfect" marquee vertical scrolling script I've found. This marquee is great for me as it will call an external html page. This allow...
4
by: uwe.braunholz | last post by:
Hello, I want to set the text of a marqee dynamical. So I created the following code: ****snip**** <style> #noticeMarquee { background-color:#ff00ff; color:#ffffff;
8
praclarush
by: praclarush | last post by:
Ok, I'm new to JavaScript and I'm taking a class for it the assignment in it I'm supposed to create edit a pre-made page to display a marquee that automatically scrolls for the user, as well as give...
1
by: ced69 | last post by:
having trouble getting marquee to work get object required errors tring t <title>This Month at the Chamberlain Civic Center</title> <link href="styles.css" rel="stylesheet"...
5
by: 000baaa000 | last post by:
The following HTML marquee code works better in Microsoft Internet Explorer, breaks (in more than one way) in Mozzila Firefox <pre>------------------------------------------------- start HTML...
3
by: Rajneesh Chellapilla | last post by:
Hi I made this marquee program however, I am having trouble getting all four marquees to line up correctly. Basically I want the the 4 marquees to line up on the four sides exactly so they intersect....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.