moving text

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Siryx
Forum Newbie
Posts: 11
Joined: Tue Jul 26, 2005 9:58 am

moving text

Post by Siryx »

is there a way than i can to move a text?
Move from one side to the other in a web

i was searching and i found some javascript to do that, but is very large and complicated. Any help? thanks!
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Sounds client side to me if you want it to happen after the page loads -- JS would work.
Siryx
Forum Newbie
Posts: 11
Joined: Tue Jul 26, 2005 9:58 am

Post by Siryx »

well i choose for javascript...
this is the code

Code: Select all

<html>
<head>
        <title>moving text</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
     function writeMarquee()
        {
         document.write("<marquee scrolldelay='250'  
         scrollamount='10'>put here the message</marquee>");
        }
//  End -->
</script>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    writeMarquee()
    //  End -->
    </script>
</body>
</html>
i want to show the text in a more fluid way, it looks like it lose frames :P, it looks ugly.

How can i fix it?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

a typical one is written with DHTML. Here's an example: http://www.softcomplex.com/products/tigra_scroller/
Post Reply