<?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>Mon, 23 Nov 2009 22:48:07 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>Id specificless function</title>
			<link>http://www.hotscripts.com/forums/javascript/55960-id-specificless-function.html</link>
			<pubDate>Mon, 23 Nov 2009 13:49:48 GMT</pubDate>
			<description><![CDATA[I have 3 textboxes. Onkeyup, each individually initiates an ajax script for one autosuggestion box. 
The problem, I have a script that fills in the value from the autosuggest box back into the textbox.  The problem is my 'fill' script defines *one* textbox, the first one, and won't fill in the...]]></description>
			<content:encoded><![CDATA[<div>I have 3 textboxes. Onkeyup, each individually initiates an ajax script for one autosuggestion box.<br />
The problem, I have a script that fills in the value from the autosuggest box back into the textbox.  The problem is my 'fill' script defines <b>one</b> textbox, the first one, and won't fill in the result in the textbox that I was typing in.  Thanks in advance<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 type=&quot;text/javascript&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; function fill(thisValue) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $('#id1').val(thisValue);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setTimeout(&quot;$('#suggestions').hide();&quot;, 200);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&lt;/script&gt;</code><hr />
</div><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:#FF8000">&lt;form name=<span style="color:#0000FF">&quot;form&quot;</span> method=<span style="color:#0000FF">&quot;get&quot;</span> action=<span style="color:#0000FF">&quot;&quot;</span> /&gt;</span><br />
<span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;id1&quot;</span> id=<span style="color:#0000FF">&quot;id1&quot;</span> value=<span style="color:#0000FF">&quot;E00&quot;</span> onkeyup=<span style="color:#0000FF">&quot;lookup(this.value);&quot;</span> onclick=<span style="color:#0000FF">&quot;fill();&quot;</span> maxlength=<span style="color:#0000FF">&quot;50&quot;</span> type=<span style="color:#0000FF">&quot;text&quot;</span> size=<span style="color:#0000FF">&quot;15&quot;</span> /&gt;</span><br />
<span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;id2&quot;</span> id=<span style="color:#0000FF">&quot;id2&quot;</span> value=<span style="color:#0000FF">&quot;E00&quot;</span> onkeyup=<span style="color:#0000FF">&quot;lookup(this.value);&quot;</span> onblur=<span style="color:#0000FF">&quot;fill();&quot;</span> maxlength=<span style="color:#0000FF">&quot;50&quot;</span> type=<span style="color:#0000FF">&quot;text&quot;</span> size=<span style="color:#0000FF">&quot;15&quot;</span> /&gt;</span><br />
<span style="color:#FF8000">&lt;input name=<span style="color:#0000FF">&quot;id3&quot;</span> id=<span style="color:#0000FF">&quot;id3&quot;</span> value=<span style="color:#0000FF">&quot;E00&quot;</span> onkeyup=<span style="color:#0000FF">&quot;lookup(this.value);&quot;</span> onblur=<span style="color:#0000FF">&quot;fill();&quot;</span> maxlength=<span style="color:#0000FF">&quot;50&quot;</span> type=<span style="color:#0000FF">&quot;text&quot;</span> size=<span style="color:#0000FF">&quot;15&quot;</span> /&gt;</span><br />
<br />
<span style="color:#000080">&lt;div class=<span style="color:#0000FF">&quot;suggestionsBox&quot;</span> id=<span style="color:#0000FF">&quot;suggestions&quot;</span> style=<span style="color:#0000FF">&quot;display: none;&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;div class=<span style="color:#0000FF">&quot;suggestionList&quot;</span> id=<span style="color:#0000FF">&quot;autoSuggestionsList&quot;</span>&gt;</span><span style="color:#000080">&lt;/div&gt;</span><br />
<span style="color:#000080">&lt;/div&gt;</span></code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>protocode</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55960-id-specificless-function.html</guid>
		</item>
		<item>
			<title>div id</title>
			<link>http://www.hotscripts.com/forums/javascript/55956-div-id.html</link>
			<pubDate>Mon, 23 Nov 2009 11:56:26 GMT</pubDate>
			<description><![CDATA[hi 
 
is there a way to get randomly div id inorder. 
 
 wht i mean exactly is 
 
suppose there r 3 div  tags  with id's 1,2,3  when i first click a button the first div id should be called in the javascript function and whn i click  the button next time it should call second div id and this should...]]></description>
			<content:encoded><![CDATA[<div>hi<br />
<br />
is there a way to get randomly div id inorder.<br />
<br />
 wht i mean exactly is<br />
<br />
suppose there r 3 div  tags  with id's 1,2,3  when i first click a button the first div id should be called in the javascript function and whn i click  the button next time it should call second div id and this should continue according to id is this possible if it is possilble 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/55956-div-id.html</guid>
		</item>
		<item>
			<title>Change DIV Content</title>
			<link>http://www.hotscripts.com/forums/javascript/55955-change-div-content.html</link>
			<pubDate>Mon, 23 Nov 2009 00:54:18 GMT</pubDate>
			<description><![CDATA[Hi, 
I hope someone will be able to help me, this is my first time using this website. 
If you have a look at the site (link below), you can see 8 links on the left handside (all roll over image effect) and a large white are with content "Welcome to...". 
What I am looking to do is have the current...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I hope someone will be able to help me, this is my first time using this website.<br />
If you have a look at the site (link below), you can see 8 links on the left handside (all roll over image effect) and a large white are with content &quot;Welcome to...&quot;.<br />
What I am looking to do is have the current content you see in the white box show as default but when one of the links on the left hand side are clicked for the content to change to relevent content for that subject. As from what i can gather this can be done using DIVs but im not sure how as i have never done this before. Im assuming ill have to enter the content for each link in a DIV and give each DIV an ID and when a link is clicked it shows only the DIV its linked to.<br />
Can anyone help with a script. I don't mind if the script needs to be included on the same page or a seperate .js page that I can link to the site.<br />
<br />
The website <a href="http://www.computechmidlands.co.uk/testing" target="_blank">Compu Tech Midlands</a><br />
<br />
Regards,<br />
<br />
kcorbishley</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>kcorbishley</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55955-change-div-content.html</guid>
		</item>
		<item>
			<title>3D New View System</title>
			<link>http://www.hotscripts.com/forums/javascript/55954-3d-new-view-system.html</link>
			<pubDate>Sun, 22 Nov 2009 23:37:30 GMT</pubDate>
			<description>hello, 
 
i got already a script that show the newest torrents that are posted by the users  
 
buth i would make my site modern and i will make it 3D how do i do that do sombody now this ?? 
 
Sorry for my bad english 
 
the origenal file is attached</description>
			<content:encoded><![CDATA[<div>hello,<br />
<br />
i got already a script that show the newest torrents that are posted by the users <br />
<br />
buth i would make my site modern and i will make it 3D how do i do that do sombody now this ??<br />
<br />
Sorry for my bad english<br />
<br />
the origenal file is attached<br />
<br />
answer fast please :confused:</div>


	<br />
	<div style="padding:6px">

	

	

	

	
		<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/1095d1258933010-3d-new-view-system-torrents_new.zip">torrents_new.zip</a> (1.8 KB)</td>
</tr>
			</table>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/javascript/">JavaScript</category>
			<dc:creator>Jornh</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/javascript/55954-3d-new-view-system.html</guid>
		</item>
		<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>
	</channel>
</rss>
