Motorbike Forums, Motorcycle Articles, Motorbike Reviews, Used Motorbikes, Motorbike Parts, Motorbike Spares Click to visit this Sponsor
Register Forums TRC Trader Reviews Articles TRC Vault


Html

cant get the third down bit of code to work [html] Moving Text (Marquee) Tutorial it it right? cheers...


Go Back   Homepage > Community @ The Rev Counter > Off Topic & Miscellaneous > Technology, Computing & Gadgetry

Reply
 
LinkBack Thread Tools Display Modes
Old 24-09-08, 19:13   #1
Really Bored
 
Rolfe66's Avatar

 
Join Date: Jan 2008
Location: East Lothian
Posts: 3,398
Casino cash: £100
Thanks: 23
Thanked: 25/25
Send a message via MSN to Rolfe66
Default Html

cant get the third down bit of code to work
[html] Moving Text (Marquee) Tutorial
it it right?

cheers

Debt Free
Rolfe66 is offline   Reply With Quote
These advertisements are reduced in size when you become a registered member and removed when you become a TRC Supporter / Sponsor member.

Old 24-09-08, 19:36   #2
Deleted on Request
Guest

 
Posts: n/a
Casino cash: £
Default 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.
  Reply With Quote
Old 24-09-08, 19:40   #3
Really Bored
 
Rolfe66's Avatar

 
Join Date: Jan 2008
Location: East Lothian
Posts: 3,398
Casino cash: £100
Thanks: 23
Thanked: 25/25
Send a message via MSN to Rolfe66
Default Re: Html

Quote:
Originally Posted by Olly View Post
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.

Debt Free
Rolfe66 is offline   Reply With Quote
Old 24-09-08, 20:22   #4
Really Bored
 
silentmemory's Avatar

 
Join Date: Dec 2007
Location: Equine Heights
Posts: 2,632
Casino cash: £260900
Thanks: 73
Thanked: 29/29
Default Re: Html

Quote:
Originally Posted by Rolfe66 View Post
cant get the third down bit of code to work
[html] Moving Text (Marquee) Tutorial
it it right?

cheers
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>

TRC TV - today & tomorrow's bike-related TV
silentmemory is offline   Reply With Quote

The following user says thank you to silentmemory for this useful post:
Rolfe66 (24-09-08)
Old 24-09-08, 20:28   #5
Really Bored
 
Rolfe66's Avatar

 
Join Date: Jan 2008
Location: East Lothian
Posts: 3,398
Casino cash: £100
Thanks: 23
Thanked: 25/25
Send a message via MSN to Rolfe66
Default Re: Html

Quote:
Originally Posted by silentmemory View Post
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.

Debt Free
Rolfe66 is offline   Reply With Quote
Old 25-09-08, 10:10   #6
Great Prophet of Veedism
 
RiceBurner's Avatar

 
Join Date: Jan 2008
Location: Hiding in your blind spot...
Posts: 5,700
Casino cash: £872879
Thanks: 28
Thanked: 74/69
Default Re: Html

Quote:
Originally Posted by Rolfe66 View Post
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.

non quod, sed quomodo
RiceBurner is offline   Reply With Quote
Old 25-09-08, 10:34   #7
Really Bored
 
silentmemory's Avatar

 
Join Date: Dec 2007
Location: Equine Heights
Posts: 2,632
Casino cash: £260900
Thanks: 73
Thanked: 29/29
Default Re: Html

Quote:
Originally Posted by RiceBurner View Post
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

TRC TV - today & tomorrow's bike-related TV
silentmemory is offline   Reply With Quote
Old 25-09-08, 12:56   #8
Should Get Out More
 
Hunter's Avatar

 
Join Date: Jan 2008
Posts: 6,984
Casino cash: £166200
Blog Entries: 1
Thanks: 3
Thanked: 27/26
Default Re: Html

xhtml... or xml

its the tits

KARMA... THE GREAT LEVELLER...
Hunter is offline   Reply With Quote
Old 25-09-08, 12:57   #9
Great Prophet of Veedism
 
RiceBurner's Avatar

 
Join Date: Jan 2008
Location: Hiding in your blind spot...
Posts: 5,700
Casino cash: £872879
Thanks: 28
Thanked: 74/69
Default Re: Html

Quote:
Originally Posted by silentmemory View Post
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?

non quod, sed quomodo
RiceBurner is offline   Reply With Quote
Old 25-09-08, 13:23   #10
Just an ordinary person
 
Anne's Avatar

 
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
Default Re: Html

Quote:
Originally Posted by RiceBurner View Post
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.
Anne is offline   Reply With Quote
Old 25-09-08, 13:25   #11
Really Bored
 
silentmemory's Avatar

 
Join Date: Dec 2007
Location: Equine Heights
Posts: 2,632
Casino cash: £260900
Thanks: 73
Thanked: 29/29
Default Re: Html

Quote:
Originally Posted by RiceBurner View Post
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.

TRC TV - today & tomorrow's bike-related TV
silentmemory is offline   Reply With Quote
Old 25-09-08, 14:24   #12
Really Bored
 
Rolfe66's Avatar

 
Join Date: Jan 2008
Location: East Lothian
Posts: 3,398
Casino cash: £100
Thanks: 23
Thanked: 25/25
Send a message via MSN to Rolfe66
Default 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.

Debt Free
Rolfe66 is offline   Reply With Quote
Old 25-09-08, 14:38   #13
Really Bored
 
silentmemory's Avatar

 
Join Date: Dec 2007
Location: Equine Heights
Posts: 2,632
Casino cash: £260900
Thanks: 73
Thanked: 29/29
Default Re: Html

Quote:
Originally Posted by Rolfe66 View Post
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

TRC TV - today & tomorrow's bike-related TV
silentmemory is offline   Reply With Quote
Old 25-09-08, 14:50   #14
Really Bored
 
Rolfe66's Avatar

 
Join Date: Jan 2008
Location: East Lothian
Posts: 3,398
Casino cash: £100
Thanks: 23
Thanked: 25/25
Send a message via MSN to Rolfe66
Default Re: Html

Quote:
Originally Posted by silentmemory View Post
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.
Rolfe66 is offline   Reply With Quote
Old 25-09-08, 16:00   #15
Just an ordinary person
 
Anne's Avatar

 
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
Default 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
Anne is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:07.


Powered by vBulletin® - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Term, Conditions & Privacy · Unless member submitted, the contents of this webpage are copyright © Dragon Tree. All Rights Reserved · Advertise with TRC