Google Community Chat
 
automatic scrolling text

You're visiting Google Community as a guest.
In order to post, you'll need to register and log in.

(If you were registered and logged in, these advertisements wouldn't be here)
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum
   
Author Message
frumau
Junior Googler
Junior Googler


Joined: 19 Jun 2005

2259.75 GC$

Items

PostPosted: Thu Jun 30, 2005 11:58 pm    Post subject: automatic scrolling text Reply with quote
Has anybody any idea how to create an easy automatically scrolling text on a website? One that will work in Firefox, Netscape and Internet Explorer?

Cheers,

Jasper
wwww.gateway2thailand.com
_________________
Jasper
gateway2thailand
Back to top
View user's profile Send private message Send e-mail Visit poster's website
super3boy
Googler
Googler


Joined: 06 Jul 2005

480.90 GC$

Items

PostPosted: Wed Jul 06, 2005 2:18 pm    Post subject: Reply with quote
do a google search for "automatically scrolling text" "html"
_________________
Forum: http://www.nystic.com
Forum for Nerds and Geeks
Back to top
View user's profile Send private message Visit poster's website
Randy
Former Moderator
Former Moderator


Joined: 17 Jun 2004

18197.20 GC$

Items

PostPosted: Wed Jul 06, 2005 2:23 pm    Post subject: Reply with quote
super3boy: NOT appropriate.

frumau: Are you wanting a horizontally scrolling marquee?
Back to top
View user's profile Send private message Send e-mail
frumau
Junior Googler
Junior Googler


Joined: 19 Jun 2005

2259.75 GC$

Items

PostPosted: Wed Jul 06, 2005 11:19 pm    Post subject: Reply with quote
Randy Johnston wrote:
super3boy: NOT appropriate.

frumau: Are you wanting a horizontally scrolling marquee?


No, an automatic scrolling text, one going from the top to the bottom(so horizontally yes..). I will put the latest items in it with clickable links. I would like to place it inside a table cell and make it work in explorer, netscape and firefox.

Thanx for the help!
_________________
Jasper
gateway2thailand
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Justin
Google Freak
Google Freak


Joined: 28 Nov 2004
Location: Dickson, TN
1477.05 GC$

Items

PostPosted: Thu Jul 07, 2005 6:48 pm    Post subject: Reply with quote
Top to bottom would actually be vertical.

http://www.google.com/search?hl=en&q=vertical+scrolling+text+html >> http://www.hypergurl.com/marquee.html

Quote:
<div
align="center"> <marquee bgcolor="#000080" scrollamount="2"
direction="up" loop="true" width="35%"> <center>
<font color="#ffffff" size="+1"><strong> THIS
IS A COOL WAY<br> TO MAKE YOUR TEXT<br> SCROLL UPWARDS<br> <br>
IT IS EASY AND FAST LOADING </strong></font> </center> </marquee></div>


That should work.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
frumau
Junior Googler
Junior Googler


Joined: 19 Jun 2005

2259.75 GC$

Items

PostPosted: Thu Jul 07, 2005 11:07 pm    Post subject: Reply with quote
Thanks. That works excellent! By the way..is there a way to add some code that makes the scrolling stops when your mouse goes over the marquee area? A sort of mouse over effect?

Regards,

Jasper
_________________
Jasper
gateway2thailand
Back to top
View user's profile Send private message Send e-mail Visit poster's website
frumau
Junior Googler
Junior Googler


Joined: 19 Jun 2005

2259.75 GC$

Items

PostPosted: Sat Jul 09, 2005 1:51 am    Post subject: Reply with quote
I found all the necessary information. This is what a decided to use in the end:

<marquee bgcolor="#FFFFFF" scrolldelay="300"(together with scroll amount this function handles the scrolling speed) onMouseover="this.scrollAmount=1"(when the mouses passes over the text) onMouseout="this.scrollAmount=2"(when the mouse leaves the text area
direction="up" loop="true"(continuous news feed) width="120">

There is only one thing bothering me. In Firefox the text is first displayed as ordinary text before the browser realizes there is a marquee and displays it scrolling...
Any suggestions?
_________________
Jasper
gateway2thailand
Back to top
View user's profile Send private message Send e-mail Visit poster's website
neno.tu
Google Freak
Google Freak


Joined: 10 Oct 2004
Location: Caracas - Venezuela
5951.00 GC$

Items

PostPosted: Fri Jul 29, 2005 6:27 pm    Post subject: Reply with quote
It's very easy to do with javascript...

Try creating a loop...

Like this...

function scrolling(){
window.scroll+=speed;
}

settimeOut("scrolling"),100);

An speed will be the lines to scroll...

so declare: var speed;
at the top of the script...

and that will do... If you want to change the scrolling speed you can add "speed=(your speed)" to any event... and set speed=0 to stop scrolling...

I did an autoscrolling text to show the top 10 posts on a forum at the home page and stuff like that...

Hope I have help... You can email me for a complete source code... Razz
_________________


NenO-tU Freelancer Web Designer and Programmer
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
frumau
Junior Googler
Junior Googler


Joined: 19 Jun 2005

2259.75 GC$

Items

PostPosted: Sat Aug 13, 2005 3:46 pm    Post subject: Reply with quote
Muchas gracias por the answers. I have fixed the problems by now. (-:
_________________
Jasper
gateway2thailand
Back to top
View user's profile Send private message Send e-mail Visit poster's website
darrenstraight
Site Admin & Platinum Member
Site Admin & Platinum Member


Joined: 25 Jul 2004
Location: England
173385.09 GC$

Items

PostPosted: Sat Aug 13, 2005 4:33 pm    Post subject: Reply with quote
frumau wrote:
Muchas gracias por the answers. I have fixed the problems by now. (-:


vale, good to hear youve managed to fix it, thanks for letting us know.
_________________
My Blog | Microsoft Discussion
Back to top
View user's profile Send private message Visit poster's website
Sponsored Links
Posted: 5 Dec 2008 11:40 am    Post subject: Advertisements
Back to top
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Host your free forums with Invision Plus.net forum web hosting with your own subdomain.

alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden

© 2005-2006 Google Community

Powered by phpBB

Privacy Policy | Contact Us

Powered by Google Search blog

This website is not affiliated in any way with Google, Inc.
Google™ is a registered trademark of Google, Inc.