friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

#1  2007-05-02 06:04:00

adirisman
» FriendsterNewbie
adirisman's display avatar
Registered: 2007-03-23
Posts: 46
Last visit: 2008-10-01
Reputation: 1

Risisng heart cursor [by request]

I just replaced the buble in buble cursor code with a small heart.

see it in action  :arrow: link  (my girl's profile  :D )

Code:

<!-- 
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
o6=(navigator.appName.indexOf("Opera") != -1)?true:false;

img0=new Image();
img0.src="http://h1.ripway.com/adirisman1/small_heart.gif";

num=(n6)?10:15;

y=0;
x=0;
if (n4||n6){
window.captureEvents(Event.MOUSEMOVE);
function mouse1(e){
 y = e.pageY-20-window.pageYOffset;
 x = e.pageX-4;
 } 
if (n4) window.onMouseMove=mouse1;
else document.onmousemove=mouse1;
}
if (ie||o6){
 function mouse2(){
 y = (ie)?event.clientY-20:event.clientY-20-window.pageYOffset;
 x = event.clientX-4;
 } 
document.onmousemove=mouse2;
}
yp=new Array();
xp=new Array();
sp=new Array();
rt=new Array();
gr=new Array();
s1=new Array();
s2=new Array();
nz=new Array();
wh=(ie)?window.document.body.clientHeight:window.innerHeight;
for (i=0; i < num; i++){                                                                
 yp[i]=Math.random()*wh-y;
 xp[i]=x;
 sp[i]= 6+Math.random()*3;
 s1[i]=0;
 s2[i]=Math.random()*0.1+0.05;
 gr[i]=4;
 nz[i]=Math.random()*15+5;
 rt[i]=Math.random()*0.5+0.1;
}
if (n4){
 for (i=0; i < num; i++){
 document.write("<LAYER NAME='bub"+i+"' LEFT=0 TOP=-50>"
+"<img src='http://h1.ripway.com/adirisman1/small_heart.gif' width="+nz[i]+" height="+nz[i]+"></LAYER>");
 }
}
if (ie){
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
 for (i=0; i < num; i++){
 document.write('<img id="bub'+i+'" src="'+img0.src+'" style="position:absolute;top:-50px;left:0px">');
 }
 document.write('</div></div>');
}
if (n6||o6){
 for (i=0; i < num; i++){
 document.write("<div id='bub"+i+"' style='position:absolute;top:-50px;left:0px'>"
+"<img src="+img0.src+" width="+nz[i]+" height="+nz[i]+"></div>");
 }
}
function MouseBubbles(){
scy=(document.all)?document.body.scrollTop:window.pageYOffset;
scx=(document.all)?document.body.scrollLeft:window.pageXOffset;
for (i=0; i < num; i++){
sy = sp[i]*Math.sin(270*Math.PI/180);
sx = sp[i]*Math.cos(s1[i]*5);
yp[i]+=sy;
xp[i]+=sx; 
if (yp[i] < -40){
 yp[i]=y;
 xp[i]=x;
 sp[i]= 6+Math.random()*3;
 gr[i]=4;
 nz[i]=Math.random()*15+5;
}
if (n4){
 document.layers["bub"+i].left=xp[i]+scx;
 document.layers["bub"+i].top=yp[i]+scy;
}
if (ie){
 document.getElementById("bub"+i).style.left=xp[i]+scx;
 document.getElementById("bub"+i).style.top=yp[i]+scy;
 document.getElementById("bub"+i).style.width=gr[i];
 document.getElementById("bub"+i).style.height=gr[i]; 
}
if (n6||o6){
 document.getElementById("bub"+i).style.left=xp[i]+scx;
 document.getElementById("bub"+i).style.top=yp[i]+scy;
}
gr[i]+=rt[i]; 
s1[i]+=s2[i];
if (gr[i] > 14) gr[i]=15;
}
setTimeout('MouseBubbles()',10);
}
MouseBubbles();
//-->

I created new topic for this code so other who might like it can see it.
If you think this is double post, feel free to remove this topic.
:)

Last edited by adirisman (2007-05-02 06:35:43)

#2  2007-05-02 06:36:25

honey_jx2
» FriendsterTalker
honey_jx2's display avatar
Location: Negros Oriental
Registered: 2007-03-20
Posts: 165
Last visit: 2008-11-20
Reputation: 1
Friendster

Re: Risisng heart cursor [by request]

will this trick works upon onload???


#3  2007-05-03 10:29:12

leftalone
» FriendsterGeek
Registered: 2007-04-13
Posts: 1457
Last visit: 2008-10-26
Reputation: 4

Re: Risisng heart cursor [by request]

wow
another nice cursor from you
:lol:

#4  2007-05-26 18:37:13

socialbutterfly021
» FriendsterNewbie
socialbutterfly021's display avatar
So what..??yeah!!
Location: usa
Registered: 2007-05-26
Posts: 65
Last visit: 2008-11-30
Reputation: ~
Friendster

Re: Risisng heart cursor [by request]

hMm..wAt section to put dat code?do we need to upload that as a CSS ext?

#5  2007-05-26 23:18:02

leftalone
» FriendsterGeek
Registered: 2007-04-13
Posts: 1457
Last visit: 2008-10-26
Reputation: 4

Re: Risisng heart cursor [by request]

as i know upload it as js extension

#6  2007-07-11 12:25:51

baklaako
» FriendsterAddict
baklaako's display avatar
Location: daygo, CA
Registered: 2007-06-07
Posts: 463
Last visit: 2008-12-03
Reputation: 1
Friendster

Re: Risisng heart cursor [by request]

heya.. im using dis trick.. but fr the last update of frenster,,
the hearts are no longer rissing fr the cursor.. instead its rissing in the friendslist row.. any solution?? :)  :)

#7  2007-07-12 10:34:24

kimyasay10
» FriendsterElite
kimyasay10's display avatar
Kim[17]
Artwork 101
Location: California,LaHabra
Registered: 2007-06-30
Posts: 4259
Reputation: 90

Re: Risisng heart cursor [by request]

[click!]www.friendster.com[/click this!]

Last edited by kimyasay10 (2007-07-12 10:34:57)


Admin please grant my request

#8  2007-08-03 08:05:43

lairhel
» FriendsterManiac
lairhel's display avatar
happily SINGLE!xoxo
Class X
Location: cebu city
Registered: 2007-07-22
Posts: 912
Reputation: 9
Friendster

Re: Risisng heart cursor [by request]

hi... thanks for sharing such a cute cursor....  =)


#9  2007-10-11 17:53:37

my_nym
» FriendsterTalker
my_nym's display avatar
Registered: 2007-08-28
Posts: 208
Last visit: 2008-04-23
Reputation: ~

Re: Risisng heart cursor [by request]

nice cursor I like it :thumbsup:  :thumbsup:




bye-bye ripway...:crybaby:

#10  2007-10-13 15:32:54

im_hazel12
» FriendsterNewbie
Registered: 2007-10-13
Posts: 1
Last visit: 2007-10-14
Reputation: ~

Re: Risisng heart cursor [by request]

leftalone wrote:

as i know upload it as js extension

what's a js extension..is it in the media section??

#11  2007-12-03 20:49:45

tama_drumer666@yahoo.com
» FriendsterNewbie
Registered: 2007-12-03
Posts: 1
Last visit: 2007-12-03
Reputation: ~

Re: Risisng heart cursor [by request]

<!--
n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);
o6=(navigator.appName.indexOf("Opera") != -1)?true:false;

img0=new Image();
img0.src="http://h1.ripway.com/adirisman1/small_heart.gif";

num=(n6)?10:15;

y=0;
x=0;
if (n4||n6){
window.captureEvents(Event.MOUSEMOVE);
function mouse1(e){
y = e.pageY-20-window.pageYOffset;
x = e.pageX-4;
}
if (n4) window.onMouseMove=mouse1;
else document.onmousemove=mouse1;
}
if (ie||o6){
function mouse2(){
y = (ie)?event.clientY-20:event.clientY-20-window.pageYOffset;
x = event.clientX-4;
}
document.onmousemove=mouse2;
}
yp=new Array();
xp=new Array();
sp=new Array();
rt=new Array();
gr=new Array();
s1=new Array();
s2=new Array();
nz=new Array();
wh=(ie)?window.document.body.clientHeight:window.innerHeight;
for (i=0; i < num; i++){                                                               
yp[i]=Math.random()*wh-y;
xp[i]=x;
sp[i]= 6+Math.random()*3;
s1[i]=0;
s2[i]=Math.random()*0.1+0.05;
gr[i]=4;
nz[i]=Math.random()*15+5;
rt[i]=Math.random()*0.5+0.1;
}
if (n4){
for (i=0; i < num; i++){
document.write("<LAYER NAME='bub"+i+"' LEFT=0 TOP=-50>"
+"<img src='http://h1.ripway.com/adirisman1/small_heart.gif' width="+nz[i]+" height="+nz[i]+"></LAYER>");
}
}
if (ie){
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < num; i++){
document.write('<img id="bub'+i+'" src="'+img0.src+'" style="position:absolute;top:-50px;left:0px">');
}
document.write('</div></div>');
}
if (n6||o6){
for (i=0; i < num; i++){
document.write("<div id='bub"+i+"' style='position:absolute;top:-50px;left:0px'>"
+"<img src="+img0.src+" width="+nz[i]+" height="+nz[i]+"></div>");
}
}
function MouseBubbles(){
scy=(document.all)?document.body.scrollTop:window.pageYOffset;
scx=(document.all)?document.body.scrollLeft:window.pageXOffset;
for (i=0; i < num; i++){
sy = sp[i]*Math.sin(270*Math.PI/180);
sx = sp[i]*Math.cos(s1[i]*5);
yp[i]+=sy;
xp[i]+=sx;
if (yp[i] < -40){
yp[i]=y;
xp[i]=x;
sp[i]= 6+Math.random()*3;
gr[i]=4;
nz[i]=Math.random()*15+5;
}
if (n4){
document.layers["bub"+i].left=xp[i]+scx;
document.layers["bub"+i].top=yp[i]+scy;
}
if (ie){
document.getElementById("bub"+i).style.left=xp[i]+scx;
document.getElementById("bub"+i).style.top=yp[i]+scy;
document.getElementById("bub"+i).style.width=gr[i];
document.getElementById("bub"+i).style.height=gr[i];
}
if (n6||o6){
document.getElementById("bub"+i).style.left=xp[i]+scx;
document.getElementById("bub"+i).style.top=yp[i]+scy;
}
gr[i]+=rt[i];
s1[i]+=s2[i];
if (gr[i] > 14) gr[i]=15;
}
setTimeout('MouseBubbles()',10);
}
MouseBubbles();
//-->

#12  2008-03-27 12:25:03

a7xboy
» Banned
a7xboy's display avatar
Location: Indonesia
Registered: 2008-03-27
Posts: 60
Last visit: 2008-04-01
Reputation: ~
Friendster

Re: Risisng heart cursor [by request]

how to paste the codes ??

#13  2008-03-27 12:33:04

blurrycloud
» Moderator
blurrycloud's display avatar
[ - AchilleS - ]
Class-S
Location: Aikhee's Heaven
Registered: 2007-09-07
Posts: 2568
Reputation: 98

Re: Risisng heart cursor [by request]

kimyasay10 wrote:

[click!]www.friendster.com[/click this!]

what the heck.. ur just effin spamming around this section.... if you don't have anything good to say.. do not post around this section..


first warning....


Back to my default status: School mode

#14  2008-05-04 08:12:55

bheszt_09
» FriendsterAgent
bheszt_09's display avatar
[.Exhausted.]
The Scandalers
Location: [.eniwer.]
Registered: 2007-10-01
Posts: 2079
Reputation: 76

Re: Risisng heart cursor [by request]

Thanks for sharing this one
hepls a lot to other members too

such a cute cursor

#15  2008-05-06 12:06:02

ilhamc17
» FriendsterWhiz
retired
Naruto Fanz-ShinobiElite
Registered: 2008-01-31
Posts: 3199
Reputation: 47

Re: Risisng heart cursor [by request]

Nice Cursor =):thumbsup:
Good Job broth !!! :cool:

Last edited by ilhamc17 (2008-05-06 12:07:32)


BE YOURSELF

#16  2008-05-06 17:05:55

aan.oesil
» FriendsterNewbie
Registered: 2008-04-26
Posts: 2
Last visit: 2008-06-11
Reputation: ~

Re: Risisng heart cursor [by request]

:eh:nice nice nice cursor brooo:thumbsup:

live: :arrow: [url][/http://profiles.friendster.com/user.php?uid=64679928]

#17  2008-05-06 17:29:12

adepat
» FriendsterManiac
Praying is More Powerfull
Friendstertalk University
Location: California, U.S.A
Registered: 2007-03-02
Posts: 761
Last visit: 2008-12-03
Reputation: 6
Friendster

Re: Risisng heart cursor [by request]

i can't see the preview, it's private. Anyways thanks for sharing =)

#18  2008-05-17 03:41:29

vi0lette
» FriendsterAddict
vi0lette's display avatar
limited text HERE. :(
Location: Nutella Heaven.♥
Registered: 2008-05-06
Posts: 529
Last visit: 2008-12-01
Reputation: 4
Friendster

Re: Risisng heart cursor [by request]

nice one!! keepirup. haha :D


#19  2008-05-27 02:34:35

bloodyprinzes
» FriendsterTalker
bloodyprinzes's display avatar
piGgy mEan soo mUch t0 mE
Location: tsKtsK..heLL..:?
Registered: 2008-02-28
Posts: 175
Last visit: Yesterday
Reputation: ~

Re: Risisng heart cursor [by request]

can't see the preview.. ):


tsk2->
nEver sTop learNing no matTer how mUch u know..

#20  2008-05-27 13:45:52

ekhy_07
» FriendsterAddict
ekhy_07's display avatar
everyday is heLl
Class X
Location: kIngDOm oF hEavEn
Registered: 2008-03-14
Posts: 541
Last visit: 2008-11-18
Reputation: 11

Re: Risisng heart cursor [by request]

firsh comment,,,,,,,,
nice tread,,,,,,,,:thumbsup::thumbsup::thumbsup:

i like it the cursor,,,,,,,,,,,


thx 4 share............


Search Friendstertalk

Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 28 queries - 0.974 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)