Jump to content
MakeWebGames

[mccode] Making a marquee on all pages


Recommended Posts

I was just reading the Manual and i found a cool little thing.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

This is the type of thing it outputs

 

So i thought how could i incorporate this into my game?

I know add it on all pages.

So in header.php

under:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

That will output

Some text here

If you would like more that one line just put

where you want the new line

Link to comment
Share on other sites

Guest Anonymous

Re: Making a marquee on all pages

Of course if you want your web pages to validate -- the marquee tag cannot be used.

It was never ratified in basic HTML never mind in XHTML, plus as an entity it's rather poor.

JS is a better solution here - simple, clean, cross-browser and will validate. Plus it will degrade nicely.

Link to comment
Share on other sites

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.   Paste as plain text instead

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