Can this code be realigned? : <p>I have this code for a falling petal effect. The original code is not mine, I know nothing about coding beyond how to maybe change a few things like image (as I've done with this version of the code), but I'm wondering if it's possible to make it appear to fall on only the left side of the page.</p>

<p>I'm extremely ignorant to this sort of thing, I've tried looking for an answer but I'm not even sure <em>how</em> to ask the question, so my best hope is that someone will understand what I'm looking for and be able to answer. I've played with it a little, but other than figuring out how to change the fall speed, I don't know if I'll be able to do it just fiddling. I am a little afraid it'd need to be completely re-written but for now, any help would be appreciated. (Original code is still credited and links back to the original on the tutorial blog it came from, I've removed it as it's not relevant to this question but can provide it if needed for whatever reason). </p>

<pre><code>&lt;script&gt;if(typeof jQuery=='undefined'){document.write('&lt;'+'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"&gt;');document.write('&lt;/'+'script'+'&gt;')}&lt;/script&gt;&lt;script&gt;if(!image_urls){var image_urls=Array()}if(!flash_urls){var flash_urls=Array()}image_urls['rain1']="https://2.bp.blogspot.com/-LVX2LSAy4zM/VuyuSSQGKoI/AAAAAAAAAHk/0xFc8xRWzh8rUrbWaxkLaXFiSM6D46fiA/s1600/imageedit_2_9597694661.png";image_urls['rain2']="https://2.bp.blogspot.com/-LVX2LSAy4zM/VuyuSSQGKoI/AAAAAAAAAHk/0xFc8xRWzh8rUrbWaxkLaXFiSM6D46fiA/s1600/imageedit_2_9597694661.png";image_urls['rain3']="https://2.bp.blogspot.com/-LVX2LSAy4zM/VuyuSSQGKoI/AAAAAAAAAHk/0xFc8xRWzh8rUrbWaxkLaXFiSM6D46fiA/s1600/imageedit_2_9597694661.png";image_urls['rain4']="https://2.bp.blogspot.com/-LVX2LSAy4zM/VuyuSSQGKoI/AAAAAAAAAHk/0xFc8xRWzh8rUrbWaxkLaXFiSM6D46fiA/s1600/imageedit_2_9597694661.png";$(document).ready(function(){var c=$(window).width();var d=$(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(){$(this).fadeOut('slow',function(){f(a)})})},e(1,8000))};$('&lt;div&gt;&lt;/div&gt;').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&lt;=20;i++){var g=$('&lt;img/&gt;').attr('src',image_urls['rain'+e(1,4)])
.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;$(window).resize(function(){c=$(window).width();d=$(window).height()})});&lt;/script&gt;
</code></pre>
