shockwave2k14
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by shockwave2k14
-
-
Thanks dsonesuk!
-
That's a replacement for the Math.random function to generate a random number. That replacement will always generate the first 300 numbers the same, the first 300 numbers will not be random, they will always be the same sequence of 300 numbers. After that it calls the build-in Math.random function to generate random numbers.
Thanks.....I downloaded the file with this script to my computer because I was going to remove it, but the script isn't there. I uploaded it and when I view the source code the script is still there.....How do I get rid of it?
Thanks,
Tyrone
-
Hi,
I created and maintained a website a few years back without javascript. I added a few snippets along the way (from Facebook and Google Analytics) but I was looking at my code and found this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head>
<script type="text/javascript">/* <![CDATA[ */Math.random=function(a,c,d,{return function(){return 300>d++?(a=(1103515245*a+12345)%b,a/b):c()}}(1048560673,Math.random,0,1<<21);/* ]]> */</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />Would someone please tell me what this script does. Thanks in Advance!
Tyrone
Page displays differently when uploaded
in CSS
Posted
Hi,
I'm having some trouble here and am hoping someone could help.
I have a webpage that displays correctly locally on my laptop but when its uploaded it appears the css goes out of whack. You can see what I mean here... https://www.heritageharvestseed.com/shop.html
I've tried deleting the webapage from the server but that had no effect.
Any ideas on how to fix this?
Help is greatly appreciated.
Thanks in advance.