<?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>Dynamic Drive Forums</title>
		<link>http://www.dynamicdrive.com/forums</link>
		<description>Dynamic Drive help forum</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 09:38:27 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>10</ttl>
		<image>
			<url>http://www.dynamicdrive.com/forums/images/misc/rss.jpg</url>
			<title>Dynamic Drive Forums</title>
			<link>http://www.dynamicdrive.com/forums</link>
		</image>
		<item>
			<title>getElementbyID not working in IE 7, but working in Mozilla, crome</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50154&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 07:22:00 GMT</pubDate>
			<description><![CDATA[Hi I have this javascript with getElementbyId which is not working in IE 7. I have been pulling my hair out almost trying different things. I am trying to control disable/enable checkbox when radio is selected 'Yes'. Any help would be appreciated. Thank you.  
 
Code: 
--------- 
<script...]]></description>
			<content:encoded><![CDATA[<div>Hi I have this javascript with getElementbyId which is not working in IE 7. I have been pulling my hair out almost trying different things. I am trying to control disable/enable checkbox when radio is selected 'Yes'. Any help would be appreciated. Thank you. <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&lt;script type=&quot;text/javascript&quot;&gt; <br />
&nbsp;<br />
&nbsp; function makeChoice(obj)<br />
&nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; var Name = obj.name;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var Id = obj.id;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; // doing B<br />
&nbsp; &nbsp; &nbsp; &nbsp; var B_Name = Name+'_B_';<br />
&nbsp; &nbsp; &nbsp; &nbsp; if(document.getElementById(Id).value != 1){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; for(var x=1; x&lt;10; x++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.getElementById(B_Name+x).disabled = true;<br />
&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; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var x=1; x&lt;10; x++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.getElementById(B_Name+x).disabled = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; // doing C<br />
&nbsp; &nbsp; &nbsp; &nbsp; var C_Name = Name+'_C_';<br />
&nbsp; &nbsp; &nbsp; &nbsp; if(document.getElementById(Id).value != 1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var x=1; x&lt;14; x++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.getElementById(C_Name+x).disabled = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for(var x=1; x&lt;14; x++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.getElementById(C_Name+x).disabled = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; }<br />
&nbsp; &lt;/script&gt;<br />
&lt;form id='page3' name='page3' method='post' action=test.php'&gt;<br />
&lt;table width='100%'&gt;<br />
&lt;tr&gt;<br />
&lt;td align='center' height='50px'&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;input id='question_18_1' name='question_18' type='radio' onclick='makeChoice(this);' value='1'&nbsp;  /&gt;&lt;/td&gt;<br />
&lt;td align='center' height='50px'&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;input id='question_18_2' name='question_18' type='radio' onclick='makeChoice(this);' value='2'&nbsp;  /&gt;&lt;/td&gt;<br />
&lt;/tr&gt;&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &lt;/table&gt; <br />
<br />
&lt;table&gt;&nbsp; <br />
&lt;tr&gt;<br />
&lt;td height ='50px' align='center'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;input id='question_18_B_1' name='question_18_B_1' type='checkbox' value='1' disabled=&quot;disabled&quot;&nbsp; /&gt;&lt;/td&gt; <br />
&lt;td height ='50px' align='center'&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;input id='question_18_B_2' name='question_18_B_2' type='checkbox' value='1' disabled=&quot;disabled&quot;&nbsp; /&gt;&lt;/td&gt;<br />
&lt;/tr&gt; <br />
&lt;tr&gt; <br />
&lt;td height ='70px' align='center'&gt;&lt;input type='hidden' name='question_18_C_1' value='0'&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;input id='question_18_C_1' name='question_18_C_1' type='checkbox' value='1' disabled=&quot;disabled&quot;&nbsp;  /&gt;&lt;/td&gt; <br />
&lt;td height ='70px' align='center'&gt;&lt;input type='hidden' name='question_18_C_2' value='0'&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;input id='question_18_C_2' name='question_18_C_2' type='checkbox' value='1' disabled=&quot;disabled&quot;&nbsp;  /&gt;&lt;/td&gt;<br />
&lt;/tr&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;/table&gt;<br />
&lt;input id='submitpage3' type='submit' name='submit' value='Page suivante' /&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=7">JavaScript</category>
			<dc:creator>gulluman1</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50154</guid>
		</item>
		<item>
			<title>Ultimate Fade-in slideshow (v2.1)-cant get bkgrd to be transparent</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50152&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 04:20:32 GMT</pubDate>
			<description>1) Script Title: Ultimate Fade-in slideshow (v2.1) 
 
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm 
 
3) Describe problem: cant get bkgrd to be transparent 
 
currently its has a black bkgrd which wont disappear regardless of what i do...</description>
			<content:encoded><![CDATA[<div>1) Script Title: Ultimate Fade-in slideshow (v2.1)<br />
<br />
2) Script URL (on DD): <a href="http://www.dynamicdrive.com/dynamici...nslideshow.htm" target="_blank">http://www.dynamicdrive.com/dynamici...nslideshow.htm</a><br />
<br />
3) Describe problem: cant get bkgrd to be transparent<br />
<br />
currently its has a black bkgrd which wont disappear regardless of what i do<br />
<a href="http://www.engagedesign.com/headshots.html" target="_blank">http://www.engagedesign.com/headshots.html</a><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">#fadeshow1 .gallerylayer img {border: 1px solid white!important; background-color:transparent!important;}<br />
<br />
.headshot_gallery1 { position:absolute; top:155px; left:50px; background-color:transparent!important;}<br />
<br />
&lt;div class=&quot;headshot_gallery1&quot; id=&quot;fadeshow1&quot;&gt;&lt;/div&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=2">Dynamic Drive scripts help</category>
			<dc:creator>rkk</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50152</guid>
		</item>
		<item>
			<title>Ultimate Fade-in slideshow (v2.1)-preload images</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50151&amp;goto=newpost</link>
			<pubDate>Sat, 21 Nov 2009 03:53:03 GMT</pubDate>
			<description>1) Script Title: Ultimate Fade-in slideshow (v2.1) 
 
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm 
 
3) Describe problem: preload images 
 
Hi, I love the script however 
 
1) like the DHTML Slide Show Script i would like to have it preload the images...im assuming...</description>
			<content:encoded><![CDATA[<div>1) Script Title: Ultimate Fade-in slideshow (v2.1)<br />
<br />
2) Script URL (on DD): <a href="http://www.dynamicdrive.com/dynamici...nslideshow.htm" target="_blank">http://www.dynamicdrive.com/dynamici...nslideshow.htm</a><br />
<br />
3) Describe problem: preload images<br />
<br />
Hi, I love the script however<br />
<br />
1) like the DHTML Slide Show Script i would like to have it preload the images...im assuming it doesnt since you dont mention it in its key features<br />
<br />
2) i dont know if this is possible but I WOULD LOVE YOU GUYS if you could make the slide show AUTO LOAD images from a folder on a server...see this script which i think is flash based for what im talking about <a href="http://www.flashnifties.com/flash_gallery.php" target="_blank">http://www.flashnifties.com/flash_gallery.php</a> <br />
ie for the images to display in the slideshow instead of having to type a long list of images, the script would just know to look for all images within a folder on your server and automatically create the slideshow from it...</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=2">Dynamic Drive scripts help</category>
			<dc:creator>rkk</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50151</guid>
		</item>
		<item>
			<title>Go get button!</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50150&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 22:38:57 GMT</pubDate>
			<description>Hi Everyone, 
 
This is probably something easy and is already out there so maybe you can direct me in the right direction my problem is:  
 
I want a button on my website with an text area next to it, and when you enter a number and press the submit but it retrieves the file. 
 
What I mean is a...</description>
			<content:encoded><![CDATA[<div>Hi Everyone,<br />
<br />
This is probably something easy and is already out there so maybe you can direct me in the right direction my problem is: <br />
<br />
I want a button on my website with an text area next to it, and when you enter a number and press the submit but it retrieves the file.<br />
<br />
What I mean is a user will enter 12345 and hit enter this will then open a file which will corrospond as 12345.pdf file. I am using Serif webplusX2 so it is quite easy to enter code on the site. My website is in a folder and obviously the domain name looks for this folder then the index.html.<br />
<br />
I will be uploading invoice files to the same folder as to make it simple for me to locate the file and I know I can type the name of the file like <a href="http://www.mysite.co.uk/12345.pdf" target="_blank">www.mysite.co.uk/12345.pdf</a> in the address bar put looks naff and what user wants to do all that....<br />
<br />
I would be very greatfully for any information or advice on this matter.<br />
<br />
Thank you for your time<br />
<br />
Mark</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=23">Looking for such a script or service</category>
			<dc:creator>Samarca</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50150</guid>
		</item>
		<item>
			<title>Rollover-Text in CMotion Image Gallery?</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50149&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 20:06:51 GMT</pubDate>
			<description><![CDATA[1) Script Title: CMotion Image Gallery 
 
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm 
 
 
3) Describe problem: It's not really a problem...It's more like a question :) 
 
I use the CMotion Image Gallery on this site:  
...]]></description>
			<content:encoded><![CDATA[<div>1) Script Title: CMotion Image Gallery<br />
<br />
2) Script URL (on DD): <a href="http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm" target="_blank">http://www.dynamicdrive.com/dynamici...iongallery.htm</a><br />
<br />
<br />
3) Describe problem: It's not really a problem...It's more like a question :)<br />
<br />
I use the CMotion Image Gallery on this site: <br />
<br />
<a href="http://ichliebefotografie.de/html/ntoma.html" target="_blank">http://ichliebefotografie.de/html/ntoma.html</a><br />
<br />
...and everything works perfect now :) . <br />
<br />
I was just wondering if it is possible to let some text appear on mouseover on every picture in this gallery (some information about the picture). I got the idea because of the text that appears when the gallery is at its end (&quot;End of Gallery&quot;).<br />
<br />
I don't know much about programming and I have no idea if just a little change in the code is needed or if I'm asking for something completely new... <br />
<br />
If so, just ignore my question and keep up the good work, I was always very happy and thankful for the quick answers here when I had a problem. Thank you!</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=2">Dynamic Drive scripts help</category>
			<dc:creator>facilidis</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50149</guid>
		</item>
		<item>
			<title>String Object Method Help</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50148&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 19:45:40 GMT</pubDate>
			<description>Hello, 
 
I was able to solve an issue I had in previous post in writing some code to grab a section of a cookie value string (2 letter state ex MD) and check against it to do something.  That was easy because the state was at the end of the string and all I had to do was use the slice() method. ...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I was able to solve an issue I had in previous post in writing some code to grab a section of a cookie value string (2 letter state ex MD) and check against it to do something.  That was easy because the state was at the end of the string and all I had to do was use the slice() method.  Now I was to be able to grab the 2 letter state from a string that looks like this:<br />
<br />
BALTIMORE, MD|blah blah|blah blah|blah blah (the real cookie value string will always be separated with pipes (|))<br />
<br />
Can anyone please help?<br />
<br />
Thanks in advance!<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&lt;HTML&gt;<br />
&lt;HEAD&gt;<br />
&lt;TITLE&gt;&lt;/TITLE&gt;<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js&quot;&gt;&lt;/script&gt;<br />
&lt;SCRIPT LANUAGE=&quot;JavaScript&quot;&gt;<br />
<br />
function setCookie(name, value, expires, path, domain, secure) {<br />
&nbsp; &nbsp; document.cookie= name + &quot;=&quot; + escape(value) +<br />
&nbsp; &nbsp; &nbsp; &nbsp; ((expires) ? &quot;; expires=&quot; + expires.toGMTString() : &quot;&quot;) +<br />
&nbsp; &nbsp; &nbsp; &nbsp; ((path) ? &quot;; path=&quot; + path : &quot;&quot;) +<br />
&nbsp; &nbsp; &nbsp; &nbsp; ((domain) ? &quot;; domain=&quot; + domain : &quot;&quot;) +<br />
&nbsp; &nbsp; &nbsp; &nbsp; ((secure) ? &quot;; secure&quot; : &quot;&quot;);<br />
}<br />
function getCookie(name) {<br />
&nbsp; &nbsp; var dc = document.cookie;<br />
&nbsp; &nbsp; var prefix = name + &quot;=&quot;;<br />
&nbsp; &nbsp; var begin = dc.indexOf(&quot;; &quot; + prefix);<br />
&nbsp; &nbsp; if (begin == -1) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; begin = dc.indexOf(prefix);<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (begin != 0) return null;<br />
&nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; begin += 2;<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; var end = document.cookie.indexOf(&quot;;&quot;, begin);<br />
&nbsp; &nbsp; if (end == -1) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; end = dc.length;<br />
&nbsp; &nbsp; }<br />
&nbsp; &nbsp; return unescape(dc.substring(begin + prefix.length, end));<br />
}<br />
&lt;/SCRIPT&gt;<br />
&lt;/HEAD&gt;<br />
&lt;BODY&gt;<br />
&lt;script&gt;<br />
&nbsp;$(function(){ <br />
&nbsp; &nbsp; &nbsp; &nbsp;  $('div').each(function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if($(this).hasClass('stateSelect1')){ <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (getCookie(&quot;location&quot;)!=null){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  var state = getCookie(&quot;location&quot;).slice(-2).toLowerCase();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  var stateArray = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  stateArray = $(this).attr('rel').toLowerCase().split(',');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if($.inArray(state,stateArray) &gt;= 0){ <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $(document).ready(function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $(&quot;.stateSelect0&quot;).css(&quot;display&quot;,&quot;none&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(&quot;.stateSelect1&quot;).css(&quot;display&quot;,&quot;block&quot;);<br />
&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;  }<br />
&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;  } <br />
&nbsp; &nbsp; &nbsp; &nbsp;  }); <br />
&nbsp;});<br />
&nbsp;&lt;/script&gt;<br />
&lt;strong&gt;Step 1.&nbsp; Copy and paste in cookie set text field:&lt;/strong&gt; &lt;br&gt;<br />
&lt;br&gt;<br />
&lt;strong&gt;Show Image1:&lt;/strong&gt;&lt;br&gt;<br />
CHARLOTTE, NC|blah blah|blah blah|blah blah|blah blah&lt;br&gt;<br />
BALTIMORE, MD|blah blah|blah blah|blah blah&lt;br&gt;<br />
&lt;br&gt;<br />
&lt;strong&gt;Show Image2:&lt;/strong&gt;&lt;br&gt;<br />
COLUMBIA, SC|blah blah|blah blah|blah blah&lt;br&gt;<br />
RESTON, VA|blah blah|blah blah|blah blah&lt;br&gt;<br />
&lt;br&gt;<br />
&lt;strong&gt;Show Image3:&lt;/strong&gt;&lt;br&gt;<br />
LOS ANGELES, CA|blah blah|blah blah|blah blah&lt;br&gt;<br />
SEATLE, WA|blah blah|blah blah|blah blah&lt;br&gt;<br />
&lt;br&gt;<br />
&lt;br&gt;<br />
&lt;strong&gt;Step 2.&lt;/strong&gt;<br />
&lt;input type=&quot;button&quot; value=&quot;Set Cookie&quot;&nbsp; onclick='setCookie(&quot;location&quot;, prompt(&quot;Enter your location&quot;))' /&gt;<br />
&lt;br&gt;<br />
&lt;br&gt;<br />
&lt;strong&gt;Step 3.&lt;/strong&gt; Now refresh page. &lt;br&gt;<br />
&lt;br&gt;<br />
&lt;style&gt;<br />
.default{ border:3px solid limegreen; margin-bottom:5px; width:200px}<br />
.div1{ border:3px solid red; margin-bottom:5px; width:200px}<br />
.div2 { border:3px solid purple; margin-bottom:5px; width:200px}<br />
.div3 { border:3px solid yellow; margin-bottom:5px; width:200px}<br />
.div4 { border:3px solid blue; margin-bottom:5px; width:200px}<br />
&lt;/style&gt;<br />
&lt;!--DEFAULT IMAGE IF NO COOKIE SET OR NON LISTED STATE--&gt;<br />
&lt;div class=&quot;stateSelect0 default&quot;&gt; DEFAULT IMAGE &lt;/div&gt;<br />
&lt;!--DEFAULT IMAGE IF NO COOKIE SET OR NON LISTED STATE--&gt;<br />
&lt;div class=&quot;stateSelect1 div1&quot; rel=&quot;NC,MD&quot; style=&quot;display:none&quot;&gt;Image 1 - DIV 1&lt;/div&gt;<br />
&lt;div class=&quot;stateSelect2 div2&quot; rel=&quot;SC,VA&quot; style=&quot;display:none&quot;&gt;Image 2 - DIV 2&lt;/div&gt;<br />
&lt;div class=&quot;stateSelect3 div3&quot; rel=&quot;WA,CA&quot; style=&quot;display:none&quot;&gt;Image 3 - DIV 3&lt;/div&gt;<br />
&lt;/BODY&gt;<br />
&lt;/HTML&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=7">JavaScript</category>
			<dc:creator>bigalo</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50148</guid>
		</item>
		<item>
			<title>Switch Menu Function fails in IE</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50147&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 14:20:08 GMT</pubDate>
			<description><![CDATA[Hi, I am having trouble with a script that works fine in Firefox but has problems in IE.  The offending piece of code is colored red.  I know this is probably a simple case of "IE needs correct syntax" but need to polish up on my best practices.  
 
 
 
Code: 
--------- 
window.onload = function...]]></description>
			<content:encoded><![CDATA[<div>Hi, I am having trouble with a script that works fine in Firefox but has problems in IE.  The offending piece of code is colored red.  I know this is probably a simple case of &quot;IE needs correct syntax&quot; but need to polish up on my best practices. <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">window.onload = function initAll()&nbsp; &nbsp; &nbsp; &nbsp; {<br />
// this function closes all the contained elements within the main content, on onload<br />
var argument = document.getElementsByName(&quot;stories&quot;).length;<br />
// loop through each element with an identical name attribute to store the instances<br />
for (var i=0;i&lt;argument;i++)&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<font color="DarkRed">document.getElementById('myvar'+[i+1]).style.display=&quot;none&quot;;</font><br />
}<br />
}</code><hr />
</div>and this in the document body<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 name=&quot;stories&quot; id=&quot;myvar1&quot;&gt;<br />
&lt;p class=&quot;news&quot;&gt;Headlines&lt;/p&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=7">JavaScript</category>
			<dc:creator>sniperman</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50147</guid>
		</item>
		<item>
			<title>Dropdown menu that moves up on mouseover</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50146&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 13:50:31 GMT</pubDate>
			<description><![CDATA[Hi Guys, 
 
I'm looking for a simple mouseover drop down script like this one: 
http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm 
 
Except the rollover effect always has to move up instead of move down.  
 
Can anyone help me, or help me with editing existing code? 
 
Cheers.]]></description>
			<content:encoded><![CDATA[<div>Hi Guys,<br />
<br />
I'm looking for a simple mouseover drop down script like this one:<br />
<a href="http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm" target="_blank">http://www.dynamicdrive.com/dynamici...roptabmenu.htm</a><br />
<br />
Except the rollover effect always has to move up instead of move down. <br />
<br />
Can anyone help me, or help me with editing existing code?<br />
<br />
Cheers.<br />
Tim</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=23">Looking for such a script or service</category>
			<dc:creator>timjanssen_nl</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50146</guid>
		</item>
		<item>
			<title>moving AnyLink CSS Menu v2.2 to top of images</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50145&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 13:12:04 GMT</pubDate>
			<description>1) Script Title:  AnyLink CSS Menu v2.2 
 
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm 
 
3) Describe problem: I have got Ultimate Fade In Slideshow v2.0- running on the page as well and the drop downs I have created are appearing behind the images - is there a...</description>
			<content:encoded><![CDATA[<div>1) Script Title:  AnyLink CSS Menu v2.2<br />
<br />
2) Script URL (on DD): <a href="http://www.dynamicdrive.com/dynamicindex1/anylinkcss.htm" target="_blank">http://www.dynamicdrive.com/dynamici...anylinkcss.htm</a><br />
<br />
3) Describe problem: I have got Ultimate Fade In Slideshow v2.0- running on the page as well and the drop downs I have created are appearing behind the images - is there a way of putting the drop downs on top?<br />
<br />
Thanks<br />
<br />
Clare</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=2">Dynamic Drive scripts help</category>
			<dc:creator>crwffd</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50145</guid>
		</item>
		<item>
			<title>Resolved Stepcarousel crashing jQuery</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50143&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 12:53:59 GMT</pubDate>
			<description><![CDATA[Script: *Step Carousel Viewer v1.8* 
http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm 
---------- 
 
---Quote--- 
It looks like after loading "stepcarousel.js" in my page it crashes jQuery, but the best thing is that it happens only when I'm viewing the page from Content Management System...]]></description>
			<content:encoded><![CDATA[<div>Script: <b>Step Carousel Viewer v1.8</b><br />
<a href="http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm" target="_blank">http://www.dynamicdrive.com/dynamici...epcarousel.htm</a><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 />
			
				It looks like after loading &quot;stepcarousel.js&quot; in my page it crashes jQuery, but the best thing is that it happens only when I'm viewing the page from Content Management System side.<br />
CMS powered site: <a href="http://78.84.100.62/vbc/page.php?pid=1" target="_blank">http://78.84.100.62/vbc/page.php?pid=1</a> (doesn't work)<br />
<br />
Plain HTML template: <a href="http://78.84.100.62/vbc_grup/html_logistic/index.html" target="_blank">http://78.84.100.62/vbc_grup/html_logistic/index.html</a> (works)<br />
<br />
I'm totally out of ideas why this could happen, maybe you guys could help me?<br />
<br />
If you're looking for stepcarousel CSS styles, they're put into &quot;inside.css&quot;.<br />
<br />
P.S. The host is my local webserver, therefore it's slow as a slime.<br />
<br />
Thanks in advance!
			
			<hr />
		</td>
	</tr>
	</table>
</div><b><font color="Red">EDIT</font></b>: Woah, I found out the problem, it was my template system, which was screwing all the place up. :)<br />
<br />
-Tom-</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=2">Dynamic Drive scripts help</category>
			<dc:creator>Psycke</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50143</guid>
		</item>
		<item>
			<title>dd ajaxtabscontent + dd dynamicbookmarkscroll to the tabs... any possible??</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50142&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 10:37:53 GMT</pubDate>
			<description>1) Script Title: dd ajax tabs content + dd scroll html 
 
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex17/ajaxtabscontent/ 
 
http://www.dynamicdrive.com/dynamici...markscroll.htm 
 
3) Describe problem: Am trying to add the scrollTo effect to the tabs(menus) in ajax tabs content. It...</description>
			<content:encoded><![CDATA[<div>1) Script Title: dd ajax tabs content + dd scroll html<br />
<br />
2) Script URL (on DD): <a href="http://dynamicdrive.com/dynamicindex17/ajaxtabscontent/" target="_blank">http://dynamicdrive.com/dynamicindex17/ajaxtabscontent/</a><br />
<br />
<a href="http://www.dynamicdrive.com/dynamici...markscroll.htm" target="_blank">http://www.dynamicdrive.com/dynamici...markscroll.htm</a><br />
<br />
3) Describe problem: Am trying to add the scrollTo effect to the tabs(menus) in ajax tabs content. It has got two href attributes which is a big problem.<br />
<br />
All I'm trying to achieve is, when clicked on tabs, just retrieve the content into content area (like ajaxtabscontent normally does) and also scrollTo content area which is at the middle of the my webpage..!<br />
<br />
Any help appreciated!</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=2">Dynamic Drive scripts help</category>
			<dc:creator>desibird</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50142</guid>
		</item>
		<item>
			<title>Rounded tab menu tranparency problem</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50141&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 09:46:15 GMT</pubDate>
			<description><![CDATA[Hi Guys! New here..  
 
I need some help.. ASAP  
(for some people with good heart out there and for the experts:p) 
 
I have these two images for the menu, with a rounded corner. 
It's in .png format and has transparency so that whenever I wanted to change the background, I dont have to go edit...]]></description>
			<content:encoded><![CDATA[<div>Hi Guys! New here.. <br />
<br />
I need some help.. ASAP <br />
(for some people with good heart out there and for the experts:p)<br />
<br />
I have these two images for the menu, with a rounded corner.<br />
It's in .png format and has transparency so that whenever I wanted to change the background, I dont have to go edit the menu.<br />
<br />
<img src="http://i1011.photobucket.com/albums/af234/mlarcipe/problem.jpg?t=1258709772" border="0" alt="" /><br />
<br />
The only problem is that, when I tried to do that using the tutorials I found in some threads here, the img02 will overlay the img01 which will result to straight edge, instead of the rounded corner I wanted to achieve.<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 />
			
				Here is the code that I used:<br />
<br />
#navmenu li:hover,<br />
#navmenu li.iehover,<br />
#navmenu li.active{<br />
background: url(../images/img01.png) right center no-repeat;<br />
<br />
}<br />
#navmenu li:hover a,<br />
#navmenu li.iehover a,<br />
#navmenu li.active:hover a,<br />
#navmenu li.active.iehover a,<br />
#navmenu li a:hover,<br />
#navmenu li.active a,<br />
#navmenu li.active a:hover{<br />
background: url(../images/img02.png) left center no-repeat;
			
			<hr />
		</td>
	</tr>
	</table>
</div>Note: Attached files are the menu images.<br />
<br />
I would be very glad for people who will help me with this.<br />
I will be waiting.... ;)<br />
<br />
May you have a good day!</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6">CSS</category>
			<dc:creator>mla0205</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50141</guid>
		</item>
		<item>
			<title>Rounded tab menu tranparency problem</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50140&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 09:44:00 GMT</pubDate>
			<description><![CDATA[Hi Guys! New here..  
I need some help.. ASAP (from some people with good heart out there :p) 
 
I have these two images for the menu, with a rounded corner. 
It's in .png format and has transparency so that whenever I wanted to change the background, I dont have to go edit the menu. 
 
Image:...]]></description>
			<content:encoded><![CDATA[<div>Hi Guys! New here.. <br />
I need some help.. ASAP (from some people with good heart out there :p)<br />
<br />
I have these two images for the menu, with a rounded corner.<br />
It's in .png format and has transparency so that whenever I wanted to change the background, I dont have to go edit the menu.<br />
<br />
<img src="http://i1011.photobucket.com/albums/af234/mlarcipe/problem.jpg?t=1258709772" border="0" alt="" /><br />
<br />
The only problem is that, when I tried to do that using the tutorials I found in some threads here, the img02 will overlay the img01 which will result to straight edge, instead of the rounded corner I wanted to achieve.<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 />
			
				Here is the code that I used:<br />
<br />
#navmenu li:hover,<br />
#navmenu li.iehover,<br />
#navmenu li.active{<br />
background: url(../images/img01.png) right center no-repeat;<br />
<br />
}<br />
#navmenu li:hover a,<br />
#navmenu li.iehover a,<br />
#navmenu li.active:hover a,<br />
#navmenu li.active.iehover a,<br />
#navmenu li a:hover,<br />
#navmenu li.active a,<br />
#navmenu li.active a:hover{<br />
background: url(../images/img02.png) left center no-repeat;
			
			<hr />
		</td>
	</tr>
	</table>
</div>Note: Attached files are the menu images.<br />
<br />
I would be very glad for people who will help me with this.<br />
I will be waiting.... ;)<br />
<br />
May you have a good day!</div>


	<br />
	<div style="padding:6px">

	
		<fieldset class="fieldset">
			<legend>Attached Thumbnails</legend>
			<div style="padding:3px">
			
<a href="http://www.dynamicdrive.com/forums/attachment.php?attachmentid=3016&amp;d=1258710179" rel="Lightbox_211089" id="attachment3016" target="_blank"><img class="thumbnail" src="http://www.dynamicdrive.com/forums/attachment.php?attachmentid=3016&amp;stc=1&amp;thumb=1&amp;d=1258710179" border="0" alt="Click image for larger version

Name:	img01.png
Views:	N/A
Size:	252 Bytes
ID:	3016" /></a>
&nbsp;

			</div>
		</fieldset>
	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<div style="padding:3px">
			<img class="attach" src="http://www.dynamicdrive.com/forums/attachment.php?attachmentid=3017&amp;stc=1&amp;d=1258710194" border="0" alt="" />&nbsp;
			</div>
		</fieldset>
	

	

	

	</div>
]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6">CSS</category>
			<dc:creator>mla0205</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50140</guid>
		</item>
		<item>
			<title><![CDATA[CSS & Dreamweaver]]></title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50139&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 09:31:58 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I notice that when I create CSS websites in Dreamweaver using the "draw AP Div", the style it automatically generates always contains a "z-index" (eg on the #footer). 
 
If I look at the style of css websites that I know have been hand-built, they rarely contain a z-index for such divs. Why...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I notice that when I create CSS websites in Dreamweaver using the &quot;draw AP Div&quot;, the style it automatically generates always contains a &quot;z-index&quot; (eg on the #footer).<br />
<br />
If I look at the style of css websites that I know have been hand-built, they rarely contain a z-index for such divs. Why is this? Is due to the AP Div being absolute-positioned?<br />
<br />
What would the consequence be if I deleted the &quot;z-index&quot; value from my auto-generated styles?<br />
<br />
Thanks in anticipation of your advice!</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=6">CSS</category>
			<dc:creator>jhatter</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50139</guid>
		</item>
		<item>
			<title>Rounded border top left and bottom right</title>
			<link>http://www.dynamicdrive.com/forums/showthread.php?t=50137&amp;goto=newpost</link>
			<pubDate>Fri, 20 Nov 2009 09:02:33 GMT</pubDate>
			<description>1) CODE TITLE: Rounded border top left and bottom right 
 
2) AUTHOR NAME/NOTES:Nilambar Sharma 
 
3) DESCRIPTION: A div border rounded in top left and bottom right. 
 
4) URL TO CODE: http://nilambar.com.np/roundedcorner/ 
 
or, ATTACHED BELOW (see #3 in guidelines below):</description>
			<content:encoded><![CDATA[<div>1) CODE TITLE: Rounded border top left and bottom right<br />
<br />
2) AUTHOR NAME/NOTES:Nilambar Sharma<br />
<br />
3) DESCRIPTION: A div border rounded in top left and bottom right.<br />
<br />
4) URL TO CODE: <a href="http://nilambar.com.np/roundedcorner/" target="_blank">http://nilambar.com.np/roundedcorner/</a><br />
<br />
or, ATTACHED BELOW (see #3 in guidelines below):</div>

]]></content:encoded>
			<category domain="http://www.dynamicdrive.com/forums/forumdisplay.php?f=3">Submit a DHTML or CSS code</category>
			<dc:creator>nilambar</dc:creator>
			<guid isPermaLink="true">http://www.dynamicdrive.com/forums/showthread.php?t=50137</guid>
		</item>
	</channel>
</rss>
