Pages: 12
Last edited by switpotato (2008-02-06 19:54:22)
but anyway you are the trick sharer of the day swit..keep it up...
u aguy suggest dumped ie..wakoko..
why wats wrong with ie? wst wrong they did to u?..
am i a lone ie user here .. wakoko..
Last edited by switpotato (2008-02-06 09:21:53)
Last edited by bobcbar (2008-02-06 10:42:48)
here are his new codes...lolz...
Provide the url of your 4 animated photos... no need to insert width and height in the code for they will be automatically resized by Friendster's default css... the animated images will also automatically adopt to the image effects you already have in your css file. no need for links also because they already are inside your default photos' links...[quote]get=content_1;
p1="<img src='[color=orange]URL OF 1ST IMAGE[/color]' border='0'>"
p2="<img src='[color=orange]URL OF 2ND IMAGE[/color]' border='0'>"
p3="<img src='[color=orange]URL OF 3RD IMAGE[/color]' border='0'>"
p4="<img src='[color=orange]URL OF 4TH IMAGE[/color]' border='0'>"
get.getElementsByTagName("a")[0].innerHTML=p1;
get.getElementsByTagName("a")[1].innerHTML=p2;
get.getElementsByTagName("a")[2].innerHTML=p3;
get.getElementsByTagName("a")[3].innerHTML=p4;[/quote]
u can also try the code below...[quote]function animateGal(){
get=content_1;
p1="<img src='[color=orange]URL OF 1ST IMAGE[/color]' border='0'>"
p2="<img src='[color=orange]URL OF 2ND IMAGE[/color]' border='0'>"
p3="<img src='[color=orange]URL OF 3RD IMAGE[/color]' border='0'>"
p4="<img src='[color=orange]URL OF 4TH IMAGE[/color]' border='0'>"
get.getElementsByTagName("a")[0].innerHTML=p1;
get.getElementsByTagName("a")[1].innerHTML=p2;
get.getElementsByTagName("a")[2].innerHTML=p3;
get.getElementsByTagName("a")[3].innerHTML=p4}
setTimeout("animateGal()"500);[/quote]
post updated
Last edited by bles_212000 (2008-02-06 20:21:51)
[/quote]
It appears the code is designed to only replace the 4 photo's that are displayed from ur photo gallery.
[quote=samilbzz]nice script swit...
btw...is it okay if the image is GIF?
and is tat for our js?[/quote]
Any image file will work this this code.
Last edited by bobcbar (2008-02-06 21:53:28)
[url]www.friendster.com/bobcbar[/url]
[/quote]
you can work it by doing this:
[quote]function animateGal(){
get=content_1;
p1="<img src='URL OF 1ST IMAGE' border='0'>"
p2="<img src='URL OF 2ND IMAGE' border='0'>"
p3="<img src='URL OF 3RD IMAGE' border='0'>"
p4="<img src='URL OF 4TH IMAGE' border='0'>"
[b]p5="<img src='URL OF 5TH IMAGE' border='0'>"
p6="<img src='URL OF 6TH IMAGE' border='0'>"
p7="<img src='URL OF 7TH IMAGE' border='0'>"[/b]
get.getElementsByTagName("a")[0].innerHTML=p1;
get.getElementsByTagName("a")[1].innerHTML=p2;
get.getElementsByTagName("a")[2].innerHTML=p3;
get.getElementsByTagName("a")[3].innerHTML=p4;
[b]get.getElementsByTagName("a")[4].innerHTML=p5;
get.getElementsByTagName("a")[5].innerHTML=p6;
get.getElementsByTagName("a")[6].innerHTML=p7}[/b]
setTimeout("animateGal()"500);[/quote]
Last edited by slashedkite (2008-02-07 01:45:40)
[url]www.friendster.com/bobcbar[/url][/quote]
why we shod wait 4 1 hour?