
im aware feruzzz got codes like this but the execution of codes differ...
here the other versions of applying scrolling content..
u can basically makes all content scroll just change the id and box content u target
no onload conflict or wat so ever..all u need is add the codes to the rest of ur js....
the ff r juz my modification from old moving friends gallery made by Archer
just edit the ff...
//scrolling cpbuttons
function scrollcpbuttons(){
bz = document.getElementById('content_0')
cz = document.getElementById('controlPanelButtons')
dz = '<marquee scrollamount=1 direction=up height=120 scrolldelay=30 truespeed=true onmouseover=stop() onmouseout=start()'+
cz.innerHTML+'</marquee><br><center><div><img src=""></div>'
cz.innerHTML=dz}
setTimeout('scrollcpbuttons()', 500);
//scrolling photo gallery
function photogallery(){
bz = document.getElementById('1')
cz = document.getElementById('content_1')
dz = '<marquee scrollamount=1 direction=left height=120 scrolldelay=30 truespeed=true onmouseover=stop() onmouseout=start()'+
cz.innerHTML+'</marquee><br><center><div><a href="link here">view all</a></div><br>'
cz.innerHTML=dz}
setTimeout('photogallery()', 500);
//scrolling friend
function scrollfriend(){
bz = document.getElementById('2')
cz = document.getElementById('content_2')
dz = '<marquee scrollamount=1 direction=left height=120 scrolldelay=30 truespeed=true onmouseover=stop() onmouseout=start()'+
cz.innerHTML+'</marquee><br><center><div><a href="link here">view all</a></div><br>'
cz.innerHTML=dz}
setTimeout('scrollfriend()', 500);
//scrolling comments
function scrollcomment(){
bz = document.getElementById('18')
cz = document.getElementById('content_18')
dz = '<marquee scrollamount=1 direction=up scrolldelay=30 truespeed=true onmouseover=stop() onmouseout=start()'+
cz.innerHTML+'</marquee><div class="viewall"><a href="http://www.friendster.com/comments.php?uid=USER ID HERE">View All Comments</div>'
cz.innerHTML=dz}
setTimeout('scrollcomment()', 500);
//scrolling group
function scrollgroup(){
bz = document.getElementById('8')
cz = document.getElementById('content_8')
dz = '<marquee scrollamount=1 direction=left height=120 scrolldelay=30 truespeed=true onmouseover=stop() onmouseout=start()'+
cz.innerHTML+'</marquee><br><center><div><a href="link here">view all</a></div><br>'
cz.innerHTML=dz}
setTimeout('scrollgroup()', 500);
//scrolling fanof
function scrollfanof(){
bz = document.getElementById('7')
cz = document.getElementById('content_7')
dz = '<marquee scrollamount=1 direction=left height=120 scrolldelay=30 truespeed=true onmouseover=stop() onmouseout=start()'+
cz.innerHTML+'</marquee><br><center><div><a href="link here">view all</a></div><br>'
cz.innerHTML=dz}
setTimeout('scrollfanof()', 500);
//scrolling shoutout
function scrollshoutout(){
bz = document.getElementById('content_0')
cz = document.getElementById('cpShoutoutBox')
dz = '<marquee scrollamount=1 direction=left height=40 scrolldelay=40 truespeed=true onmouseover=stop() onmouseout=start()'+
cz.innerHTML+'</marquee><br>'
cz.innerHTML=dz}
setTimeout('scrollshoutout()', 500);
or
//scrolling shoutout
document.getElementById('cpShoutoutBox').innerHTML = "<div> <font color='#FFFFFF'><marquee behavior='alternate' style='border:white 2px inset; background: #DDA0DD'> monica</marque></div></font>";add this to ur CSS.. then edit at js part the view all link
marquee .viewall {display:none}
.editlink { display: none !important; }the ff are codes made by ~Angell~
// Scrolling Friends Photo
function by2(){bx2=content_2;
x1="height='100'";
x2="width='93%'";
x3="scrollamount='3'";
x4="direction='left'";
y=bx2.getElementsByTagName("div")[0];z=y.innerHTML;
y.innerHTML="<marquee onmouseover='stop()' onmouseout='start()'"
+x1+x2+x3+x4+">"+z+"</marquee>"}
setTimeout("by2()",1000);
// Scrolling Photo Gallery
function by1(){bx2=content_1;
x1="height='100'";
x2="width='93%'";
x3="scrollamount='3'";
x4="direction='left'";
y=bx2.getElementsByTagName("div")[0];z=y.innerHTML;
y.innerHTML="<marquee onmouseover='stop()' onmouseout='start()'"
+x1+x2+x3+x4+">"+z+"</marquee>"}
setTimeout("by1()",1000);
|
yunish[?], and regiehiozn[?] like this topic.

nice bro...
thx for sharing............

|
|

wow cool
thanks for sharing ![]()
|

kacang`z wrote:
nice bro...
thx for sharing............![]()
lol she's a gurlz..
@t
thanx for sharing sis.i'll try this later.the scrolling shoutout one. 

|

SPam gone..
ui swit.. thats a weird looking code but it definetly works! haha.. :]
Last edited by regiehiozn (2008-07-05 01:18:58)
|
Nice compilation of marquee tricks. My friend said thanks. ![]()
|

kawaii tutorial.!
thnx^^
|

w0w..another tweak for our box..
uhm...hehe...thnx for sharing..
cooL trick...astiggg
|
wOw cool trick dude keep it up..
thanks for sharing..![]()
|

vi0lette wrote:
i've noticed you know a lot about those codes. lol
nhaa ... im juz curious thats why i kept on experimenting nyahaha..
luckily i always end up in things i want it to happnd..
to say the truth i saw some coders here started from scratch..
but see them now ...
knowledge has no boundaries ....
amen ...
im giving a sermon nyahaha... anyway its sunday now ayt ... 

|
no need for Sermon Monix.. Just Keep em Up.. Your A CSS Master now... Good Job.. I hope i can make Maine To be Active again here like you...
|

thanks for this one..this is a great help.. 

|

thnx for sharing "minatamis na patatas" 

|