<?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>Webmaster-Talk.com - JavaScript Forum</title>
		<link>http://www.webmaster-talk.com/</link>
		<description>JavaScript coding discussions and help.</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 00:37:42 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://img.webmaster-talk.com/bluesky/vb_img/misc/rss.jpg</url>
			<title>Webmaster-Talk.com - JavaScript Forum</title>
			<link>http://www.webmaster-talk.com/</link>
		</image>
		<item>
			<title>Return value to method in class</title>
			<link>http://www.webmaster-talk.com/javascript-forum/192030-return-value-to-method-in-class.html</link>
			<pubDate>Fri, 20 Nov 2009 04:43:38 GMT</pubDate>
			<description><![CDATA[Hi...i'm still new at this js oo..what i would to do is return value from a one class method to the other..as you all can see below i have 2 simple...]]></description>
			<content:encoded><![CDATA[<div>Hi...i'm still new at this js oo..what i would to do is return value from a one class method to the other..as you all can see below i have 2 simple class which is  <font color="Red">MyMath</font> and <font color="Red">MathResult</font>..the problem is how can i return the value of <font color="Red">this.DoMath() </font>which is <font color="Red">this.total</font> in <font color="Red">MyMath</font> to  <font color="Red">this.ShowMathResult</font> in <font color="Red">MathResult</font>..thanking you all in advance for reviewing my post<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">function MyMath(){<br />
&nbsp; &nbsp; this.StartMath = function(a,b,c){<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.a = a;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.b = b;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.c = c;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.DoMath();&nbsp; &nbsp; <br />
&nbsp; &nbsp; };<br />
&nbsp; &nbsp; this.DoMath() = function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.total = this.a +this. b - this.c; <br />
&nbsp; &nbsp; &nbsp; &nbsp; return this.total;<br />
&nbsp; &nbsp; };<br />
&nbsp; &nbsp; <br />
}<br />
function MathResult(){<br />
&nbsp; &nbsp; this.ShowMathResult = function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp;  alert(this.total);<br />
&nbsp; &nbsp; }<br />
}</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>luz</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/192030-return-value-to-method-in-class.html</guid>
		</item>
		<item>
			<title>Submit button in a form as a link</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191994-submit-button-in-a-form-link.html</link>
			<pubDate>Thu, 19 Nov 2009 14:39:16 GMT</pubDate>
			<description>Hi 
 
i want to convert the submit button in the form as a link. can any one help...?:confused:</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
i want to convert the submit button in the form as a link. can any one help...?:confused:</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>mobilego</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191994-submit-button-in-a-form-link.html</guid>
		</item>
		<item>
			<title>Problem with Javascript in IE</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191936-problem-with-javascript-in-ie.html</link>
			<pubDate>Wed, 18 Nov 2009 19:37:41 GMT</pubDate>
			<description><![CDATA[<form name="mzs" "onSubmit='return false;'"> 
                <select name="container"...]]></description>
			<content:encoded><![CDATA[<div>&lt;form name=&quot;mzs&quot; &quot;onSubmit='return false;'&quot;&gt;<br />
                &lt;select name=&quot;container&quot; onChange=&quot;document.mzs.amt.value=document.mzs.cont  ainer.value&quot;&gt;                                     <br />
<br />
                  &lt;option value=&quot;&quot;&gt;-Container-&lt;/option&gt;                                          <br />
                    &lt;option value=&quot;$228.34&quot;&gt;1 gallon&lt;/option&gt;  <br />
                                &lt;option value=&quot;$57.08&quot;&gt;32oz&lt;/option&gt;                                            <br />
                    &lt;option value=&quot;$28.54&quot;&gt;16oz&lt;/option&gt;<br />
                    &lt;option value=&quot;$21.41&quot;&gt;12 oz&lt;/option&gt;<br />
                    &lt;option value=&quot;$14.27&quot;&gt;8oz&lt;/option&gt;<br />
                &lt;/select&gt; <br />
                &lt;span class=&quot;header&quot;&gt; &amp;nbsp;&amp;nbsp;Result:&lt;/span&gt;                                    <br />
                &lt;b&gt;&lt;input type=&quot;text&quot; name=&quot;amt&quot; size=&quot;7&quot; class=&quot;sidetext&quot; style=&quot;background-color:#FFF;&quot;&gt;&lt;/b&gt;&lt;br /&gt;                            <br />
<br />
                                                                 <br />
<br />
    &lt;/form&gt;</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>runner85</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191936-problem-with-javascript-in-ie.html</guid>
		</item>
		<item>
			<title>Auto Copy Contents Of A Hidden Text Area</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191890-auto-copy-contents-hidden-text-area.html</link>
			<pubDate>Wed, 18 Nov 2009 04:32:40 GMT</pubDate>
			<description>Hi guys, 
 
I have been working on a page which allows me to click a button which then in turn copies the contents of a textarea. I have placed the...</description>
			<content:encoded><![CDATA[<div>Hi guys,<br />
<br />
I have been working on a page which allows me to click a button which then in turn copies the contents of a textarea. I have placed the script below into my Header section.<br />
<br />
 <br />
&lt;script language='Javascript'&gt;<br />
function doact(d)<br />
{<br />
var doc = eval(&quot;document.readme.&quot;+d);<br />
cp = doc.createTextRange();<br />
doc.focus();<br />
doc.select();<br />
cp.execCommand(&quot;Copy&quot;);<br />
}<br />
&lt;/script&gt;<br />
&lt;form name=&quot;readme&quot;&gt;<br />
<br />
<br />
In my Body I am using the following:<br />
<br />
 &lt;textarea name=&quot;text1&quot; cols=&quot;1&quot; rows=&quot;1&quot; style=&quot;display:all&quot;&gt;Some Text&lt;/TEXTAREA&gt;<br />
&lt;input onclick=&quot;doact('text1')&quot; type=&quot;button&quot; value=&quot;Host Headers&quot;&gt;<br />
<br />
The problem I am having is when I change the display type to hidden the copy function doesnt work. I do not wish to have the textarea displayed on my site as it is simply used to quickly copy proformas etc.<br />
<br />
Any Ideas :)</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>RiverAce</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191890-auto-copy-contents-hidden-text-area.html</guid>
		</item>
		<item>
			<title>Just like softpedia</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191815-just-like-softpedia.html</link>
			<pubDate>Tue, 17 Nov 2009 00:52:22 GMT</pubDate>
			<description>Hi, I was wondering how to add something like this onto my website, I assume it cant be done in just HTML, or easily at least.  And I am looking for...</description>
			<content:encoded><![CDATA[<div>Hi, I was wondering how to add something like this onto my website, I assume it cant be done in just HTML, or easily at least.  And I am looking for a really simple JS tutorial or ready made piece of code to use.<br />
<br />
<img src="http://i33.tinypic.com/2r7muq9.png" border="0" alt="" /><br />
<br />
You can find it <a href="http://news.softpedia.com" target="_blank">here</a><br />
<br />
Thank you for reading.</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>ryanhu</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191815-just-like-softpedia.html</guid>
		</item>
		<item>
			<title>Litebox not functioning</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191794-litebox-not-functioning.html</link>
			<pubDate>Mon, 16 Nov 2009 14:54:09 GMT</pubDate>
			<description>At the moment my images are just opening in a new window, see link: 
_link here_ 
 
I have tried everything! Help would be much appreciated. 
...</description>
			<content:encoded><![CDATA[<div>At the moment my images are just opening in a new window, see link:<br />
<u>link here</u><br />
<br />
I have tried everything! Help would be much appreciated.<br />
<br />
Thanks =)</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>littlemoomin</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191794-litebox-not-functioning.html</guid>
		</item>
		<item>
			<title>Javascript include (for archive)</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191691-javascript-include-for-archive.html</link>
			<pubDate>Sun, 15 Nov 2009 00:21:31 GMT</pubDate>
			<description><![CDATA[Hi all (first post here!) 
 
I'm hoping someone will be able to help me with a problem I've been trying to work on for a while now...  basically the...]]></description>
			<content:encoded><![CDATA[<div>Hi all (first post here!)<br />
<br />
I'm hoping someone will be able to help me with a problem I've been trying to work on for a while now...  basically the announcements panel is to show only the top five announcements (i.e. the 5 most recent announcements) and retain the rest of them in an archive.<br />
<br />
The code for the div in question is: <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;div id=&quot;announcements&quot;&gt;<br />
<br />
&nbsp; &nbsp; &lt;p class=&quot;main_text&quot; align=&quot;center&quot;&gt;&lt;b&gt;Announcements&lt;/b&gt;&lt;/p&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
var scripts = new Array();<br />
<br />
scripts[0] = &quot;&lt;b&gt; Date: 22 Oct &lt;/b&gt; &lt;br /&gt;details&quot;;<br />
scripts[1] = &quot;&lt;b&gt; Date: 24 Oct &lt;/b&gt; &lt;br /&gt;details&quot;;<br />
scripts[2] = &quot;&lt;b&gt; Date: 25 Oct &lt;/b&gt; &lt;br /&gt;details&quot;;<br />
scripts[3] = &quot;&lt;b&gt; Date: 27 Oct &lt;/b&gt; &lt;br /&gt;details&quot;;<br />
scripts[4] = &quot;&lt;b&gt; Date: 28 Oct &lt;/b&gt; &lt;br /&gt;details&quot;;<br />
scripts[5] = &quot;&lt;b&gt; Date: 29 Oct &lt;/b&gt; &lt;br /&gt;details&quot;;<br />
scripts[6] = &quot;&lt;b&gt; Date: 30 Oct &lt;/b&gt; &lt;br /&gt;details&quot;;<br />
<br />
document.write(&quot;&lt;table&gt;&quot;);<br />
scripts=scripts.reverse();<br />
for (i=0;i&lt;5;i++)<br />
{<br />
<br />
<br />
document.write(scripts[i] + &quot;&lt;br &gt;&quot;);<br />
document.write(&quot;&lt;/td&gt; &lt;/tr&gt;&quot;);<br />
document.write(&quot;&lt;/table&gt;&quot;);<br />
}<br />
<br />
<br />
&lt;/script&gt;</code><hr />
</div>This prints out the latest 5 announcements.  However, I would like to have a button which calls the almost identical script, with the subtle change of scripts length (shown in bold): <br />
<br />
document.write(&quot;&lt;table&gt;&quot;);<br />
scripts=scripts.reverse();<br />
for (i=0;<b>i&lt;scripts.length</b>;i++)<br />
{<br />
<br />
<br />
document.write(scripts[i] + &quot;&lt;br &gt;&quot;);<br />
document.write(&quot;&lt;/td&gt; &lt;/tr&gt;&quot;);<br />
document.write(&quot;&lt;/table&gt;&quot;);<br />
}<br />
<br />
This would hopefully display every annoucement.  <br />
<br />
Is there any way I can automatically display the first 5, then when the button is clicked the scripts.length function is executed instead?<br />
<br />
Thanks for any help!<br />
<br />
Steven</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>steveb_ni</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191691-javascript-include-for-archive.html</guid>
		</item>
		<item>
			<title>Getting js to apply css important to a value</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191677-getting-js-apply-css-important-value.html</link>
			<pubDate>Sat, 14 Nov 2009 17:45:59 GMT</pubDate>
			<description>Dear friends 
 
I have a script that puts a different css color and background image onto a menu for the link that has been clicked to open an...</description>
			<content:encoded><![CDATA[<div>Dear friends<br />
<br />
I have a script that puts a different css color and background image onto a menu for the link that has been clicked to open an iframe. This works fine, but because elements of the menu have to already have fixed css !important specifications, the javascript css modification is not 'as strong' as that.<br />
<br />
The relevant part of the script is <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">for(var i = 0; i &lt; as.length; i++) { <br />
as[i].style.color = 'white'; //default text color <br />
as[i].style.background = '#2175BC'; //default backgroundcolor <br />
if(as[i].href.toLowerCase() == pagename.toLowerCase()) { <br />
as[i].style.background = 'url(http://www.internetevangelismday.com/images/arrowlargeyellow.gif) no-repeat left blue';&nbsp; &nbsp; //desired highlight bg colour second level menu<br />
<br />
<br />
}</code><hr />
</div>The value I would like to apply !important strength to is the background image item. Adding !important to the line itself does not work. It might carry a bit more strength too if the background color blue was separated from the background image. Can you see any way to do this?<br />
<br />
Best wishes and thanks<br />
<br />
Tony</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>soon</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191677-getting-js-apply-css-important-value.html</guid>
		</item>
		<item>
			<title>Event to change image link</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191639-event-to-change-image-link.html</link>
			<pubDate>Sat, 14 Nov 2009 04:13:46 GMT</pubDate>
			<description>http://livingstonsauction.com/art/beth_mcanich/abstract_cityscape/index.html 
 
In my photo gallery when the user moves the mouse over either the...</description>
			<content:encoded><![CDATA[<div><a href="http://livingstonsauction.com/art/beth_mcanich/abstract_cityscape/index.html" target="_blank">http://livingstonsauction.com/art/be...ape/index.html</a><br />
<br />
In my photo gallery when the user moves the mouse over either the image number or the thumbnail image it changes the main image. How can I make that event also change the large image the main image links to?<br />
<br />
Site built using dreamweaver</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>AuctionOKC</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191639-event-to-change-image-link.html</guid>
		</item>
		<item>
			<title>Lightbox Photo Gallery - help!</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191610-lightbox-photo-gallery-help.html</link>
			<pubDate>Fri, 13 Nov 2009 17:12:44 GMT</pubDate>
			<description><![CDATA[Hello, I'm new here ^-^ Complete and utter Javascript noob. I mean I've used it for rollovers in the past and that's practically it. Anyway, can...]]></description>
			<content:encoded><![CDATA[<div>Hello, I'm new here ^-^ Complete and utter Javascript noob. I mean I've used it for rollovers in the past and that's practically it. Anyway, can someone please help me with setting up my photo gallery?! I basically need step-by-step instructions(!) Have followed instructions for <a href="http://www.huddletogether.com/projects/lightbox2/" target="_blank">http://www.huddletogether.com/projects/lightbox2/</a> colorbox and pretty photo and can't get them working.<br />
<br />
I gather you have to first download jquery which i have done and put that in my main folder and linked to. I have then pasted the script in my header and changed the links to match to their correct locations and done the rel=&quot;blah&quot; in my links. I'm obviously missing something as my images keep opening on a new page rather than in the lightbox at all.<br />
<br />
Any help massively appreciated!</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>littlemoomin</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191610-lightbox-photo-gallery-help.html</guid>
		</item>
		<item>
			<title>How to fetch the exact height attribute of html divs in IE?</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191582-how-fetch-exact-height-attribute-html.html</link>
			<pubDate>Fri, 13 Nov 2009 08:01:01 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I want to get the dynamic heights of some html divs. I am not programmatically applying height to them (so I don't know their values). If I...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I want to get the dynamic heights of some html divs. I am not programmatically applying height to them (so I don't know their values). If I fetch the height in mozilla I am able to fetch the exact value in px but in case of IE it gives &quot;auto&quot;. How do I get their exact values? Please help</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>greenerworld007</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191582-how-fetch-exact-height-attribute-html.html</guid>
		</item>
		<item>
			<title><![CDATA[jQuery script 'works' but its very cowboy - how can i make it better?]]></title>
			<link>http://www.webmaster-talk.com/javascript-forum/191576-jquery-script-works-but-its-very.html</link>
			<pubDate>Fri, 13 Nov 2009 07:03:46 GMT</pubDate>
			<description><![CDATA[Code: 
--------- 
//gets all image links with ref to the "product_images" directory 
   
          $j("a[href*='product_images/']").each(function() {...]]></description>
			<content:encoded><![CDATA[<div><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">//gets all image links with ref to the &quot;product_images&quot; directory<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $j(&quot;a[href*='product_images/']&quot;).each(function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  //gets the existing href attribute&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  var linkhref = $j(this).attr(&quot;href&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  //writes the new link reference to the anchor link element<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $j(this).attr(&quot;href&quot;, linkhref.replace(&quot;.png&quot;, &quot;a.png&quot;));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  newfile = $j(this).attr(&quot;href&quot;).split('/').pop();<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $j(this).attr(&quot;href&quot;, (&quot;http://www.mywebsite/wp-content/uploads/&quot; + newfile));<br />
&nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp;  });//ends &quot;each&quot; function</code><hr />
</div>I am using $j to call jQuery in no-conflict mode.<br />
<br />
Basically I want to just rename some links to a different directory.<br />
<br />
I am sure there are much cleaner ways to write this.<br />
<br />
For a start, it assumes that the files will always be in .PNG format. But if someone uses a GIF the script breaks.<br />
How to fix that?<br />
<br />
Second, is there a more portable way of renaming the new path rather than manually typing <b>the complete path </b>as I have done here?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>TWD</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191576-jquery-script-works-but-its-very.html</guid>
		</item>
		<item>
			<title>urgent javascript help</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191531-urgent-javascript-help.html</link>
			<pubDate>Thu, 12 Nov 2009 15:16:28 GMT</pubDate>
			<description><![CDATA[===================[ URGENT ]================= 
confirm_state is not working properly..as it uses sajax..it is supposed to get the value of the state...]]></description>
			<content:encoded><![CDATA[<div>===================[ URGENT ]=================<br />
confirm_state is not working properly..as it uses sajax..it is supposed to get the value of the state ..but the state being a string not working...please help..<br />
........................urgent....................  ....<br />
<br />
&lt;?<br />
function search_states($str)<br />
 {<br />
  //print $str;<br />
  //print &quot;&lt;br&gt;&lt;pre&gt;&quot;;<br />
  $number=explode('-',$str);<br />
  <br />
  //print_r($number);<br />
  //print $number[0];<br />
  if(count($number)==1)<br />
  {<br />
   $table='states';<br />
   $data=array('*'=&gt;'');<br />
   $fldarray=array(&quot;state&quot;=&gt;$number[0]);<br />
   $val=dataSelectSearch($table,$data,$fldarray,$extr  a,$orderArray,$orderType);<br />
   <br />
   // print &quot;&lt;pre&gt;&quot;;<br />
   // print_r($val);<br />
   <br />
   for($i=0;$i&lt;count($val);$i++)<br />
   {<br />
    $state_name=$state_name.&quot;##&quot;.$val[$i]['state'];<br />
   }<br />
   return $state_name;<br />
  }<br />
  else<br />
  {<br />
   $strt_val=ord($number[0]);   // Ascii of first character<br />
   $end_val=ord($number[1]);    // Ascii of last character<br />
   //print chr($end_val);<br />
   <br />
   for($j=$strt_val;$j&lt;=$end_val;$j++)<br />
   {<br />
    $table='states';<br />
    $data=array('*'=&gt;'');<br />
    $fldarray=array(&quot;state&quot;=&gt;chr($j));<br />
    $val=dataSelectSearch($table,$data,$fldarray,$extr  a,$orderArray,$orderType);<br />
    <br />
    for($m=0;$m&lt;count($val);$m++)<br />
    {<br />
     $state_name=$state_name.&quot;##&quot;.$val[$m]['state'];<br />
    }<br />
   }<br />
   return $state_name;<br />
   <br />
   <br />
  }<br />
  <br />
 } <br />
<br />
?&gt;<br />
<br />
&lt;script&gt;<br />
 <br />
   function confirm_state1(msg)<br />
   {<br />
  //  =============================== [subcategory follows ] =========================<br />
   <br />
   //alert(msg);<br />
   var value=msg;<br />
   var arr=Array();<br />
   arr=value.split(&quot;##&quot;); <br />
   <br />
   <br />
   <br />
   for(i=1;i&lt;=(arr.length-1);i++)<br />
    {<br />
     //var new_val;<br />
     <br />
     <br />
     //alert(i);<br />
    <br />
     //var int=Integer.valueOf(arr[i]);<br />
    document.getElementById('innercontent').innerHTML=  document.getElementById('innercontent').innerHTML+  &quot;&lt;br&gt;&amp;nbsp;&amp;nbsp; &lt;a href='javascript<b></b>:void(0);' onclick='document.getElementById(state_name).value  =&quot;+arr[i]+&quot;;' class='small_link1'&gt;&quot;+arr[i]+&quot;&lt;/a&gt;&quot;;<br />
     //document.getElementById('all_state').innerHTML='';<br />
     //alert(document.getElementById('innercontent').inne  rHTML);<br />
    <br />
    <br />
    <br />
    }<br />
  <br />
   }<br />
 <br />
 function showname(val)<br />
 {<br />
  //alert(msg1);<br />
  alert(val);<br />
  document.getElementById('state_name').value=val;<br />
  document.getElementById('all_state').style.display  ='none';<br />
  <br />
 }<br />
<br />
 function findstate(str)<br />
 {<br />
  //alert(str);<br />
  document.getElementById('innercontent').innerHTML=  '';<br />
  document.getElementById('all_state').style.display  ='inline';<br />
  var str1=str;<br />
  x_search_states(str1,confirm_state1);<br />
 }<br />
 <br />
 <br />
 <br />
&lt;/script&gt;</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>sandip123</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191531-urgent-javascript-help.html</guid>
		</item>
		<item>
			<title><![CDATA[JQuery Plugin "Cycle" ...Problems with Pager Functionality]]></title>
			<link>http://www.webmaster-talk.com/javascript-forum/191489-jquery-plugin-cycle-problems-pager-functionality.html</link>
			<pubDate>Thu, 12 Nov 2009 06:13:19 GMT</pubDate>
			<description><![CDATA[I'm struggling to implement the "pager (http://www.malsup.com/jquery/cycle/int2.html)" feature for Jquery's Cycle (the option to navigate by...]]></description>
			<content:encoded><![CDATA[<div>I'm struggling to implement the &quot;<a href="http://www.malsup.com/jquery/cycle/int2.html" target="_blank">pager</a>&quot; feature for Jquery's Cycle (the option to navigate by numbers).<br />
<br />
Here's an example of where I've tried (unsuccessfully) using it:<br />
<a href="http://ivancash.com/test/independant/oxt_weekend.html" target="_blank">IVAN CASH / ART DIRECTOR + DESIGNER</a>. <br />
<br />
Much obliged to anyone who can offer advice!<br />
<br />
Thanks!!!<br />
-Ivan</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>shwizle</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191489-jquery-plugin-cycle-problems-pager-functionality.html</guid>
		</item>
		<item>
			<title>Quick JQuery help needed</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191436-quick-jquery-help-needed.html</link>
			<pubDate>Wed, 11 Nov 2009 14:18:51 GMT</pubDate>
			<description>I need script that looks for every instance on a page of numeric value with 
decimal places. Then strip the decimal and the two decimal places. 
...</description>
			<content:encoded><![CDATA[<div>I need script that looks for every instance on a page of numeric value with<br />
decimal places. Then strip the decimal and the two decimal places.<br />
<br />
Effectively, I want to truncate every currency value back to whole currency units, removing fractions or cents.<br />
<br />
Any ideas how to do it with JQuery?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>TWD</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191436-quick-jquery-help-needed.html</guid>
		</item>
		<item>
			<title>Works in IE but not in firefox</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191380-works-in-ie-but-not-firefox.html</link>
			<pubDate>Wed, 11 Nov 2009 01:37:56 GMT</pubDate>
			<description>hi! this is my coding to scroll images  
it works fine in IE but not in Firefox.. and i hav tried firebug.. it seems as if thr were no errors.. can...</description>
			<content:encoded><![CDATA[<div>hi! this is my coding to scroll images <br />
it works fine in IE but not in Firefox.. and i hav tried firebug.. it seems as if thr were no errors.. can sumone fig a sol for tis..<br />
<br />
<br />
<br />
var displayTime, speed, wait, banner1, banner2, link1, link2, bannerIndex, bannerLocations, bannerURLs;<br />
<br />
function initVar() {<br />
  displayTime = 10; // The amount of time each banner will be displayed in seconds.<br />
  speed = 5; // The speed at which the banners is moved (1 - 10, anything above 5 is not recommended).<br />
  wait = true;<br />
<br />
  banner1 = window.document.getElementById(&quot;banner1&quot;);<br />
  banner2 = window.document.getElementById(&quot;banner2&quot;);<br />
  link1 = window.document.getElementById(&quot;link1&quot;);<br />
  link2 = window.document.getElementById(&quot;link2&quot;);<br />
<br />
  banner1 = document.getElementById(&quot;banner1&quot;);<br />
  banner2 = document.getElementById(&quot;banner2&quot;);<br />
<br />
  banner1.style.left = 0;<br />
  banner2.style.left = 500;<br />
<br />
  bannerIndex = 1;<br />
<br />
  /* Important: In order for this script to work properly, please make sure that the banner graphic and the<br />
  URL associated with it have the same index in both, the bannerLocations and bannerURLs arrays.<br />
  Duplicate URLs are permitted. */<br />
<br />
  // Enter the location of the banner graphics in the array below.<br />
  bannerLocations =[&quot;http://www.webmaster-talk.com/images/1.jpg&quot;,&quot;http://www.webmaster-talk.com/images/2.jpg&quot;,&quot;http://www.webmaster-talk.com/images/3.jpg&quot;];<br />
<br />
  // Enter the URL's to which the banners will link to in the array below.<br />
  bannerURLs = [&quot;http://www.internet.com&quot;,&quot;http://www.jupiterweb.com&quot;,&quot;http://www.jupitermedia.com&quot;];<br />
}<br />
<br />
function moveBanner()<br />
{<br />
  if(!wait)<br />
  {<br />
    banner1.style.left = parseInt(banner1.style.left,10) -  (speed * 5);<br />
    banner2.style.left = parseInt(banner2.style.left,10) - (speed * 5);<br />
    if(parseInt(banner1.style.left,10) &lt;= -500)<br />
    {<br />
      banner1.style.left = 500;<br />
      bannerIndex = (bannerIndex &lt; (bannerLocations.length - 1)) ? ++bannerIndex :0;<br />
      banner1.src = bannerLocations[bannerIndex];<br />
      link1.href = bannerURLs[bannerIndex];<br />
      wait = true;<br />
    }<br />
    if(parseInt(banner2.style.left,10) &lt;= -500)<br />
    {<br />
      banner2.style.left = 500;<br />
      bannerIndex = (bannerIndex &lt; (bannerLocations.length - 1)) ? ++bannerIndex :0;<br />
      banner2.src = bannerLocations[bannerIndex];<br />
      link2.href = bannerURLs[bannerIndex];<br />
      wait = true;<br />
            }<br />
<br />
    setTimeout(function() {moveBanner();},100);<br />
     } <br />
     else {<br />
      wait = false;<br />
      setTimeout(function(){moveBanner();}, displayTime * 200);<br />
  }<br />
}</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>myeworld</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191380-works-in-ie-but-not-firefox.html</guid>
		</item>
		<item>
			<title>Data in fields need to match to be submitted</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191352-data-in-fields-need-match-submitted.html</link>
			<pubDate>Tue, 10 Nov 2009 15:22:46 GMT</pubDate>
			<description>I have this Form, where there is a field that requires a number to be entered into it. 
How can I add the function where the number has to be...</description>
			<content:encoded><![CDATA[<div>I have this Form, where there is a field that requires a number to be entered into it.<br />
How can I add the function where the number has to be re-entered into the next field, and match the original number field? I want to check that the number in both inputs is the same before the form will be submitted successfully<br />
Thanks<br />
 <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;html&gt;<br />
&lt;head&gt;<br />
&nbsp; &lt;title&gt;&lt;/title&gt;<br />
&nbsp;<br />
&nbsp;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;br&gt;<br />
&lt;h1 style=&quot;border-bottom:1px solid #dddcdc;&quot;&gt;&lt;br&gt;&lt;center&gt; Form&lt;/center&gt;&lt;/h1&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;center&gt;&lt;font face=&quot;verdana&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=#000000;&quot;&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;font face=&quot;verdana&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=#800000;&quot;&gt;Please complete the simple form below.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;font face=&quot;verdana&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=#000000;&quot;&gt;.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;font face=&quot;verdana&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=#000000;&quot;&gt; &lt;/font&gt;&lt;/font&gt;&lt;/center&gt;&lt;/p&gt;<br />
&nbsp;<br />
&lt;!--&lt;div style=&quot;height: 80px; background-color: #336699;&quot;&gt;<br />
&nbsp; &lt;span class=&quot;page_title&quot;&gt;&lt;span class=&quot;form_title&quot;&gt;Form&lt;/span&gt;&lt;/span&gt;<br />
&lt;/div&gt;--&gt;<br />
&nbsp;<br />
&lt;br /&gt;<br />
&nbsp;<br />
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; align=&quot;center&quot; width=&quot;600&quot;&gt;<br />
&lt;tr&gt;<br />
&nbsp; &lt;td&gt;<br />
&nbsp; &nbsp; &lt;font face=&quot;verdana&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;font color=#800000;&quot;&gt;[var.result]&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;red&quot;&gt;&lt;strong&gt;[var.error]&lt;/strong&gt;&lt;/font&gt;&lt;br&gt;<br />
&nbsp; &nbsp; &lt;hr size=&quot;1&quot; /&gt;<br />
&nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &lt;form action=&quot;/page.php?page=14&quot; method=&quot;post&quot; name=&quot;contact_us&quot; onSubmit=&quot;return capCheck(this);&quot;&gt;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp; &nbsp; &lt;table cellpadding=&quot;0&quot; width=&quot;100%&quot;&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &lt;td width=&quot;10&quot; class=&quot;required_field&quot;&gt;*&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td width=&quot;80&quot;&gt;First Name:&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;name&quot; maxlength=&quot;50&quot; style=&quot;width:300px&quot; /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &lt;td class=&quot;required_field&quot;&gt;*&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;Last Name:&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;email&quot; maxlength=&quot;40&quot; style=&quot;width:300px&quot; /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &lt;td class=&quot;required_field&quot;&gt;*&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;Type:&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;custom1&quot; maxlength=&quot;20&quot; style=&quot;width:300px&quot; /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &lt;td class=&quot;required_field&quot;&gt;*&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;Number:&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;custom2&quot; maxlength=&quot;20&quot; style=&quot;width:300px&quot; /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;&nbsp;  <br />
&lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td class=&quot;required_field&quot;&gt;*&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;Enter Image Code:&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;input type=&quot;text&quot; value=&quot;&quot; name=&quot;captext&quot; style=&quot;width: 100px&quot; maxlength=&quot;6&quot; /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;a onclick=&quot;refresh_security_image(); return false;&quot; style=&quot;cursor:pointer;&quot;&gt;&lt;u&gt;Refresh Image&lt;/u&gt;&lt;/a&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;&lt;img src=&quot;includes/captcha.php&quot; border=&quot;0&quot; id=&quot;verificiation_image&quot; /&gt;&lt;/a&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;/table&gt;<br />
&lt;br&gt;<br />
&nbsp;<br />
&lt;br&gt;<br />
&nbsp; &nbsp; &lt;p&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;input type=&quot;hidden&quot; name=&quot;submited&quot; value=&quot;1&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Submit&quot; /&gt;<br />
&nbsp; &nbsp; &lt;/p&gt;<br />
&nbsp;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&nbsp;<br />
&nbsp; &lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
&nbsp; &lt;!--<br />
&nbsp; function refresh_security_image() {<br />
&nbsp;<br />
&nbsp; var new_url = new String(&quot;[var.base_url]/includes/captcha.php?width=132&amp;amp;height=36&amp;charcators=&quot;);<br />
new_url = new_url.substr(0, new_url.indexOf(&quot;width=&quot;) + 37);<br />
// we need a random new url so this refreshes<br />
var chr_str = &quot;123456789&quot;;<br />
for(var i=0; i &lt; 6; i++)<br />
new_url = new_url + chr_str.substr(Math.floor(Math.random() * 2), 1);<br />
document.getElementById(&quot;verificiation_image&quot;).src = new_url;<br />
&nbsp; }<br />
&nbsp; --&gt;<br />
&nbsp;&lt;/script&gt;<br />
&nbsp;<br />
&nbsp;&lt;!-- captcha start --&gt;<br />
&nbsp;&lt;script type=&quot;text/javascript&quot; id=&quot;clientEventHandlersJS&quot; language=&quot;javascript&quot;&gt;<br />
&nbsp;&lt;!--<br />
&nbsp; function capCheck(theForm) {<br />
var xmlhttp;<br />
var sReply;<br />
DataToSend = &quot;action=process&amp;captext=&quot; + escape(theForm.captext.value);<br />
if (window.XMLHttpRequest) {<br />
xmlhttp=new XMLHttpRequest();<br />
xmlhttp.open(&quot;POST&quot;,'includes/process.php',false);<br />
xmlhttp.setRequestHeader(&quot;Content-Type&quot;, &quot;application/x-www-form-urlencoded&quot;);<br />
xmlhttp.send(DataToSend);<br />
sReply = xmlhttp.responseText;<br />
} else if (window.ActiveXObject) {<br />
xmlhttp = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br />
xmlhttp.open(&quot;POST&quot;,'includes/process.php',false);<br />
xmlhttp.setRequestHeader(&quot;Content-Type&quot;, &quot;application/x-www-form-urlencoded&quot;);<br />
xmlhttp.send(DataToSend);<br />
sReply = xmlhttp.responseText;<br />
}<br />
if (sReply == &quot;good&quot;) {<br />
return true;<br />
} else if (sReply == &quot;bad&quot;) {<br />
alert(&quot;Security code not valid, please try again&quot;); return false;<br />
} else if (sReply == &quot;&quot;) {<br />
alert(&quot;You must enter the security code&quot;); return false;<br />
} else {<br />
alert(&quot;Error&quot;); return false;<br />
}<br />
}<br />
&nbsp; --&gt;<br />
&nbsp; &lt;/script&gt;<br />
&nbsp; &lt;!-- captch end --&gt;<br />
&nbsp;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>chrisj</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191352-data-in-fields-need-match-submitted.html</guid>
		</item>
		<item>
			<title>get value of drop down</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191202-get-value-of-drop-down.html</link>
			<pubDate>Sun, 08 Nov 2009 18:37:12 GMT</pubDate>
			<description><![CDATA[I just need to set the value of the currently selected option of a dropdown box. 
 
 
HTML: 
--------- 
<html> 
<body> 
 
<script...]]></description>
			<content:encoded><![CDATA[<div>I just need to set the value of the currently selected option of a dropdown box.<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;body&gt;</span><br />
<br />
<span style="color:#800000">&lt;script type=<span style="color:#0000FF">&quot;text/javascript&quot;</span>&gt;</span><br />
function getRare()<br />
{alert(document.myForm.rarity.options&#91;rarity.selectedIndex&#93;.value);<br />
}<br />
<span style="color:#800000">&lt;/script&gt;</span><br />
<br />
<span style="color:#FF8000">&lt;form name=<span style="color:#0000FF">&quot;myForm&quot;</span>&gt;</span><br />
<span style="color:#FF8000">&lt;select name=<span style="color:#0000FF">&quot;Rarity&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color:#FF8000">&lt;option value=<span style="color:#0000FF">&quot;0&quot;</span>&gt;</span>Common<span style="color:#FF8000">&lt;/option&gt;</span><br />
&nbsp; &nbsp; <span style="color:#FF8000">&lt;option value=<span style="color:#0000FF">&quot;1&quot;</span>&gt;</span>Uncommon<span style="color:#FF8000">&lt;/option&gt;</span><br />
&nbsp; &nbsp; <span style="color:#FF8000">&lt;option value=<span style="color:#0000FF">&quot;2&quot;</span>&gt;</span>Rare<span style="color:#FF8000">&lt;/option&gt;</span><br />
&nbsp; &nbsp; <span style="color:#FF8000">&lt;option value=<span style="color:#0000FF">&quot;3&quot;</span>&gt;</span>Other<span style="color:#FF8000">&lt;/option&gt;</span><br />
<span style="color:#FF8000">&lt;/select&gt;</span><br />
<span style="color:#FF8000">&lt;input type=<span style="color:#0000FF">&quot;button&quot;</span> value=<span style="color:#0000FF">&quot;pick&quot;</span> onclick=<span style="color:#0000FF">&quot;getRare();&quot;</span> /&gt;</span><br />
<span style="color:#FF8000">&lt;/form&gt;</span><br />
<br />
<span style="color:#000080">&lt;/body&gt;</span><br />
<span style="color:#000080">&lt;/html&gt;</span></code><hr />
</div>can you tell me what's wrong?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>Skeddles</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191202-get-value-of-drop-down.html</guid>
		</item>
		<item>
			<title>JQuery - Hide Table Rows</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191121-jquery-hide-table-rows.html</link>
			<pubDate>Sat, 07 Nov 2009 12:15:16 GMT</pubDate>
			<description><![CDATA[I currently use a dropdown box where you select the option and it will show all the <tr>'s in a table with that "id", but i want it to hide all other...]]></description>
			<content:encoded><![CDATA[<div>I currently use a dropdown box where you select the option and it will show all the &lt;tr&gt;'s in a table with that &quot;id&quot;, but i want it to hide all other &lt;tr&gt;'s in the table which do not the the &quot;id&quot; selected, can anyone help me or tell me what to do?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>evans123</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191121-jquery-hide-table-rows.html</guid>
		</item>
		<item>
			<title>my script not working</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191107-my-script-not-working.html</link>
			<pubDate>Sat, 07 Nov 2009 08:30:22 GMT</pubDate>
			<description><![CDATA[The Dymanic Drive script is not working in the following code: 
 
 
HTML: 
--------- 
<head><link rel="stylesheet" type="text/css"...]]></description>
			<content:encoded><![CDATA[<div>The Dymanic Drive script is not working in the following code:<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;head&gt;</span><span style="color:#000080">&lt;link rel=<span style="color:#0000FF">&quot;stylesheet&quot;</span> type=<span style="color:#0000FF">&quot;text/css&quot;</span> href=<span style="color:#0000FF">&quot;anylinkmenu.css&quot;</span> /&gt;</span><br />
<br />
<span style="color:#800000">&lt;script type=<span style="color:#0000FF">&quot;text/javascript&quot;</span> src=<span style="color:#0000FF">&quot;menucontents.js&quot;</span>&gt;</span><span style="color:#800000">&lt;/script&gt;</span><br />
<br />
<span style="color:#800000">&lt;script type=<span style="color:#0000FF">&quot;text/javascript&quot;</span> src=<span style="color:#0000FF">&quot;anylinkmenu.js&quot;</span>&gt;</span><br />
<br />
/***********************************************<br />
* AnyLink JS Drop Down Menu v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com)<br />
* This notice MUST stay intact for legal use<br />
* Visit Project Page at http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm for full source code<br />
***********************************************/<br />
<br />
<span style="color:#800000">&lt;/script&gt;</span><br />
<br />
<span style="color:#800000">&lt;script type=<span style="color:#0000FF">&quot;text/javascript&quot;</span>&gt;</span><br />
<br />
//anylinkmenu.init(&quot;menu_anchors_class&quot;) //Pass in the CSS class of anchor links (that contain a sub menu)<br />
anylinkmenu.init(&quot;menuanchorclass&quot;)<br />
<br />
<span style="color:#800000">&lt;/script&gt;</span><br />
<span style="color:#000080">&lt;/head&gt;</span>&nbsp; &nbsp; <br />
<span style="color:#000080">&lt;body&gt;</span><br />
<span style="color:#000080">&lt;ul&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/&quot;</span>&gt;</span>Home<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/forums/&quot;</span> class=<span style="color:#0000FF">&quot;menuanchorclass&quot;</span> rel=<span style="color:#0000FF">&quot;anylinkmenu1&quot;</span>&gt;</span>Forums<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/live.php&quot;</span>&gt;</span>Live<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/ranking.php&quot;</span>&gt;</span>Rankings<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpaki.blogspot.com&quot;</span>&gt;</span>Blog<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/videos.php&quot;</span>&gt;</span>Videos<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/live_tv.php&quot;</span>&gt;</span>Live TV!<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;/ul&gt;</span><br />
<span style="color:#000080">&lt;/body&gt;</span><br />
<span style="color:#000080">&lt;/html&gt;</span><br />
<br />
</code><hr />
</div><br />
<b>This is the original script.<br />
<a href="http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm" target="_blank">Dymanic Drive</a></b></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>asmalik12</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191107-my-script-not-working.html</guid>
		</item>
		<item>
			<title>Following a tutorial for a gallery but something isnt working....</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191083-following-tutorial-gallery-but-something-isnt.html</link>
			<pubDate>Sat, 07 Nov 2009 00:36:16 GMT</pubDate>
			<description>I downloaded Jon designs (http://smoothgallery.jondesign.net/getting-started/) javascript smooth gallery-which I found a link to while searching for...</description>
			<content:encoded><![CDATA[<div>I downloaded <a href="http://smoothgallery.jondesign.net/getting-started/" target="_blank">Jon designs</a> javascript smooth gallery-which I found a link to while searching for gallery for my website...  I have gone over and over what I am doing, but I cant get it to work as a gallery, I have no idea what I am doing wrong and its probably something simple and staring me in the face. I have very limited knowledge....<br />
<br />
What I have done: <br />
I unzipped the files and then uploaded them to my Cpanel <br />
In My .css file I added <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">#myGallery<br />
{<br />
width: 490px !important;<br />
height: 327px !important;<br />
} <br />
useThumbGenerator: true <br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
function startGallery() {<br />
var myGallery = new gallery($('myGallery'), {<br />
timed: false,<br />
showArrows: true,<br />
showCarousel: false,<br />
embedLinks: false<br />
});<br />
}<br />
window.addEvent('domready', startGallery);<br />
&lt;/script&gt;</code><hr />
</div>The rest I put in my HTML page, I only added two pictures to see how it worked... Its uploaded to my blog part of the site, which I am using for testing... <a href="http://rachelclarephotography.com/blog.html" target="_blank">http://rachelclarephotography.com/blog.html</a>   So anyone who can explain in simple terms where I am going wrong would be appreciated!!!</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>Rachelsne</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191083-following-tutorial-gallery-but-something-isnt.html</guid>
		</item>
		<item>
			<title>Help to send js generated text into a textarea</title>
			<link>http://www.webmaster-talk.com/javascript-forum/191079-help-send-js-generated-text-into.html</link>
			<pubDate>Fri, 06 Nov 2009 23:53:20 GMT</pubDate>
			<description>Hello all 
 
I have implemented a free javascript for client-side shopping cart into my site and works great. Only, at the very end of my work i...</description>
			<content:encoded><![CDATA[<div>Hello all<br />
<br />
I have implemented a free javascript for client-side shopping cart into my site and works great. Only, at the very end of my work i realize there is no possible way to email the cart items to me! The reason is because the script is originally written to checkout to PayPal so i guess either i have to recode something, or i gotta use some trick.<br />
<br />
You can see the code at <a href="http://lukulos.gr/simpleCart.js" target="_blank">http://lukulos.gr/simpleCart.js</a><br />
This is only because the forum does not allow long threads.<br />
<br />
What i have to do to output the cart's content is use a div or span, like:<br />
&lt;div class=&quot;simpleCart_items&gt;&lt;/div&gt;<br />
and the data gets generated on the page automatically.<br />
<br />
But i would like this info to be written inside a textarea, so i can use it with my cgi's form mail script.<br />
<br />
Anyone could help?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>EUDIS</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191079-help-send-js-generated-text-into.html</guid>
		</item>
		<item>
			<title><![CDATA[Making an external JS file and calling it with <script> tags from HTML]]></title>
			<link>http://www.webmaster-talk.com/javascript-forum/191064-making-external-js-file-calling-script.html</link>
			<pubDate>Fri, 06 Nov 2009 20:29:11 GMT</pubDate>
			<description><![CDATA[Ok, I have a slight issue. I have the following JS & HTML code placed in my site.  
  
The content ("This is my new Ticker!") of the code is in the...]]></description>
			<content:encoded><![CDATA[<div>Ok, I have a slight issue. I have the following JS &amp; HTML code placed in my site. <br />
 <br />
The content (&quot;This is my new Ticker!&quot;) of the code is in the HTML file, but I want this content to be placed in the JS file so I can edit the code in one place and have it linked to mulitple sites.<br />
 <br />
What script do I need or how do I do this. THANKS<br />
 <br />
 <br />
Code inserted in HTML...<br />
 <br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				&lt;DIV ID=&quot;TICKER&quot; STYLE=&quot;overflow:hidden; width:520px&quot; onmouseover=&quot;TICKER_PAUSED=true&quot; onmouseout=&quot;TICKER_PAUSED=false&quot;&gt;<br />
This is my new Ticker!<br />
&lt;/DIV&gt;<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;webticker_lib.js&quot; language=&quot;javascript&quot;&gt;&lt;/script&gt;
			
			<hr />
		</td>
	</tr>
	</table>
</div>External Javascript file...<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				 <br />
 <br />
// WebTicker by Mioplanet<br />
// <a href="http://www.mioplanet.com/" target="_blank">www.mioplanet.com</a><br />
TICKER_CONTENT = document.getElementById(&quot;TICKER&quot;).innerHTML;<br />
 <br />
TICKER_RIGHTTOLEFT = false;<br />
TICKER_SPEED = 2;<br />
TICKER_STYLE = &quot;font-family:Arial; font-size:12px; color:#444444&quot;;<br />
TICKER_PAUSED = false;<br />
ticker_start();<br />
function ticker_start() {<br />
var tickerSupported = false;<br />
TICKER_WIDTH = document.getElementById(&quot;TICKER&quot;).style.width;<br />
var img = &quot;&lt;img src=ticker_space.gif width=&quot;+TICKER_WIDTH+&quot; height=0&gt;&quot;;<br />
// Firefox<br />
if (navigator.userAgent.indexOf(&quot;Firefox&quot;)!=-1 || navigator.userAgent.indexOf(&quot;Safari&quot;)!=-1) {<br />
document.getElementById(&quot;TICKER&quot;).innerHTML = &quot;&lt;TABLE cellspacing='0' cellpadding='0' width='100%'&gt;&lt;TR&gt;&lt;TD nowrap='nowrap'&gt;&quot;+img+&quot;&lt;SPAN style='&quot;+TICKER_STYLE+&quot;' ID='TICKER_BODY' width='100%'&gt;&amp;nbsp;&lt;/SPAN&gt;&quot;+img+&quot;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&quot;;<br />
tickerSupported = true;<br />
}<br />
// IE<br />
if (navigator.userAgent.indexOf(&quot;MSIE&quot;)!=-1 &amp;&amp; navigator.userAgent.indexOf(&quot;Opera&quot;)==-1) {<br />
document.getElementById(&quot;TICKER&quot;).innerHTML = &quot;&lt;DIV nowrap='nowrap' style='width:100%;'&gt;&quot;+img+&quot;&lt;SPAN style='&quot;+TICKER_STYLE+&quot;' ID='TICKER_BODY' width='100%'&gt;&lt;/SPAN&gt;&quot;+img+&quot;&lt;/DIV&gt;&quot;;<br />
tickerSupported = true;<br />
}<br />
if(!tickerSupported) document.getElementById(&quot;TICKER&quot;).outerHTML = &quot;&quot;; else {<br />
document.getElementById(&quot;TICKER&quot;).scrollLeft = TICKER_RIGHTTOLEFT ? document.getElementById(&quot;TICKER&quot;).scrollWidth - document.getElementById(&quot;TICKER&quot;).offsetWidth : 0;<br />
document.getElementById(&quot;TICKER_BODY&quot;).innerHTML = TICKER_CONTENT;<br />
document.getElementById(&quot;TICKER&quot;).style.display=&quot;b  lock&quot;;<br />
TICKER_tick();<br />
}<br />
}<br />
function TICKER_tick() {<br />
if(!TICKER_PAUSED) document.getElementById(&quot;TICKER&quot;).scrollLeft += TICKER_SPEED * (TICKER_RIGHTTOLEFT ? -1 : 1);<br />
if(TICKER_RIGHTTOLEFT &amp;&amp; document.getElementById(&quot;TICKER&quot;).scrollLeft &lt;= 0) document.getElementById(&quot;TICKER&quot;).scrollLeft = document.getElementById(&quot;TICKER&quot;).scrollWidth - document.getElementById(&quot;TICKER&quot;).offsetWidth;<br />
if(!TICKER_RIGHTTOLEFT &amp;&amp; document.getElementById(&quot;TICKER&quot;).scrollLeft &gt;= document.getElementById(&quot;TICKER&quot;).scrollWidth - document.getElementById(&quot;TICKER&quot;).offsetWidth) document.getElementById(&quot;TICKER&quot;).scrollLeft = 0;<br />
window.setTimeout(&quot;TICKER_tick()&quot;, 30);<br />
}
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>StreetfireD.</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/191064-making-external-js-file-calling-script.html</guid>
		</item>
		<item>
			<title>DHTML Menu</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190970-dhtml-menu.html</link>
			<pubDate>Thu, 05 Nov 2009 15:58:03 GMT</pubDate>
			<description><![CDATA[sample.html 
 
HTML: 
--------- 
<script type="text/javascript" src="dropdown.js"></script> 
 
<style type="text/css"> 
 
body { font-size: 0.7em; }...]]></description>
			<content:encoded><![CDATA[<div>sample.html<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 type=<span style="color:#0000FF">&quot;text/javascript&quot;</span> src=<span style="color:#0000FF">&quot;dropdown.js&quot;</span>&gt;</span><span style="color:#800000">&lt;/script&gt;</span><br />
<br />
<span style="color:#800080">&lt;style type=<span style="color:#0000FF">&quot;text/css&quot;</span>&gt;</span><br />
<br />
body { font-size: 0.7em; }<br />
h3&nbsp;  { font-size: 1.6em; margin: 0px; }<br />
<br />
a.sample_attach, a.sample_attach:visited, div.sample_attach<br />
{<br />
&nbsp; display: block;<br />
&nbsp; width:&nbsp;  100px;<br />
<br />
&nbsp; border:&nbsp; 1px solid black;<br />
&nbsp; padding: 2px 5px;<br />
<br />
&nbsp; background: #FFFFEE;<br />
<br />
&nbsp; text-decoration: none;<br />
&nbsp; font-family: Verdana, Sans-Sherif;<br />
&nbsp; font-weight: 900;<br />
&nbsp; font-size: 1.0em;<br />
&nbsp; color:&nbsp;  #008000;<br />
}<br />
<br />
a.sample_attach, a.sample_attach:visited { border-bottom: none; }<br />
div#sample_attach_menu_child&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  { border-bottom: 1px solid black; }<br />
<br />
form.sample_attach<br />
{<br />
&nbsp; position: absolute;<br />
&nbsp; visibility: hidden;<br />
<br />
&nbsp; border:&nbsp; 1px solid black;<br />
&nbsp; padding: 0px 5px 2px 5px;<br />
<br />
&nbsp; background: #FFFFEE;<br />
}<br />
<br />
form.sample_attach b<br />
{<br />
&nbsp; font-family: Verdana, Sans-Sherif;<br />
&nbsp; font-weight: 900;<br />
&nbsp; font-size: 1.1em;<br />
}<br />
<br />
input.sample_attach { margin: 1px 0px; width: 170px; }<br />
<br />
<span style="color:#800080">&lt;/style&gt;</span><br />
<br />
<span style="color:#000080">&lt;/head&gt;</span><br />
<span style="color:#000080">&lt;body&gt;</span><br />
<span style="color:#000080">&lt;div&gt;</span><br />
<br />
<i><span style="color:#000080">&lt;!-- ***** Dropdown Menu *************************************************** --&gt;</span></i><br />
<br />
<span style="color:#000080">&lt;br /&gt;</span><span style="color:#000080">&lt;br /&gt;</span><br />
<br />
<span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;sample_attach_menu_parent&quot;</span> class=<span style="color:#0000FF">&quot;sample_attach&quot;</span>&gt;</span>Main Menu<span style="color:#000080">&lt;/div&gt;</span><br />
<span style="color:#000080">&lt;div id=<span style="color:#0000FF">&quot;sample_attach_menu_child&quot;</span>&gt;</span><br />
<span style="color:#008000">&lt;a class=<span style="color:#0000FF">&quot;sample_attach&quot;</span> href=<span style="color:#0000FF">&quot;javascript<b></b>:alert('Item 1');&quot;</span>&gt;</span>Item 1<span style="color:#008000">&lt;/a&gt;</span><br />
<span style="color:#008000">&lt;a class=<span style="color:#0000FF">&quot;sample_attach&quot;</span> href=<span style="color:#0000FF">&quot;javascript<b></b>:alert('Item 2');&quot;</span>&gt;</span>Item 2<span style="color:#008000">&lt;/a&gt;</span><br />
<span style="color:#008000">&lt;a class=<span style="color:#0000FF">&quot;sample_attach&quot;</span> href=<span style="color:#0000FF">&quot;javascript<b></b>:alert('Item 3');&quot;</span>&gt;</span>Item 3<span style="color:#008000">&lt;/a&gt;</span><br />
<span style="color:#000080">&lt;/div&gt;</span><br />
<br />
<span style="color:#800000">&lt;script type=<span style="color:#0000FF">&quot;text/javascript&quot;</span>&gt;</span><br />
at_attach(&quot;sample_attach_menu_parent&quot;, &quot;sample_attach_menu_child&quot;, &quot;hover&quot;, &quot;y&quot;, &quot;pointer&quot;);<br />
<span style="color:#800000">&lt;/script&gt;</span><br />
<br />
<span style="color:#000080">&lt;/div&gt;</span><br />
<span style="color:#000080">&lt;/body&gt;</span><br />
<span style="color:#000080">&lt;/html&gt;</span></code><hr />
</div>The above is the code for the dhtml menu.<br />
<br />
menu.php<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">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;ul&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/&quot;</span>&gt;</span>Home<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/forums/&quot;</span>&gt;</span>Forums<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/live.php&quot;</span>&gt;</span>Live<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/ranking.php&quot;</span>&gt;</span>Rankings<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpaki.blogspot.com&quot;</span>&gt;</span>Blog<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/videos.php&quot;</span>&gt;</span>Videos<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;li&gt;</span><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;http://www.cricpak.5gigs.net/live_tv.php&quot;</span>&gt;</span>Live TV!<span style="color:#008000">&lt;/a&gt;</span><span style="color:#000080">&lt;/li&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;/ul&gt;</span></code><hr />
</div>I want to get the DHTML Menu instead of &lt;a href=&quot;http://www.cricpak.5gigs.net/forums/&quot;&gt;Forums&lt;/a&gt;.</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>asmalik12</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190970-dhtml-menu.html</guid>
		</item>
		<item>
			<title>timer script</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190965-timer-script.html</link>
			<pubDate>Thu, 05 Nov 2009 14:47:07 GMT</pubDate>
			<description>hey i am using the script below on my site if you look here you can see what it dose filmfast.co.uk/s1e1.php 
 
now what i want it to do is when some...</description>
			<content:encoded><![CDATA[<div>hey i am using the script below on my site if you look here you can see what it dose filmfast.co.uk/s1e1.php<br />
<br />
now what i want it to do is when some clicks the ad it loads the video striaght away and cancles the timer if that makes any sence<br />
<br />
can it be done ?<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;div align=&quot;center&quot; class=&quot;style29&quot;&gt;&lt;div id=&quot;mycontent&quot; style=&quot;display:none&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;&lt;!--<br />
google_ad_client = &quot;pub-9670252957648140&quot;;<br />
/* 250x250, created 21/09/09 */<br />
google_ad_slot = &quot;8877296912&quot;;<br />
google_ad_width = 250;<br />
google_ad_height = 250;<br />
//--&gt;<br />
&lt;/script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;<br />
src=&quot;<a href="http://pagead2.googlesyndication.com/pagead/show_ads.js" target="_blank">http://pagead2.googlesyndication.com/pagead/show_ads.js</a>&quot;&gt;<br />
&lt;/script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;img src=&quot;loading.gif&quot; width=&quot;16&quot; height=&quot;16&quot;&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span id=&quot;countdown&quot;&gt;Loading...&lt;/span&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;strong&gt;&lt;span class=&quot;style30&quot;&gt;Click the Ad to Watch Now!&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;style30&quot;&gt;&lt;/span&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />
function countdown(count)<br />
{<br />
document.getElementById(&quot;countdown&quot;).innerHTML=&quot;Video Loading... &lt;b&gt;&quot;+count+&quot;&lt;/b&gt; seconds remaining...&quot;;<br />
count-=1;<br />
&nbsp;if(count&gt;=0)<br />
&nbsp;setTimeout(&quot;countdown(&quot;+count+&quot;)&quot;,1000);<br />
&nbsp;else<br />
&nbsp;custom();<br />
}<br />
function custom()<br />
{<br />
&nbsp;document.getElementById(&quot;mycontent&quot;).innerHTML='&lt;object width=&quot;640&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;<a href="http://www.megavideo.com/v/FFNB0V5024cee052d28ba3fde653170fc3901f65&quot;&gt;&lt;/param&gt;&lt;param" target="_blank">http://www.megavideo.com/v/FFNB0V502...&lt;/param&gt;&lt;param</a> name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;<a href="http://www.megavideo.com/v/FFNB0V5024cee052d28ba3fde653170fc3901f65" target="_blank">http://www.megavideo.com/v/FFNB0V502...53170fc3901f65</a>&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; width=&quot;640&quot; height=&quot;350&quot;&gt;&lt;/embed&gt;&lt;/object&gt;';<br />
}<br />
document.getElementById(&quot;mycontent&quot;).style.display=&quot;block&quot;;<br />
countdown(10);<br />
&lt;/script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>Nicky s</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190965-timer-script.html</guid>
		</item>
		<item>
			<title>JQUERY: readout content of span within current table</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190960-jquery-readout-content-span-within-current.html</link>
			<pubDate>Thu, 05 Nov 2009 13:19:59 GMT</pubDate>
			<description><![CDATA[hello, 
 
I have the following setup: 
 
jquery: 
 
HTML: 
--------- 
$('.taak').click(function(){ 
   lalala = $(this).children("span").html();]]></description>
			<content:encoded><![CDATA[<div>hello,<br />
<br />
I have the following setup:<br />
<br />
jquery:<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">$('.taak').click(function(){<br />
&nbsp;  lalala = $(this).children(&quot;span&quot;).html();<br />
&nbsp;  alert(lalala);<br />
});</code><hr />
</div>html:<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 class=<span style="color:#0000FF">&quot;taak&quot;</span>&gt;</span><span style="color:#008080">&lt;tr&gt;</span><span style="color:#008080">&lt;td&gt;</span><br />
<span style="color:#000080">&lt;span&gt;</span>mycontent<span style="color:#000080">&lt;/span&gt;</span><br />
<span style="color:#008080">&lt;/td&gt;</span><span style="color:#008080">&lt;/tr&gt;</span><span style="color:#008080">&lt;/table&gt;</span></code><hr />
</div>I would like to get the value of the span element within the table. Currently the alert says &quot;null&quot;.<br />
<br />
What is wrong?<br />
<br />
thanks!<br />
<br />
Matt</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>killerwhale65</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190960-jquery-readout-content-span-within-current.html</guid>
		</item>
		<item>
			<title>Java Custom Preview</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190800-java-custom-preview.html</link>
			<pubDate>Wed, 04 Nov 2009 02:25:25 GMT</pubDate>
			<description><![CDATA[Hi all, I'm new here so bare with me Image: http://www.designerstalk.com/forums/images/smilies/icon_smiley.gif  
 
Ok, I am wanting to do like a...]]></description>
			<content:encoded><![CDATA[<div>Hi all, I'm new here so bare with me <img src="http://www.designerstalk.com/forums/images/smilies/icon_smiley.gif" border="0" alt="" /><br />
<br />
Ok, I am wanting to do like a preview feature for customizable products. Almost exactly like this site <a href="http://www.tinyprints.com/personalize/1036401/Spotted%20Sleigh.html?" target="_blank">http://www.tinyprints.com/personaliz...20Sleigh.html?</a> <br />
<br />
I am assuming this is done with javascript and my knowledge is very limited in that area. I do not even know where to begin looking for tutorials or help on this one so I thought maybe you guys &amp; gals might know.<br />
<br />
Any help or advice would be greatly appreciated!<br />
<br />
TIA<br />
<br />
Tabatha</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>tickledpink</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190800-java-custom-preview.html</guid>
		</item>
		<item>
			<title>please help me resolve this error</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190786-please-help-me-resolve-this-error.html</link>
			<pubDate>Tue, 03 Nov 2009 22:17:46 GMT</pubDate>
			<description>i downloaded a dropdown javascript menu and used it on my site.when i visited the site it encounters errors.the details of the errors are: 
  
...</description>
			<content:encoded><![CDATA[<div>i downloaded a dropdown javascript menu and used it on my site.when i visited the site it encounters errors.the details of the errors are:<br />
 <br />
 Webpage error details<br />
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)<br />
Timestamp: Tue, 3 Nov 2009 06:13:50 UTC<br />
<br />
Message: Invalid argument.<br />
Line: 347<br />
Char: 4<br />
Code: 0<br />
URI: <a href="http://www.afreekamade.com/ddlevelsmenu/ddlevelsfiles/ddlevelsmenu.js" target="_blank">http://www.afreekamade.com/ddlevelsm...dlevelsmenu.js</a><br />
<br />
Message: 'animalworks' is undefined<br />
Line: 25<br />
Char: 1<br />
Code: 0<br />
URI: <a href="http://www.afreekamade.com/animalworks.php" target="_blank">http://www.afreekamade.com/animalworks.php</a><br />
 <br />
please help me resolve this error. thanks in advance</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>kani alavi</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190786-please-help-me-resolve-this-error.html</guid>
		</item>
		<item>
			<title>Load Javascript Array Created By Php And Execute!</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190769-load-javascript-array-created-php-execute.html</link>
			<pubDate>Tue, 03 Nov 2009 18:08:14 GMT</pubDate>
			<description>I use a php file to generate a javascript array, so when i include it in the file it executes the javascript ok! But when i try and use jquery to...</description>
			<content:encoded><![CDATA[<div>I use a php file to generate a javascript array, so when i include it in the file it executes the javascript ok! But when i try and use jquery to reload the file after a minute it doesn't work and won't execute the javascript any ideas on a similar idea or fix?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>evans123</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190769-load-javascript-array-created-php-execute.html</guid>
		</item>
		<item>
			<title>Convert data to a javascript array</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190765-convert-data-to-a-javascript-array.html</link>
			<pubDate>Tue, 03 Nov 2009 17:41:29 GMT</pubDate>
			<description><![CDATA[An old file of mine has data in it. 
It's an old file, from which I want to extract 
values to use for a javascript array variable. 
 
The old file's...]]></description>
			<content:encoded><![CDATA[<div>An old file of mine has data in it.<br />
It's an old file, from which I want to extract<br />
values to use for a javascript array variable.<br />
<br />
The old file's data looks like this:<br />
<br />
<b>$elem[0][0] = 0;<br />
$elem[0][1] = 1;<br />
$elem[0][2] = 1;<br />
$elem[0][3] = &quot;John likes fishing on Sundays&quot;;<br />
$elem[0][4] = 7; <br />
<br />
$elem[1][0] = 6;<br />
$elem[1][1] = 1;<br />
$elem[1][2] = 3;<br />
$elem[1][3] = &quot;Be careful of porcupines&quot;;<br />
$elem[1][4] = 12; <br />
....</b><br />
<br />
<br />
I'd like to turn it into this:<br />
<br />
<b>var newArray = <br />
[<br />
$elem[0] = [0, 1, 1, &quot;Jack climbed the beanstock&quot;, 7] ;<br />
$elem[1] = [6, 1, 3, &quot;Be careful of porcupines&quot;, 12] ; <br />
...<br />
]</b><br />
<br />
Can you help this newbie? Thank you.</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>ruffy</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190765-convert-data-to-a-javascript-array.html</guid>
		</item>
		<item>
			<title>.value.length workaround for firefox</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190692-value-length-workaround-for-firefox.html</link>
			<pubDate>Mon, 02 Nov 2009 23:14:10 GMT</pubDate>
			<description><![CDATA[Code: 
--------- 
if(document.getElementById('id').value.length>=3){} 
--------- 
The element is a text box, and this conditional statement works...]]></description>
			<content:encoded><![CDATA[<div><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">if(document.getElementById('id').value.length&gt;=3){}</code><hr />
</div>The element is a text box, and this conditional statement works properly in Safari. Is anyone aware of a different method to extract the number of characters in a text box? This does not work properly in firefox. I would be happy to provide my autosuggest from database PHP/JS code in return. <br />
<br />
Thanks,<br />
thestranger</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>thestranger</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190692-value-length-workaround-for-firefox.html</guid>
		</item>
		<item>
			<title>How do you install an onload event handler?</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190690-how-do-you-install-onload-event.html</link>
			<pubDate>Mon, 02 Nov 2009 22:41:30 GMT</pubDate>
			<description><![CDATA[I have this Javascript photo gallery problem: the fade doesn't work, as the image only loads when you click on it. 
 
I want all images first loaded,...]]></description>
			<content:encoded><![CDATA[<div>I have this Javascript photo gallery problem: the fade doesn't work, as the image only loads when you click on it.<br />
<br />
I want all images first loaded, and only then I want the gallery to be ready.<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; src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
$(document).ready(function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $('#gallery img').each(function(i) {<br />
&nbsp; &nbsp; var imgFile = $(this).attr('src');<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; $(this).hover(<br />
&nbsp; &nbsp; &nbsp; &nbsp; function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).attr('src', preloadImage.src);<br />
&nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; function () {<br />
&nbsp; &nbsp; &nbsp; &nbsp; var currentSource=$(this).attr('src');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).attr('src', imgFile);<br />
&nbsp; &nbsp; }); // end hover<br />
}); // end each<br />
<br />
&nbsp; &nbsp; <br />
// script 7.2 below this line<br />
&nbsp; &nbsp; $('#gallery a').click(function(evt) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; evt.preventDefault();<br />
&nbsp; &nbsp; &nbsp; &nbsp; var imgPath = $(this).attr('href');<br />
&nbsp; &nbsp; &nbsp; &nbsp; var oldImage = $('#photo img');<br />
&nbsp; &nbsp; &nbsp; &nbsp; var newImage = $('&lt;img src=&quot;' + imgPath + '&quot;&gt;');<br />
&nbsp; &nbsp; &nbsp; &nbsp; newImage.hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; $('#photo').prepend(newImage);<br />
&nbsp; &nbsp; &nbsp; &nbsp; newImage.fadeIn(1000);<br />
&nbsp; &nbsp; &nbsp; &nbsp; oldImage.fadeOut(1000,function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $(this).remove();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }); //end fadeOut function<br />
&nbsp; &nbsp; }); <br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; //end click<br />
&nbsp; &nbsp; $('#gallery a:first').click();<br />
&nbsp; &nbsp; }); // end ready<br />
&lt;/script&gt;</code><hr />
</div>edit: how can I make the images load in the background?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>World</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190690-how-do-you-install-onload-event.html</guid>
		</item>
		<item>
			<title>50 ways how to use javascript</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190655-50-ways-how-to-use-javascript.html</link>
			<pubDate>Mon, 02 Nov 2009 13:10:03 GMT</pubDate>
			<description>Here it is,  
 
I was amazed when I saw this javascript examples: 
 
http://www.kriesi.at/archives/50-websites-that-make-amazing-use-of-javascript 
...</description>
			<content:encoded><![CDATA[<div>Here it is, <br />
<br />
I was amazed when I saw this javascript examples:<br />
<br />
<a href="http://www.kriesi.at/archives/50-websites-that-make-amazing-use-of-javascript" target="_blank">http://www.kriesi.at/archives/50-web...-of-javascript</a><br />
<br />
Just sharing :)</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>host1plus</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190655-50-ways-how-to-use-javascript.html</guid>
		</item>
		<item>
			<title>Easiest script ever needed</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190631-easiest-script-ever-needed.html</link>
			<pubDate>Mon, 02 Nov 2009 08:03:17 GMT</pubDate>
			<description>I recently added an awesome javascript to my site that ensures all of my divs are exactly the same height.   
 
The problem is that one of the divs...</description>
			<content:encoded><![CDATA[<div>I recently added an awesome javascript to my site that ensures all of my divs are exactly the same height.  <br />
<br />
The problem is that one of the divs needs to be offset by 175px.<br />
This div is extending in unison with the other columns, however, it is always exactly 175px short.<br />
<br />
Can I run a second javascript telling my navigation div to extend yet another 175px after the first script is run so that they are all even?<br />
<br />
I am fairly new to web design.  I am assuming I might have to add a unique class to my navigation div, and then create a script saying &quot;dude, add another 175px height ok thanks&quot;<br />
<br />
Any help would be greatly appreciated!</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>fritzguye</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190631-easiest-script-ever-needed.html</guid>
		</item>
		<item>
			<title>Prevent images from being pulled off your site?</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190595-prevent-images-being-pulled-off-your.html</link>
			<pubDate>Sun, 01 Nov 2009 21:28:45 GMT</pubDate>
			<description>Even though my images are now displayed by Javascript, you can still pull them easily on your desktop. 
 
This website of a photographer in Chicago...</description>
			<content:encoded><![CDATA[<div>Even though my images are now displayed by Javascript, you can still pull them easily on your desktop.<br />
<br />
This website of a photographer in Chicago (I'm in Los Angeles) also uses Javascript, but his images are protected from being pulled off the page.<br />
<br />
You can't even highlight and copy text.<br />
<br />
How do you do that? I suppose it has something to do with Javascript.<br />
<br />
As I'm a photographer who wants to protect his work as good as possible (it's registered with the library of congress, but, anyway) I'd be grateful if you could tell me how to do this.</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>World</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190595-prevent-images-being-pulled-off-your.html</guid>
		</item>
		<item>
			<title>Ajax - Load Content After Every Minute!</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190498-ajax-load-content-after-every-minute.html</link>
			<pubDate>Sat, 31 Oct 2009 10:17:00 GMT</pubDate>
			<description>Can anyone help me or tell me how to send an ajax request upon a live time change for example 
 
15:15 - Load Content 
15:16 - Load Content 
15:17 -...</description>
			<content:encoded><![CDATA[<div>Can anyone help me or tell me how to send an ajax request upon a live time change for example<br />
<br />
15:15 - Load Content<br />
15:16 - Load Content<br />
15:17 - Load Content<br />
<br />
ect...<br />
<br />
Is this possible?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>evans123</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190498-ajax-load-content-after-every-minute.html</guid>
		</item>
		<item>
			<title>onChange - keeping cursor in field if false</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190382-onchange-keeping-cursor-field-if-false.html</link>
			<pubDate>Thu, 29 Oct 2009 22:29:21 GMT</pubDate>
			<description><![CDATA[All, 
 
I have a questions with onChange with some dummy code below: 
 
function checkVal(lcInput) { 
if(lcInput.value!="") { var lcValueHold =...]]></description>
			<content:encoded><![CDATA[<div>All,<br />
<br />
I have a questions with onChange with some dummy code below:<br />
<br />
function checkVal(lcInput) {<br />
if(lcInput.value!=&quot;&quot;) { var lcValueHold = lcInput.value; alert(&quot;You're invalid&quot;); lcInput.focus(); lcInput.value=lcValueHold; lcInput.select(); return false; }<br />
}<br />
<br />
where used:<br />
&lt;input type=&quot;text&quot; name=&quot;Maturity_From&quot; size=&quot;9&quot; maxlength=&quot;12&quot; value=&quot;MM/DD/YYYY&quot; onfocus=&quot;this.value=''&quot; onchange=&quot;checkVal2(this)&quot; /&gt;<br />
<br />
my goal: if invalid text (right now it's just any text in the field is invalid), I want to keep the cursor inside the field with the text highlighted.<br />
<br />
It works really nice in all browsers with the RETURN key, but not the TAB. The script runs with the alert, and the text selected, but the cursor goes to the next field.<br />
<br />
I don't want it to go to the next field but stay inside the field if the text is invalid. I can't use onblur.<br />
<br />
Any suggestions?<br />
<br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>dmZiggy</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190382-onchange-keeping-cursor-field-if-false.html</guid>
		</item>
		<item>
			<title>Tabbed menu jscript help</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190317-tabbed-menu-jscript-help.html</link>
			<pubDate>Thu, 29 Oct 2009 05:34:46 GMT</pubDate>
			<description><![CDATA[I've been working on adding this sweeeet tabbed navigation box to my wordpress blog sidebar.  The tabbed nav uses mootools.  The mootools causes the...]]></description>
			<content:encoded><![CDATA[<div>I've been working on adding this sweeeet tabbed navigation box to my wordpress blog sidebar.  The tabbed nav uses mootools.  The mootools causes the main menu of the blog not to work.  It a script library confilct. The mootools code is in the tabbed php file. Can anyone help?<br />
<br />
<b>My Blog header:</b><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;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/jquery.jcarousel.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/skin.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;<br />
<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/js/pngfix.js&quot;&gt;&lt;/script&gt;<br />
<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/js/jquery.min.js&quot;&gt;&lt;/script&gt;<br />
<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/js/jquery.lavalamp.1.3.2-min.js&quot;&gt;&lt;/script&gt;<br />
<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/js/jquery.easing.1.3.js&quot;&gt;&lt;/script&gt;<br />
<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/js/jquery.jcarousel.js&quot;&gt;&lt;/script&gt;<br />
<br />
&nbsp; &nbsp; <br />
<br />
<br />
<br />
<br />
<br />
<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('template_directory'); ?&gt;/js/superfish.js&quot;&gt;&lt;/script&gt;<br />
<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; function mycarousel_initCallback(carousel)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Disable autoscrolling if the user clicks the prev or next button.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; carousel.buttonNext.bind('click', function() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; carousel.startAuto(0);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; carousel.buttonPrev.bind('click', function() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; carousel.startAuto(0);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Pause autoscrolling if the user moves with the cursor over the clip.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; carousel.clip.hover(function() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; carousel.stopAuto();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }, function() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; carousel.startAuto();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; };<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; $(document).ready(function(){<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // dropdown <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(&quot;ul.superfish&quot;).superfish();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // featured carousel effect<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; jQuery('#mycarousel').jcarousel({<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; auto: 3,<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; scroll:1,<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wrap: 'last',<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; initCallback: mycarousel_initCallback<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &lt;/script&gt;<br />
<br />
<br />
<br />
&nbsp;<br />
&lt;/head&gt;<br />
<br />
&lt;body&gt;<br />
<br />
&lt;div id=&quot;base&quot;&gt;<br />
<br />
&nbsp; &nbsp; &lt;div id=&quot;header&quot;&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=&quot;page-menu&quot; class=&quot;clearfix&quot;&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(function() {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $('#nav1').lavaLamp({fx: 'swing', speed: 333,click: function(event, menuItem) {return true;}});<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;</code><hr />
</div><b>My tabbed PHP head:</b><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;!-- TABBED BOX MOOTOOLS from http://www.cssmenubuilder.com/tutorial-files/mootools-tabs/example --&gt;<br />
<br />
<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
<br />
&nbsp; &nbsp; window.addEvent('domready', function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; initTabs();<br />
&nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; function initTabs() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $ES('a','tabMenu').each(function(el) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; el.addEvent('click',function(e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var ev = new Event(e).stop();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tabState(el);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; function tabState(ael) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $ES('a','tabMenu').each(function(el) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(el.hasClass('active')) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; el.removeClass('active');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; ael.addClass('active');<br />
&nbsp; &nbsp; &nbsp; &nbsp; $$('#tabContent div.content').each(function(el) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(el.hasClass('active')) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; el.removeClass('active');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; var ac = ael.getProperty('href');<br />
&nbsp; &nbsp; &nbsp; &nbsp; $(ac).addClass('active');<br />
&nbsp; &nbsp; }<br />
&lt;/script&gt;<br />
&nbsp;<br />
<br />
&lt;!-- END MOOTOOLS --&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>cde010</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190317-tabbed-menu-jscript-help.html</guid>
		</item>
		<item>
			<title>Do spaces in JS make a difference?</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190278-do-spaces-in-js-make-difference.html</link>
			<pubDate>Wed, 28 Oct 2009 17:49:10 GMT</pubDate>
			<description><![CDATA[Is:  
Code: 
--------- 
<script type="text/javascript"> 
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");...]]></description>
			<content:encoded><![CDATA[<div>Is: <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 gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);<br />
document.write(unescape(&quot;%3Cscript src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;));<br />
&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
try {<br />
var pageTracker = _gat._getTracker(&quot;UA-Hide&quot;);<br />
pageTracker._trackPageview();<br />
} catch(err) {}&lt;/script&gt;</code><hr />
</div>The same as: <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;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);document.write(unescape(&quot;%3Cscript src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;));&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;try {var pageTracker = _gat._getTracker(&quot;UA-Hide&quot;);pageTracker._trackPageview();} catch(err) {}&lt;/script&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>DynamicFlooder</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190278-do-spaces-in-js-make-difference.html</guid>
		</item>
		<item>
			<title>Order of scripts in the head tag</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190188-order-of-scripts-in-head-tag.html</link>
			<pubDate>Tue, 27 Oct 2009 17:56:22 GMT</pubDate>
			<description>Hi all. 
 
On my site I had a fully working lightbox that called various scripts in the  headtag, one of which is the prototype script. I have now...</description>
			<content:encoded><![CDATA[<div>Hi all.<br />
<br />
On my site I had a fully working lightbox that called various scripts in the  headtag, one of which is the prototype script. I have now added a new script to the homepage called easySlider1.7 which requires jquery.<br />
<br />
Since this addition only one script will work at a time depending on which is called first, prototype first means lightbox works, and jquery means easyslider works.<br />
<br />
Any ideas on a work around or why this might be happening.<br />
<br />
Thanks,<br />
Dan</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>superdan_35</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190188-order-of-scripts-in-head-tag.html</guid>
		</item>
		<item>
			<title>submit form with jquery</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190175-submit-form-with-jquery.html</link>
			<pubDate>Tue, 27 Oct 2009 15:32:33 GMT</pubDate>
			<description><![CDATA[I am working on a form to submit contact information i have it set to echo what the jquery sees and its showing [object object]. 
 
 
Code:...]]></description>
			<content:encoded><![CDATA[<div>I am working on a form to submit contact information i have it set to echo what the jquery sees and its showing [object object].<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">$(document).ready(function()<br />
{<br />
&nbsp; &nbsp; $(&quot;#contact&quot;).submit(function()<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; //remove all the class add the messagebox classes and start fading<br />
&nbsp; &nbsp; &nbsp; &nbsp; $(&quot;#msgbox&quot;).removeClass().addClass('messagebox').text('Submitting').fadeIn(1000);<br />
&nbsp; &nbsp; &nbsp; &nbsp; //check the username exists or not from ajax<br />
&nbsp; &nbsp; &nbsp; &nbsp; $.post(&quot;template/ajax_contact.php&quot;,{ name:$('#name'),email:$('#email'),number:$('#number'),comments:$('#comments'),sample:$('#sample') } ,function(data)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; if(data=='passed') //if correct login detail<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(&quot;#msgbox&quot;).fadeTo(200,0.1,function()&nbsp; //start fading the messagebox<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //add message and change the class of the box and start fading<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).html('Logging In').addClass('messageboxok').fadeTo(900,1,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; function()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  //redirect to secure page<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  document.location='success.php';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
if(data=='spam') //if correct login detail<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(&quot;#msgbox&quot;).fadeTo(200,0.1,function()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).html('We believe you are not a person').addClass('messageboxerror').fadeTo(900,1); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
if(data=='error') //if correct login detail<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(&quot;#msgbox&quot;).fadeTo(200,0.1,function()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).html('We believe you are not a person').addClass('messageboxerror').fadeTo(900,1); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(&quot;#msgbox&quot;).fadeTo(200,0.1,function() //start fading the messagebox<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //add message and change the class of the box and start fading<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).html(data).addClass('messageboxerror').fadeTo(900,1);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp;  return false; //not to post the&nbsp; form physically<br />
&nbsp; &nbsp; });<br />
&nbsp; &nbsp; //now call the ajax also focus move from<br />
&nbsp; &nbsp; $(&quot;#password&quot;).blur(function()<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $(&quot;#contact&quot;).trigger('submit');<br />
&nbsp; &nbsp; });<br />
<br />
});</code><hr />
</div>Can anyone help straighten this out? Also do you need the form and php code behind this?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>rezzy</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190175-submit-form-with-jquery.html</guid>
		</item>
		<item>
			<title>jQuery at The Strange Loop</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190116-jquery-at-the-strange-loop.html</link>
			<pubDate>Mon, 26 Oct 2009 23:48:44 GMT</pubDate>
			<description>Last week I attended the Strange Loop (http://thestrangeloop.com) developer conference. 
 
They had a fairly short presentation of jQuery...</description>
			<content:encoded><![CDATA[<div>Last week I attended the <a href="http://thestrangeloop.com" target="_blank">Strange Loop</a> developer conference.<br />
<br />
They had a fairly short <a href="http://thestrangeloop.com/sessions/jquery-javascript-library-future" target="_blank">presentation of jQuery</a>.<br />
<br />
Anyway, I thought I'd link to the <a href="http://thestrangeloop.com/sites/default/files/slides/MattTaylor_jQuery.pdf" target="_blank">slides</a> if anyone is interested (PDF warning).<br />
<br />
edit: the video of the presentation should be available soon. I'll re-edit this post when it is.</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>willcode4beer</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190116-jquery-at-the-strange-loop.html</guid>
		</item>
		<item>
			<title>Advanced Current Marking in menu is not working for one folder</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190107-advanced-current-marking-menu-not-working.html</link>
			<pubDate>Mon, 26 Oct 2009 21:21:27 GMT</pubDate>
			<description>Hello, 
 
I am trying to bold the left-nav titles of sub-pages contained within folders for this test site, however anything in the...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I am trying to bold the left-nav titles of sub-pages contained within folders for this test site, however anything in the awards_grad_honors folder is being incorrectly marked as &quot;Honors&quot; instead of &quot;Awards &amp; Graduation Honors.&quot; <br />
<br />
2 example pages:<br />
<a href="http://www.stanford.edu/dept/undergrad/urp/ualtest/OO/awards_grad_honors/Awards.html" target="_blank">http://www.stanford.edu/dept/undergr...rs/Awards.html</a><br />
<br />
<a href="http://www.stanford.edu/dept/undergrad/urp/ualtest/OO/awards_grad_honors/DeansAward.html" target="_blank">http://www.stanford.edu/dept/undergr...eansAward.html</a><br />
<br />
There is an ampersand in the name, but none of the other menu items with ampersands are affected.<br />
<br />
Any clues as to why this one folder doesn't cooperate would be most greatly appreciated!</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>llama_sf</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190107-advanced-current-marking-menu-not-working.html</guid>
		</item>
		<item>
			<title>jquery ui modal dialog + bgiframe plug-in causing select-lists to hide</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190095-jquery-ui-modal-dialog-bgiframe-plug.html</link>
			<pubDate>Mon, 26 Oct 2009 17:09:27 GMT</pubDate>
			<description>*TEST PAGE:*  
http://bit.ly/1NOQ03  
  
*ISSUE SUMMARY:*  
Page uses the model dialog code from JQUERY UI.  
Was having the IE6 Z-Index issue with...</description>
			<content:encoded><![CDATA[<div><b>TEST PAGE:</b> <br />
<a href="http://bit.ly/1NOQ03" target="_blank">http://bit.ly/1NOQ03</a> <br />
 <br />
<b>ISSUE SUMMARY:</b> <br />
Page uses the model dialog code from JQUERY UI. <br />
Was having the IE6 Z-Index issue with IE6 <br />
Applied the BGIFRAME plugin solution (bgiframe: true) <br />
 <br />
<b>ISSUE DESCRIPTION:</b> <br />
When the modal dialog is triggered, any/all select-lists previously displayed are suddenly hidden. <br />
 <br />
<b>BROWSERS TESTED:</b> <br />
FF2.x, FF3.x and IE8 behave no issue. Only manifests this way in IE6. <br />
 <br />
<b>REQUEST:</b> <br />
How can i improve my code such that the select-lists dont get hidden when the modal dialog is displayed? <br />
<br />
I have posted the same support request to the jQuery Project Page for this plugin: <a href="http://plugins.jquery.com/node/11026" target="_blank">http://plugins.jquery.com/node/11026</a><br />
 <br />
Thanks, <br />
seannarae</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>seannarae</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190095-jquery-ui-modal-dialog-bgiframe-plug.html</guid>
		</item>
		<item>
			<title>Reading and writting into local files.</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190085-reading-and-writting-into-local-files.html</link>
			<pubDate>Mon, 26 Oct 2009 12:29:54 GMT</pubDate>
			<description>Hi everyone! 
 
I have this standalone desktop application that reads/write into files in the hard disk. Now, i wish to access these files from the...</description>
			<content:encoded><![CDATA[<div>Hi everyone!<br />
<br />
I have this standalone desktop application that reads/write into files in the hard disk. Now, i wish to access these files from the browser using javascript since the application runs on the client machine.<br />
I wanted to know if it is possible to access i.e read/write into local files from the browser on the client side.<br />
I've heard that ActiveX makes this possible but i can only use it with IE and not with any other browser.<br />
I wanted to know if there was any other way of doing the same.<br />
<br />
Thanks<br />
Neelima</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>Neelineel</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190085-reading-and-writting-into-local-files.html</guid>
		</item>
		<item>
			<title>Lightbox 2.04 Help!</title>
			<link>http://www.webmaster-talk.com/javascript-forum/190040-lightbox-2-04-help.html</link>
			<pubDate>Sun, 25 Oct 2009 23:22:41 GMT</pubDate>
			<description><![CDATA[Hello. I'm new to Lightbox and not so good of an expert to Javascript. I'm having trouble w/ the coding. I think its the problem with Javascript but...]]></description>
			<content:encoded><![CDATA[<div>Hello. I'm new to Lightbox and not so good of an expert to Javascript. I'm having trouble w/ the coding. I think its the problem with Javascript but I can't figure out whats the problem. When clicking on the thumb, it opens a new page. This is just a sample image size before I make better thumbnails. Here is the link:<br />
<br />
<a href="http://creativepink.net/packaging.php" target="_blank">http://creativepink.net/packaging.php</a><br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>gretchi</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/190040-lightbox-2-04-help.html</guid>
		</item>
		<item>
			<title>Remove content of a div?</title>
			<link>http://www.webmaster-talk.com/javascript-forum/189885-remove-content-of-a-div.html</link>
			<pubDate>Fri, 23 Oct 2009 11:26:31 GMT</pubDate>
			<description><![CDATA[Hi,  
 
I'm currently working on a project that needs me to be able to remove content in a div  without clicking it. 
 
I know that input's can be...]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I'm currently working on a project that needs me to be able to remove content in a div  without clicking it.<br />
<br />
I know that input's can be handled with the onFocus, but seems like div cant handle onFocus, so what do i do?<br />
<br />
Anyone have a small code to solve my problem, or a link to get me on the way?<br />
<br />
Kris</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>NorNerd</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/189885-remove-content-of-a-div.html</guid>
		</item>
		<item>
			<title>OnHover with an OS script</title>
			<link>http://www.webmaster-talk.com/javascript-forum/189755-onhover-with-an-os-script.html</link>
			<pubDate>Thu, 22 Oct 2009 01:48:45 GMT</pubDate>
			<description><![CDATA[So, I'm working on this project and I used an Open Source script to display the gallery but it won't display the way the client wants it. 
 
The...]]></description>
			<content:encoded><![CDATA[<div>So, I'm working on this project and I used an Open Source script to display the gallery but it won't display the way the client wants it.<br />
<br />
The client is happy with the display currently, except instead of 'on click' they want the images to show up 'on hover'.<br />
<br />
Here is one example (edit: removed link, issue is resolved) of 1 of the 7 galleries I did for them. If you could help, that would be great.<br />
<br />
How do I change the code to make it 'on hover' instead of 'on click'?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com/javascript-forum/">JavaScript Forum</category>
			<dc:creator>Flying Monkeys</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com/javascript-forum/189755-onhover-with-an-os-script.html</guid>
		</item>
	</channel>
</rss>
