The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Java Script Code Problem

2 posters

Go down

Java Script Code Problem Empty Java Script Code Problem

Post by WhitePrincess January 6th 2012, 6:26 pm

hi, im not able to make this script work on my forum, i added it EVERYWHERE
and it doesnt work, i needed to add it before tonight, max tomorrow, could u pls help me pls? this is the code:

Code:

<script>if(typeof $pdj=='undefined'){document.write('<'+'script');document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">');document.write('</'+'script'+'>')}</script><script>if(typeof $pdj=='undefined'){var $pdj=jQuery.noConflict()}if(!image_urls){var image_urls=Array()}if(!flash_urls){var flash_urls=Array()}image_urls['rain']="http://img844.imageshack.us/img844/9569/heartr.png";$pdj(document).ready(function(){var c=$pdj(window).width();var d=$pdj(window).height();var e=function(a,b){return Math.round(a+(Math.random()*(b-a)))};var f=function(a){setTimeout(function(){a.css({left:e(0,c)+'px',top:'-30px',display:'block',opacity:'0.'+e(10,100)}).animate({top:(d-10)+'px'},e(7500,8000),function(){$pdj(this).fadeOut('slow',function(){f(a)})})},e(1,8000))};$pdj('<div></div>').attr('id','rainDiv').css({position:'fixed',width:(c-20)+'px',height:'1px',left:'0px',top:'-5px',display:'block'}).appendTo('body');for(var i=1;i<=20;i++){var g=$pdj('<img/>').attr('src',image_urls['rain']).css({position:'absolute',left:e(0,c)+'px',top:'-30px',display:'block',opacity:'0.'+e(10,100),'margin-left':0}).addClass('rainDrop').appendTo('#rainDiv');f(g);g=null};var h=0;var j=0;$pdj(window).resize(function(){c=$pdj(window).width();d=$pdj(window).height()})});</script><script>if(typeof $pdj=='undefined'){document.write('<'+'script');document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">');document.write('</'+'script'+'>')}</script><script>if(typeof $pdj=='undefined'){var $pdj=jQuery.noConflict()}$pdj(document).ready(function(){var a=$pdj('<img>').attr({'src':'http://img600.imageshack.us/img600/2662/tagcopy.png','border':0});$pdj('<a></a>').css({position:'absolute',right:'0px',top:'22px','z-index':'90'}).attr({'href':'http://blogamation.com/'}).append(a).appendTo('body')});</script>

and this is the webpage where ive found it: http://blogamation.com/categories/valentines-day/170-raining-hearts.html

thank u so much!
avatar
WhitePrincess
New Member

Posts : 18
Reputation : 1
Language : English

Back to top Go down

Java Script Code Problem Empty Re: Java Script Code Problem

Post by Codyy January 6th 2012, 11:56 pm

Could you please provide us with your forum URL?
Codyy
Codyy
Active Poster

Male Posts : 1032
Reputation : 16
Language : English
Location : Florida

http://leprym.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum