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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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