<?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>CodingForums.com</title>
		<link>http://www.codingforums.com/</link>
		<description>Web coding and development forums. Get help on JavaScript, PHP, CGI, CSS, XML, and more.</description>
		<language>en</language>
		<lastBuildDate>Wed, 16 May 2012 20:47:14 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.codingforums.com/images/misc/rss.jpg</url>
			<title>CodingForums.com</title>
			<link>http://www.codingforums.com/</link>
		</image>
		<item>
			<title>Need a PHP register/login form and a SQL database download link</title>
			<link>http://www.codingforums.com/showthread.php?t=261572&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 20:29:38 GMT</pubDate>
			<description>Hello, I need a register/login page, I need for following 
 
Register Page: 
-First Name (Required) 
-Middle Name (Optional) 
-Last Name (Required) 
-Username (Required) 
-Password (Required) 
-Re Enter Password (Required) 
-Email (Required)</description>
			<content:encoded><![CDATA[<div>Hello, I need a register/login page, I need for following<br />
<br />
Register Page:<br />
-First Name (Required)<br />
-Middle Name (Optional)<br />
-Last Name (Required)<br />
-Username (Required)<br />
-Password (Required)<br />
-Re Enter Password (Required)<br />
-Email (Required)<br />
-Age (Required)<br />
-Biography (Optional)<br />
-Credit Card (Optional)<br />
-Gender (Required)<br />
-Favorite Color (Optional)<br />
-Favorite TV Show (Optional)<br />
-Favorite Food (Optional)<br />
-Favorite Drink (Optional)<br />
-Favorite Brand (Optional)<br />
-Favorite Family Member (Optional)<br />
<br />
Thats it for now and with the login I just want<br />
<br />
Login Page:<br />
Remember Me<br />
Username<br />
Email<br />
Password<br />
<br />
<br />
<br />
<br />
<br />
<br />
And I just want to SQL download to the register and login to be in this post please.</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=6">PHP</category>
			<dc:creator>X888X</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261572</guid>
		</item>
		<item>
			<title>Form validation string length</title>
			<link>http://www.codingforums.com/showthread.php?t=261571&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 20:28:22 GMT</pubDate>
			<description><![CDATA[Hi all 
 
How can I edit the code below to check if the length of the variable x is less than 7? 
 
var x=document.forms["add_user"]["password1"].value; 
if (x==null || x=="") 
  { 
  alert("Please enter your password"); 
  return false; 
  }]]></description>
			<content:encoded><![CDATA[<div>Hi all<br />
<br />
How can I edit the code below to check if the length of the variable x is less than 7?<br />
<br />
var x=document.forms[&quot;add_user&quot;][&quot;password1&quot;].value;<br />
if (x==null || x==&quot;&quot;)<br />
  {<br />
  alert(&quot;Please enter your password&quot;);<br />
  return false;<br />
  }<br />
<br />
Many thanks for your help<br />
<br />
Pete</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=62">JavaScript frameworks</category>
			<dc:creator>petenaylor</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261571</guid>
		</item>
		<item>
			<title>Vertical Centering Question</title>
			<link>http://www.codingforums.com/showthread.php?t=261570&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 20:16:42 GMT</pubDate>
			<description><![CDATA[I'm currently trying to make a div tag of mine horizontally centered. The thing that makes this question a little trickier is that I want it relatively centered in a div that is already floating to the left and inline. Basically I have a left and right box, one is going to hold text and the other...]]></description>
			<content:encoded><![CDATA[<div>I'm currently trying to make a div tag of mine horizontally centered. The thing that makes this question a little trickier is that I want it relatively centered in a div that is already floating to the left and inline. Basically I have a left and right box, one is going to hold text and the other an image. I want the left one, that holds text, to be relatively centered. I want it to be setup so that when I add one line, two, or three lines of text that it is always in the middle as far as top and bottom spacing. I don't know if this is possible or not, but I figure that is what these forums are for. It is a difficult question to Google search so hopefully someone can help me out.<br />
<br />
Here is the code I'm using:<br />
<b>CSS</b><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">.container {<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 980px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */<br />
&nbsp; &nbsp; &nbsp; &nbsp; height: 350px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color: #FFF;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-image: url(images/header-hang-Addvantage.jpg);<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-repeat: no-repeat;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-position: 2px 90px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; vertical-align: baseline;<br />
&nbsp; &nbsp; &nbsp; &nbsp; box-shadow: 0 0 8px 2px #13324e;<br />
}<br />
<br />
.header {<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-image: url(images/header.gif);<br />
&nbsp; &nbsp; &nbsp; &nbsp; height: 91px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding-right: 10px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding-left: 10px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-left: 2px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-right: 2px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-repeat: repeat-x;<br />
}<br />
<br />
.header-left {<br />
&nbsp; &nbsp; &nbsp; &nbsp; display: inline;<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 500px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height: 180px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float: left;<br />
&nbsp; &nbsp; &nbsp; &nbsp; text-align: left;<br />
&nbsp; &nbsp; &nbsp; &nbsp; font-family: Arial, Helvetica, sans-serif;<br />
&nbsp; &nbsp; &nbsp; &nbsp; font-size: 30px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; color: #fff;<br />
&nbsp; &nbsp; &nbsp; &nbsp; line-height: 1.2;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding-left: 20px;<br />
}<br />
<br />
.header-right {<br />
&nbsp; &nbsp; &nbsp; &nbsp; display: inline;<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 48%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float: right;<br />
&nbsp; &nbsp; &nbsp; &nbsp; text-align: right;<br />
}</code><hr />
</div><b>HTML</b><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 class=&quot;container&quot;&gt;<br />
&lt;div class=&quot;header&quot;&gt;&lt;/div&gt; &lt;!--header end --&gt;<br />
<br />
&lt;div class=&quot;header-left&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;This is going to be the header even when I add a bunch of text I want this needs more text to test&lt;/p&gt;<br />
&lt;/div&gt;&lt;!-- header-left end --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;div class=&quot;header-right&quot;&gt;This is going to be the image&lt;/div&gt;&lt;!-- header-right end --&gt;<br />
<br />
&lt;/div&gt;&lt;!-- container end --&gt;</code><hr />
</div>Any comments or ideas are highly appreciated. Thank you for your time.</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=13"><![CDATA[HTML & CSS]]></category>
			<dc:creator>nickmitchell24</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261570</guid>
		</item>
		<item>
			<title>I need a good captcha</title>
			<link>http://www.codingforums.com/showthread.php?t=261569&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 20:16:21 GMT</pubDate>
			<description>Anyone got a good captcha code that they can give me free not encrypt and easy to edit?</description>
			<content:encoded><![CDATA[<div>Anyone got a good captcha code that they can give me free not encrypt and easy to edit?</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=6">PHP</category>
			<dc:creator>X888X</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261569</guid>
		</item>
		<item>
			<title>Counting MySQL rows for different values</title>
			<link>http://www.codingforums.com/showthread.php?t=261568&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 20:15:45 GMT</pubDate>
			<description><![CDATA[Hi there, 
 
I have a movie database. 
My menu contains a link to "Movies" and a link to every type of movies in the database (for instance Drama, Action, and so on...) 
 
I would like the menu to include the number of movies in every category, something like this: 
 
Movies (127) 
   - Drama (42)...]]></description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I have a movie database.<br />
My menu contains a link to &quot;Movies&quot; and a link to every type of movies in the database (for instance Drama, Action, and so on...)<br />
<br />
I would like the menu to include the number of movies in every category, something like this:<br />
<br />
Movies (127)<br />
   - Drama (42)<br />
   - Comedy (54)<br />
...<br />
<br />
What would be the best way to do this?  I saw somewhere a code like this one:<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">$query = &quot;SELECT type, COUNT(name) FROM products GROUP BY type&quot;; <br />
$result = mysql_query($query) or die(mysql_error());<br />
<br />
while($row = mysql_fetch_array($result)){<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;There are &quot;. $row['COUNT(name)'] .&quot; &quot;. $row['type'] .&quot; items.&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;br /&gt;&quot;;<br />
}</code><hr />
</div>That way, there is only one query to count the number of different movie types.  There are however 2 problems:<br />
1) That doesn't count the TOTAL number of movies<br />
2) The code is just displaying the results on the fly, they are not being stored in variables so I can use them later in my menu links<br />
<br />
Thanks for any help! :)</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=6">PHP</category>
			<dc:creator>drewww76</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261568</guid>
		</item>
		<item>
			<title>Virtual Online Services (VBPismail23)</title>
			<link>http://www.codingforums.com/showthread.php?t=261567&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 20:10:09 GMT</pubDate>
			<description>Get Your Business Online and Ease your business by automate Software. Get Free One Month SEO and Web Hosting by Host your project with Virtual Services. http://j.gs/916651/virtualinscorp</description>
			<content:encoded><![CDATA[<div>Get Your Business Online and Ease your business by automate Software. Get Free One Month SEO and Web Hosting by Host your project with Virtual Services. <a href="http://j.gs/916651/virtualinscorp" rel="nofollow" target="_blank">http://j.gs/916651/virtualinscorp</a></div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=42">Career, job, and business ideas or advice</category>
			<dc:creator>VBPismail23</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261567</guid>
		</item>
		<item>
			<title>JavaScript slideshow not working on ie</title>
			<link>http://www.codingforums.com/showthread.php?t=261566&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 19:45:26 GMT</pubDate>
			<description><![CDATA[Hello guys and gals :), 
 
I am using one of the JavaScript codes provided at http://www.javascriptkit.com, and it works great on Chrome and Firefox. But Internet Explorer is giving me trouble :( 
 
Here is the HTML: 
 
 
Code: 
--------- 
*<?xml version="1.0" encoding="UTF-8"?>]]></description>
			<content:encoded><![CDATA[<div>Hello guys and gals :),<br />
<br />
I am using one of the JavaScript codes provided at <a href="http://www.javascriptkit.com" rel="nofollow" target="_blank">http://www.javascriptkit.com</a>, and it works great on Chrome and Firefox. But Internet Explorer is giving me trouble :(<br />
<br />
Here is the HTML:<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"><b>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;<br />
&nbsp; &nbsp; &quot;DTD/xhtml1-strict.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
&lt;meta content=&quot;Keywords go here&quot; name=&quot;keywords&quot; /&gt;<br />
&lt;meta content=&quot;Description goes here&quot; name=&quot;description&quot; /&gt;<br />
&lt;meta content=&quot;This website is coded and maintained by ***** &quot; name=&quot;author&quot; /&gt;<br />
&lt;meta content=&quot;@2004 ***** &quot; name=&quot;copyright&quot; /&gt;<br />
&lt;meta http-equiv=&quot;Content-Style-Type&quot; content=&quot;text/css2&quot; /&gt;<br />
&lt;title&gt;Concepto MV&lt;/title&gt;<br />
&lt;link href=&quot;css/style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;<br />
&lt;link href='http://fonts.googleapis.com/css?family=Comfortaa:400,700' rel='stylesheet' type='text/css'&gt;<br />
<br />
&lt;!--Website coded and maintained by Alexandra barvo<br />
Copyright @2011 w ww.alexandrabarvo.com --&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id=&quot;background&quot;&gt;&lt;/div&gt;&lt;!--Backgroung--&gt;<br />
&lt;div id=&quot;wrapper&quot;&gt;<br />
&lt;div id=&quot;nav&quot;&gt;<br />
&lt;div id=&quot;logo&quot;&gt;<br />
&lt;img src=&quot;images/logo.png&quot;/&gt;<br />
&lt;/div&gt;&lt;!--logo--&gt;<br />
&lt;ul id=&quot;main_nav&quot;&gt;<br />
&lt;li&gt;&lt;a class=&quot;active&quot; href=&quot;index.html&quot;&gt;HOME&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;|&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;about.html&quot;&gt;OUR COMPANY&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;|&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;services.html&quot;&gt;SERVICES&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;|&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;contact.html&quot;&gt;CONTACT US&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;ul id=&quot;social&quot;&gt;<br />
&lt;li&gt;&lt;a href=&quot;http://www.twitter.com&quot; target=&quot;blank&quot;&gt;&lt;img src=&quot;images/twitter.png&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;http://www.flickr.com&quot; target=&quot;blank&quot;&gt;&lt;img src=&quot;images/flickr.png&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&quot;http://www.facebook.com&quot; target=&quot;blank&quot;&gt;&lt;img src=&quot;images/facebook.png&quot; border=&quot;0&quot;/&gt;&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;&lt;!--nav--&gt;<br />
&lt;div id=&quot;slideshow&quot;&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
<br />
// Flexible Image Slideshow- By JavaScriptKit.com (<a href="http://www.javascriptkit.com" rel="nofollow" target="_blank">http://www.javascriptkit.com</a>)<br />
// For this and over 400+ free scripts, visit JavaScript Kit- <a href="http://www.javascriptkit.com/" rel="nofollow" target="_blank">http://www.javascriptkit.com/</a><br />
// This notice must stay intact for use<br />
<br />
var ultimateshow=new Array()<br />
<br />
//ultimateshow[x]=[&quot;path to image&quot;, &quot;OPTIONAL link for image&quot;, &quot;OPTIONAL link target&quot;]<br />
<br />
ultimateshow[0]=['images/render1.jpg', '', '']<br />
ultimateshow[1]=['images/render2.jpg', '', '']<br />
ultimateshow[2]=['images/render3.jpg', '', '']<br />
<br />
//configure the below 3 variables to set the dimension/background color of the slideshow<br />
<br />
var slidewidth=&quot;900px&quot; //set to width of LARGEST image in your slideshow<br />
var slideheight=&quot;400px&quot; //set to height of LARGEST iamge in your slideshow<br />
var slidecycles=&quot;3&quot; //number of cycles before slideshow stops (ie: &quot;2&quot; or &quot;continous&quot;)<br />
var randomorder=&quot;no&quot; //randomize the order in which images are displayed? &quot;yes&quot; or &quot;no&quot;<br />
var preloadimages=&quot;yes&quot; //preload images? &quot;yes&quot; or &quot;no&quot;<br />
var slidebgcolor='white'<br />
<br />
//configure the below variable to determine the delay between image rotations (in miliseconds)<br />
var slidedelay=3000<br />
<br />
////Do not edit pass this line////////////////<br />
<br />
var ie=document.all<br />
var dom=document.getElementById<br />
var curcycle=0<br />
<br />
if (preloadimages==&quot;yes&quot;){<br />
for (i=0;i&lt;ultimateshow.length;i++){<br />
var cacheimage=new Image()<br />
cacheimage.src=ultimateshow[i][0]<br />
}<br />
}<br />
<br />
var currentslide=0<br />
<br />
function randomize(targetarray){<br />
ultimateshowCopy=new Array()<br />
var the_one<br />
var z=0<br />
while (z&lt;targetarray.length){<br />
the_one=Math.floor(Math.random()*targetarray.length)<br />
if (targetarray[the_one]!=&quot;_selected!&quot;){<br />
ultimateshowCopy[z]=targetarray[the_one]<br />
targetarray[the_one]=&quot;_selected!&quot;<br />
z++<br />
}<br />
}<br />
}<br />
<br />
if (randomorder==&quot;yes&quot;)<br />
randomize(ultimateshow)<br />
else<br />
ultimateshowCopy=ultimateshow<br />
<br />
function rotateimages(){<br />
curcycle=(currentslide==0)? curcycle+1 : curcycle<br />
ultcontainer='&lt;center&gt;'<br />
if (ultimateshowCopy[currentslide][1]!=&quot;&quot;)<br />
ultcontainer+='&lt;a href=&quot;'+ultimateshowCopy[currentslide][1]+'&quot; target=&quot;'+ultimateshowCopy[currentslide][2]+'&quot;&gt;'<br />
ultcontainer+='&lt;img src=&quot;'+ultimateshowCopy[currentslide][0]+'&quot; border=&quot;0&quot;&gt;'<br />
if (ultimateshowCopy[currentslide][1]!=&quot;&quot;)<br />
ultcontainer+='&lt;/a&gt;'<br />
ultcontainer+='&lt;/center&gt;'<br />
if (ie||dom)<br />
crossrotateobj.innerHTML=ultcontainer<br />
if (currentslide==ultimateshow.length-1) currentslide=0<br />
else currentslide++<br />
if (curcycle==parseInt(slidecycles) &amp;&amp; currentslide==0)<br />
return<br />
setTimeout(&quot;rotateimages()&quot;,slidedelay)<br />
}<br />
<br />
if (ie||dom)<br />
document.write('&lt;div id=&quot;slidedom&quot; style=&quot;width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'&quot;&gt;&lt;/div&gt;')<br />
<br />
function start_slider(){<br />
crossrotateobj=dom? document.getElementById(&quot;slidedom&quot;) : document.all.slidedom<br />
rotateimages()<br />
}<br />
<br />
if (ie||dom)<br />
window.onload=start_slider<br />
<br />
&lt;/script&gt;<br />
&lt;/div&gt;&lt;!--slideshow--&gt;<br />
&lt;div class=&quot;push&quot;&gt;&lt;/div&gt;&lt;!--push--&gt;<br />
&lt;/div&gt;&lt;!--wrapper--&gt;<br />
&lt;div class=&quot;footer&quot;&gt;<br />
&lt;p id=&quot;copy&quot;&gt;Copyright &amp;copy; 2012&lt;/p&gt;<br />
&lt;/div&gt;&lt;!--footer--&gt;<br />
&lt;/div&gt;&lt;!--body--&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</b></code><hr />
</div>And here is the CSS<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"><b>@charset &quot;utf-8&quot;;<br />
/* CSS Document */<br />
<br />
html, body, div, span, applet, object, iframe,<br />
h1, h2, h3, h4, h5, h6, p, blockquote, pre,<br />
a, abbr, acronym, address, big, cite, code,<br />
del, dfn, em, img, ins, kbd, q, s, samp,<br />
small, strike, strong, sub, sup, tt, var,<br />
b, u, i, center,<br />
dl, dt, dd, ol, ul, li,<br />
fieldset, form, label, legend,<br />
table, caption, tbody, tfoot, thead, tr, th, td,<br />
article, aside, canvas, details, embed, <br />
figure, figcaption, footer, header, hgroup, <br />
menu, output, ruby, section, summary,<br />
time, mark, audio, video {<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin: 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding: 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; border: 0;<br />
}<br />
<br />
body{<br />
&nbsp; &nbsp; &nbsp; &nbsp; background:url(../images/bg.jpg) repeat;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding: 0px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; font: 12px 'Comfortaa', Helvetica, sans-serif;<br />
&nbsp; &nbsp; &nbsp; &nbsp; color: #CCC;<br />
}<br />
<br />
#wrapper{<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin:0 auto 75px auto;<br />
&nbsp; &nbsp; &nbsp; &nbsp; width:960px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; min-height: 100%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height:auto !important;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height:100%;<br />
}<br />
<br />
#background{<br />
&nbsp; &nbsp; &nbsp; &nbsp; background:url(../images/nav_bg.png) repeat-x;<br />
&nbsp; &nbsp; &nbsp; &nbsp; position:absolute;<br />
&nbsp; &nbsp; &nbsp; &nbsp; left:0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; top:35px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; width:100%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height:100%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; z-index:-1;<br />
}<br />
<br />
#website{<br />
position:absolute;<br />
left:0;<br />
top:0;<br />
width:100%;<br />
height:100%;<br />
z-index:99;<br />
}<br />
<br />
#nav{<br />
&nbsp; &nbsp; &nbsp; &nbsp; /*background: url(../images/nav_bg.png) repeat-x;*/<br />
&nbsp; &nbsp; &nbsp; &nbsp; width: 100%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height: 75px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-top: 35px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-bottom: 75px;<br />
}<br />
<br />
#logo{<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-left:40px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float:left;<br />
}<br />
<br />
#main_nav{<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-left: 22px;<br />
}<br />
<br />
ul#main_nav{<br />
&nbsp; &nbsp; &nbsp; &nbsp; list-style:none;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float:left;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-top: 38px;<br />
}<br />
<br />
ul#main_nav li{<br />
&nbsp; &nbsp; &nbsp; &nbsp; display:inline;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding-left:7px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; font-size:14px;<br />
<br />
}<br />
<br />
ul#main_nav a{<br />
&nbsp; &nbsp; &nbsp; &nbsp; text-decoration:none;<br />
&nbsp; &nbsp; &nbsp; &nbsp; color:#ccc;<br />
}<br />
<br />
ul#main_nav a:hover{<br />
&nbsp; &nbsp; &nbsp; &nbsp; text-decoration:none;<br />
&nbsp; &nbsp; &nbsp; &nbsp; color:#666;<br />
}<br />
<br />
ul#social{<br />
&nbsp; &nbsp; &nbsp; &nbsp; list-style:none;<br />
&nbsp; &nbsp; &nbsp; &nbsp; float:left;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-top: 34px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin-left: 22px;<br />
}<br />
<br />
ul#social li{<br />
&nbsp; &nbsp; &nbsp; &nbsp; display:inline;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding-left:10px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; font-size:18px;<br />
}<br />
<br />
ul#social a{<br />
&nbsp; &nbsp; &nbsp; &nbsp; text-decoration:none;<br />
&nbsp; &nbsp; &nbsp; &nbsp; color:#ccc;<br />
}<br />
<br />
ul#social a:hover{<br />
&nbsp; &nbsp; &nbsp; &nbsp; text-decoration:none;<br />
&nbsp; &nbsp; &nbsp; &nbsp; color:#666;<br />
}<br />
<br />
#slideshow{<br />
&nbsp; &nbsp; &nbsp; &nbsp; width:900px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; height:400px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; border:#101010 solid 5px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; padding: 0px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin: 0px auto;<br />
}<br />
<br />
.footer{<br />
&nbsp; &nbsp; &nbsp; &nbsp; text-align:center;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background-color: #000; <br />
&nbsp; &nbsp; &nbsp; &nbsp; padding: 37px 0px 0px 0px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; margin:0px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; width:100%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; background:url(../images/nav_bg.png) repeat-x;<br />
}<br />
<br />
.footer, .push{<br />
&nbsp; &nbsp; &nbsp; &nbsp; height: 75px;<br />
}</b></code><hr />
</div><br />
Can anyone tell me of I am doing something wrong, or if I just need to use another code for the slideshow to work on ie?<br />
<br />
Thank you so much for you time.<br />
Ale :)</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=2">JavaScript programming</category>
			<dc:creator>alebarvo</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261566</guid>
		</item>
		<item>
			<title><![CDATA[New Company Website - I'm Ready to Code!]]></title>
			<link>http://www.codingforums.com/showthread.php?t=261565&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 19:44:10 GMT</pubDate>
			<description>I work in marketing for an engineering firm based out of NYC. Our company website is in need of a major upgrade. Since the Partners of the firm do not want to spend money, they want me to take on the role of Webmaster and designer.  
 
We bought Adobe CS5 Suite, which included Dreamweaver. Our...</description>
			<content:encoded><![CDATA[<div>I work in marketing for an engineering firm based out of NYC. Our company website is in need of a major upgrade. Since the Partners of the firm do not want to spend money, they want me to take on the role of Webmaster and designer. <br />
<br />
We bought Adobe CS5 Suite, which included Dreamweaver. Our current site was done by our IT Director using Microsoft FrontPage, who is willing to help with the new site. <br />
<br />
Using Adobe InDesign, I created a complete layout of our website, including graphics, colors, content, etc. We have a solid understand of what we want our new site to look like. <br />
<br />
I have Dreamweaver CS5 for Dummies, Linda.com video tutorials and other helpful tools but they seem too technical for me. <br />
<br />
Because I'm such a noob, I have no idea what to do next. I seriously think I am in way over my head, since I can't spend a lot of time working on the website because I have regular job duties. <br />
<br />
Can someone please recommend the necessary steps to get this project rolling? Should I familiarize myself with HTML coding? I don't know why I agreed to do this, but it has to be done. <br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=10">General web building</category>
			<dc:creator>DOOGAN</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261565</guid>
		</item>
		<item>
			<title><![CDATA[Can't read css visibility value]]></title>
			<link>http://www.codingforums.com/showthread.php?t=261563&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 19:34:55 GMT</pubDate>
			<description><![CDATA[I'm not sure why this code executes the first if condition.  What should I be doing instead? 
 
<!DOCTYPE html> 
<head> 
 
<style> 
#test { visibility:hidden; } 
</style> 
 
<script type="text/javascript">]]></description>
			<content:encoded><![CDATA[<div>I'm not sure why this code executes the first if condition.  What should I be doing instead?<br />
<br />
&lt;!DOCTYPE html&gt;<br />
&lt;head&gt;<br />
<br />
&lt;style&gt;<br />
#test { visibility:hidden; }<br />
&lt;/style&gt;<br />
<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
<br />
function read(ID)<br />
{<br />
	if(document.getElementById(ID).style.visibility == '') alert(&quot;why does this pop up?&quot;);<br />
	else if(document.getElementById(ID).style.visibility == 'hidden') alert(&quot;this is what I would expect&quot;);<br />
	else alert(&quot;never reached&quot;);<br />
}<br />
&lt;/script&gt;<br />
<br />
<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;form&gt;&lt;input type=&quot;button&quot; value=&quot;test&quot; onclick=&quot;read('test');&quot;&quot;&gt;<br />
&lt;p id='test'&gt; testing visibility&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=2">JavaScript programming</category>
			<dc:creator>toddmanning</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261563</guid>
		</item>
		<item>
			<title>Conflicting Javascript</title>
			<link>http://www.codingforums.com/showthread.php?t=261562&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 19:31:08 GMT</pubDate>
			<description><![CDATA[I have some kind of conflict in my Javascript here: 
http://www.SonomaCountyFamilyLaw.com 
 
Drop down menu pops up when one scrolls over "Family Law," but rollover images do not load on other menu items as they should 
 
I am relatively new to Javascript; would much appreciate any assistance. 
...]]></description>
			<content:encoded><![CDATA[<div>I have some kind of conflict in my Javascript here:<br />
<a href="http://www.SonomaCountyFamilyLaw.com" rel="nofollow" target="_blank">http://www.SonomaCountyFamilyLaw.com</a><br />
<br />
Drop down menu pops up when one scrolls over &quot;Family Law,&quot; but rollover images do not load on other menu items as they should<br />
<br />
I am relatively new to Javascript; would much appreciate any assistance.<br />
<br />
Thank you kindly....<br />
<br />
Here is the code in question:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
&lt;script type=&quot;text/javascript&quot;&gt;function mmLoadMenus() {<br />
if (window.mm_menu_0514172011_0) return;<br />
window.mm_menu_0514172011_0 = new Menu(&quot;root&quot;,298,24,&quot;Arial, Helvetica, sans-serif&quot;,14,&quot;#FFFFFF&quot;,&quot;#020056&quot;,&quot;#3C3A7D&quot;,&quot;#FFFFFF&quot;,&quot;left&quot;,&quot;middle&quot;,5,0,100,-5,7,true,true,true,5,true,true);<br />
mm_menu_0514172011_0.addMenuItem(&quot;DIVORCE&quot;,&quot;location='divorce.html'&quot;);<br />
mm_menu_0514172011_0.addMenuItem(&quot;CUSTODY&quot;,&quot;location='custody.html'&quot;);<br />
mm_menu_0514172011_0.addMenuItem(&quot;ADOPTION/GUARDIANSHIP&quot;,&quot;location='adoption.html'&quot;);<br />
mm_menu_0514172011_0.addMenuItem(&quot;PRIVATE JUDGING &amp; SETTLEMENTS&quot;,&quot;location='private.html'&quot;);<br />
mm_menu_0514172011_0.hideOnMouseOut=true;<br />
mm_menu_0514172011_0.bgColor='#FFFFFF';<br />
mm_menu_0514172011_0.menuBorder=1;<br />
mm_menu_0514172011_0.menuLiteBgColor='#FFFFFF';<br />
mm_menu_0514172011_0.menuBorderBgColor='#434089';<br />
<br />
mm_menu_0514172011_0.writeMenus();<br />
} // mmLoadMenus()var switchTo5x=false;<br />
<br />
function newImage(arg) {<br />
if (document.images) {<br />
rslt = new Image();<br />
rslt.src = arg;<br />
return rslt;<br />
}<br />
}<br />
<br />
function changeImages() {<br />
if (document.images &amp;&amp; (preloadFlag == true)) {<br />
for (var i=0; i&lt;changeImages.arguments.length; i+=2) {<br />
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];<br />
}<br />
}<br />
}<br />
<br />
var preloadFlag = false;<br />
function preloadImages() {<br />
if (document.images) {<br />
menu_02_over = newImage(&quot;assets/menu_02-over.jpg&quot;);<br />
menu_06_over = newImage(&quot;assets/menu_06-over.jpg&quot;);<br />
menu_08_over = newImage(&quot;assets/menu_08-over.jpg&quot;);<br />
menu_10_over = newImage(&quot;assets/menu_10-over.jpg&quot;);<br />
menu_12_over = newImage(&quot;assets/menu_12-over.jpg&quot;);<br />
menu_14_over = newImage(&quot;assets/menu_14-over.jpg&quot;);<br />
preloadFlag = true;<br />
}<br />
}<br />
<br />
// --&gt;<br />
&lt;/script&gt;<br />
&lt;!-- End Preload Script --&gt;<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;http://w.sharethis.com/button/buttons.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;stLight.options({publisher:'04ce05ad-19c3-4812-98d3-7e46a3d579db'});&lt;/script&gt;<br />
&lt;script language=&quot;JavaScript&quot; src=&quot;mm_menu.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body onload=&quot;preloadImages();&quot;&gt;<br />
&lt;script language=&quot;JavaScript1.2&quot; type=&quot;text/javascript&quot;&gt;mmLoadMenus();&lt;/script&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=2">JavaScript programming</category>
			<dc:creator>jess888</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261562</guid>
		</item>
		<item>
			<title>Filename always empty</title>
			<link>http://www.codingforums.com/showthread.php?t=261561&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 19:05:01 GMT</pubDate>
			<description><![CDATA[Hello there, 
 
I have been trying to put together a small form to upload an image, but can't get the form to work. 
 
 
Here is the form itself 
 
Code: 
--------- 
<form name="new_item" method="post" action="insert.php" enctype="multipart/form-data">]]></description>
			<content:encoded><![CDATA[<div>Hello there,<br />
<br />
I have been trying to put together a small form to upload an image, but can't get the form to work.<br />
<br />
<br />
Here is the form itself<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;form name=&quot;new_item&quot; method=&quot;post&quot; action=&quot;insert.php&quot; enctype=&quot;multipart/form-data&quot;&gt;<br />
&lt;table border=&quot;1&quot;&gt;<br />
&lt;tr&gt;&lt;td&gt;Name:&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;name&quot;&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;Image:&lt;/td&gt;&lt;td&gt;&lt;input type=&quot;file&quot; value=&quot;Upload&quot; name=&quot;image&quot;&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;&lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/form&gt;</code><hr />
</div>Here is the PHP side<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">$current_image</span><span style="color: #007700">=</span><span style="color: #0000BB">$_FILES</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'file'</span><span style="color: #007700">&#93;&#91;</span><span style="color: #DD0000">'name'</span><span style="color: #007700">&#93;;<br /></span><span style="color: #0000BB">$extension&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">strrchr</span><span style="color: #007700">(</span><span style="color: #0000BB">$current_image</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'.'</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$file_size</span><span style="color: #007700">=</span><span style="color: #0000BB">$_FILES</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'file'</span><span style="color: #007700">&#93;&#91;</span><span style="color: #DD0000">'size'</span><span style="color: #007700">&#93;;<br /></span><span style="color: #0000BB">$time1&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">date</span><span style="color: #007700">(</span><span style="color: #DD0000">"fYhis"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$new_image&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$time1&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #DD0000">"."&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">$extension</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$destination</span><span style="color: #007700">=</span><span style="color: #DD0000">"uploads/"</span><span style="color: #007700">.</span><span style="color: #0000BB">$new_image</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$action&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">copy</span><span style="color: #007700">(</span><span style="color: #0000BB">$_FILES</span><span style="color: #007700">&#91;</span><span style="color: #DD0000">'file'</span><span style="color: #007700">&#93;&#91;</span><span style="color: #DD0000">'tmp_name'</span><span style="color: #007700">&#93;,&nbsp;</span><span style="color: #0000BB">$destination</span><span style="color: #007700">);<br />if&nbsp;(!</span><span style="color: #0000BB">$action</span><span style="color: #007700">)&nbsp;<br />{<br />die(</span><span style="color: #DD0000">'An&nbsp;error&nbsp;occured,&nbsp;please&nbsp;try&nbsp;again&nbsp;later.'</span><span style="color: #007700">);<br />}&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div><br />
After it uploads, the same error always comes up<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 />
			
				Warning: copy() [function.copy]: Filename cannot be empty in ***/insert.php on line 14<br />
An error occured, please try again later.
			
			<hr />
		</td>
	</tr>
	</table>
</div>Any ideas?</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=6">PHP</category>
			<dc:creator>blackrain87</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261561</guid>
		</item>
		<item>
			<title>IE9 issue - Breaking My Web Page</title>
			<link>http://www.codingforums.com/showthread.php?t=261554&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 18:34:14 GMT</pubDate>
			<description><![CDATA[I am in desperate need for help as I'm pulling my hair out! I'm pretty sure this is JavaScript related.  
 
I'm incorporating a WordPress header into Opencart. Its pretty basic. I copied the WordPress header source code into the header of the Opencart and all is well in Firefox & Chrome and Safari....]]></description>
			<content:encoded><![CDATA[<div>I am in desperate need for help as I'm pulling my hair out! I'm pretty sure this is JavaScript related. <br />
<br />
I'm incorporating a WordPress header into Opencart. Its pretty basic. I copied the WordPress header source code into the header of the Opencart and all is well in Firefox &amp; Chrome and Safari. In IE however...If you enter the product page through the categories on the left the product page left aligns and breaks...I can't figure this out for the life of me. I tried to debug it with explorers tools but I don't know enough about Java script to understand why its breaking.<br />
<br />
<br />
Can anyone PLEASE help me on this?!!! My site is <a href="http://www.sterlingportable.com/store/" rel="nofollow" target="_blank">http://www.sterlingportable.com/store/</a></div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=2">JavaScript programming</category>
			<dc:creator>ksrep</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261554</guid>
		</item>
		<item>
			<title>Form Help</title>
			<link>http://www.codingforums.com/showthread.php?t=261553&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 18:13:20 GMT</pubDate>
			<description><![CDATA[Hello, 
Firstly thank you for reading this. 
Secondly I hope this is in the correct area.  
I've been tasked with creating a form in ASP.net (that I don't really know) and have been very unsucessful. I've got the form to display as intended, but the actual function of the form is where I'm having...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
Firstly thank you for reading this.<br />
Secondly I hope this is in the correct area. <br />
I've been tasked with creating a form in ASP.net (that I don't really know) and have been very unsucessful. I've got the form to display as intended, but the actual function of the form is where I'm having difficulty.<br />
<br />
The first thing I'm trying to get to work is an alert to display when a client clicks the &quot;submit&quot; button that reads &quot;Thank you, your information....&quot; then that message would need to have another button on it &quot;OK&quot; that the client would press upon reading the message. here is part of the form I have thus far:<br />
<br />
<code style="background-color: #FFFFBB">&lt;div class=&quot;cssbutton gBtn a&quot;&gt;&lt;asp:Button ID=&quot;btnSubmit&quot; runat=&quot;server&quot; Text=&quot;Submit&quot; OnClientClick=&quot;ShowMessage()&quot;&gt;&lt;/asp:Button&gt;&lt;/div&gt;</code><br />
<br />
Now I also have this written further on the page:<br />
<br />
<code style="background-color: #FFFFBB">&lt;script type=&quot;javascript&quot;&gt;<br />
function ShowMessage()<br />
{<br />
document.window.alert(&quot;Thank you, your information has been recieved.&quot;);<br />
}<br />
&lt;/script&gt;</code><br />
<br />
If there is anything anyone can provide to help with this it would be greatly appreciated. If need be I could supply the entire page code, but for purposes of seeing if I'm asking the impossible or something that is way beyond my ability I only pasted the button code and the script I was trying.<br />
<br />
Thank you for your time,</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=40">ASP.NET</category>
			<dc:creator>Borgard</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261553</guid>
		</item>
		<item>
			<title>How to emulate keypress on mouse click?</title>
			<link>http://www.codingforums.com/showthread.php?t=261552&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 18:03:58 GMT</pubDate>
			<description><![CDATA[I've spent days searching without luck. 
I need help with the following: 
 
I have a program that have some hotkeys set to trigger some events. I would like to activate those hotkeys from inside firefox by clicking on a button. I'm not looking for keypress events, it has to be a button click. 
So,...]]></description>
			<content:encoded><![CDATA[<div>I've spent days searching without luck.<br />
I need help with the following:<br />
<br />
I have a program that have some hotkeys set to trigger some events. I would like to activate those hotkeys from inside firefox by clicking on a button. I'm not looking for keypress events, it has to be a button click.<br />
So, let's say I click on the button that executes a javascript code that emulates F7 or CTRL+A or whatever key or key combination. Can you guys please help with to find a solution?<br />
Oh, and I need it to work with Firefox only.<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=2">JavaScript programming</category>
			<dc:creator>george2012</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261552</guid>
		</item>
		<item>
			<title><![CDATA[[AS2] Duplicate movie based on array data]]></title>
			<link>http://www.codingforums.com/showthread.php?t=261551&amp;goto=newpost</link>
			<pubDate>Wed, 16 May 2012 18:03:41 GMT</pubDate>
			<description><![CDATA[Hello flash enthusiasts, 
 
I am currently building a (mock up) to view subscriber information by duplicating a movie clip based on an array. I'm grabbing the data from an xml and trying to pass the array to duplicated clips. The problem I'm running into is that I can only get data to the first...]]></description>
			<content:encoded><![CDATA[<div>Hello flash enthusiasts,<br />
<br />
I am currently building a (mock up) to view subscriber information by duplicating a movie clip based on an array. I'm grabbing the data from an xml and trying to pass the array to duplicated clips. The problem I'm running into is that I can only get data to the first duplicated movie and the original remains blank. <br />
<br />
Here is the xml:<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;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;yes&quot;?&gt;<br />
&lt;content&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;article&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;last4id&gt;1111&lt;/last4id&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;fnameid&gt;fname1&lt;/fnameid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;lnameid&gt;lname1&lt;/lnameid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;expdate&gt;11/11&lt;/expdate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;addressid&gt;1111 First St&lt;/addressid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cityid&gt;Los Angeles&lt;/cityid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;stateid&gt;CA1&lt;/stateid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;zipid&gt;11111&lt;/zipid&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/article&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;article&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;last4id&gt;2222&lt;/last4id&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;fnameid&gt;fname2&lt;/fnameid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;lnameid&gt;lname2&lt;/lnameid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;expdate&gt;22/22&lt;/expdate&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;addressid&gt;2222 Second St&lt;/addressid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;cityid&gt;San Francisco&lt;/cityid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;stateid&gt;CA2&lt;/stateid&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;zipid&gt;22222&lt;/zipid&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/article&gt;<br />
&lt;/content&gt;</code><hr />
</div>Here is how I'm loading the xml:<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 loadXML(loaded) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (loaded) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xmlNode = this.firstChild;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; last4id = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fnameid = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lnameid = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expdate = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; addressid = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cityid = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; stateid = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zipid = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total = xmlNode.childNodes.length;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (i=0; i&lt;total; i++) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; last4id[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fnameid[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lnameid[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;&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; expdate[i] = xmlNode.childNodes[i].childNodes[3].firstChild.nodeValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; addressid[i] = xmlNode.childNodes[i].childNodes[4].firstChild.nodeValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cityid[i] = xmlNode.childNodes[i].childNodes[5].firstChild.nodeValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; stateid[i] = xmlNode.childNodes[i].childNodes[6].firstChild.nodeValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zipid[i] = xmlNode.childNodes[i].childNodes[7].firstChild.nodeValue;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nextFrame();<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trace(&quot;Can not load edit card xml&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}<br />
xmlData = new XML();<br />
xmlData.ignoreWhite = true;<br />
xmlData.onLoad = loadXML;<br />
xmlData.load(&quot;edittest.xml&quot;);</code><hr />
</div>And on the next frame I'm running a for loop:<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 (i=1; i&lt;total; ++i) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc.info_mc.duplicateMovieClip(&quot;info_mc&quot;+i, i);<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i]._y = item_mc[&quot;info_mc&quot;+i]._height+15;<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].fname.text = fnameid[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].lname.text = lnameid[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].cdigits.text = last4id[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].cdate.text = expdate[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].caddress.text = addressid[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].ccity.text = cityid[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].cstate.text = stateid[i];<br />
&nbsp; &nbsp; &nbsp; &nbsp; item_mc[&quot;info_mc&quot;+i].czip.text = zipid[i];<br />
}</code><hr />
</div>I'm wondering if I'm missing an initial load step or that I'm not splitting the array correctly.<br />
<br />
Any and all help is greatly appreciated and thank you for taking a moment to look at this post.<br />
<br />
Thanks,<br />
Kumba</div>

]]></content:encoded>
			<category domain="http://www.codingforums.com/forumdisplay.php?f=52"><![CDATA[Flash & ActionScript]]></category>
			<dc:creator>kumba</dc:creator>
			<guid isPermaLink="true">http://www.codingforums.com/showthread.php?t=261551</guid>
		</item>
	</channel>
</rss>

