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

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21

Thread: Html

  1. #1
    Guest
    Guest

    Default Html

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

    cheers

  2.   Advertisement
    The banners help to support this community.

     

  3. #2
    Deleted on Request
    Guest

    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.

  4. #3
    Guest
    Guest

    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.

  5. #4
    Really Bored silentmemory's Avatar

    Join Date
    Dec 2007
    Location
    Equine Heights
    Posts
    2,628
    Thanks
    73
    Thanked 27 in 27 posts

    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>

  6. #5
    Guest
    Guest

    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.

  7. #6
    Great Prophet of Veedism RiceBurner's Avatar

    Join Date
    Jan 2008
    Location
    Hiding in your blind spot...
    Posts
    9,037
    Thanks
    216
    Thanked 217 in 185 posts

    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.

  8. #7
    Really Bored silentmemory's Avatar

    Join Date
    Dec 2007
    Location
    Equine Heights
    Posts
    2,628
    Thanks
    73
    Thanked 27 in 27 posts

    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

  9. #8
    Should Get Out More Hunter's Avatar

    Join Date
    Jan 2008
    Posts
    8,415
    Blog Entries
    1
    Thanks
    26
    Thanked 70 in 55 posts

    Default Re: Html

    xhtml... or xml

    its the tits

  10. #9
    Great Prophet of Veedism RiceBurner's Avatar

    Join Date
    Jan 2008
    Location
    Hiding in your blind spot...
    Posts
    9,037
    Thanks
    216
    Thanked 217 in 185 posts

    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?

  11. #10
    Likes summer Anne's Avatar

    Join Date
    Feb 2008
    Location
    in a state of fascinated horror
    Posts
    5,777
    Thanks
    218
    Thanked 142 in 117 posts

    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.

  12. #11
    Really Bored silentmemory's Avatar

    Join Date
    Dec 2007
    Location
    Equine Heights
    Posts
    2,628
    Thanks
    73
    Thanked 27 in 27 posts

    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.

  13. #12
    Guest
    Guest

    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.

  14. #13
    Really Bored silentmemory's Avatar

    Join Date
    Dec 2007
    Location
    Equine Heights
    Posts
    2,628
    Thanks
    73
    Thanked 27 in 27 posts

    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

  15. #14
    Guest
    Guest

    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.

  16. #15
    Likes summer Anne's Avatar

    Join Date
    Feb 2008
    Location
    in a state of fascinated horror
    Posts
    5,777
    Thanks
    218
    Thanked 142 in 117 posts

    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

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts