![]() | ![]() ![]() |
Htmlcant get the third down bit of code to work [html] Moving Text (Marquee) Tutorial it it right? cheers... |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
|
cant get the third down bit of code to work [html] Moving Text (Marquee) Tutorial it it right? cheers | |
| Debt Free | |
| | |
These advertisements are reduced in size when you become a registered member and removed when you become a TRC Supporter / Sponsor member. | |
| | #2 |
| Posts: n/a Casino cash: £ |
Why would you WANT marquee text? It's truly hideous. Distracting to the eye, difficult to read, not compatible with all browsers, a true waste of time.
|
|
| | #3 |
| Ive to make a HTML web page for college and they want it all singing and dancing to prove we are getting the idea of code and i was hoping to take out the text and put an image code in it and slow it down.
| |
| Debt Free | |
| | |
| | #4 | |
| Join Date: Dec 2007 Location: Equine Heights Posts: 2,632 Casino cash: £260900 Thanks: 73 Thanked: 29/29
| Quote:
Code: <html>
<head>
<title>
Test marquee
</title>
</head>
<body>
<marquee behavior="alternate" direction="right">THIS IS MOVING TEXT FROM LEFT TO RIGHT AND LEFT TO RIGHT AGAIN</marquee>
</body>
</html>
| |
| TRC TV - today & tomorrow's bike-related TV | ||
| | |
| The following user says thank you to silentmemory for this useful post: | |
| Rolfe66 (24-09-08) | |
| | #5 | |
| Quote:
| ||
| Debt Free | ||
| | |
| | #6 |
| Join Date: Jan 2008 Location: Hiding in your blind spot... Posts: 5,700 Casino cash: £872879 Thanks: 28 Thanked: 74/69
| Tell them that web professionals wouldn't touch <marquee> with a 10 foot bargepole. It's not browser compliant, it looks shite and belongs on the dump-site of all things pre '98.
|
| non quod, sed quomodo | |
| | |
| | #7 | |
| Join Date: Dec 2007 Location: Equine Heights Posts: 2,632 Casino cash: £260900 Thanks: 73 Thanked: 29/29
| Quote:
| |
| TRC TV - today & tomorrow's bike-related TV | ||
| | |
| | #9 |
| Join Date: Jan 2008 Location: Hiding in your blind spot... Posts: 5,700 Casino cash: £872879 Thanks: 28 Thanked: 74/69
| Fair point - but if the teachers are teaching them antiquated methods - what's the point?
|
| non quod, sed quomodo | |
| | |
| | #10 | |
| Join Date: Feb 2008 Location: "If you can't learn to do something well, learn to enjoy doing it poorly." Posts: 2,769 Casino cash: £691100 Thanks: 55 Thanked: 30/28
| Quote:
As long as the page he is building for college is more than just marquee it should be ok. | |
| | |
| | #11 | |
| Join Date: Dec 2007 Location: Equine Heights Posts: 2,632 Casino cash: £260900 Thanks: 73 Thanked: 29/29
| Quote:
@Hunter - XHTML is just strict HTML so it seems reasonable to start with it rather than HTML, why unlearn bad habits after all? But XML is much broader and so makes sense to come onto later. | |
| TRC TV - today & tomorrow's bike-related TV | ||
| | |
| | #12 |
|
SM is right. i was not to learn about <marquee> i have to make a web page (3 pages) with as much coding techniques as i can. The idea behind it is to be able to understand coding rather than having a web page thats pleasing on the eye which we will have to do later in the year.
| |
| Debt Free | |
| | |
| | #13 | |
| Join Date: Dec 2007 Location: Equine Heights Posts: 2,632 Casino cash: £260900 Thanks: 73 Thanked: 29/29
| Quote:
| |
| TRC TV - today & tomorrow's bike-related TV | ||
| | |
| | #14 | |
| Quote:
| ||
| | |
| | #15 |
| Join Date: Feb 2008 Location: "If you can't learn to do something well, learn to enjoy doing it poorly." Posts: 2,769 Casino cash: £691100 Thanks: 55 Thanked: 30/28
|
I use the below for dynamicly changing images trans_sq.gif is a transparent square red_sq.gif is a red square So when the mouse moves over the text a red square appears and then disappears when the mouse leaves the text. Code: <html> <head> <script language="JavaScript"> <!-- var transsq=new Image(); transsq.src="../images/NE Images/trans_sq.gif"; var redsq=new Image(); redsq.src="../images/NE Images/red_sq.gif"; //--> </script> </head> <body> <a href="SSDefaultHome.htm"><img src="http://www.therevcounter.com/images/NE Images/trans_sq.gif" width="16" height="16" border="0" id="imgsq1" name="imgsq1" align="left"> <span onMouseOver="document.imgsq1.src=redsq.src" onMouseOut="document.imgsq1.src=transsq.src">HOME</span> </a> <br> <a href="WhatsNew/WhatsNew.htm"><img src="http://www.therevcounter.com/images/NE Images/trans_sq.gif" width="16" height="16" border="0" id="imgsq2" name="imgsq2" align="left"> <span onMouseOver="document.imgsq2.src=redsq.src" onMouseOut="document.imgsq2.src=transsq.src">What's New</span> </a> </body> </html> ![]() edit-> yes images could be stored on photo bucket just use the photo bucket image url at the top in the javascript |
| | |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |