Hearts effect for each CMS

Results 1 to 21 of 21
  1. #1
    Member superbas40 is offline
    MemberRank
    Jan 2009 Join Date
    The NetherlandsLocation
    55Posts

    cool Hearts effect for each CMS

    Hey!
    I've made a little thing for Valentine's Day.
    It is an Hearts effect..

    Add in the <head>:
    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    The JavaScript:
    Code:
    if(!window["bas"]){
    	window["bas"] = {};
    }
    if(!window["bas"]["snow"]){
    	window["bas"]["snow"] = {};
    	
    	bas.snow.windowWidth = 100;
    	bas.snow.intervalTimeA = 500;
    	bas.snow.intervalTimeB = 200;
    	bas.snow.removeTime = 10000;
    	bas.snow.snowID = 0;
    	bas.snow.text = "❤";
    	
    	bas.snow.init = function(){
    		bas.snow.doAdd();
    		window.setInterval("bas.snow.doAdd()",bas.snow.intervalTimeA);
    		window.setInterval("bas.snow.doAdd()",bas.snow.intervalTimeB);
    	};
    	bas.snow.doAdd = function(){
    		bas.snow.snowID = parseInt(bas.snow.snowID + 1);
    		var item = document.createElement("div");
    		item.id = "bas_snow_" + bas.snow.snowID;
    		item.innerHTML = bas.snow.text;
    		item.style.position = "fixed";
    		item.style.left = Math.floor(Math.random()*bas.snow.windowWidth) + "." + Math.floor(Math.random()*9) + "%";
    		item.style.top = "0px";
    		item.style.color = ((Math.floor(Math.random()*2) >= 1) ? '#FF68B6' : '#FFFFFF');
    		item.style.fontSize = Math.floor(Math.random()*20) + "px";
    		document.body.appendChild(item);
    		$('#bas_snow_' + bas.snow.snowID).animate({
    			top: '+=1000',
    			left: '' + ((Math.floor(Math.random()*2) >= 1) ? '-' : '+') + '=' + Math.floor(Math.random()*51) + '%',
    			fontSize: '+=30'
    		},10000, function(){});
    		window.setTimeout("bas.snow.doRemove('bas_snow_" + bas.snow.snowID + "')",bas.snow.removeTime);
    	};
    	bas.snow.doRemove = function(id){
    		$('#' + id).fadeOut("slow", function(){
    			document.body.removeChild(document.getElementById(id));
    		});
    	};
    }
    window.onload=function(){bas.snow.init();}
    Demo: Bas' Hearts Effect

    - Bas


  2. #2
    Account Upgraded | Title Enabled! Grant is offline
    MemberRank
    Sep 2009 Join Date
    Scotland, UK.Location
    728Posts

    Re: Hearts effect for each CMS

    Nice.

  3. #3
    Member superbas40 is offline
    MemberRank
    Jan 2009 Join Date
    The NetherlandsLocation
    55Posts

    Re: Hearts effect for each CMS

    Thanks

  4. #4
    Banned PEjump2 is offline
    BannedRank
    Jan 2010 Join Date
    The NetherlandsLocation
    2,838Posts

    Re: Hearts effect for each CMS

    Kinda hard to change a few images / texts, huh?
    Last edited by PEjump2; 06-02-11 at 05:58 PM.

  5. #5
    Member superbas40 is offline
    MemberRank
    Jan 2009 Join Date
    The NetherlandsLocation
    55Posts

    Re: Hearts effect for each CMS

    There are no images..
    JUst change "bas.snow.text" ;)

  6. #6
    Account Upgraded | Title Enabled! Grant is offline
    MemberRank
    Sep 2009 Join Date
    Scotland, UK.Location
    728Posts

    Re: Hearts effect for each CMS

    Quote Originally Posted by PEjump2 View Post
    Kinda hard to change a few images / texts, huh?
    Kinda hard to see PuhekuplaCMS, huh?

  7. #7
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: Hearts effect for each CMS

    Very nice, thanks :)

  8. #8
    Dirty capitalists. X1M! is offline
    MemberRank
    Dec 2008 Join Date
    450Posts

    Re: Hearts effect for each CMS

    Nice!

  9. #9
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: Hearts effect for each CMS

    Its sexy :$

  10. #10
    V.I.P Member Beny. is offline
    MemberRank
    Aug 2009 Join Date
    536Posts

    Re: Hearts effect for each CMS

    Like it exept the "snow" bit xD

  11. #11
    I use to love it more! Jmandupree is offline
    MemberRank
    Oct 2009 Join Date
    /ragezone/homeLocation
    996Posts

    Re: Hearts effect for each CMS

    Kinda hard to see PuhekuplaCMS, huh?
    Lol IKR what he been working on this cms for so long i saw Half of it like 4 months ago it should have been done...

  12. #12
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: Hearts effect for each CMS

    im feeling the love man haha

  13. #13
    Alpha Member Moogly is offline
    MemberRank
    Feb 2008 Join Date
    Pool LidoLocation
    2,322Posts

    Re: Hearts effect for each CMS

    I love the part where the demo doesn't work, but thanks for the share.

  14. #14
    Account Upgraded | Title Enabled! SpazzEmu is offline
    MemberRank
    Jun 2010 Join Date
    Warwick, UKLocation
    444Posts

    Re: Hearts effect for each CMS

    Quote Originally Posted by Moogly View Post
    I love the part where the demo doesn't work, but thanks for the share.
    http://www.pixelenhotel.nl/
    This account has been suspended.
    Either the domain has been overused, or the reseller ran out of resources.

  15. #15
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: Hearts effect for each CMS

    it was working before. o well should have got a offshore host because nubs have a habit of reporting it as a phising site

  16. #16
    Member hibbohotel is offline
    MemberRank
    Feb 2011 Join Date
    BelgiumLocation
    56Posts

    Re: Hearts effect for each CMS

    nice 10

  17. #17
    Apprentice Kisme is offline
    MemberRank
    Dec 2009 Join Date
    19Posts

    Re: Hearts effect for each CMS

    Link does not work ..

  18. #18
    Proficient Member iDream is offline
    MemberRank
    May 2010 Join Date
    NorwayLocation
    176Posts

    Re: Hearts effect for each CMS

    Epic ;]

  19. #19
    Proficient Member JNike Rulez is offline
    MemberRank
    Sep 2010 Join Date
    GermanyLocation
    183Posts

    Re: Hearts effect for each CMS

    Wtf thanks for this, and ur cms is amazing xD

  20. #20
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: Hearts effect for each CMS

    Thank you for this, I like it =D

  21. #21
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: Hearts effect for each CMS

    nice codes, but demo link dont work.



Advertisement