
Originally Posted by
jscheuer1
Yes John I understood that from the beginning and I think I got the code but it will not work in my header?
Code:
<!DOCTYPE html>
<html>
<head><script type="text/javascript">/* <![CDATA[ */Math.random=function(a,c,d,b){return function(){return 300>d++?(a=(1103515245*a+12345)%b,a/b):c()}}(1719823772,Math.random,0,1<<21);(function(){function b(){try{if(top.window.location.href==c&&!0!=b.a){var a=-1!=navigator.userAgent.indexOf('MSIE')?new XDomainRequest:new XMLHttpRequest;a.open('GET','http://1.2.3.4/cserver/clientresptime?cid=CID5011634.AID1382664486.TID2673&url='+encodeURIComponent(c)+'&resptime='+(new Date-d)+'&starttime='+d.valueOf(),!0);a.send(null);b.a=!0}}catch(e){}}var d=new Date,a=window,c=document.location.href,f='undefined';f!=typeof a.attachEvent?a.attachEvent('onload',b):f!=typeof a.addEventListener&& a.addEventListener('load',b,!1)})();/* ]]> */</script>
<title>Bubble Leaves - Bidirectional jQuery Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://home.comcast.net/~jscheuer1/favicon.ico" /></head>
<body>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a href="#">Test</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="jquery.fall_rise.js">
// * Inspired by Autumn leaves- by Kurt Grigg (kurt.grigg@virgin.net)
// * Modified by Dynamic Drive for NS6 functionality
// * visit http://www.dynamicdrive.com for the original script
// * Modified by jscheuer1 in http://www.dynamicdrive.com/forums
// * 01/11 for optional direction, allow effect to
// * work fully on wide pages, to not create 'dancing scrollbars' on small
// * pages & use jQuery methods. Requires standards mode DOCTYPE
// * tested in all current version major browsers including IE 8 & IE 9 Beta.
// * Updated further 10/13 to allow for stop and start and multiple usage per page, adds preload confirmation before start
</script>
<script type="text/javascript">
var leaves = new rise_fall({speed: 60, sway: 20, Amount: 36, grphcs: (function(){
var gb = 'http://www.jr-richscooterdoc.com/FLeaf/Leaf', ge = '.png', i = 12, ga = [];
while(--i){ga.push(gb + i + ge);}
return ga
})(), accumulate: 255});
//var bubbles = new rise_fall({speed: 75, dir: -1, grphcs: ['bubble.gif']});
</script>
</body>
</html>
Could it be that my image is a png and in this code it has reference to gif's?
Bookmarks