Jump to content

[SOLVED] marquee using php


graham23s

Recommended Posts

However, you may want to take a step back and ask yourself, "Why do I need marquees?"

Having animated elements of a web page tends to distract the user from your site content, something you don't really need. The only time you should use animated elements is when they're relatively small and low-key (I guess a small, slow vertical ticker to the side), or they're animated in response to a user action.

 

As for your original question, PHP doesn't really handle the dynamic element of marquees. PHP stands for PHP: Hypertext Preprocesor, meaning that all it does is output text (well, streams if you want to get technical, but you get the point). You'll need to learn other things to handle the client-side animations, such as the <marquee> tag like the others suggested, JavaScript (which for animation isn't really a good idea, unless it's in response to user input), and stuff of the like.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.