The banners on this page help to support this independent UK motorbike forum and its community.
Html
cant get the third down bit of code to work
[HTML] Moving Text (Marquee) Tutorial
it it right?
cheers...
-
Html
cant get the third down bit of code to work
[HTML] Moving Text (Marquee) Tutorial
it it right?
cheers
-

Advertisement
The banners help to support this community.
-
-
Re: Html
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.
-
-
Re: Html

Originally Posted by
Olly
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.
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.
-
-
Really Bored
Re: Html

Originally Posted by
Rolfe66
Perhaps control characters around the quotes are messing you about. This works.
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>
-
-
Re: Html

Originally Posted by
silentmemory
Perhaps control characters around the quotes are messing you about. This works.
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>
that does indeed sir. thank you very much.
-
-
Great Prophet of Veedism
Re: Html

Originally Posted by
Rolfe66
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.
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.
-
-
Really Bored
Re: Html

Originally Posted by
RiceBurner
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.
Doubtless they're fed up with being told that by people who've been told to tell them that. Bling such as Marquee and animated 'under construction' gifs are fun when you're just starting out, which is probably more important than compliance
-
-
Should Get Out More
Re: Html
xhtml... or xml
its the tits
-
-
Great Prophet of Veedism
Re: Html

Originally Posted by
silentmemory
Doubtless they're fed up with being told that by people who've been told to tell them that. Bling such as Marquee and animated 'under construction' gifs are fun when you're just starting out, which is probably more important than compliance

Fair point - but if the teachers are teaching them antiquated methods - what's the point?
-
-
Likes summer
Re: Html

Originally Posted by
RiceBurner
Fair point - but if the teachers are teaching them antiquated methods - what's the point?
I would doubt they are teaching them to use Marquee. But it is probably mentioned in the HTML book and Rolfe want's to demonstrate the ability to use and learn code not directly covered in the course and to show the desire to experiment and develop their own knowledge.
As long as the page he is building for college is more than just marquee it should be ok.
-
-
Really Bored
Re: Html

Originally Posted by
RiceBurner
Fair point - but if the teachers are teaching them antiquated methods - what's the point?
The assignment is to create a fancy page to demonstrate an appreciation of HTML, he didn't say he was being taught to use depricated tags.
@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.
-
-
Re: Html
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.
-
-
Really Bored
Re: Html

Originally Posted by
Rolfe66
i have to make a web page (3 pages) with as much coding techniques as i can.
So what else are you going to do? You could perhaps link from your main page to a contact page using GET parameters passed in the URL, and on the contact page have a form using POST to send an email. Then there's mouseovers to demonstrate javascript, perhaps a bit of ajax on a mouse click, dynamic CSS to change an image every few seconds... using all the HTML tags in the book != different coding techniques
-
-
Re: Html

Originally Posted by
silentmemory
So what else are you going to do? You could perhaps link from your main page to a contact page using GET parameters passed in the URL, and on the contact page have a form using POST to send an email. Then there's mouseovers to demonstrate javascript, perhaps a bit of ajax on a mouse click, dynamic CSS to change an image every few seconds... using all the HTML tags in the book != different coding techniques

Err, new to this. Don't know as i am just looking into ideas just now. like the idea of changing images, would this work OK if images are hosted in photo bucket? as taking work home or to college is a pain as i need to change the location at each end. I have 2 weeks to throw ideas around then another two to make the pages got the code for filling in a e mail some where but could not find out how to get it to open outlook.
-
-
Likes summer
Re: Html
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>
although this is probably more about using javascript than HTML

edit-> yes images could be stored on photo bucket just use the photo bucket image url at the top in the javascript
-
Bookmarks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks