<marquee>

Started on the old forum in July 2012 · view the original in the archive · old links redirect here

13 replies · 1,525 views · started 14 years ago · 1 min read

8 participants
Ghost Senior · 366 posts #2

this should help you HTML Marquee Code

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
nclemale36 Lead · 537 posts #3

lol ave just visited the exact same page via google. ave done a site feed thing thats using marquee. works fine on my pc and firefox but i tested with phone and its dont do anything . so clearly marquee tag is no good.

Ghost Senior · 366 posts #4

its the browser on the phone then. some old browsers dont support the marquee tag.

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
nclemale36 Lead · 537 posts #7

just had one of my users say that they can see some of the code thats used. like &nspb white space code . think i will find another way to do this now lol .

$XTREME$ Developer · 82 posts #8

nclemale36 wrote: just had one of my users say that they can see some of the code thats used. like &nspb white space code . think i will find another way to do this now lol .

&nspb; use this code then you can get the space , hehe

arnage Lead · 811 posts #9

Yep, or &npbs; or &spbn; or &pbsn; does the same thing. : )))

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
metulj Super moderator Principal · 1,726 posts #10

nclemale36 wrote: how do i make this work on mobiles. ?? is there another word or coding i should be using.

you dont... <marquee>slide,scrool,etc</marquee> is NOT standardized yet... also not W3C valid same as <blink>use gif image instead 🙂</blink> therefore its actually bad to use those two tags, it can only cause problems... 😉

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

zain Junior · 43 posts #11

i use this code

<div style="display: -wap-marquee; -wap-marquee-loop: 100;  color:#FAD02;"><b>my code to scroll here</b></div>

and it works pretty well im not sure if this is the only way but its the way i found that works well on 99% of mobile browsers

Edyka Junior · 11 posts #12

that is clearly experimental... -wap-marque can't be a standard (only than it would work in 99% of the mobile browsers)

metulj Super moderator Principal · 1,726 posts #13
<marquee>i can scrool, i can move up, down, left, right <<== this is ALL wrong</marquee>

let's say few words about this,(like we never did befor...... ?) this isnt W3C standard <= first problem this wont work in ALL PC browsers <= second problem this cannot work in ALL phone browsers <= third problem

the question is... why even waste time on third problem, if you cant solve the first two of them ?

<blink>you see me, you dont see me... yet i'm useless</blink>

it goes exact same as for marquee tag...

end of conclusion... AVOID those two TAGs at any cause... they aren't standardized, and therefore bad... did i mention that both are actually annoying ? keep the code clean as much as possible... faster & safer (that should be good enough reason to actually respect that simple fact) simple as that...

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

zain Junior · 43 posts #14

Well... after searching the internet and trying alot of different ways, i found this to work on most wap enabled browsers this is my css for my marquee...

			.marquee {
				background-color: #700404; 
				padding: 2px 2px 2px 2px;
				margin: 3px 0 0;  
				text-align: center;
				border-width:1px 0;
				border-style:solid;
				border-color:#FD7171;
    				display: -wap-marquee;
    				-wap-marquee-style: scroll;
   				 -wap-marquee-loop: infinite;
    				-wap-marquee-speed: slow;
  		      }

It can be edited to suit ones needs but it does the job on pretty old phones, the issue was the normal marquee tag worked on new model phones while it did not work on older phones, now with this code it works on pretty much all wap enabled phones.

and this is my html

<div class="marquee"><b>Bold text to scroll</b></div>

Test it and give me feed back... The best way to better ones code is by trying/failing and sharing thus allowing us to learn. I use opera on pc and a samsung E250 , blackberry 9800 torch, blackberry 8520, motorola v3 to test and it works 100%, but so does the first code i posted here i just wanted to move it to my style.css to make my code neat.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close