<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
<channel>
	<title>w3schools.com - New Topics</title>
	<description>The complete discussion board conversation RSS Feed - 100 Most Recent Topics</description>
	<link>http://w3schools.invisionzone.com/index.php</link>
	<pubDate>Sun, 22 Nov 2009 20:31:40 -0500</pubDate>
	<ttl>5</ttl>
	<item>
		<title>Php 5.1 Get_browser, Useragent Must Be Specified</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28684</link>
		<description><![CDATA[Hi,<br /><br />I am running Apache 2.2.14 and PHP 5.31 on Windows XP 32 bit.<br /><br />I have been trying to use the PHP get_browser function with the browscap.ini file. I have installed and verified that browscap.ini is working. The strange thing is that when I call get_browser like this:<br /><br />$browser = get_browser($_SERVER['HTTP_USER_AGENT'], true);<br /><br />then it works, but if I call it like:<br /><br />$browser = get_browser(null, true);<br /><br />then it doesn't work (the $browser variable is set as if the user agent was an empty string).<br /><br />My understanding from the documentation is that null should use the http user agent in use. Can someone shed some light on this?<br /><br />Thank you,]]></description>
		<pubDate>Sun, 22 Nov 2009 19:11:24 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28684</guid>
	</item>
	<item>
		<title>Demoting A Normal File To A Temporary</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28683</link>
		<description><![CDATA[Is there a way to make a certain file temporary, i.e. schedule it for deletion after the script ends?<br /><br />The script that needs to have it is a class... right now, I have a property that stores all temporary files' locations, and in the class' destructor, I unlink() them all. This works... most of the times. If the script fails with a fatal error for whatever reason (e.g. the user of the class causes an error by means other than using my class), the destructor is never activated, and therefore, the files remain.<br /><br />I haven't tried it, but I suspect the register_shutdown_function() function will have the same effect. Only the tmpfile() function never fails, since the cleanup on that is done internally by PHP (on the C layer). However, tmpfile() saves the file to an unsettable location (unless there is a way to dynamically set the system TEMP dir? AFAIK, doing so normally requires a reboot.), which is unacceptable for my class' purpose.<br /><br />I need to be able to write something to a file at a certain specified location, and have that file deleted after the script ends for whatever reason.<br /><br />Does anyone know of another way to create temporary files, or set up normal files to be deleted with or without a fatal error?<br /><br /><br /><b>[edit] Spoke too soon... just tried the register_shutdown_function() in an isolated environment. It does fire even on a fatal error, and what's even better - I can register an unlimited amount of them. Goodbye temporary file array! <img src="http://w3schools.invisionzone.com/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> [/edit]</b>]]></description>
		<pubDate>Sun, 22 Nov 2009 15:44:15 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28683</guid>
	</item>
	<item>
		<title>Error Message</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28682</link>
		<description><![CDATA[I don't really get how to troubleshoot this error message.<br /><br />Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /public_html/opxtest/web/login.php:9) in /home1/suitefou/public_html/opxtest/web/login.php on line 38<br /><br />Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /public_html/opxtest/web/login.php:9) in /home1/suitefou/public_html/opxtest/web/login.php on line 38<br /><br />Warning: Cannot modify header information - headers already sent by (output started at /home1/suitefou/public_html/opxtest/web/login.php:9) in /public_html/opxtest/web/login.php on line 53<br /><br />here is the code.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;if&#40;$_POST&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$dbhost = '*****';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$dbuser = '*****';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$dbpass = '*****';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$dbname = '*****';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$username = $_POST&#91;'username'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$password = $_POST&#91;'password'&#93;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$conn = mysql_connect&#40;$dbhost,$dbuser,$dbpass&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or die &#40;'Error connecting to mysql'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_select_db&#40;$dbname&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$query = sprintf&#40;&#34;SELECT COUNT&#40;id&#41; FROM users WHERE UPPER&#40;username&#41; = UPPER&#40;'%s'&#41; AND password='%s'&#34;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_real_escape_string&#40;$username&#41;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_real_escape_string&#40;md5&#40;$password&#41;&#41;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result = mysql_query&#40;$query&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list&#40;$count&#41; = mysql_fetch_row&#40;$result&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&#40;$count == 1&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;session_start&#40;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$_SESSION&#91;'authenticated'&#93; = true;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$_SESSION&#91;'username'&#93; = $username;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$query = sprintf&#40;&#34;UPDATE users SET last_login = NOW&#40;&#41; WHERE UPPER&#40;username&#41; = UPPER&#40;'%s'&#41; AND password = '%s'&#34;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_real_escape_string&#40;$username&#41;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_real_escape_string&#40;md5&#40;$password&#41;&#41;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_query&#40;$query&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$query = sprintf&#40;&#34;SELECT is_admin FROM users WHERE UPPER&#40;username&#41; = UPPER&#40;'%s'&#41; AND password='%s'&#34;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_real_escape_string&#40;$username&#41;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_real_escape_string&#40;md5&#40;$password&#41;&#41;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result = mysql_query&#40;$query&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list&#40;$is_admin&#41; = mysql_fetch_row&#40;$result&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&#40;$is_admin == 1&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;header&#40;'Location&#58;admin.php'&#41;;&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;} else {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;header&#40;'Location&#58;game.php'&#41;;&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;&nbsp;&nbsp;&nbsp;&nbsp;} else {&nbsp;&nbsp;&nbsp;&nbsp;?&#62;<br />&#60;span style='color&#58;red'&#62;Error&#58; that username and password combination does not match any currently within our database.&#60;/span&#62;<br />&#60;?php&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />?&#62;<br />&#60;form action='login.php' method='post'&#62;<br />Username&#58; &#60;input type='text' name='username' /&#62;&#60;br /&#62;<br />Password&#58; &#60;input type='password' name='password' /&#62;&#60;br /&#62;<br />&#60;input type='submit' value='Login' /&#62;<br />&#60;/form&#62;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Sun, 22 Nov 2009 14:46:51 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28682</guid>
	</item>
	<item>
		<title>Conflict</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28681</link>
		<description><![CDATA[I applied an external stylesheet to get a horizontal menu , and when i mouse-over the menu it is supposed to turn aqua.<br />Now this works , but the problem is that it doesn't end with the menu , it just goes over the whole page , like this <br /><a href="http://i.imagehost.org/0177/css_problem.jpg" target="_blank"><img src="http://i.imagehost.org/t/0177/css_problem.jpg" border="0" class="linked-image" /></a><br /><br />While it should be like this : <br /><a href="http://i.imagehost.org/0428/should_be.jpg" target="_blank"><img src="http://i.imagehost.org/t/0428/should_be.jpg" border="0" class="linked-image" /></a><br /><br />Does anyone know a sollution to this ?<br />This messes up my lay-out .<br /><br />(click on the pictures to get a full view)<br /><br />And this is the full code of the stylesheet<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->@charset &#34;utf-8&#34;;<br /><br />ul<br />{<br />float&#58;left;<br />width&#58;100%;<br />padding&#58;0;<br />margin&#58;0;<br />list-style-type&#58;none;<br />}<br />a<br />{<br />float&#58;left;<br />width&#58;7em;<br />text-decoration&#58;none;<br />color&#58;black;<br />background-color&#58;leafgreen;<br />padding&#58;0.0em 0.5em;<br />border-right&#58;0px solid white;<br />}<br />a&#58;hover {background-color&#58;aqua}<br />li {display&#58;inline}<br />h4 {text-decoration&#58;blink}<!--c2--></div><!--ec2--><br /><br />Regards and thanks <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />]]></description>
		<pubDate>Sun, 22 Nov 2009 14:09:49 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28681</guid>
	</item>
	<item>
		<title>Checking If Only Text Is Written?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28680</link>
		<description><![CDATA[Hi people, is there a simple function like the is_numeric to check if text is only containing text not any special characters etc?<br /><br />I know i can use replace funcitons to do this, but that's more waste of time is there is a simple function to check this.<br /><br />Edit:<br />Whoops, ment "if there is a" <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Kris]]></description>
		<pubDate>Sun, 22 Nov 2009 12:21:50 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28680</guid>
	</item>
	<item>
		<title>Tired Of Looking For Hosting That I Neeed!</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28679</link>
		<description><![CDATA[hi,<br /><br />Ok, I've been with <a href="http://www.awardspace.com" target="_blank">http://www.awardspace.com</a> for a year now....<br />And i'm finding I want different hosting.<br /><br />There is so much crap / generic reseller cluster stuff out there I dont know what to do about it.<br /><br />I looked at powweb, bluehost , and alot more...<br /><br /><br />Here is what I want.. Maybe you can help.  OH and i'm tired of the "unlimited" but when u check there is a limit. I dont mind a limit, i'd prefer to know the #'s instead of unlimited *at their discretion*.<br /><br />Heres what I use..<br /><br />I want to host multiple domains out of my account which I currently do.<br />I want to have the option of setting up a control panel for them.  Possibly.<br />I cant quite do 25/month reseller hosting as I dont make enough from sites to do this.<br />I want MySQL databases to be big.  I dont want small databases. Just incase.  I will be hosting a forum site. It's not big yet and not done but who knows. <br /><br />I just want something good. I dont mind paying over 100/year for it, and most of the websites I make are maintained by me so the customer has no need to login to an account. But If the option is there I would like it.<br /><br />Any thoughts?<br />I could really use some pro help here.<br /><br />Also I tried yahoo.com a long time ago and wow 40bucks CAD/3 months is rediculous for me.<br /><br />Thanks guys<br />Duncan<br /><br /><br />]]></description>
		<pubDate>Sun, 22 Nov 2009 12:15:35 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28679</guid>
	</item>
	<item>
		<title>Dtd (!doctype) Element.</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28678</link>
		<description><![CDATA[<!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Hello to all!!! <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br />Now I'm learning HTML and I arrived to <a href="http://w3schools.com/html/html_whyusehtml4.asp" target="_blank">this page</a> of the HTML tutorial and at the bottom appear a minor explanation about the DTD element.<br /><br />I didn't succeed to understand properly what is in fact DTD and I ask for help from you to explain me please more detailed what is exactly DTD and why do we need it.<br /><br />Any explanation will be appreciated if it will be clearly and detailed.<br /><br />Please note that I'm newbie at HTML so you should explain me as more as detailed.<br /><br />Waiting for your response!!! <img src="http://w3schools.invisionzone.com/style_emoticons/default/sorry.gif" style="vertical-align:middle" emoid=":sorry:" border="0" alt="sorry.gif" />  <img src="http://w3schools.invisionzone.com/style_emoticons/default/sorry.gif" style="vertical-align:middle" emoid=":sorry:" border="0" alt="sorry.gif" /> </b><!--sizec--></span><!--/sizec-->]]></description>
		<pubDate>Sun, 22 Nov 2009 12:03:51 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28678</guid>
	</item>
	<item>
		<title>Firefox Javascript Does Not Work</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28677</link>
		<description><![CDATA[this code with red color does not work on firefox. it works on ie and google chrome<br />what is the problem please help me...<br /><br /><br />&lt;tr&gt;&lt;input type="hidden" name="product_id_&lt;% = counter %&gt;" id="product_id_&lt;% = counter %&gt;" value="&lt;% = rs("product_id") %&gt;"&gt;<br />    &lt;td class="a-center" width="20"&gt;&lt;a class="a-center" href="?OPERATION=delete&basket_item_id=&lt;%=rs("basket_item_id")%&gt;" title="&lt;%=removes%&gt;"&gt;&lt;img src="http://forum.ceviz.net/images/delete.gif" alt="&lt;%=removes%&gt;" /&gt;&lt;/a&gt;&lt;/td&gt;<br />    &lt;td&gt;&lt;a href="product.asp?product_id=&lt;%=rs("product_id")%&gt;" class="product-image" title="&lt;%=rs("title" & language_constant)%&gt;"&gt;&lt;img src="&lt;%=rs("img3")%&gt;" height="100" alt="&lt;%=rs("title" & language_constant)%&gt;" /&gt;&lt;/a&gt;&lt;/td&gt;<br />    &lt;td width="400"&gt;<br />        &lt;h3 class="product-name"&gt;&lt;a href="product.asp?product_id=&lt;%=rs("product_id")%&gt;"&gt;&lt;%=rs("title" & language_constant)%&gt;&lt;/a&gt;&lt;/h3&gt;<br />    &lt;/td&gt;<br />    &lt;td class="a-center" width="20"&gt;<br />        &lt;div class="cart-price"&gt;&lt;span class="price"&gt;&lt;%=rs("price")%&gt; TL&lt;/span&gt;&lt;/div&gt;&lt;input type="hidden" name="price_each_&lt;% = counter %&gt;" id="price_each_&lt;% = counter %&gt;" value="&lt;%=rs("price")%&gt;"&gt;<br />    &lt;/td&gt;<br />    &lt;td class="a-center" width="20"&gt;<br />        &lt;input name="product_count_&lt;% = counter %&gt;" id="product_count_&lt;% = counter %&gt;" value="&lt;%=rs("quantity")%&gt;" size="4" class="input-text qty" maxlength="8" /&gt;<br />    &lt;/td&gt;<br />    &lt;td width="120"&gt;<br />        &lt;div class="cart-price"&gt;&lt;span class="price"&gt;&lt;%= (rs("price") * rs("quantity"))%&gt; TL&lt;/span&gt;&lt;/div&gt;<br />    &lt;/td&gt;<br />    &lt;td class="a-center"&gt;<br />        <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->&lt;a href="java script:updateProduct('&lt;% = rs("basket_item_id") %&gt;','&lt;% = counter %&gt;')"&gt;update&lt;img src="http://forum.ceviz.net/images/update.gif" border="0"&gt;&lt;/a&gt;<!--colorc--></span><!--/colorc--><br />        <br />    &lt;/td&gt;<br />&lt;/tr&gt;<br />&lt;script language="Javascript"&gt;<br />    function checkInput(counter, quantity){<br />        if (isNaN(eval('document.all.product_count_' + counter).value) || eval('document.all.product_count_' + counter).value.length == 0){<br />            eval('document.all.product_count_' + counter).value = quantity;<br />        }<br />    }<br />    <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><br />    function updateProduct(basket_item_id, counter){<br />        var session_id = ;<br />        var quantity = eval('document.all.product_count_' + counter).value;<br />        var width = 300;<br />        var height = 150;<br />        var y =(screen.availHeight-height)/2;<br />        var x =(screen.availWidth-width)/2;<br />        window.basketWin = location.href='basket.asp?OPERATION=update&session_id='+session_id+'&basket_item_id='+basket_item_id+'&quantity='+quantity,'basket';<br />        window.basketWin.focus();<br />    }<!--colorc--></span><!--/colorc--><br />    <br />    function deleteProduct(basket_item_id){<br />        var width = 300;<br />        var height = 150; <br />        var y =(screen.availHeight-height)/2;<br />        var x =(screen.availWidth-width)/2;<br />        window.basketWin = window.open('basket.asp?OPERATION=delete&basket_item_id='+basket_item_id,'basket','toolbar=0, scrollbars=2 ,width='+width+',height='+height+',top=' + y + ',left='+ x);<br />        window.basketWin.focus();<br />    }<br />    <br />    &lt;/script&gt;<br />]]></description>
		<pubDate>Sun, 22 Nov 2009 10:44:57 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28677</guid>
	</item>
	<item>
		<title>Flash Object Sliding.</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28676</link>
		<description><![CDATA[<b><!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo-->Hello to all the fellows!!! <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br />Firstly. sorry if I ask this question at the incorrect forum, I simple don't know where to ask it.<br /><br />Secondly, some web pages contain flash objects that although you scroll the page down, the flash object is sliding down and up with you, so you always see the flash object.<br /><br />My question is simple - how to do so? in other words, how to cause to the flash object to slide with the page scrolling?<br /><br />Wait for your advices!!! <img src="http://w3schools.invisionzone.com/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />  <img src="http://w3schools.invisionzone.com/style_emoticons/default/laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" />  <!--sizec--></span><!--/sizec--></b>]]></description>
		<pubDate>Sun, 22 Nov 2009 09:46:08 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28676</guid>
	</item>
	<item>
		<title>Help With A Check</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28675</link>
		<description><![CDATA[Hi there.<br /><br />I have been trying to get this to work out for me, but i never get anywhere with it. So i hopefully some of you could help me out.<br /><br />I got 4 datafields in mySQL. It looks like:<br /><br />name || lottonumber1 || lottonumber2 ||lottonumber3<br /><br /><br />And on the site i have 4 inputs for each of the datafields.<br />The problem is that i dont want to let the users have same numbers<br />at all. Atm they are able to have like:<br /><br />name || lottonumber1 || lottonumber2 ||lottonumber3<br />Corgae 1 2 3<br />noob 1 2 3<br /><br />So what i need is: All 3 inputs on the site needs to get checked if the numbers exits in the fields. So it for example will be like:<br /><br />CorgaE 1 2 3<br />Noob    4 5 6<br /><br />All help is really appricated.]]></description>
		<pubDate>Sat, 21 Nov 2009 19:41:29 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28675</guid>
	</item>
	<item>
		<title>Putting Html Code On My Hosting Server</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28674</link>
		<description><![CDATA[I just created a new menu (finally)!! What I like about it is that I keep the CSS files on my hosting server so that if I wan to change my menu stylings, I just alter this file and every occurrence of the menu changes automatically on my Yola website.<br /><br />What I would love to do is be able to do the same thing with the HTML code that I paste into the HTML widgets that I have for each page that my menu appears. Is there a way to have the HTML code sit on my hosting server so that If I want to make changes to the menu content, I could just open up the HTML file on the hosting server, make the change and then all of my menus on my Yola site will update automatically (I sure hope so!!)]]></description>
		<pubDate>Sat, 21 Nov 2009 18:55:26 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28674</guid>
	</item>
	<item>
		<title>Awstats Hack</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28673</link>
		<description><![CDATA[Hello all.<br />I stumbled upon a handy script today.<br /><a href="http://www.white-hat-web-design.co.uk/articles/php-awstats.php" target="_blank">LINKY</a><br />Here is the code from that link<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;?php<br />$username = 'username';<br />$password = 'password';<br />$url = 'domain.com';<br />$year = date&#40;'Y'&#41;; /* replace with 4 digit year */<br /> <br />$url = &#34;http&#58;//&#34;.$username.&#34;&#58;&#34;.$password.&#34;@&#34;.$url.&#34;&#58;2082/awstats.pl?month=01&year=&#34;.$year.&#34;&config=&#34;.$url.&#34;&lang=en&framename=mainright&output=main&#34;;<br /> <br />$buffer = file_get_contents&#40;$url&#41;;<br />$buffer = strip_tags&#40;$buffer,&#34;&#60;tr&#62;&#60;td&#62;&#34;&#41;;<br /> <br />$regex = &#34;{&#60;tr&#62;&#60;td&#62;&#91;0-9A-Za-z&#092;s&#93;*&#60;/td&#62;&#60;td&#62;&#40;&#91;0-9&#93;*&#41;&#60;/td&#62;&#60;td&#62;&#40;&#91;0-9&#93;*&#41;&#60;/td&#62;&#60;td&#62;&#40;&#91;0-9&#93;*&#41;&#60;/td&#62;&#60;td&#62;&#40;&#91;0-9&#93;*&#41;&#60;/td&#62;&#60;td&#62;&#40;&#91;0-9A-Z&#092;.&#092;s&#93;*&#41;&#60;/td&#62;&#60;/tr&#62;&#092;n}&#34;;<br />preg_match_all&#40;$regex,$buffer,$matches&#41;;<br />print_r&#40;$matches&#91;1&#93;&#41;;<br />?&#62;<!--c2--></div><!--ec2--><br />This works well, but prints out the results in one line like so...<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Array &#40; &#91;0&#93; =&#62; 0 &#91;1&#93; =&#62; 0 &#91;2&#93; =&#62; 0 &#91;3&#93; =&#62; 0 &#91;4&#93; =&#62; 0 &#91;5&#93; =&#62; 0 &#91;6&#93; =&#62; 3 &#91;7&#93; =&#62; 265 &#91;8&#93; =&#62; 198 &#91;9&#93; =&#62; 345 &#91;10&#93; =&#62; 201 &#91;11&#93; =&#62; 0 &#41;<!--c2--></div><!--ec2--><br />How would I go about printing each months results in a format more pleasing to the eyes?<br />At least show me how to print each result out by itself...that would be great.<br /><br />Thank you for your time.]]></description>
		<pubDate>Sat, 21 Nov 2009 18:44:36 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28673</guid>
	</item>
	<item>
		<title><![CDATA[Php Include & Variables]]></title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28672</link>
		<description><![CDATA[I've been trying to generate a php include, using data from my database, but am not getting the effect I was expecting.  The current result can be found at: <a href="http://www.equinefocus.co.uk/random/0345gdfg/trialcode.php" target="_blank">http://www.equinefocus.co.uk/random/0345gdfg/trialcode.php</a><br /><br />The code currently in use is:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&#60;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data = mysql_query &#40;&#34;SELECT * FROM ***** WHERE ref='001'&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&#40;$info = mysql_fetch_array&#40;$data&#41;&#41; {&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;// data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$url='/random/0345gdfg/filters/'.$info&#91;'url'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$addstats='/random/0345gdfg/filters/'.$info&#91;'urla'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />?&#62;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;table border=&#34;1&#34; cellpadding=&#34;5&#34; cellspacing=&#34;0&#34; width=&#34;50%&#34; align=&#34;center&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;tr&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;td width='60%' bgcolor='silver'&#62;&#60;a href=&#34;&#60;?php echo $url;?&#62;&#34;&#62;&#60;?php echo $info&#91;'filter'&#93;; ?&#62;&#60;/a&#62;&#60;/td&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;td width='40%'&#62;&#60;?php include&#40;$addstats&#41;;?&#62;&#60;/td&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/tr&#62;&#60;/table&#62;<br /><br />&#60;?php<br />}&nbsp;&nbsp;<br />?&#62;<!--c2--></div><!--ec2--><br /><br />I attach a pdf file showing a small section of my database: <a href="http://www.equinefocus.co.uk/random/0345gdfg/filters/20091121.pdf" target="_blank">http://www.equinefocus.co.uk/random/0345gd...rs/20091121.pdf</a>.  <br /><br />The PHP include file pulls in stats for each filter, code of which is below.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;?php include&#40;$_SERVER&#91;'DOCUMENT_ROOT'&#93;.'/random/0345gdfg/*****.php'&#41;;?&#62;<br /><br />&#60;table border=&#34;0&#34; cellpadding=&#34;2&#34; cellspacing=&#34;0&#34; width=&#34;100%&#34;&#62;&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;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;td width=&#34;25%&#34;&#62;&#60;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$query = &#34;SELECT SUM&#40;profit&#41; FROM *****&#34;; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result = mysql_query&#40;$query&#41; or die&#40;mysql_error&#40;&#41;&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Print out result<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&#40;$row = mysql_fetch_array&#40;$result&#41;&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo $row&#91;'SUM&#40;profit&#41;'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#34;&#60;br /&#62;&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;?&#62;&#60;/td&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;td width=&#34;25%&#34;&#62;&#60;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$query = &#34;SELECT COUNT&#40;horse&#41; FROM ***** WHERE pos ='1'&#34;; <br />&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result = mysql_query&#40;$query&#41; or die&#40;mysql_error&#40;&#41;&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;// Print out result<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&#40;$row = mysql_fetch_array&#40;$result&#41;&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo $row&#91;'COUNT&#40;horse&#41;'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo $row&#91;'type'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#34;&#60;br /&#62;&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?&#62;&#60;/td&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;td width=&#34;25%&#34;&#62;&#60;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$query = &#34;SELECT COUNT&#40;horse&#41; FROM *****&#34;; <br />&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result = mysql_query&#40;$query&#41; or die&#40;mysql_error&#40;&#41;&#41;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;// Print out result<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&#40;$row = mysql_fetch_array&#40;$result&#41;&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#34;Number of qualifers&#58;&#34;. $row&#91;'COUNT&#40;horse&#41;'&#93; .&#34; &#34;. $row&#91;'type'&#93; .&#34;&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#34;&#60;br /&#62;&#34;;<br />}<br />?&#62;&#60;/td&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/tr&#62;<br />&#60;/table&#62;<!--c2--></div><!--ec2-->  <br /><br />If there are better ideas on how I can generate this information in a more effective manner, please do let me know!]]></description>
		<pubDate>Sat, 21 Nov 2009 16:28:40 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28672</guid>
	</item>
	<item>
		<title>Problem Description, Split And Remake Url Link</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28671</link>
		<description><![CDATA[hey guys i am bit confused in this problem <br /><br />suppose i have this code<br /><br />&lt;ul&gt;<br />&lt;li&gt;&lt;a href="http://www.weatherbase.com/weather/weather.php3?s=57219&refer= "&gt;Johnston Island&lt;/a&gt;<br />&lt;li&gt;&lt;a href="http://www.weatherbase.com/weather/weather.php3?s=66019&refer= "&gt;Midway Island&lt;/a&gt;<br />&lt;/ul&gt;&lt;ul&gt;<br />&lt;li&gt;&lt;a href="http://www.weatherbase.com/weather/weather.php3?s=158319&refer= "&gt;Palmyra Atoll&lt;/a&gt;<br />&lt;li&gt;&lt;a href="http://www.weatherbase.com/weather/weather.php3?s=54219&refer= "&gt;Wake Island&lt;/a&gt;<br />&lt;/ul&gt;<br /><br />i scrape this text from the webpage to my localhost using Php simple html Dom.<br /><br />now i have to split all these links ,<br />such that when i click on Midway Island the page is redirected to www.mypage.com.<br /><br />i don't know about using regex ,so how do i split this code to extract url and change it to my url.<br />]]></description>
		<pubDate>Sat, 21 Nov 2009 07:46:27 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28671</guid>
	</item>
	<item>
		<title>Img Gallery</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28670</link>
		<description><![CDATA[hi <br />I have created a image gallery with a large panel at the top and various thumbs, when i mouseover a thumb it puts the img in the large area, whitch is what i want.<br /><br />my problem is if the thumb is down the page and out of veiw of the large area you are unable to see the img without manually scrolling up, is there a way of when i mouseover the page will automaticly scol to the top;<br /><br />anyone help please<br /><br />jnf555<br /><br />&lt;script type="text/javascript"&gt;<br />function showme(href){<br />document.getElementById("specimen").src=href;return false;<br />}<br />&lt;/script&gt;<br /><br /><br /><br />&lt;div   class="largepicture"&gt;<br />&lt;img src="galleryword3.png" alt="galleryword3" width="660" height="489"id="specimen"class="off"&gt;<br />&lt;/div&gt;<br /><br />&lt;div class="thumb1 "&gt;<br />&lt;a href="Toco Toucan.jpg" onclick="return showme(this.href)" onmouseover="return showme(this.href)"&gt;<br />&lt;img src="Toco Toucan.jpg" alt="picture1" width="140" height="120" /&gt;&lt;/a&gt;<br />&lt;br/&gt;autumn leaves<br />&lt;/div&gt;<br /><br />i have copied the script the main area and one of the thumbs]]></description>
		<pubDate>Sat, 21 Nov 2009 06:43:56 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28670</guid>
	</item>
	<item>
		<title>Page Specific Styles... Stylesheet Question</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28669</link>
		<description><![CDATA[Rather than spending any more hours in front of the screen, I thought I'd make contact with the world with my rather basic and embarassing query. If anyone out there has the time and patience to help, I'd really appreciate it.<br /><br />I recently downloaded a CSS template which I am trying to adapt for the purposes of our website. I created some basic HTML websites many, many years ago at the beginning of the decade, and I am feeling out of my depth already just as I'm getting back into it. After completing a few tutorials and reading some basic manuals, I realise I have a massive learning gap.<br /><br />My basic issues is summarised below<br /><br />page 1 and page 3 menu with boxed unnumbered bulletin points, fixed width of 190px<br />page 2 I want to change the dimensions of the boxed bulletin points on this page only to 690px<br /><br />Here is the current code on my Stylesheet<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->#menu1 a { border-top&#58; 1px solid rgb&#40;237, 237, 237&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;border-bottom&#58; 1px solid rgb&#40;181, 181, 181&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;padding&#58; 15px 0px;<br />&nbsp;&nbsp;&nbsp;&nbsp;display&#58; block;<br />&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; rgb&#40;217, 217, 217&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;text-align&#58; center;<br />&nbsp;&nbsp;&nbsp;&nbsp;text-decoration&#58; none;<br />&nbsp;&nbsp;&nbsp;&nbsp;text-transform&#58; uppercase;<br />&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; bold;<br />&nbsp;&nbsp;&nbsp;&nbsp;color&#58; rgb&#40;128, 128, 128&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 190px;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<!--c2--></div><!--ec2-->#<br /><br />Can someone help me with the specific class code to enter below on my Page 2? How can I arm this page with the class code so I can go back and add the page specific styles in the stylesheet?<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;div id=&#34;colOne&#34;&#62;<br />&#60;div id=&#34;menu1&#34;&#62;<br />&#60;ul&#62;<br />&nbsp;&nbsp;&#60;ul&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;li style=&#34;width&#58; 196px;&#34;<br /> id=&#34;menu-01&#34;&#62;&#60;a href=&#34;#&#34;&#62;INDIAN<br />HEAD<br />MASSAGE&#60;/a&#62;&#60;/li&#62;<br />&nbsp;&nbsp;&#60;/ul&#62;<br />&nbsp;&nbsp;&#60;li id=&#34;menu-02&#34;&#62;&#60;a<br /> href=&#34;#&#34;&#62;KANSA VATKI FOOT<br />MASSAGE&#60;/a&#62;&#60;/li&#62;<br />&nbsp;&nbsp;&#60;li id=&#34;menu-03&#34;&#62;&#60;a<br /> href=&#34;#&#34;&#62;FACIALS&#60;/a&#62;&#60;/li&#62;<br />&nbsp;&nbsp;&#60;li id=&#34;menu-04&#34;&#62;&#60;a<br /> href=&#34;#&#34;&#62;NATURAL FACELIFT<br />MASSAGE&#60;/a&#62;&#60;/li&#62;<br />&nbsp;&nbsp;&#60;li id=&#34;menu-05&#34;&#62;&#60;a<br /> href=&#34;#&#34;&#62;REIKI&#60;/a&#62;&#60;/li&#62;<br />&#60;/ul&#62;<!--c2--></div><!--ec2--><br /><br />If anyone can help me with this rather basic query, I'd really appreciate it.<br /><br />Best,<br /><br />Jez]]></description>
		<pubDate>Sat, 21 Nov 2009 05:58:51 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28669</guid>
	</item>
	<item>
		<title>Mysql Injection Protect For Passwords..</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28668</link>
		<description><![CDATA[Hi there, i have been thinking a bit. Atm ive just got a simple injection protection for my username and password field at the site. But there is a catch with it.<br />in the password field if you want lets say: ajfds" as password. Thats not possible because it sets the password with slashes. Is there any way to fix so users<br />still can use the characters in their passwords?<br /><br />All help is really appriciated!<br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 22:05:11 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28668</guid>
	</item>
	<item>
		<title>Goto Url By Selecting A Drop Down List Option</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28667</link>
		<description><![CDATA[Ok, this is an easy one all of you "pro's", but I don't know how to do it and need a little help. <br /><br />Here is what I want to do: create a drop down list with three options. Once the user selects one of the options, it takes him/her to a URL (I would like it to open up in a new window) e.g. a .pdf file on my web site. Here is what I have so far: <br /><br />                    &lt;td&gt;&lt;select name="select" style="width:111px; height:19px;"&gt;<br />                      &lt;option selected="selected"&gt;&lt;/option&gt;<br />                      &lt;option&gt;Company Brochure&lt;/option&gt;<br />                    &lt;/select&gt;&lt;/td&gt;<br /><br />I want the first option to display a blank field and the rest of the list of options below that. I know how to make the list of options, but I do not know how to make the hyperlink part work. <br /><br />Anyone have any ideas? <br /><br />Thanks much! <br /><br />Ace495<br /><br />PS. I assume I need to do this with javascript? If there is an easier way, I am open to that also. <br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 21:34:34 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28667</guid>
	</item>
	<item>
		<title>Form Only Submit When Button Clicked</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28666</link>
		<description><![CDATA[Ok someone suggested I make this in a new thread, so here it goes.<br /><br />When this form submit button is pressed and the you refresh the page, it will send the code again.<br /><br />I want to know if anyone can fix this code, since I know nothing about doing this part.<br /><br />Also when the form is submited, then it will refresh the money so I do not have to refresh it twice.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;?php<br />include &#40;'______'&#41;;<br />?&#62;<br /><br />&#60;html&#62;<br />&#60;p&#62;<br />&#60;form method='POST'&#62;<br />Number&#58; &#60;input size=&#34;3&#34; maxlength=&#34;4&#34; value=&#34;0&#34; name=&#34;train_s&#34;&#62;<br />&#60;input name=&#34;train&#34; type=&#34;submit&#34; value=&#34;Train&#34;&#62;<br />&#60;/form&#62;<br /><br />&#60;form method='POST'&#62;<br />Number&#58; &#60;input size=&#34;3&#34; maxlength=&#34;4&#34; value=&#34;0&#34; name=&#34;untrain_s&#34;&#62;<br />&#60;input name=&#34;untrain&#34; type=&#34;submit&#34; value=&#34;Untrain&#34;&#62;<br />&#60;/form&#62;<br />&#60;/html&#62;<br /><br /><br />&#60;?php<br /><br />//now for the PHP part<br />//first if train button is pressed<br />if &#40;$_POST&#91;'train'&#93;&#41; {<br /><br /><br />$train_s = strip_tags&#40;addslashes&#40;$_POST&#91;'train_s'&#93;&#41;&#41;; //number of soldiers trained<br /><br />//we check if it is numeric and positive<br />if &#40;!is_numeric&#40;$train_s&#41;&#41; { die&#40;&#34;Wrong input!&#34;&#41;; }<br />if &#40;$train_s &#60; 0&#41; { die&#40;&#34;Wrong input!&#34;&#41;; }<br /><br />//we check if we have enough money<br />$train_money = 100;<br /><br />if &#40;$username&#91;money&#93; &#60; $train_money&#41; { die&#40;&#34;Not enough money to train so many units!&#34;&#41;; }<br /><br />//if script got it to this point it was all ok so we can update<br />mysql_query&#40;&#34;UPDATE &#96;castle wars users&#96; SET money=money-'$train_money', units=units+'$train_s' WHERE id='$username&#91;id&#93;'&#34;&#41;;<br />}<br /><br />//we now make script which will run if we press Untrain button<br />if &#40;$_POST&#91;'untrain'&#93;&#41; {<br />$untrain_s = strip_tags&#40;addslashes&#40;$_POST&#91;'untrain_s'&#93;&#41;&#41;; //number of soldiers trained<br /><br />//we check if it is numeric and positive<br />if &#40;!is_numeric&#40;$untrain_s&#41;&#41; { die&#40;&#34;Wrong input!&#34;&#41;; }<br />if &#40;$untrain_s &#60; 0&#41; { die&#40;&#34;Wrong input!&#34;&#41;; }<br /><br />//we check if user has enough units to untrain<br />if &#40;$username&#91;'units'&#93; &#60; $untrain_s&#41; { die&#40;&#34;You cannot untrain so many units!&#34;&#41;; }<br /><br />//if script got it to this point it was all ok so we can update, but first calculate amount of gained money<br />$gain_money = $untrain_s * 50;<br /><br />//we update, so we add money gained because of untraining units, and change number of units<br />mysql_query&#40;&#34;UPDATE &#96;castle wars users&#96; SET money=money+'$gain_money', units=units-'$train_s' WHERE id='$username&#91;id&#93;'&#34;&#41;;<br />}<br /><br />?&#62;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Fri, 20 Nov 2009 18:47:33 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28666</guid>
	</item>
	<item>
		<title>Are These Php Scripts Correct?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28665</link>
		<description><![CDATA[I'm studying these series of articles: <a href="http://www.intranetjournal.com/articles/200407/ij_07_06_04a.html" target="_blank">http://www.intranetjournal.com/articles/20..._07_06_04a.html</a>. And I was asking myself, about the PHP code.. (those articles are dated 2004), if is there some deprecated codes. Can you please help me? Also, I don't know if is possible that something has changed in PHP over the years.. like in HTML (&lt;br /&gt; instead of &lt;br&gt;, &lt;strong&gt; instead of &lt;b&gt;, etc.).]]></description>
		<pubDate>Fri, 20 Nov 2009 17:59:36 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28665</guid>
	</item>
	<item>
		<title>Run Function Help</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28664</link>
		<description><![CDATA[Hi i have this script to show a modal box when a user clicks a link at the moment i have to add it MANUALLY using Onclick, but would like to run it whenever a user clicks anything, links, buttons etc. How could i edit the code to do this?<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script type=&#34;text/javascript&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//----------------------------------------------------------------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Modal<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//----------------------------------------------------------------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var objModal;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function JS_Utils_ShowModal &#40;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// hide selects if IE6<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bIsIE6 = /msie|MSIE 6/.test&#40;navigator.userAgent&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40; bIsIE6 &#41;<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;&nbsp;&nbsp;&nbsp;&nbsp;var arSelects = document.getElementsByTagName&#40;&#34;select&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for &#40; var n=0; n&#60;arSelects.length; n++ &#41; arSelects&#91;n&#93;.style.display = &#34;none&#34;;<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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// require modal item to be on the page<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objModal = document.getElementById&#40;&#34;divModal&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objModal.style.display = &#34;block&#34;;<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;return true;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function JS_Utils_HideModal &#40;&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if &#40; objModal &#41; objModal.style.display = &#34;none&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//----------------------------------------------------------------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//----------------------------------------------------------------------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/script&#62;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Fri, 20 Nov 2009 17:40:33 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28664</guid>
	</item>
	<item>
		<title>Ecommerce Site</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28663</link>
		<description><![CDATA[Hi there,<br /><br />I am nearing completion of the site I've been working on for a few months and I would really appreciate some feedback.  I have just done the test integration of WorldPay and would particularly like feedback centered around the checkout process.  I will list a test Maestro card to use (it's a British debit card) and an American Express one.  Any feedback is good: if you don't like the style, or it isn't clear what to do/what you can do, or if anything doesn't work or looks crazy.  Please tell me the browser name and version with any problems.<br /><br />Many thanks!<br /><br /><a href="http://sinaesthesia.co.uk" target="_blank">AromaClear</a><br /><br />Maestro card # 6759649826438453<br /><br />American Express # 370000200000000<br /><br />Obviously the domain doesn't tie in with the site name, but I have it earmarked and place-holdered ready for launch.  Note that the terms and conditions are, so far, borrowed (for reference) from cd-wow.co.uk and will be changed in due course.<br /><br />Ok, go!]]></description>
		<pubDate>Fri, 20 Nov 2009 17:00:08 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28663</guid>
	</item>
	<item>
		<title>Local Testing Fine But Not On Server</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28662</link>
		<description><![CDATA[I've encountered a strange problem I haven't seen before.<br />I whipped up a very quick registration/login page that is made up of 2 divs next to each other.<br />These work fine in Firefox and Opera but lo and behold not in IE.<br />Funny thing is if I test this page in IE locally, everything looks fine.<br />However once I upload the files onto the server and look at it normally, there are a number of<br />strange problems like it does not space out the list properly, the clearing div doesn't seem to<br />work etc.<br /><br />I found that strange because it is fine locally but not online. <br />Can anyone explain this? It probably even isn't a CSS problem to be fair but I'm not entirely<br />sure what's happening here, thanks in advance!<br /><br /><a href="http://cpulse.dmu.ac.uk/login.html" target="_blank">http://cpulse.dmu.ac.uk/login.html</a><br /><br />demo.css<br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><br />body,p,td,quote,<br />small,form,input,ul,li,ol,label{	/* resetting our page elements */<br />	font-family: Verdana, Arial, Helvetica, sans-serif;<br />	margin: 0 auto;<br />	padding:0px;<br />}<br /><br />body{	/* styling the body */<br />	width:969px;<br />	color: #FFF;<br />	font-size:13px;<br />	background-color: #333;<br />	margin:0 auto;<br />	padding:0px;<br /><br />}<br /><br />/* Link styling */<br />a:link {<br />	color: #993300;<br />	text-decoration: none;<br />}<br />a:visited {<br />	color: #993300;<br />	text-decoration: none;<br />}<br />a:hover {<br />	color: #CCCCCC;<br />	text-decoration: none;<br />}<br />a:active {<br />	color: #993300;<br />	text-decoration: none;<br />}<br /><br />.clear{	/* the clearfix hack */<br />	clear:both;<br />}<br /><br />#rounded{	/* the outermost div element */<br />	width:969px;<br />	margin:0px auto;	/*center it on the page*/<br />	background-color:#000;<br />	top:1px;<br />}<br />.container1{	/* navigation, titles*/<br />	width:969px;<br />	background-color: #000000;<br />	margin:0px auto;	/*center it on the page*/<br />	z-index: 1;<br />	margin:0;<br />	padding-top: 20px;<br />	clear:both;<br />}<br />.container2{	/* navigation, titles*/<br />	width:969px;<br />	background-color: #000000;<br />	margin:0px auto;	/*center it on the page*/<br />	z-index: 1;<br />	margin:0;<br />	clear:both;<br />	padding-top: 130px;<br />	height:100%;<br />}<br /><br />.headercont{<br />	margin:0px auto;	/*center it on the page*/<br />	width:969px;<br />	z-index: 1;<br />}<br /><br /><br />.featheader{ /* for trying to fix the issues with flash overlapping the wrong parts with respect to z-index */<br />    z-index: 0;<br />	background-color:#000;<br />	width:969px;<br />}<br /><br />.contalign<br />{<br />text-align:left;<br />margin: 0 auto; padding-top:10px; padding-bottom: 10px;<br />}<br /><br /><br />#pageContent{	/* the container that holds AJAX loaded content */<br />/*anything to style the inside content bits like border*/<br />border:none;<br />margin:0 auto;<br />}<br /><br />#loading{	/* hiding the rotating gif graphic by default */<br />	visibility:hidden;<br />}<br /><br /> /* position:fixed */<br /> .outer { position:fixed; text-align:center; top:0; background-color:#000;}<br /> <br /> /* certering */<br /> .middle { display:table; margin:0 auto; background-color:#000;}<br /> .inner {<br />	 text-align:left;<br />	background-color:#000;<br />	width:969px;<br />	}<br />	<br /><br />/* Music Page column layouts */<br />#midcol {<br />		background: #000;<br />		width: auto;<br />		text-align: center;<br />		float:left;<br />		padding-top: 6px;<br />}<br /><br />#leftcol	{<br />		background: #000;<br />		width: auto;<br />		margin: 0; padding: 6px;			<br />		float:left;<br />}<br /><br />#rightcol {<br />		background: #000;<br />		width: auto;<br />		margin: 0; padding: 6px;<br />		float: left;<br />}<br /><br />/* menu list styling */<br />#menu ul<br />{<br />list-style: none;<br />padding: 0;<br />margin: 0;<br />} <br /><br />#menu li<br />{<br />float: left;<br />margin: 0 1em;<br />text-align:left;<br />}<br /><br />.clear {<br />	height:1px;<br />	margin:0 0 -1px 0;<br />	clear:both;<br />	overflow:hidden;<br />}<br /><br /><br />/*footer styling*/<br /><br />h4 {color:#000}<br /><br />.footdiv {width:969px; text-align:center; background-color:#cccccc;}<br />.footwrap {text-align:left;}<br />.footlist<br />{background-color:#cccccc; width:16%; float:left; position:relative; padding:10px;}<br />.footlist1<br />{background-color:#cccccc; width:12%; float:left; position:relative; padding:10px;}<br />.footlist2<br />{background-color:#cccccc;width:62%; float:left; text-align:center; position:relative; padding:10px;}<br />.footul<br />{list-style-type:none; margin-left: 0.5em;}<br /><br />/* Form Styling */<br />.myform {<br />	margin-top: 1em;<br />	margin-bottom: 0.3em;<br />	padding-left:3em;<br />	padding-bottom:40px;}<br />.subtext {font-size: 0.8em;}<br />.definetxt {font-weight:bold;<br />	text-indent: 10px;}<br />.button {background: #333333; padding: 20px; margin-left: 100px; text-align:center; border:medium #000000; width:30%; font-weight:bold;}<br />.button2 {background: #333333; padding:20px; margin-left: 100px;  text-align:center; border:medium #000000; font-weight:bold;}<br /><br />/*upload styling */<br /><br />.fileslist {<br />	padding-top: 5px 0 3px 0;<br />	text-indent: 0px;<br />	<br />}<br />.indent1 {text-indent: 20px;}<br /><br />.termbox {background-color:#333333; padding: 10px;}<br /><br />.editbox {background-color:#000000; width:25%; float:left; padding: 20px; border:thick #993300 double;<br />}<br /><br />.editbox2 {background-color:#000000; float:left; padding: 20px; border:thick #993300 double;<br />}<br /><br />	/*lightbox effects*/<br />	#filter<br />	{<br />		display: none;<br />		position: absolute;<br />		top: 0%;<br />		left: 0%;<br />		width: 100%;<br />		height: 100%;<br />		background-color: #333;<br />		z-index:10;<br />		opacity:0.5;<br />		filter: alpha(opacity=50);<br />	}<br />	<br />	<br />	#box <br />	{<br />		display: none;<br />		position: absolute;<br />		top: 30%;<br />		left: 30%;<br />		margin:0;<br />		z-index:101;<br />		overflow: none;<br />		text-align:center;<br />	}<br />	<br />	#boxtitle<br />	{<br />		position:absolute;<br />		float:center;<br />		top:0;<br />		left:0;<br />		padding:0;<br />		margin:0;<br />		color:white;<br />		text-align:center;<br />		font-weight:bold;<br />	}<br />	<br />	<br />/* login register page*/<br /><br />#regcol	{<br />		background: #000;<br />		width: 50%;<br />		margin: 0; padding: 0;			<br />		float:left;<br />}<br /><br />#logcol {<br />		background: #000;<br />		width: 50%;<br />		margin: 0; padding: 0;<br />		float: right;<br />}<br /><br />.formcol { padding: 10px;<br />}<br /><br />.formsty {<br />	list-style-type: none;<br />	<br />}<br /></div>]]></description>
		<pubDate>Fri, 20 Nov 2009 11:53:45 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28662</guid>
	</item>
	<item>
		<title>Safe Mode</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28661</link>
		<description><![CDATA[Pff , i just changed host because of "mass emailing" (was actually a debug script that sended me the bugs by mail , and it was looped , so ..)<br />Everything went well , the database adjustements and stuff,<br />except for this ^^<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->The following error occured on /upload.php . 2 move_uploaded_file&#40;&#41; &#58; SAFE MODE Restriction in effect.<!--c2--></div><!--ec2--><br /><br />I assume this is server related ? <img src="http://w3schools.invisionzone.com/style_emoticons/default/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /><br /><br />regards]]></description>
		<pubDate>Fri, 20 Nov 2009 11:44:20 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28661</guid>
	</item>
	<item>
		<title><![CDATA[Auth Ticket Timeout & Session Timeout]]></title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28660</link>
		<description><![CDATA[Suppose I have an authentication ticket with <b>timeout="30"</b> & <b>slidingExpiration="true"</b> and I also have <b>&lt;sessionState timeout="30" /&gt;</b> under web.config.<br /><br />Now, correct me if I am wrong but both of them should expire at the same time if a user becomes idle after logging in, correct? So what happens when a user is logged and he/she is not idle? How and when does sliding expiration kicks in?<br /><br />Thanks in advance.]]></description>
		<pubDate>Fri, 20 Nov 2009 11:02:18 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28660</guid>
	</item>
	<item>
		<title>If Element Exists (cross Browser)</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28658</link>
		<description><![CDATA[I am looking for a sure fire way to see if an element exists on a page. I have searched this topic and there seems to be a lot of ways to do it but I want to know what is the best and most accurate way of detecting an element. I use the following but Im not sure if it's best practice:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if&#40;document.getElementById&#40;&#34;elem&#34;&#41;&#41;{<br />alert&#40;&#34;exists&#34;&#41;<br />}else{<br />alert&#40;&#34;does not exist&#34;&#41;<br />}<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Fri, 20 Nov 2009 10:17:52 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28658</guid>
	</item>
	<item>
		<title>How Does A Drop Down Works</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28657</link>
		<description><![CDATA[please i need to know how to write a script that will change the content of Department on selection of Faculty.What i mean is maybe on selection of Sciences from Faculty, the content of Department will change to Science Departments.<br /><br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;form&gt;<br />Department:<br />&lt;select&gt;<br />&lt;option&gt;Mechanical&lt;/option&gt;<br />&lt;option&gt;Chemical&lt;/option&gt;<br />&lt;option&gt;Civil&lt;/option&gt;&lt;/select&gt;&lt;br&gt;<br />Faculty:<br />&lt;select&gt;<br />&lt;option&gt;Engineering&lt;/option&gt;<br />&lt;option&gt;Sciences&lt;/option&gt;<br />&lt;option&gt;Law&lt;/option&gt;&lt;/select&gt;<br />&lt;/form&gt;</div>]]></description>
		<pubDate>Fri, 20 Nov 2009 10:16:21 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28657</guid>
	</item>
	<item>
		<title>How Does A Drop Down Works</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28656</link>
		<description><![CDATA[please i need to know how to write a script that will change the content of Department on selection of Faculty.What i mean is maybe on selection of Sciences from Faculty, the content of Department will change to Science Departments.<br /><br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;form&gt;<br />Department:<br />&lt;select&gt;<br />&lt;option&gt;Mechanical&lt;/option&gt;<br />&lt;option&gt;Chemical&lt;/option&gt;<br />&lt;option&gt;Civil&lt;/option&gt;&lt;/select&gt;&lt;br&gt;<br />Faculty:<br />&lt;select&gt;<br />&lt;option&gt;Engineering&lt;/option&gt;<br />&lt;option&gt;Sciences&lt;/option&gt;<br />&lt;option&gt;Law&lt;/option&gt;&lt;/select&gt;<br />&lt;/form&gt;</div>]]></description>
		<pubDate>Fri, 20 Nov 2009 10:14:37 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28656</guid>
	</item>
	<item>
		<title>I Need A Script On How To Display Picture</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28655</link>
		<description><![CDATA[Please friends please help me on how to display a picture that is in the data base on a browser, so that the user can see his uploded picture, and if possible print. <br />thanks]]></description>
		<pubDate>Fri, 20 Nov 2009 10:04:48 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28655</guid>
	</item>
	<item>
		<title>Mysql Rand Function</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28654</link>
		<description><![CDATA[Hello Friends,<br />                     In the MySQL we have RAND() function. Suppose i have 100 data in one table using this query also<br /><br />select * from test ORDER BY rand()*123456789 ASC LIMIT 4<br /><br />                     at some point i'm getting REPEATED data. So how can i get UNIQUE data without any repetation.]]></description>
		<pubDate>Fri, 20 Nov 2009 08:47:33 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28654</guid>
	</item>
	<item>
		<title>How To Make Graphics</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28653</link>
		<description><![CDATA[I'm a web developer looking for a good way to learn how to make web graphics. I have photoshop cs4 and I know some of the basics, but Im tired of my websites looking bad and only having functionality. Does anyone have any recommendations for books, sites, etc that can improve my photoshop and graphic design skills for the web? Anything is appreciated!  <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />]]></description>
		<pubDate>Fri, 20 Nov 2009 05:05:58 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28653</guid>
	</item>
	<item>
		<title>Extract Table Data From A Website</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28652</link>
		<description><![CDATA[Hey guys i got stuck at one place .<br />I am using simple_html_dom (sourceforge)<br />for extracting contents of the page from a website<br />but i got stuck when i tried to extract data from the table<br /><br /><a href="http://www.weatherbase.com/weather/weather.php3?s=606200&refer=" target="_blank">http://www.weatherbase.com/weather/weather...6200&refer=</a><br /><br /><br />this is the link of that website.<br />i want that data ,<br /><br />my code was<br />&lt;?php<br />  $original_file = file_get_contents("http://www.weatherbase.com/weather/weather.php3?s=606200&refer=");<br /> // $stripped_file = strip_tags($original_file);<br /><br /><br /><br />//  preg_match_all("/&lt;a(?:[^&gt;]*)href=&#092;"([^&#092;"]*)&#092;"(?:[^&gt;]*)&gt;(?:[^&lt;]*)&lt;&#092;/a&gt;/is", $stripped_file, $matches);<br />//preg_match_all('/&lt;td class="[^"]+"&gt;([^&lt;]*)&lt;&#092;/td&gt;/', $stripped_file, $matches);<br />//preg_match_all('/&lt;td&gt;(.*)a&lt;/td&gt;/', $stripped_file, $matches);<br />  //DEBUGGING<br /><br />  //$matches[0] now contains the complete A tags; ex: &lt;a href="link"&gt;text&lt;/a&gt;<br />  //$matches[1] now contains only the HREFs in the A tags; ex: link<br /><br />  //header("Content-type: text/plain"); //Set the content type to plain text so the print below is easy to read!<br />  //print_r($matches); //View the array to see if it worked<br />if(preg_match("#&lt;table ([^&gt;]*)&gt;(.*?)&lt;/table&gt;#is", $original_file, $matches))<br />{<br />    #echo '&lt;pre&gt;' . htmlentities(print_r($matches, true)) . '&lt;/pre&gt;';<br /><br />    // get our table attributes<br />    $attr = explode(" ", $matches[1]);<br /><br />    // echo out our attributes<br />    echo '&lt;pre&gt;' . htmlentities(print_r($attr, true)) . '&lt;/pre&gt;';<br />}<br /><br />?&gt;<br /><br />i tried all combinations(in comments)<br />but i don't know where i am wrong,,please help<br />]]></description>
		<pubDate>Fri, 20 Nov 2009 02:19:24 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28652</guid>
	</item>
	<item>
		<title>A Better Web</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28651</link>
		<description><![CDATA[<a href="http://www.spreadfirefox.com/affiliates#getbuttons" target="_blank">http://www.spreadfirefox.com/affiliates#getbuttons</a><br /><br />Is there something similar to this that is unbiased? A button that will check what browser you're using and if it's out of date recommend that you update?<br /><br />I just want to be able to subtly tell people on my websites to upgrade their browser.]]></description>
		<pubDate>Thu, 19 Nov 2009 23:29:43 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28651</guid>
	</item>
	<item>
		<title>Easy One - Drop-down Menu And Html Frame</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28650</link>
		<description><![CDATA[Awright, total newbie here with what I think is an easy one. <br /><br /><br />I have a drop menu that expans with sub-menus. I also have a frame border. I want the drop menu/sub-menus to expand across the fram border. My current HTML/code does not allow this. When the drop-menu expands, it is hidden behind the frame border. I want it to expand through or on top of the frame border so I can see it.<br /><br />Any quick advice/hints?<br /><br />And I do realize that I am not providing the full description of my code, etc. but there is a long story there and I can probably get more info as it is requested. Much thanks in advance for any help.]]></description>
		<pubDate>Thu, 19 Nov 2009 19:16:15 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28650</guid>
	</item>
	<item>
		<title>Display Incorrect</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28649</link>
		<description><![CDATA[Hello,<br />there is display problem.<br />When I first time load the code, the display for each of field at first row  are all 1, the second row are all 2.<br />If I click refresh button, then display the correct information.<br />Where is the problem of the code?<br /><br />thank you,<br /><br />code:<br />&lt;html&gt;<br />    &lt;head&gt;<br />        &lt;link rel="stylesheet" type="text/css" href="example.css"/&gt;<br />        &lt;script type="text/javascript" src="sortable.js"&gt;&lt;/script&gt;<br />        &lt;title&gt;Browse all records from P2&lt;/title&gt;<br />    &lt;/head&gt;<br />    &lt;body&gt;<br /><br />&lt;?php<br />$hostname='localhost';<br />$user='root';<br />$pass='Openit4me';<br />$dbase='mytest';<br /><br />$connection = mysql_connect("$hostname" , "$user" , "$pass") or die ("Can't connect to MySQL");<br />$db = mysql_select_db($dbase , $connection) or die ("Can't select database.");<br /><br />/// Variables<br />//$WHERE = "WHERE county = 'Cornwall' AND accom = 'Hotel' "; /// Your sql statement<br />$max_results = 2; /// Number of results per page<br /><br />if(!isset($_GET['pg'])){ $pg = 1; } else { $pg = $_GET['pg']; } <br />$from = (($pg * $max_results) - $max_results); <br /><br />/// Count total<br />$totals = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM mytest.p2 "),0); <br />$total_pgs = ceil($totals / $max_results);<br /><br />/// Page limiter & result builder<br />$sql = "SELECT * FROM mytest.p2 LIMIT $from, $max_results";<br />$result1 = mysql_query($sql); $num_sql = mysql_num_rows ($result1);<br />$result_disp = mysql_query( "SELECT * FROM mytest.p2 LIMIT $from, $max_results" ) or die("SELECT Error: ".mysql_error());<br /><br /><br /><br />echo "Results: $totals &lt;br&gt;";<br />echo "Viewing page $pg of $total_pgs&lt;br&gt;";<br /><br />// Build paginator <br />if($pg &gt; 1){ $prev = ($pg - 1); // Previous Link <br />//$paginator ="&lt;a href="".$_SERVER['PHP_SELF']."?pg=$prev"&gt;"Previous page&lt;/a&gt;""; }<br />$paginator ="&lt;a href=&#092;"{$_SERVER['PHP_SELF']}?pg=$prev&#092;"&gt;Previous page&lt;/a&gt;";}<br /><br /><br />for($i = 1; $i &lt;= $total_pgs; $i++){ /// Numbers<br />if(($pg) == $i) { $paginator .= "&lt;i&gt;$i&lt;/i&gt; "; } else { <br />//$paginator .="&lt;a href="".$_SERVER['PHP_SELF']."?pg=$i"&gt;$i&lt;/a&gt; "; }}<br /><br />$paginator .="&lt;a href=&#092;"{$_SERVER['PHP_SELF']}?pg=$i&#092;"&gt;$i&lt;/a&gt; "; }}<br /><br /><br /><br />if($pg &lt; $total_pgs){ $next = ($pg + 1); // Next Link <br />//$paginator .="&lt;a href="".$_SERVER['PHP_SELF']."?pg=$next"&gt;"Next page."&lt;/a&gt;"; }<br />$paginator .="&lt;a href=&#092;"{$_SERVER['PHP_SELF']}?pg=$next&#092;"&gt;Next page.&lt;/a&gt;"; }<br /><br /><br />echo "$paginator&lt;br&gt;&lt;br&gt;";<br /><br /><br /><br />        echo " &lt;table class='sortable' id='sortabletable' align=center height=50 &gt;<br />&lt;tr&gt;<br />&lt;th width=100&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;Patient ID&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=100&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=100&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;Education&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=248&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;Address&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=100&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;Family number&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=100&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;Test order&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;/tr&gt;";<br /><br />/// Display results<br />if ($num_sql &gt; 0 ) {$i=0;<br />while ($i &lt; $num_sql) {<br />    $row= mysql_fetch_array($result_disp);<br /><br />            echo "&lt;tr&gt;";<br />            echo "&lt;td&gt;&lt;font face=arial size=2/&gt;". $row[ 'P_ID' ] ."&lt;/font&gt;&lt;/td&gt;";<br />            echo "&lt;td&gt;&lt;font face=arial size=2/&gt;". $row[ 'v1' ] ."&lt;/font&gt;&lt;/td&gt;";<br />            echo "&lt;td&gt;&lt;font face=arial size=2/&gt;". $row[ 'V2' ] ."&lt;/font&gt;&lt;/td&gt;";<br />            echo "&lt;td&gt;&lt;font face=arial size=2/&gt;". $row[ 'V3' ] ."&lt;/font&gt;&lt;/td&gt;";<br />            echo "&lt;td&gt;&lt;font face=arial size=2/&gt;". $row[ 'V4' ] ."&lt;/font&gt;&lt;/td&gt;";<br />            echo "&lt;td&gt;&lt;font face=arial size=2/&gt;". $row[ 'V5' ] ."&lt;/font&gt;&lt;/td&gt;";<br />            echo "&lt;/tr&gt;";<br />++$i;}<br />   echo "&lt;/table&gt;";<br />}<br /><br /><br /><br />echo "&lt;br&gt;$paginator";<br />?&gt;<br />        &lt;p&gt;&nbsp;&lt;/p&gt;&lt;p&gt;&nbsp;&lt;/p&gt;&lt;p&gt;&nbsp;&lt;/p&gt;<br />        &lt;! go back to main page&gt;<br />        &lt;form action="./index.html"&gt;<br />            &lt;p&gt;&lt;input type="submit" value="Back to Home Page" name="Back to Home Page" /n&gt; &lt;/p&gt;<br />        &lt;/form&gt;<br />    &lt;/body&gt;<br />&lt;/html&gt;]]></description>
		<pubDate>Thu, 19 Nov 2009 18:25:48 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28649</guid>
	</item>
	<item>
		<title>Soap Configurations And Wordpress Plugin</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28648</link>
		<description><![CDATA[I installed a wordpress plugin called Exec-PHP, which allows me to write my own php in the WP interface. However, I am using a SOAP web service and it works fine locally in a regular php file, but when i try it in the plugin, it returns this errror:<br /><br /><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->Fatal error: Class 'SoapClient' not found in /usr/local/apache/htdocs/wordpress/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code on line 6<br /><!--colorc--></span><!--/colorc--><br />How do I enable the Soap Client? I did phpinfo(); and SOAP doesnt even show up. Any advice?<br /><br />]]></description>
		<pubDate>Thu, 19 Nov 2009 18:16:37 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28648</guid>
	</item>
	<item>
		<title>Where Is The Error?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28647</link>
		<description><![CDATA[hello,<br /><br />I got error message, say "Parse error: syntax error, unexpected '"' in C:&#092;wamp&#092;www&#092;MyTest2&#092;p1_browse v2.php on line 30<br />"<br /><br />the code is:<br />29. if($pg &gt; 1){ $prev = ($pg - 1); // Previous Link <br />30. $paginator ="&lt;a href="".$_SERVER["PHP_SELF"]."?pg=$prev"&gt;"Previous page&lt;/a&gt;""; } <br /><br />Anyone can tell me where is the problem for the part of PHP code?<br /><br />Thank you,]]></description>
		<pubDate>Thu, 19 Nov 2009 14:22:54 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28647</guid>
	</item>
	<item>
		<title>Javascript In Ie7</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28646</link>
		<description><![CDATA[HI;  I am using MS XP-home and IE7.  When I play "try It Yourself" examples with embedded Java Script everything goes as expected.  When I play the same code from a file on my computer I get and information bar that warns me against allowing scripts or Active-X sites, but then gives me the option to enable them.  Enabling them takes clicking three times.  Thats a big nuisance to do each time I edit such a file.  I'm also using "Context" as my code editor.  Can anyone suggest a fix?  I have enabled scripting in my IE7 security settings with no change.]]></description>
		<pubDate>Thu, 19 Nov 2009 11:43:10 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28646</guid>
	</item>
	<item>
		<title>Regular Expression</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28645</link>
		<description><![CDATA[I'm looking for a javascript regular expression with the condition<br />Minimum 7 Characters<br />Atleast 1 Number<br />Atleast 1 Alphanumeric of<br /><br />means when i enter "abcd111111#$@#$' then it should be valid.]]></description>
		<pubDate>Thu, 19 Nov 2009 05:58:34 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28645</guid>
	</item>
	<item>
		<title>Number Of Checkbox Checked?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28644</link>
		<description><![CDATA[i want to get the number of checkboxes being checked during the form fill <br />e.g if i checked three out of 5 chk boxes the output shd be u have selected three option]]></description>
		<pubDate>Thu, 19 Nov 2009 05:00:10 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28644</guid>
	</item>
	<item>
		<title>Zoom And Center A Marker In Google Maps Api Using Php</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28643</link>
		<description><![CDATA[i am developing a application in php using the google api application.<br />the problem is that i needed to center and zoom the selected marker but i didnt find any solution for that<br />it will be nice if anybody to help me]]></description>
		<pubDate>Thu, 19 Nov 2009 02:18:32 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28643</guid>
	</item>
	<item>
		<title>Something Is Really Wrong</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28642</link>
		<description><![CDATA[Okay so I made this small code for a calendar showing which date you are on and what dates have past and coming up but something has gone really wrong.. Then I'm showing a past month and selected a date I get all dates selected form that point and forward.<br /><br />Here is the script:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;head&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;title&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blog<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/title&#62;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;link rel=&#34;stylesheet&#34; href=&#34;blog.css&#34; type=&#34;text/css&#34;&#62;<br /><br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;div id=&#34;calender&#34;&#62;<br />&#60;?php<br /><br />if&#40;isset&#40;$_GET&#91;'y'&#93;&#41; and $_GET&#91;'y'&#93; != &#34;&#34;&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;$year = $_GET&#91;'y'&#93;;<br />}else{<br />&nbsp;&nbsp;&nbsp;&nbsp;$year = date&#40;&#34;Y&#34;&#41;;<br />}<br /><br />if&#40;isset&#40;$_GET&#91;'m'&#93;&#41; and $_GET&#91;'m'&#93; != &#34;&#34;&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;$month = $_GET&#91;'m'&#93;;<br />}else{<br />&nbsp;&nbsp;&nbsp;&nbsp;$month = date&#40;&#34;m&#34;&#41;;<br />}<br /><br />if&#40;isset&#40;$_GET&#91;'d'&#93;&#41; and $_GET&#91;'d'&#93; != &#34;&#34;&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;$selected = $_GET&#91;'d'&#93;;<br />}else{<br />&nbsp;&nbsp;&nbsp;&nbsp;$selected = date&#40;&#34;d&#34;&#41;;<br />}<br /><br />$day = date&#40;&#34;d&#34;&#41;;<br />$day--;<br /><br />$numberofdays = cal_days_in_month&#40;CAL_GREGORIAN, $month, $year&#41;;<br /><br />$countingdays = 0;<br />while&#40;$numberofdays != $countingdays&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if&#40;$countingdays == $day and date&#40;&#34;Ym&#34;&#41; == $year.$month&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$class = &#34;today&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}else if&#40;$countingdays &#60; $day and date&#40;&#34;Ym&#34;&#41; &#62;= $year.$month&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$class = &#34;pastdays&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}else if&#40;date&#40;&#34;Ym&#34;&#41; &#60;= $year.$month&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$class = &#34;comingdays&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;$countingdays++;<br />&nbsp;&nbsp;&nbsp;&nbsp;if&#40;$countingdays == $selected&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$class = $class.&#34; selected&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;echo &#34;&#60;a class=&#092;&#34;&#34;.$class.&#34;&#092;&#34; href=&#092;&#34;?y=&#34;.$year.&#34;&m=&#34;.$month.&#34;&d=&#34;.$countingdays.&#34;&#092;&#34; /&#62;&#34;.$countingdays.&#34;&#60;/a&#62;&#34;;<br />}<br />?&#62;<br />&#60;/div&#62;<br />&#60;/body&#62;<!--c2--></div><!--ec2--><br /><br />This line seems to be executed even if the statment isn't true.<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if&#40;$countingdays == $selected&#41;{<br />&nbsp;&nbsp;&nbsp;&nbsp;$class = $class.&#34; selected&#34;;<br />}<!--c2--></div><!--ec2--><br /><br />Really odd is what if I select 8th of the month it works but not 20th<br /><br />I think is some bug couse it works and it don't at the same time.<br /><br />I have no clue what to do.]]></description>
		<pubDate>Wed, 18 Nov 2009 23:44:16 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28642</guid>
	</item>
	<item>
		<title>Parsing Xml</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28641</link>
		<description><![CDATA[If this is my XML, how do I get the value of "id" in the article tag?<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;news&#62;<br />&#8722;<br />&#60;article id=&#34;2&#34;&#62;<br />&#60;title&#62;Project Launch&#60;/title&#62;<br />&#60;author id=&#34;1&#34;&#62;Scott&#60;/author&#62;<br />&#8722;<br />&#60;preview&#62;<br />Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure ...<br />&#60;/preview&#62;<br />&#8722;<br />&#60;body&#62;<br />Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br />&#60;/body&#62;<br />&#60;date&#62;2009-11-18&#60;/date&#62;<br />&#60;/article&#62;<br />&#8722;<br />&#60;article id=&#34;1&#34;&#62;<br />&#60;title&#62;Site Under Construction&#60;/title&#62;<br />&#60;author id=&#34;1&#34;&#62;Scott&#60;/author&#62;<br />&#8722;<br />&#60;preview&#62;<br />Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure ...<br />&#60;/preview&#62;<br />&#8722;<br />&#60;body&#62;<br />Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br />&#60;/body&#62;<br />&#60;date&#62;2009-11-18&#60;/date&#62;<br />&#60;/article&#62;<br />&#60;/news&#62;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Wed, 18 Nov 2009 23:26:05 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28641</guid>
	</item>
	<item>
		<title>Hyperlink Underlining</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28640</link>
		<description><![CDATA[I have created a 3X17 table with hyperlinks in each cell. My goal is to turn off the underlining.  I am using Wild Apricot to host my site and don't have access to the &lt;Head Tag&gt;.  So, In the table tag I put &lt;table style="text-decoration: none"; ... &gt;  This does not work.  Is there another way to do this.  Turn off the underlining in hyperlinks in a table?<br /><br />Evan]]></description>
		<pubDate>Wed, 18 Nov 2009 21:32:37 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28640</guid>
	</item>
	<item>
		<title>Convert .emf To .pdf</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28639</link>
		<description><![CDATA[I'm working for a client who has produced image files with the ".emf" file extension (Enhanced Metafile Format).<br /><br />I need to convert these files to PDF to be part of the client's websit.<br /><br />Does anyone know of a good program (especially a free one) to do the conversion from .emf to .pdf?]]></description>
		<pubDate>Wed, 18 Nov 2009 21:19:06 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28639</guid>
	</item>
	<item>
		<title>Trouble With Joins</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28638</link>
		<description><![CDATA[Hello.<br /><br />For a website I'm making, in order to register, you must know someone that is already registered. Checking to make sure that the "referrer" they entered into the registration field is actually a user is easy enough:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->SELECT firstName, lastName FROM users WHERE firstName = '$refFirstName' && lastName = '$refLastName';<!--c2--></div><!--ec2--><br /><br />Where <i>$refFirstName</i> and <i>$refLastName</i> are the referrer's first and last names, respectively.<br /><br /><a href="http://i48.tinypic.com/5arekl.jpg" target="_blank">Here is the layout of the database</a>.<br /><br />Because it is a "private" site (i.e. a limited user base), I was going to make a page that displays all the users and the person that referred them. Simply put, I have no idea how to do it. In the <i>referrers</i> table, <i>refID</i> is always equal to <i>userID</i>. I cannot figure out a way to get the <u>NAME</u> of a user's referrer out of the database in the same SELECT query as everything else. Would I use a LEFT JOIN or INNER JOIN, or something else? Also, is there anyway to combine the <i>referrer</i> table into the <i>user</i> one? <br /><br />Thanks!]]></description>
		<pubDate>Wed, 18 Nov 2009 20:18:59 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28638</guid>
	</item>
	<item>
		<title>W3c Validator Shows Well Formedness Error, Amaya Does Not</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28637</link>
		<description><![CDATA[Hi,<br /><br />I think there may be a but in the implementation somewhere.<br /><br />Just thought I'd report it so it can be looked into.<br /><br />Thanks]]></description>
		<pubDate>Wed, 18 Nov 2009 20:14:51 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28637</guid>
	</item>
	<item>
		<title>Creating A Text Based Game</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28636</link>
		<description><![CDATA[I've noticed a lot of pre made scripts are .php files, so when I try to open them, it's just a huge thing of code, note I'm still on the basics of HTML and I'll build up to PHP, but I was just wondering.. What exactly do you do with this? For example: It was a script for "attacking a player" how would I actually use that?<br /><br />However of course, this post is mainly because I would like to know the steps to creating a web based multi player online text based game similar to Outwar and Torn City. I understand HTML and PHP are very important languages to help, but what else would I need?]]></description>
		<pubDate>Wed, 18 Nov 2009 19:39:41 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28636</guid>
	</item>
	<item>
		<title>Word Spacing</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28635</link>
		<description><![CDATA[I really don't know how to ask this so I'll do my best. I need to add some space between 2 links. Only not every word.<br />For example using:<br /><br />#menu<br />{<br />word-spacing:30px;<br />}<br /><br />results in<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Click&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;here&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;here<!--c2--></div><!--ec2--><br /><br />What I need to do is put space between the links not each word.<br />So it looks like this:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Click here&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Not here<!--c2--></div><!--ec2--><br /><br />I know its got to be something that I just am over looking. Any thanks for the help.<br />]]></description>
		<pubDate>Wed, 18 Nov 2009 19:19:30 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28635</guid>
	</item>
	<item>
		<title>Reordering Nodes In Xml File With Php</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28634</link>
		<description><![CDATA[Hi all, I have an xml file and need to insert a whole bunch of nodes into it as children of a particular node. Here is the file I start with:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;Header Organisation_Name=&#34;XXXXXXX&#34; Run_Date=&#34;20090127&#34; Run_UserId=&#34;PJ421&#34; Version=&#34;18&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;NoticeRun Id=&#34;81&#34; Run_Name=&#34;Journals 7928,7957,8058,8067&#34; Issue_Date=&#34;20090129&#34; No_of_Notices=&#34;122&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;InstalmentPlan Name=&#34;Supp Levies Jan09&#34; Discount_Date_1=&#34;20090302&#34; Discount_Percent_1=&#34;10.00&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Instalment Number=&#34;1&#34; Due_Date=&#34;20090302&#34; /&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/InstalmentPlan&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Group Name=&#34;{Ungrouped}&#34; /&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/NoticeRun&#62;<br />&#60;/Header&#62;<!--c2--></div><!--ec2--><br /><br />I have a whole bunch of xml files named Notice_ID.xml and need to insert them as children of the Group Node. Here is an excerpt from one of the Notice_ID.xml files:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;Notice Id=&#34;199187&#34; Sequence=&#34;1&#34; Amount=&#34;2495.69&#34; Discount_Amount_1=&#34;0.00&#34; Discounted_Amount_1=&#34;2495.69&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;FormattedNameAddr Line1=&#34;XXXXXXXXXXXXXXXX&#34; Line2=&#34;XXXXXXXXXXXXXXXXX&#34; Line3=&#34;XXXXXXXXXXXXXXXX&#34; Line4=&#34;XXXXXXXXXXXXX&#34;/&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;Assessments&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Assessment Id=&#34;XXXXX&#34; Is_Duplicate_Notice=&#34;0&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Valuation Type_5=&#34;UCV07&#34; Valuation_5=&#34;26728&#34; Date_of_Valuation=&#34;20061001&#34; Issue_Date=&#34;20080311&#34;/&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Balances&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Balance Levy_Name=&#34;General Rate 19 Comm Title Inv&#34; Levy_Code=&#34;04R13&#34; Display_Seq=&#34;1&#34; Arrears_Balance=&#34;786.81&#34;/&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/Balances&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Levies&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;Levy Charge_Date=&#34;20081219&#34; Levy_Name=&#34;Legal Costs&#34; Base_Amount=&#34;524.27&#34;/&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/Levies&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/Assessment&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/Assessments&#62;<br />&#60;/Notice&#62;<!--c2--></div><!--ec2--><br /><br />And finally, here is an excerpt the code I use to grab each Notice_ID file in order, insert some new attributes, and finally output into one big file.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$doc = new DOMDocument&#40;'1.0'&#41;; <br />$doc-&#62;formatOutput = true;<br />$doc-&#62;load&#40;'test.xml'&#41;;<br /><br />$sql = &#34;SELECT BSPKey, Barcode, Notice_ID, Postcode FROM MailMerge ORDER BY BSPKey, Postcode&#34;;<br />$result = odbc_exec&#40;$dbcnx, $sql&#41;;<br />while &#40;$row = odbc_fetch_array&#40;$result&#41;&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp;$BSPKey = $row&#91;'BSPKey'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$Barcode = $row&#91;'Barcode'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$Notice_ID = $row&#91;'Notice_ID'&#93;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$xml = new SimpleXMLElement&#40;&#34;notices&#092;&#092;$Notice_ID&#34;.&#34;.xml&#34;, null, true&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$xml-&#62;FormattedNameAddr-&#62;addAttribute&#40;&#34;BSPKey&#34;, &#34;$BSPKey&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$xml-&#62;FormattedNameAddr-&#62;addAttribute&#40;&#34;Barcode&#34;, &#34;$Barcode&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$domnode = dom_import_simplexml&#40;$xml&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$domnode = $doc-&#62;importNode&#40;$domnode, true&#41;;<br />//&nbsp;&nbsp;&nbsp;&nbsp;$doc-&#62;firstChild-&#62;appendChild&#40;$domnode&#41;; //This inserts the nodes as children of &#60;Header&#62;<br />//&nbsp;&nbsp;&nbsp;&nbsp;$doc-&#62;appendChild&#40;$domnode&#41;; //This inserts the nodes after &#60;/Header&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;$doc-&#62;Header-&#62;NoticeRun-&#62;Group-&#62;appendChild&#40;$domnode&#41;; //This returns error &#34;Fatal error&#58; Call to a member function appendChild&#40;&#41; on a non-object&#34;<br />}<br /><br />echo $doc-&#62;saveXML&#40;&#41;;<!--c2--></div><!--ec2--><br /><br />As commented in the code, the problem i'm having is inserting the &lt;Notice&gt; nodes in the right place. I want them to be children of the &lt;Group&gt; node, but come up with the error "Fatal error: Call to a member function appendChild() on a non-object". I can use either of the lines above to insert them as either children of Header, or after Header, but that's not what I need. What am I missing? Thanks]]></description>
		<pubDate>Wed, 18 Nov 2009 17:56:27 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28634</guid>
	</item>
	<item>
		<title>Execute Xpath Passed In As A String</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28633</link>
		<description><![CDATA[Hai all,<br /><br />I have the following problem to solve: <br />The users of my application can specify an xpath like e.g.<br /><br />format-date(current-date(),'[D]/[M]/[Y]', 'en', (), ())<br /><br />this xpath is caught in an xslt file as just being a string (the user could also have typed in a string and then I need this string for sure), but I want this 'string' to be evaluated...<br />so it shoould result in 18/11/2009 instead of the string 'format-date(current-date(),'[D]/[M]/[Y]', 'en', (), ())'<br /><br />So my question is, does anybody know how I execute this xpath if it comes to my function as a string...? With xpath function 'eval' or 'exec' or so??<br /><br />Best regards,<br />longrun]]></description>
		<pubDate>Wed, 18 Nov 2009 17:03:51 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28633</guid>
	</item>
	<item>
		<title>C++</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28632</link>
		<description><![CDATA[Hey all,<br /><br />I would like to know please, if anyone has a website such this one (extraordinary one <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />) that helps with C++. I am a student and I need some help. Any advise will be very much appreciated.]]></description>
		<pubDate>Wed, 18 Nov 2009 16:52:10 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28632</guid>
	</item>
	<item>
		<title>Security Tips</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28631</link>
		<description><![CDATA[Hello people, <br /><br />I have a few questions i want to ask you guys.<br /><br />1. When I dont host my site at my own server, is my hoster "responsible" for makeing it hard to etc hack into my FTP, MySQL server?<br /><br />2. What can i do to improve my mysql_connect script if it is like the w3schools connection script?<br /><br />3. Is there any other "totally open" ways into my SQL db then with Injections?<br /><br />4. Is it "wrong" of me to use basic mysql_fetch_object or mysql_num_rows? Should i do something else to improve security? or is there no ways?<br /><br />5. I understand that spam-bots and password-bots are a big problem today, so is captcha the only way to prevent this, or have some of you genius'es come up with something else? <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />6. Guess i dont have asked enough questions now, so if there is something more you want to tip me about, please do it? <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Be open and share your goodies with us <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Hope this post will be usefull for others too when answers are posted <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Have a nice day fellow nerds <img src="http://w3schools.invisionzone.com/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><br /><br />norNerd]]></description>
		<pubDate>Wed, 18 Nov 2009 15:37:07 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28631</guid>
	</item>
	<item>
		<title>Cookie Expiration</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28630</link>
		<description><![CDATA[hello all<br /><br />if i set a cookie to expire like so<br />setcookie ("test","test",0,"/","","true","true");<br /><br />from the clients computer (where the cookie is actually set)<br />is it possible to save it and use it in the future ?<br />can i open the cookie file or browser settings some how and get the cookie not to expire ?<br /><br />thank you<br />Tal]]></description>
		<pubDate>Wed, 18 Nov 2009 14:29:18 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28630</guid>
	</item>
	<item>
		<title>Soap Fault Details</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28629</link>
		<description><![CDATA[I'm trying to use PHP to communicate w/ a web service via SOAP / HTTP.  I was actually able to get this to work fairly quickly using the SoapClient class as show below.  However, the service is storing some additional information in the "details" section of the SOAP fault, but I don't see from the docs how to get access to that data?  The SoapFault constructor appears to take "details" as an argument, but is it possible to retrieve this information in PHP?<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->try {<br />&nbsp;&nbsp;&nbsp;&nbsp;$client = new SoapClient&#40;&#34;my.wsdl&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;$result = $client-&#62;func&#40;$params&#41;;<br />}<br />catch &#40;SoapFault $fault&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp;$code = $fault-&#62;faultcode;<br />&nbsp;&nbsp;&nbsp;&nbsp;$message = $fault-&#62;getMessage&#40;&#41;;<br />}<!--c2--></div><!--ec2--><br /><br />Also is there a way to get access to the underlying XML from the SOAP message?  This might be handy for debugging.]]></description>
		<pubDate>Wed, 18 Nov 2009 13:02:22 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28629</guid>
	</item>
	<item>
		<title>Moving Image</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28628</link>
		<description><![CDATA[Hi i am trying to move an image forward and back but it does not seem to be working.<br /><br />Could some one help cheers,<br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><br />var moveTo= 150;<br />var moveBack = 50;<br />var x = 5;<br />     function moveCar() {<br />     <br />    pic =document.getElementById('car').style.left;<br />    {<br />	if(pic!=moveTo) {document.getElementById('car').style.left = x + "px"}  <br />        if(pic !=moveBack) {document.getElementById('car').style.left = x - "px"}  <br />           }<br />           <br />           window.setTimeout(moveCar,1500);<br />           }</div>]]></description>
		<pubDate>Wed, 18 Nov 2009 10:56:16 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28628</guid>
	</item>
	<item>
		<title>Making A New Web (advices)</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28627</link>
		<description><![CDATA[Hi guys!<br /><br />Well, here's the thing.<b> I want to start making a new web</b> for me and my job.<br /><br />I just want<b> some advices</b>. <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Im electrician, and I want a web where theres info about me, phone numbre, what i do... bla bla bla. <b>The most tricky think is that I want a page where the person can get an estimate of what they want to do</b>. So I will add a DataBase with the things I do and estimated time to do it (eg: putting a plug on a wire, 5€ E, estimated time 10 mins, and so on). And when the customer made the selection, he clicks on "Submit" button and ready to show everything <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />It would be good that they click on "new plug", or "20 m wire", and those things autoadd to a square at the right, a column or something. Like a "virtual cart".<br /><br /><br />So that is what I want, I think u know what I mean.<br /><br /><b>Any advices</b> on how I can make it? Not flash, and I want it to do load on any computer. <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Ty guyss!]]></description>
		<pubDate>Wed, 18 Nov 2009 09:52:48 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28627</guid>
	</item>
	<item>
		<title>Script Name?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28626</link>
		<description><![CDATA[Hi all, <br /><br />where can I find a tutorial (filter with one click) similar how on the left side in link?<br /><a href="http://www.dell.com/home/laptops#subcats=&navla=&a=&page=1" target="_blank">http://www.dell.com/home/laptops#subcats=&...p;a=&page=1</a><br /><br />Many thanks for any help!]]></description>
		<pubDate>Wed, 18 Nov 2009 09:22:12 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28626</guid>
	</item>
	<item>
		<title>Onmouseover Change Image Size</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28625</link>
		<description><![CDATA[I wasn't quite sure weather to put this under CSS or Javascript, so replace it if you must.<br /><br />What I am trying to do is change certain style's of an image when someone hovers over the image, I did get to work that the image shifts from opacity, but not I am trying to add a size to it, but I can't get it to function acordingly.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;img src=&#34;images/trob.png&#34; width=&#34;150px&#34; height=&#34;150px&#34; name=&#34;trob&#34; class=&#34;fade&#34; alt=&#34;trob&#34; onmouseover=&#34;trob.style.opacity=1; trob.filters.alpha.opacity=100;&nbsp;&nbsp;trob.style.width='300px'; trob.style.height='300px';&#34; onmouseout=&#34;this.style.opacity=0.3; this.filters.alpha.opacity=30;&nbsp;&nbsp;trob.style.width='150px'; trob.style.height='150px';&#34; /&#62;<!--c2--></div><!--ec2--><br /><br />Did I forget something here or? cause I can't get it to work somehow.]]></description>
		<pubDate>Wed, 18 Nov 2009 09:20:59 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28625</guid>
	</item>
	<item>
		<title>How Do I  Pull Out Pix From Database</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28624</link>
		<description><![CDATA[Please nice friends  i have been trying to write a script that will upload pix to database and also pull it out to the browser, But i have been having problem with my code, Plz help me out. This is the code. Thanks<br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;?php<br />$db = mysql_connect("localhost","Austin","password");<br />mysql_select_db("school");<br />$pname = $_REQUEST['pname'];<br />$pdesc = $_REQUEST['pdesc'];<br />$ftype = $_FILES['pfile']['type'];<br />$fname = $_FILES['pfile']['name'];<br />if ($_FILES['pfile']['size'] &lt;= $_REQUEST['MAX_FILE_SIZE'])<br />{<br />$fdata = fread(fopen($_FILES['pfile']['tmp_name'], "rb"),$_FILES['pfile']['size']);<br /><br />$fdata = base64_encode($fdata);<br />$sql = "INSERT INTO pictures “;<br />$sql .= “(poster_name,pdesc,ftype,fname,fdata) VALUES “;<br />$sql .= “(&#092;"${pname}&#092;",&#092;"${pdesc}&#092;",”;<br />$sql .= “&#092;"${ftype}&#092;",&#092;"${fname}&#092;",&#092;"${fdata}&#092;")";<br />$query = mysql_query($sql) or die(mysql_error());<br />echo "File Uploaded!";<br />} else<br />echo "File Too Large";<br />?&gt;</div>]]></description>
		<pubDate>Wed, 18 Nov 2009 08:14:16 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28624</guid>
	</item>
	<item>
		<title>Php Image Upload Problem?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28623</link>
		<description><![CDATA[Hi, I made a PHP upload script that uploads image and adds extra things to the name.<br /><br />Here is the code<br />The problem is that the image is upload however if the image name is say 59.png it will be upload as bf6-gsiu5cztf3ci_706h8m121h but, I don't not know how to add extension so for a .png image a .png ext will be added to this so it will look like this: bf6-gsiu5cztf3ci_706h8m121h.png since I tried doing this method<br /><br />$ext = ".jpg";<br /><br />this adds the .jpg text to the end result but when saved onto a computer Photoshop for example dosen't read it as a valid .jpg file since the original file was .png<br /><br />What can I do to echo the extensions?<br /><br />Using either $HTTP_POST_FILES['ufile']['type'] to get the mine type and making php convert it to required echo statement, or is there a different way?<br /><br />-Thx]]></description>
		<pubDate>Tue, 17 Nov 2009 21:56:37 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28623</guid>
	</item>
	<item>
		<title>Is This Possible In Php?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28622</link>
		<description><![CDATA[I am doing personal research for my family's website about how to better streamline content and make browsing more user-friendly.<br /><br />Here is the situation, thanks in advance for reading!<br /><br />For our room-renting site, the page with the master list of available apartments is one long html file with 40+ divs showing a summary of each room (price, features, a few small pictures). As you can imagine this is a very long html file. The thing that makes it complicated is that when an old room is removed or a new room added I have to change it twice, once in the master list then again in the individual page for that room. <br /><br />It is possible in PHP to program a script that will insert a small html file into the document for each file in a directory? (Similar to how a blog puts one post after another pulling from each file in an archive.) <br /><br />I have read a little about ajax and asp, but haven't read into the details yet. I'd like some suggestions for a direction to follow. Long term goals would be to implement a system where the user could check boxes specifying limits on the rooms displayed, then seeing the available choices change without reloading the page...<br /><br />for example:<br />show only rooms priced between... $50-100, $100-150<br />show rooms with...                      2 bedrooms, 3 bedrooms.<br />show rooms in...                         village 1, village 2, village 3<br /><br />can I do this with php? or does my project require a different kind of server scripting/database?<br /><br />Any help is appreciated, thank you!]]></description>
		<pubDate>Tue, 17 Nov 2009 21:42:52 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28622</guid>
	</item>
	<item>
		<title><![CDATA[I Can't See It]]></title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28621</link>
		<description><![CDATA[<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->if &#40;$num_rows == 0&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp; $query = &#34;INSERT INTO VistngIPs &#40;addy_id, count_em, site, referingURL, Name&#41; VALUES&nbsp;&nbsp;&#40;'&#34;.$ip.&#34;','1','&#34;.$site.&#34;','&#34;.$referingURL.&#34;','&#34;.$Name.&#34;'&#41;&#34;;<br />&nbsp;&nbsp;&nbsp;&nbsp; $result = mysql_query&#40;$query&#41; or die&#40;'Query failed&#58; ' . mysql_error&#40;&#41;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<!--c2--></div><!--ec2--><br /><br />Can you see my error?]]></description>
		<pubDate>Tue, 17 Nov 2009 20:15:20 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28621</guid>
	</item>
	<item>
		<title>Link Pressed</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28620</link>
		<description>Hopefully this will be my last question for awhile, is it possible to do a if (the html link was pressed), ................else........update.users..you get the point, is it possible to do that?</description>
		<pubDate>Tue, 17 Nov 2009 18:36:49 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28620</guid>
	</item>
	<item>
		<title>Error Of Unexpected $end</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28619</link>
		<description><![CDATA[hello,<br />I am getting Unexpected $end.. whats wrong with my code. And I spent about 2 days to check it out. But I totally lost.<br /><br />&lt;html&gt;<br />    &lt;head&gt;<br />        &lt;link rel="stylesheet" type="text/css" href="example.css"/&gt;<br />        &lt;script type="text/javascript" src="sortable.js"&gt;&lt;/script&gt;<br />        &lt;title&gt;Browse all records from P2&lt;/title&gt;<br />    &lt;/head&gt;<br />    &lt;body&gt;<br />        &lt;?php<br />        $db="mytest";<br />        $link = mysql_connect("localhost","root","Openit4me");<br />        if (! $link) die("Couldn't connect to MySQL");<br />        mysql_select_db($db , $link) or die("Couldn't open $db: ".mysql_error());<br /><br />        $result = mysql_query( "SELECT * FROM mytest.p1 limit 30" ) or die("SELECT Error: ".mysql_error());<br /><br />        $num_rows = mysql_num_rows($result);<br /><br /><br /><br />        mysql_close($link);<br /><br /><br /><br />        echo "&lt;P&gt;this is my debug. Each column can be sorted by click column title. &lt;/p&gt;";<br />        echo "&lt;P&gt;need add feature to display records page by page when looking a lot of rows&lt;/P&gt;";<br />        echo "&lt;P&gt;There are $num_rows records.&lt;/P&gt;";<br /><br />        //add titles;<br />        echo "&lt;h3&gt;&lt;center&gt;&lt;font face=arial&gt; My test project II &lt;/font&gt;&lt;/center&gt;&lt;/h3&gt;" ;<br />        echo "&lt;h4&gt;&lt;center&gt;&lt;font face=arial&gt; Browse all records from table p1 &lt;/font&gt;&lt;/center&gt;&lt;/h4&gt;";<br /><br />        echo " &lt;table class='sortable' id='mybrowse' align=center height=50 &gt;<br /><br />&lt;tr&gt;<br />&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;CHR&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;SNP&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;minorA&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;majorA&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=20&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;MAF&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;NCHROBS&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br /><br />&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;_dom&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;_rec&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;_add&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;position&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;AddBETA&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;addPvalue&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br /><br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;domBETA&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;domPvalue&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;RecBETA&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;RecPvalue&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br /><br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;bestP&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br />&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;ModelUsed&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; <br /><br /><br /><br />&lt;/tr&gt;"; <br /><br /><br /><br />        while ($row= mysql_fetch_array($result)) { //loop until all records from the table are selected<br /><br />        //set difference color for ODD or EVEN row;<br />            $color2 = "#ffffff";<br />            $color1 = "#cccccc";<br />            $row_count = 0;<br />            while ($row= mysql_fetch_array($result)) { //loop until all records from the table are selected<br />                $row_color = ($row_count % 2) ? $color1 : $color2;<br /><br />                echo "&lt;tr bgcolor='$row_color'&gt;";<br /><br />                echo "&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'CHR' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'SNP' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'minorA' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'majorA' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=20&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'MAF' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'NCHROBS' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br /><br />                echo "&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ '_dom' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ '_rec' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt;";<br />                echo "&lt;th width=10&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ '_add' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt;";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'position' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'AddBETA' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'addPvalue' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br /><br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'domBETA' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'domPvalue' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt;";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'RecBETA' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt;";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'RecPvalue' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br /><br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'bestP' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt; ";<br />                echo "&lt;th width=50&gt;&lt;font face=arial size=2/&gt;&lt;div align=center&gt;&lt;strong&gt;". $row[ 'ModelUsed' ] ."&lt;/strong&gt;&lt;/div&gt;&lt;/font&gt;&lt;/th&gt;";<br /><br /><br /><br />                echo "&lt;/tr&gt;";<br /><br />                $row_count++;<br /><br /><br /><br /><br /><br /><br />            }<br /><br /><br /><br />            echo "&lt;/table&gt;";<br /><br /><br /><br />        ?&gt;<br />        &lt;p&gt;&nbsp;&lt;/p&gt;&lt;p&gt;&nbsp;&lt;/p&gt;&lt;p&gt;&nbsp;&lt;/p&gt;<br />        &lt;! go back to main page&gt;<br />        &lt;form action="./index.html"&gt;<br />            &lt;p&gt;&lt;input type="submit" value="Back to Home Page" name="Back to Home Page" &gt; &lt;/p&gt;<br />        &lt;/form&gt;<br />    &lt;/body&gt;<br />&lt;/html&gt; <br /><br />]]></description>
		<pubDate>Tue, 17 Nov 2009 17:42:13 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28619</guid>
	</item>
	<item>
		<title>Datalist Is Showing Up In Source Code, But Not On Web Page?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28618</link>
		<description><![CDATA[For some reason, the data for my datalist is showing up in the source code of the page without a problem, but it's not being displayed on the webpage. That page is just blank. Why could this happen?]]></description>
		<pubDate>Tue, 17 Nov 2009 15:49:24 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28618</guid>
	</item>
	<item>
		<title>Decrypt The Crypts</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28617</link>
		<description><![CDATA[35 levels, 5 winners..register and go to level 1..<br />www.quizmania.pcriot.com]]></description>
		<pubDate>Tue, 17 Nov 2009 14:21:55 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28617</guid>
	</item>
	<item>
		<title>Rewrite Url (masking It)</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28616</link>
		<description><![CDATA[Hello,<br />I need help with this issue:<br />I had the site:<br />sub.site.com<br />when the user enter sub.site.com into their browser, <br />a link opens: sub.site.com/page1/page1.1/......<br />Is there some way in JavaScript or maybe php to make the URL fixed?<br />Thanks in advance]]></description>
		<pubDate>Tue, 17 Nov 2009 13:11:12 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28616</guid>
	</item>
	<item>
		<title>Css Validation Error</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28615</link>
		<description><![CDATA[Hi, when I validate css 3.0 I get these errors:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Errors &#40;4&#41;<br />URI &#58; file&#58;//localhost/menu_dropdown1.html<br />213 &nbsp;&nbsp;&nbsp;&nbsp;div#borderTop &nbsp;&nbsp;&nbsp;&nbsp;Value Error &#58; padding-top px is not a padding-top value &#58; px<br />350 &nbsp;&nbsp;&nbsp;&nbsp;input#closeSlide &nbsp;&nbsp;&nbsp;&nbsp;Parse Error opacity=80&#41;<br />363 &nbsp;&nbsp;&nbsp;&nbsp;input#forwSlide &nbsp;&nbsp;&nbsp;&nbsp;Parse Error opacity=80&#41;<br />375 &nbsp;&nbsp;&nbsp;&nbsp;input#backSlide &nbsp;&nbsp;&nbsp;&nbsp;Parse Error opacity=80&#41;<!--c2--></div><!--ec2--><br /><br />This is the css:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->html, body {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #E2725B;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-size&#58; 85%;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-family&#58; Verdana, Arial, Helvetica, sans-serif;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;img.fruits {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float&#58;left;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#ombra {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* creazione di un'ombra per il menu sovrapponendo un elemento div&#40;#menu&#41; ad un altro div&#40;#ombra&#41; contenitore */<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #000000;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float&#58; right;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-right&#58; 3%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top&#58; -142%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-right&#58; 5px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom&#58; 6px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-align&#58; right;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top&#58; -5px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-left&#58; -5px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border-left&#58; 2px solid #FFFF00;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border-right&#58; 2px solid #FFFF00;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu a {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #000;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-decoration&#58; none;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list-style&#58; none;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58;200px;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul li {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58;100%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #AF593E;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border-bottom&#58; 2px solid #FFFF00;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; relative;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float&#58; right;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 100%;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul li ul li{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #C3B091; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;white-space&#58; nowrap;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 590px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-align&#58; left;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 180px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul li ul {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* sottomenu impostato per essere visualizzato sotto il div&#40;#worldMap&#41; */<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; -1;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;#top_border {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* bordo superiore del primo elemento della lista */<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border-top&#58; 2px solid #FFFF00;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul li a{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; block;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding&#58; 30px 20px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-align&#58; left;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 700;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul li a&#58;hover {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #FAFBFB;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #C9C9C9;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*font-size&#58; 1.5em;*/&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 900;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul li ul li a&#58;hover{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #ffedd3;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border-left&#58;1px solid black;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul ul {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; none;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#menu ul li&#58;hover ul{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; block;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;right&#58; 200px;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /><br />/* creazione delle ombre per il sottomenu&#40;sotto liste&#41; che contengono le foto dei frutti &#40;fruitN&#41; */<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;li div#fruit0 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 5px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 175px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 590px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; -1;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;li div#fruit1 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;right&#58; -5px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 175px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 590px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; -1;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;li div#fruit2 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;right&#58; -8px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 140px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 594px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 50px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; -1;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;li div#fruit3 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;right&#58; -8px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 70px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 592px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 120px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; -1;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div.sep {&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;margin-left&#58; 90px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top&#58; 10px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-left&#58; 10px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border-left&#58; 1px solid #FFFF00;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div.sep p {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* paragrafi della descrizione dei frutti nel menu */<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 200px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 100px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #A1A100;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 1px solid #FFFF00; &nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-style&#58; italic;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 800;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-size&#58; 80%;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #001040;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;white-space&#58; normal;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;overflow&#58; auto;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;img#borderTop {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 65%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 6%;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;img#borderBottom {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 65%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 69%;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;span {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; block;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-left&#58; 58%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top&#58; -25%<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;img.world {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 1px solid #FFFF00;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div#borderTop {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* immagine sopra il menu impostata come sfondo di un div */<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-image&#58; url&#40;&#34;border_top0.png&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-repeat&#58; no-repeat;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float&#58; right;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 220px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 110px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-right&#58; 5%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top&#58; 2%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-right&#58; 5px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding-bottom&#58; 5px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div#borderBottom {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* immagine sotto il menu impostata come sfondo di un div */<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-image&#58; url&#40;&#34;border_bottom1.png&#34;&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-repeat&#58; no-repeat;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float&#58; right;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 220px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 110px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top&#58; 192%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;h3 {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #A1A100;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #001040;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 1px solid #FFFF00;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 80px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div.textClick {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-align&#58; center;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #3F621F;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;margin-top&#58; 5px;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 700;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #800000;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div#worldMap {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; none;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 20%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 45%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; 1;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;input#close {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 79%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 79%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #5F5F5F;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 600;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #FFFFC2;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;img#bigMap {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;img#mapEcuador {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; none;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 1%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;right&#58; 14%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;area&#58;hover {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cursor&#58; pointer;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div.importProduct {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; none;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #806210;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #FFC0B6;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 300px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 250px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 1px solid #D2B06A;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; -5%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; -5%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;overflow&#58; auto;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; 3;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;img.imageProduct {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; block;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 1px solid #FFFF00;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float&#58; left;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;input.close0 {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; block;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #5F5F5F;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #FFFFC2;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 500;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 91%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 78%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;input.close0&#58;hover {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cursor&#58; pointer;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #E01F25;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div.shadow {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; none;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #000000;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 300px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 250px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 55%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 45%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; 3;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;div#containerSlideOmbra {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 20%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 35%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 550px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 300px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #000000;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; 4;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;div#containerSlide {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; -3%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; -2%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; 2;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;input#closeSlide {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bottom&#58; 1%;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 2px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #5F5F5F;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 600;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #412000;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opacity&#58; 0.8;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter&#58;alpha&#40;opacity=80&#41;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;input#forwSlide {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bottom&#58; 1%;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 50%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #5F5F5F;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 600;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #412000;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opacity&#58; 0.8;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter&#58;alpha&#40;opacity=80&#41;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;input#backSlide {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bottom&#58; 1%;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left&#58; 35%;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-color&#58; #5F5F5F;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;font-weight&#58; 600;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #412000;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opacity&#58; 0.8;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filter&#58;alpha&#40;opacity=80&#41;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;img#mapIndia {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;display&#58; none;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; -17%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;right&#58; -26%;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;z-index&#58; 3;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;p.w3c {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;position&#58; absolute;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; -1%;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;p.w3c img {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;top&#58; 0;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Tue, 17 Nov 2009 12:28:52 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28615</guid>
	</item>
	<item>
		<title>Array_mutlisort</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28614</link>
		<description><![CDATA[hi<br /><br />The following code,<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;?php<br />$a=array(0=&gt;array('cat_id'=&gt;17,'cat_parentid'=&gt;10,'cat_name'=&gt;'mercedes'),1=&gt;array('cat_id'=&gt;12,'cat_parentid'=&gt;14,'cat_name'=&gt;'volvo'),2=&gt;array('cat_id'=&gt;16,'cat_parentid'=&gt;11,'cat_name'=&gt;'zen'));<br />print_r($a);<br />echo "&lt;hr&gt;";<br />array_multisort($a);<br />print_r($a);<br />?&gt;</div><br />gives the out put as follow:<br /><br />Array ( [0] =&gt; Array ( [cat_id] =&gt; 17 [cat_parentid] =&gt; 10 [cat_name] =&gt; mercedes ) [1] =&gt; Array ( [cat_id] =&gt; 12 [cat_parentid] =&gt; 14 [cat_name] =&gt; volvo ) [2] =&gt; Array ( [cat_id] =&gt; 16 [cat_parentid] =&gt; 11 [cat_name] =&gt; zen ) ) <br />--------------------------------------------------------------------------------<br />Array ( [0] =&gt; Array ( [cat_id] =&gt; 12 [cat_parentid] =&gt; 14 [cat_name] =&gt; volvo ) [1] =&gt; Array ( [cat_id] =&gt; 16 [cat_parentid] =&gt; 11 [cat_name] =&gt; zen ) [2] =&gt; Array ( [cat_id] =&gt; 17 [cat_parentid] =&gt; 10 [cat_name] =&gt; mercedes ) )<br /><br />I cant understand that on what basis the array is arranged after multisort() here..<br />on alphabhatic order of key or ascending order of values..or what ??<br /><br />thanks<br />karthikanov24]]></description>
		<pubDate>Tue, 17 Nov 2009 12:13:35 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28614</guid>
	</item>
	<item>
		<title>File-read Into Div Through Ajax. I’m Missing Something Small I Think!</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28613</link>
		<description><![CDATA[Hello. I'm doing something very simple, and yet it's not working.. maybe I'm missing something.<br /><br />I need to read a text file, through ajax, and into a div. I can easily write to the file through ajax, but not read. Here is what I have:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->function ajaxLoader&#40;url&#41;<br />{<br />if&#40;document.getElementById&#41;<br />{<br />var x = &#40;window.ActiveXObject&#41; ? new ActiveXObject&#40;&#34;Microsoft.XMLHTTP&#34;&#41; &#58; new<br />XMLHttpRequest&#40;&#41;;<br />}<br />if&#40;x&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />x.onreadystatechange = function&#40;&#41; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />if&#40;x.readyState == 4 && x.status == 200&#41; <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;&nbsp;&nbsp;&nbsp;el = document.getElementById&#40;'content'&#41;;<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;el.innerHTML = x.responseText;<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;}<br /><br />x.open&#40;&#34;GET&#34;,url, true&#41;;<br />x.send&#40;null&#41;;<br />}<br />}<!--c2--></div><!--ec2--><br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;a class=&#34;blocklink&#34; href=&#34;#&#34; id=&#34;readg&#34; onclick=&#34;ajaxLoader&#40;'guestBook.txt'&#41;;return false;&#34;&#62;Read The Guestbook&#60;/a&#62;&#60;/p&#62;<!--c2--></div><!--ec2--><br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;div id=&#34;content&#34; style=&#34;width&#58;600px;&#34;&#62;<!--c2--></div><!--ec2--><br /><br />I've been stuck on this all day. I am able to use all of the same code, and output a regular html file to the div, but not this .txt file. The txt file has all of the read write privileges it needs. <br /><br />At one point, I also changed the ajax to open a normal html page into the div, instead of a txt file, and it worked as it should. So my problem seems to be opening the text file itself...]]></description>
		<pubDate>Tue, 17 Nov 2009 11:04:57 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28613</guid>
	</item>
	<item>
		<title>Automatic Generated Mail From Php</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28612</link>
		<description><![CDATA[Atempt to make a PHP program which grenerate  mail result in this error message:<br /><br /><b>Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:&#092;Programfils&#092;wamp&#092;mycompany&#092;A-mail.php on line 72</b><br /><br />In php.ini this is written<br /><br /><b>[mail function]<br />; For Win32 only.<br />;SMTP = localhost<br />SMTP = smtp.mycompany.no<br /><br />; For Win32 only.<br />sendmail_from = me@mycompany.no</b><br /><br />I do not find where to set port no. I use WAMP software and Microsoft Outlook. In account information in Outlook there is written: <br /><b>Microsoft Exchange Server</b> and account for this item: <b>mycompany-mail.mycompany.local</b><br /><br />Changing <b>SMTP = smtp.mycompany.no</b> to <b>SMTP = mycompany-mail.mycompany.local</b> do not work.<br /><br />Can anybody help me with this problem?<br /><br />Regards Cit.]]></description>
		<pubDate>Tue, 17 Nov 2009 09:50:15 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28612</guid>
	</item>
	<item>
		<title><![CDATA[&lt;iframe&gt; Tag Problem.]]></title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28611</link>
		<description><![CDATA[Hi for all!! <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;html&gt;<br />&lt;body&gt;<br />&lt;iframe src="http://www.google.com/" width="100%"&gt;&lt;/iframe&gt;<br />&lt;iframe src="http://www.gmail.com/" width="100%"&gt;&lt;iframe&gt;<br />&lt;iframe src="http://www.mediafire.com/" width="100%"&gt;&lt;iframe&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;</div><br /><br />There are some sites like "mediafire.com" and "gmail.com" that when I put them into the &lt;iframe&gt; element and use the browser to open the page, instead of the page will open in its frame as the statement in the source code request, it is opened in the whole browser window. <br /><br />Can someone help me to know how to avoid this?]]></description>
		<pubDate>Tue, 17 Nov 2009 09:10:34 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28611</guid>
	</item>
	<item>
		<title>Problem Changing Rss Into Atom Reader</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28610</link>
		<description><![CDATA[Hi <br /><br />I am looking at the rss reader tutorial given on the w3schools website: <a href="http://www.w3schools.com/php/php_ajax_rss_reader.asp" target="_blank">http://www.w3schools.com/php/php_ajax_rss_reader.asp</a> <br /><br />I am trying to make it work on atom feeds but it is showing the following error: <br />Warning: DOMDocument::load() [function.load]: Opening and ending tag mismatch: link line 4 and head in <a href="http://creditwrench.blogspot.com/atom.xml" target="_blank">http://creditwrench.blogspot.com/atom.xml</a>, line: 12 in /web/rkhan19/ftpaccess/pub/w3_rss/Atom/getrss.php on line 8 <br /><br />Warning: DOMDocument::load() [function.load]: Opening and ending tag mismatch: img line 13 and a in <a href="http://creditwrench.blogspot.com/atom.xml" target="_blank">http://creditwrench.blogspot.com/atom.xml</a>, line: 13 in /web/rkhan19/ftpaccess/pub/w3_rss/Atom/getrss.php on line 8 <br /><br />Warning: DOMDocument::load() [function.load]: Opening and ending tag mismatch: a line 13 and div in <a href="http://creditwrench.blogspot.com/atom.xml" target="_blank">http://creditwrench.blogspot.com/atom.xml</a>, line: 15 in /web/rkhan19/ftpaccess/pub/w3_rss/Atom/getrss.php on line 8 <br /><br />.........................this error occurs several time and it also shows the following 2 errors......................<br /> <br /><b>Warning</b>: DOMDocument::load() [<a href="http://lamp.inf.brad.ac.uk:59900/w3_rss/Atom/function.load" target="_blank">function.load</a>]: Entity 'copy' not defined in <a href="http://creditwrench.blogspot.com/atom.xml" target="_blank">http://creditwrench.blogspot.com/atom.xml</a>, line: 51 in <b>/web/rkhan19/ftpaccess/pub/w3_rss/Atom/getrss.php</b> on line <b>8</b><br /><br /><b>Warning</b>: DOMDocument::load() [<a href="http://lamp.inf.brad.ac.uk:59900/w3_rss/Atom/function.load" target="_blank">function.load</a>]: Entity 'ndash' not defined in <a href="http://creditwrench.blogspot.com/atom.xml" target="_blank">http://creditwrench.blogspot.com/atom.xml</a>, line: 51 in <b>/web/rkhan19/ftpaccess/pub/w3_rss/Atom/getrss.php</b> on line <b>8</b> <br /><br /><br /><br />Can anyone help me?? Below is the code that I am using: <br /><br />&lt;?php<br />  $xml = "<a href="http://creditwrench.blogspot.com/atom.xml" target="_blank">http://creditwrench.blogspot.com/atom.xml</a>";<br /><br />$xmlDoc = new DOMDocument();<br />$xmlDoc-&gt;load($xml);<br />  <br />$channel=$xmlDoc-&gt;getElementsByTagName('entry')-&gt;item(0);<br />$channel_title = $channel-&gt;getElementsByTagName('title')<br />-&gt;item(0)-&gt;childNodes-&gt;item(0)-&gt;nodeValue;<br /><br />echo($channel_title . "&lt;/p&gt;");<br />?&gt; <br /><br /><br /><br /><br /><br /><br />]]></description>
		<pubDate>Tue, 17 Nov 2009 07:35:18 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28610</guid>
	</item>
	<item>
		<title>Float:left Element Inside The Li Had An Issue In Ie Browser</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28609</link>
		<description><![CDATA[Hi, <br /> I'm having issue when I set float:left element inside LI in IE.<br /> There is a tnode(div,p,span) followed by link.<br /> ---Detailed:<br /> If the list (&lt;li&gt;) contains two (or more) block-level elements, the first element with float:left, the next block-level elements are placed below the floated element instead of next to it.<br /> --------------<br /> <br /> Code is below:<br /> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;<br /> &lt;HTML&gt;<br />  &lt;HEAD&gt;<br />  &lt;style type="text/css"&gt;<br /> ul<br /> {<br /> list-style:none;<br /> }<br />  .nc a<br />  {<br />  display:inline-block;<br />  float:left;<br />  }<br />  &lt;/style&gt;<br />  &lt;/HEAD&gt;<br /> &lt;BODY&gt;<br /> &lt;ul&gt;<br /> &lt;li class="li"&gt;<br /> &lt;div class="nc"&gt;&lt;a href=""&gt;1. Test 01&lt;/a&gt;&lt;div&gt;Vol 01&lt;/div&gt;&lt;/div&gt;  <br /> &lt;/li&gt;<br /> &lt;li class="li"&gt;<br /> &lt;div class="nc"&gt;&lt;a href=""&gt;2. Test 02&lt;/a&gt;&lt;div&gt;Vol 02&lt;/div&gt;&lt;/div&gt;  <br /> &lt;/li&gt;<br /> &lt;/ul&gt;<br />  &lt;/BODY&gt;<br /> &lt;/HTML&gt;<br /> <br /> Kindly help me to resolve this issue.<br /> Thanks<br /> Thangaman]]></description>
		<pubDate>Tue, 17 Nov 2009 06:55:13 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28609</guid>
	</item>
	<item>
		<title>Page Name Change</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28608</link>
		<description><![CDATA[Out of interest I had noticed a few page names I had set up a while ago weren't very clever for google rankings. Are there any particular problems with changing them to a better name? They are hardly visible within google currently as they are several pages in.]]></description>
		<pubDate>Tue, 17 Nov 2009 05:13:25 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28608</guid>
	</item>
	<item>
		<title>Change Attribute Of An Element</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28607</link>
		<description><![CDATA[HI, I'm trying to change the attribute of an element,<br />I have this function <br />I want to change the style top and style left position of the second image cloned form the first,<br />I think i need to use nodeValue to get the value of an attribute, but how can i do or there is another method?<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;html&#62;<br />&#60;head&#62;<br />&lt;script type=&#34;text/javascript&#34;&#62;<br />function crea&#40;&#41; {<br /><br />createImgAnanas = document.createElement&#40;&#34;img&#34;&#41;;<br />createImgAnanas.style.position=&#34;absolute&#34;;<br />createImgAnanas.style.top=&#34;1%&#34;;<br />createImgAnanas.style.left=&#34;25%&#34;<br />createImg1.style.zIndex=&#34;3&#34;;<br />createImgAnanas.style.border=&#34;0&#34;;<br />createImgAnanas.setAttribute&#40;&#34;src&#34;, &#34;http&#58;//www.fruechteadam.com/img/Ananas.jpg&#34;&#41;;<br />createImgAnanas.setAttribute&#40;&#34;id&#34;, &#34;ananas1&#34;&#41;;<br />createImgAnanas.setAttribute&#40;&#34;alt&#34;, &#34;ananas&#34;&#41;;<br />createImgAnanas.setAttribute&#40;&#34;title&#34;, &#34;indicazione paese produzione ananas&#34;&#41;;<br />createImgAnanas.setAttribute&#40;&#34;width&#34;, &#34;150&#34;&#41;;<br />createImgAnanas.setAttribute&#40;&#34;height&#34;, &#34;79&#34;&#41;;<br /><br /> document.getElementById&#40;&#34;prince&#34;&#41;.appendChild&#40;createImgAnanas&#41;;<br /><br /><br />createImgAnanas1 = createImgAnanas.cloneNode&#40;true&#41;;<br /><br />&nbsp;&nbsp;document.getElementById&#40;&#34;prince&#34;&#41;.appendChild&#40;createImgAnanas1&#41;;<br />}<br /><br />&#60;/script&#62;<br />&#60;body id=&#34;prince&#34;&#62;<br /><br />&#60;input type=&#34;button&#34; value=&#34;crea&#34; onclick=&#34;crea&#40;&#41;;&#34; /&#62;<br /><br /><br /><br />&#60;/body&#62;<br />&#60;/html&#62;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Tue, 17 Nov 2009 03:56:38 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28607</guid>
	</item>
	<item>
		<title>How To Include Symbols - When Sending Php Mail..?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28606</link>
		<description><![CDATA[I have a working PHP mail sending script, the only problem is that when i try to send any kinda symbol in Either the Message Title or the Message body it messes up the text..<br /><br />Like if i wanted to put quotes in the title or embed a picture into the message body with &lt;img src='pic.jpg' /&gt; it gets all messed up..!!<br />is there any specific way to make it so I can include these symbols so the message don't get ruined..??<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;?php<br /><br />$to=$_POST&#91;&#34;to&#34;&#93;;<br />$from=$_POST&#91;&#34;from&#34;&#93;;<br />$name=$_POST&#91;&#34;name&#34;&#93;;<br />$subject=$_POST&#91;&#34;subject&#34;&#93;;<br />$message=$_POST&#91;&#34;message&#34;&#93;;<br /><br />$headers = &#34;From&#58; &#092;&#34;$name&#092;&#34; &#60;$from&#62;&#092;nContent-Type&#58; text/html; charset=iso-8859-1&#34;;<br />$ret=mail&#40;&#34;$to&#34;, &#34;$subject&#34;, &#34;$message&#34;, &#34;$headers&#34;&#41;;<br /><br />if&#40;$ret==true&#41;<br />echo&#34;Mail sent Successfully&#34;;<br />else<br />echo&#34;Unable to Send mail&#34;;<br /><br />?&#62;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Tue, 17 Nov 2009 01:35:23 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28606</guid>
	</item>
	<item>
		<title>Help With Replace</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28605</link>
		<description><![CDATA[PHP has many functions to replace strings, <br />But I do not understand how things like this work:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->preg_replace&#40;&#34;/&#40;&#60;&#092;/?&#41;&#40;&#092;w+&#41;&#40;&#91;^&#62;&#93;*&#62;&#41;/e&#34;, &#34;'&#092;&#092;1'.strtoupper&#40;'&#092;&#092;2'&#41;.'&#092;&#092;3'&#34;,&nbsp;&nbsp;$html_body&#41;;<!--c2--></div><!--ec2--><br />could someone explain this and say what the above code does? <br /><br /><br /><div align='right'><i><!--sizeo:1--><span style="font-size:8pt;line-height:100%"><!--/sizeo-->yes, I've red the pages on php.net<!--sizec--></span><!--/sizec--></i></div>]]></description>
		<pubDate>Tue, 17 Nov 2009 01:27:03 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28605</guid>
	</item>
	<item>
		<title>How Do I View All The Topics I Started?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28604</link>
		<description><![CDATA[I'll bet I asked this question before.<br /><br />How do I view all the topics I started?]]></description>
		<pubDate>Mon, 16 Nov 2009 20:53:45 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28604</guid>
	</item>
	<item>
		<title><![CDATA[Align In &lt;col&gt; Doesn't Seem To Work]]></title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28603</link>
		<description><![CDATA[I'm trying to create a table with different alignments on each column in XHTML,  but the alignment doesn't seem to work in IE8 (haven't tried others yet). I've just tried the code from the W3C Schools tutorial example and that doesn't work either. What am I missing?<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62;<br />&#60;html&#62;<br />&#60;head&#62;<br />&#60;title&#62;Title of the document&#60;/title&#62;<br />&#60;/head&#62;<br /><br />&#60;body&#62;<br />&#60;table width=&#34;100%&#34; border=&#34;1&#34;&#62;<br />&nbsp;&nbsp;&#60;col align=&#34;left&#34; /&#62;<br />&nbsp;&nbsp;&#60;col align=&#34;center&#34; /&#62;<br />&nbsp;&nbsp;&#60;col align=&#34;right&#34; /&#62;<br />&nbsp;&nbsp;&#60;tr&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;th&#62;ISBN&#60;/th&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;th&#62;Title&#60;/th&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;th&#62;Price&#60;/th&#62;<br />&nbsp;&nbsp;&#60;/tr&#62;<br />&nbsp;&nbsp;&#60;tr&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;td&#62;3476896&#60;/td&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;td&#62;My first HTML&#60;/td&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;td&#62;$53&#60;/td&#62;<br />&nbsp;&nbsp;&#60;/tr&#62;<br />&#60;/table&#62;<br />&#60;/body&#62;<br /><br />&#60;/html&#62;<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Mon, 16 Nov 2009 18:33:00 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28603</guid>
	</item>
	<item>
		<title>Eval() Not Working</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28602</link>
		<description><![CDATA[Hello again,<br />I'm trying to use eval() on a JSON string.  Problem is my function keeps aborting on the eval line.  I don't know what's wrong.<br />Here's the code:<br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><br />httpRequest.onreadystatechange = function() {<br />	if(httpRequest.readyState == 4) {<br />		//If the tip doesn't exist, create it<br />		if (!homePage.getElementById("miscCharge_tip")) {<br />			divTipNode = homePage.createElement('div');<br />			divTipNode.style.width = "24em";<br />			divTipNode.className = "tip";<br />			divTipNode.id = "miscCharge_tip";<br />			<br />			tmpNode = homePage.createElement('div');<br />			tmpNode.className = "tip_title";<br />			tmpNode.innerHTML = "Other Charges";<br />			divTipNode.appendChild(tmpNode);<br />			<br />			tmpNode = homePage.createElement('div');<br />			tmpNode.className = "tip_body";<br />			divTipNode.appendChild(tmpNode);<br />		}<br />		divContainer = homePage.getElementById("miscChrg_tipBody");<br />		<br />		//arrResponse = eval("("+httpRequest.responseText+")");<br />		tmpResponseTxt = httpRequest.responseText;<br />		arrResponse = eval("("+tmpResponseTxt+")");<br />		divContainer.innerHTML = arrResponse.HTML;<br />		homePage.getElementById("OtherCost").value = FormatNumber(arrResponse.Total, 2);<br />		<br />		//window.close();<br />	}<br />}<br /></div><br />In case you haven't guessed this is also an AJAX request, but the AJAX seems to be working fine.<br />It's this line that's aborting:<br />arrResponse = eval("("+tmpResponseTxt+")");<br /><br />Here is the JSON string I'm trying to eval():<br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><br />"{"HTML": "&lt;table style='width: 350px; font-size: 14px; border-style: groove;'&gt;&#092;n&lt;tr&gt;&lt;th style='width: 75%;'&gt;Description&lt;/th&gt;&#092;n&lt;th colspan='2'&gt;Value&lt;/th&gt;&lt;/tr&gt;&#092;n&lt;tr&gt;&lt;td style='text-align: right; border-bottom: dashed; border-width: 1px;'&gt;&lt;input name='MiscChrgDesc' id='MiscChrgDesc0' class='tableInfo chargeDesc' value='Charge 1' readonly /&gt;&lt;/td&gt;&#092;n&lt;td style='width: 10px; text-align: right; border-bottom: dashed; border-width: 1px;'&gt;$&lt;/td&gt;&#092;n&lt;td style='text-align: right; border-bottom: dashed; border-width: 1px;'&gt;&lt;input name='MiscChrgAmt' id='MiscChrgAmt0' class='tableInfo' value='900' style='width: 40px;' readonly /&gt;&lt;/td&gt;&lt;/tr&gt;&#092;n&lt;tr&gt;&lt;td style='text-align: right; border-bottom: dashed; border-width: 1px;'&gt;&lt;input name='MiscChrgDesc' id='MiscChrgDesc1' class='tableInfo chargeDesc' value='Charge 2' readonly /&gt;&lt;/td&gt;&#092;n&lt;td style='width: 10px; text-align: right; border-bottom: dashed; border-width: 1px;'&gt;$&lt;/td&gt;&#092;n&lt;td style='text-align: right; border-bottom: dashed; border-width: 1px;'&gt;&lt;input name='MiscChrgAmt' id='MiscChrgAmt1' class='tableInfo' value='750' style='width: 40px;' readonly /&gt;&lt;/td&gt;&lt;/tr&gt;&#092;n&lt;tr&gt;&lt;td style='text-align: right; border-bottom: dashed; border-width: 1px;'&gt;&lt;input name='MiscChrgDesc' id='MiscChrgDesc2' class='tableInfo chargeDesc' value='Bleu cheese and taco sauce' readonly /&gt;&lt;/td&gt;&#092;n&lt;td style='width: 10px; text-align: right; border-bottom: dashed; border-width: 1px;'&gt;$&lt;/td&gt;&#092;n&lt;td style='text-align: right; border-bottom: dashed; border-width: 1px;'&gt;&lt;input name='MiscChrgAmt' id='MiscChrgAmt2' class='tableInfo' value='1,322' style='width: 40px;' readonly /&gt;&lt;/td&gt;&lt;/tr&gt;&#092;n&lt;tr&gt;&lt;td class='header' style='border-bottom: none;'&gt;Total&lt;/td&gt;&#092;n&lt;td style='font-weight: bold; border-bottom: none;'&gt;$&lt;/td&gt;&#092;n&lt;td class='header' style='border-bottom: none;'&gt;2,972&lt;/td&gt;&lt;/tr&gt;&#092;n&lt;/table&gt;&#092;n", "Total": 2972}"<br /></div><br />Any help is appreciated, thank you.]]></description>
		<pubDate>Mon, 16 Nov 2009 18:01:28 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28602</guid>
	</item>
	<item>
		<title><![CDATA[Alternative To &lt;noscript&gt; Using Xhtml Strict 1.1?]]></title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28601</link>
		<description><![CDATA[Sorry to be asking silly questions, but I think I'm going to have a brain tumor if I keep Googling this.  :Wink; <br /><br />Simply what I'm trying to do is load a style sheet if the brower has javascript disabled.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;head&#62;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp; ...<br />&nbsp;&nbsp; &#60;link href=&#34;normal.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&nbsp;&nbsp; &#60;noscript&#62;&#60;link href=&#34;nojavascript.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;&#60;/noscript&#62; <br />&#60;/head&#62;<!--c2--></div><!--ec2--><br /><br />Now this works fine with IE, FF, Opera, Safari, and Chrome, however it fails the validation with the error that the &lt;noscript&gt; tag is not allowed in the &lt;head&gt;.  Is there another method to accomplish this?  <br /><br />FWIW setting the classes with javascript setAttribute("class", "nojavascript"), and setAttribute("className, "nojavascript"), works for the most part, except when a class has been overridden.  For example if the "normal.css" contained the class;<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->.p1&#58;link {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px 0px no-repeat;}<br />.p1&#58;visited {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px 0px no-repeat;}<br />.p1&#58;focus {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px -32px no-repeat;}<br />.p1&#58;hover {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px -32px no-repeat;}<br />.p1&#58;active {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px -32px no-repeat;}<!--c2--></div><!--ec2--><br /><br />Now without any other class declarations, then the setAttribue() works perfect.  However if I override this class with my "nojavascript.css" and redefine my "p1" class,<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->.p1&#58;link {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;-0px -64px no-repeat;}<br />.p1&#58;visited {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px -64px no-repeat;}<br />.p1&#58;focus {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px -64px no-repeat;}<br />.p1&#58;hover {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px -64px no-repeat;}<br />.p1&#58;active {background&#58; transparent url&#40;'buttons.png'&#41;&nbsp;&nbsp;0px -64px no-repeat;}<!--c2--></div><!--ec2--><br /><br />Then the setAttribue() fails and the state of the background remains as the "nojavascript.css" declaration.<br /><br />I know this is a combo-problem with js and css, however I posted in this forum hoping there's anwser in the markup.<br /><br />Thanks!]]></description>
		<pubDate>Mon, 16 Nov 2009 16:35:32 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28601</guid>
	</item>
	<item>
		<title>Correct Use Of Dl Dt Dd</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28600</link>
		<description><![CDATA[Hi,<br /><br />I've been looking at the different elements on w3schools and i found the dl dt dd elements.<br /><br />I just wanted to check that my understanding of the elements is correct.<br /><br />I understand that they're for definitions lists. However, are the uses of them in the following scenarios compliant with their purpose?<br /><br /><ul><li>FAQ - Question &gt; Answer</li><li>Latest News - Date &gt; Headline/Summary</li></ul><br /><br />For example:<br /><br /><b>How does it work?</b><br />    It&#8217;s simple. You select from one of the services above (in the blue bar) and answer a few questions designed to quickly establish your exact requirements specific to your company. Once you have submitted your contact details and opened a user account, we assign a negotiator to approach multiple suppliers and gather quotes for your required service. Once we have compiled a list of quotes, we let you know by email that they are ready for viewing on your account page. You can either view the quotes purely for information purposes, or select the companies you would like to hear more from.<br /><br /><b>How do you select which suppliers to approach?</b><br />    We are only interested in negotiating with established suppliers who have acquired a reputation within their industry for quality services. We do not have an &#8216;index&#8217; or approved list of suppliers who pay us money to find them sales leads. We pride ourselves on being impartial and independent, so we only make contact with companies who are genuinely equipped with the manpower, expertise and resources to meet your requirements.<br /><br /><b>What if I don&#8217;t have all the information you need?</b><br />    Don&#8217;t worry if you don&#8217;t have all the information immediately to hand, we can contact you by phone if we need clarification.<br /><br />Should that be accomplished via dl-dt-dd or via h2-p?<br /><br />Likewise:<br /><br /><b>Head Office</b><br /><br />JLE Services Ltd T/A Tendervendors<br />57 Gravel Lane<br />Wilmslow<br />Cheshire<br />SK9 6LS<br /><br />Should that be accomplished using dl-dt-dd or h2-p?<br /><br />At what point does information cease being a definition list, and become a paragraph with a subheading?<br /><br />Thanks,<br /><br />Matthew Millar]]></description>
		<pubDate>Mon, 16 Nov 2009 15:48:12 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28600</guid>
	</item>
	<item>
		<title>Creating An Array From Amysql Table</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28599</link>
		<description><![CDATA[I have a mysql table called example. It has 3 records and 5 fields. The field names are: id, firstname, lastname, address, and zip.<br /><br />I need to select all the records and place all the info from all the records into an array called myarray.<br /><br />How do I do that?<br />]]></description>
		<pubDate>Mon, 16 Nov 2009 15:03:15 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28599</guid>
	</item>
	<item>
		<title>Hlp Pls..</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28598</link>
		<description><![CDATA[hi..i have a quiz site wherein there are 35 levels.There is a leader board which shows the points of all players.<br />when he crosses level 1 the leader board should update his score..like add one to his score and put him on top of the table [if he is the top scorer]..how is this possible?<br /><br />The question is put up in 1.php the answer to be compared is in 2.php and the next level is 3.php<br /><br />what is the sql query to create a field for this?<br />how will 2.php handle this to update the leaderboard?thanku in advance..]]></description>
		<pubDate>Mon, 16 Nov 2009 14:30:09 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28598</guid>
	</item>
	<item>
		<title>Session Id Implementation</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28597</link>
		<description><![CDATA[hello people<br /><br />i need some help with session id implementation<br /><br />i have a site were i need to log in users <br />after log in, i identify them by cookies (unique user id only)<br /><br />now i want to add a session id to the cookie, <br />so no saved cookie could be used in the future, or even after the next page request <br /><br />what i want to do goes like this <br /><br />1- i have a function that gives the session id - lets say adds one each time to the current session id <br /><br />2- when the user logs in for the first time he gets the session id of 1, <br />and that session id is saved in the database, under the user unique user id  <br /><br />3- when he asks for a new page, his session id (1) is read from the cookie, then checked for a match with the DB<br />if there is a match the function add one to his session id in the DB, gives him a new cookie, and the requested page<br />if not he is sent back to the log in page and his cookie is deleted<br /><br />4-next time the user logs in he will get the session id from the DB+1<br /><br /><br />so my questions are <br />first am i doing it right ?<br />is there an easier way of creating a session id ?<br />do you have any suggestions for how to session implementation ?<br /><br />Thank you for your attention<br />Tal]]></description>
		<pubDate>Mon, 16 Nov 2009 14:20:05 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28597</guid>
	</item>
	<item>
		<title>Display None In Ie</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28596</link>
		<description><![CDATA[Hi,<br /><br />I'm pretty sure my problem is a common one, but I can't figure it out.<br /><br />It works in FF, but not in IE. The function showpapiergewicht(this.form) shows or hides the selectable weights (gewicht) for each papertype (papiersoort).<br />EDIT: also doesn't seem to work in Chrome and Safari<br /><br />The function reken(this.form) calculates stuff, but has no influence in this example.<br /><br />I hope someone can help me with this.<br /><br />I have a form that looks like this (it may not be too symantic):<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->&#60;form&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;fieldset&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;legend&#62;Papiersoort&#60;/legend&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;label&#62;HVO&#58;&#60;/label&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;input type=&#34;radio&#34; name=&#34;papiersoort&#34; checked=&#34;checked&#34; onclick=&#34;showpapiergewicht&#40;this.form&#41;; reken&#40;this.form&#41;;&#34;/&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;label&#62;Colorcopy&#58;&#60;/label&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;input type=&#34;radio&#34; name=&#34;papiersoort&#34; onclick=&#34;showpapiergewicht&#40;this.form&#41;; reken&#40;this.form&#41;;&#34; /&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;label&#62;MC&#58;&#60;/label&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;input type=&#34;radio&#34; name=&#34;papiersoort&#34; onclick=&#34;showpapiergewicht&#40;this.form&#41;; reken&#40;this.form&#41;;&#34; /&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;label&#62;Gekleurd papier&#58;&#60;/label&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;input type=&#34;radio&#34; name=&#34;papiersoort&#34; onclick=&#34;showpapiergewicht&#40;this.form&#41;; reken&#40;this.form&#41;;&#34; /&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;br /&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;select name=&#34;grams&#34; onchange=&#34;reken&#40;this.form&#41;&#34;&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht1&#34; value=&#34;80&#34;&#62;80 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht2&#34; value=&#34;90&#34;&#62;90 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht3&#34; value=&#34;100&#34;&#62;100 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht4&#34; value=&#34;120&#34;&#62;120 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht5&#34; value=&#34;160&#34;&#62;160 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht6&#34; value=&#34;200&#34;&#62;200 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht7&#34; value=&#34;250&#34;&#62;250 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;option id=&#34;papier_gewicht8&#34; value=&#34;300&#34;&#62;300 grms.&#60;/option&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#60;/select&#62;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#60;/fieldset&#62;<br />&#60;/form&#62;<!--c2--></div><!--ec2--><br /><br />And some java script:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->function showpapiergewicht&#40;oForm&#41; {<br />&nbsp;&nbsp;&nbsp;&nbsp;if &#40;oForm.papiersoort&#91;1&#93;.checked&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht1&#34;&#41;.style.display = 'none';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht2&#34;&#41;.style.display = 'none';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht3&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht4&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht5&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht6&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht7&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht8&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;else if &#40;oForm.papiersoort&#91;3&#93;.checked&#41;<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht1&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht2&#34;&#41;.style.display = 'none';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht3&#34;&#41;.style.display = 'none';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht4&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht5&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht6&#34;&#41;.style.display = 'none';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht7&#34;&#41;.style.display = 'none';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht8&#34;&#41;.style.display = 'none';<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;else if &#40;oForm.papiersoort&#91;0&#93;.checked || oForm.papiersoort&#91;2&#93;.checked&#41; <br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht1&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht2&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht3&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht4&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht5&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht6&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht7&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById&#40;&#34;papier_gewicht8&#34;&#41;.style.display = '';<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<!--c2--></div><!--ec2-->]]></description>
		<pubDate>Mon, 16 Nov 2009 13:52:00 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28596</guid>
	</item>
	<item>
		<title>Safely, Allowing Client To Edit Their Own Content</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28595</link>
		<description><![CDATA[Hello Folks,<br /><br /> Happy Up-Coming Holidays to All.<br /><br />Some one recently asked me if there was a way to have a “back door” to their website so they, personally, could update certain content (text) and not have to ask some one to do it for them.<br /><br />I know this can be achieved by altering the actual HTML file but this could lead to possible headaches that could end up costing more than hiring someone to make the changes.<br /><br />In Flash, using variables, I can load an external text page so I would think that using JavaScript this could also be done but like ActiveX, JavaScript can be disabled so…<br /><br />What would be the “Best Practice” to achieve this, back door, using HTML/XHTML?<br /><br /><br />Peace,<br />Elemental]]></description>
		<pubDate>Mon, 16 Nov 2009 13:11:39 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28595</guid>
	</item>
	<item>
		<title>Tree Manipulation In Dojo</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28594</link>
		<description><![CDATA[I have created a small code section that creates a tree.  I am having trouble finding the way to select an item and perform some task.  In the following code all I am trying to do is to display which item I selected.  This first code box is the code and then second is the data to populate the tree<br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>&lt;html dir="ltr"&gt;<br />    &lt;script&gt;<br />		function Select(what){<br />			alert( what +" was chosen");<br />		}<br />	&lt;/script&gt;<br />    &lt;head&gt;<br />        &lt;link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.3/dijit/themes/tundra/tundra.css"&gt;<br />        &lt;style type="text/css"&gt;<br />            body, html { font-family:helvetica,arial,sans-serif; font-size:90%; }<br />        &lt;/style&gt;<br />        &lt;style type="text/css"&gt;<br />            html, body { width: 100%; height: 100%; margin: 0; } #borderContainer<br />            { width: 100%; height: 100%; }<br />        &lt;/style&gt;<br />    &lt;/head&gt;<br />    <br />    &lt;body class="tundra "&gt;<br />		&lt;div dojoType="dijit.layout.ContentPane"  region="top"&gt;<br />			&lt;center&gt;&lt;h1&gt;Admin Control Center&lt;/h1&gt;&lt;/center&gt;<br />		&lt;/div&gt;<br />        &lt;div dojoType="dijit.layout.BorderContainer" design="sidebar" gutters="true"<br />        liveSplitters="true" id="borderContainer"&gt;<br />            &lt;div id="mainPage" dojoType="dijit.layout.ContentPane" splitter="true" region="center"&gt;<br />                &lt;h2&gt;Welcome! Select one of the items at the left to continue&lt;/h2&gt;<br />            &lt;/div&gt;		<br />	<br />            &lt;div dojoType="dijit.layout.ContentPane" splitter="true" region="leading"<br />            style="width: 200px;"&gt;<br />		        &lt;div dojoType="dojo.data.ItemFileReadStore"<br />		          url="AdminLabelList.json" jsid="listStore" /&gt;<br />				&lt;div  dojoType="dijit.tree.ForestStoreModel" rootLabel="Item List"<br />					childrenAttrs="line" store="listStore" <br />					jsId="listModel"&gt;&lt;/div&gt;<br /><br />				&lt;div dojoType="dijit.Tree" id="listTree" model="listModel"&gt;<br />					&lt;script type="dojo/method" onClick="Select(this)" args="item" &lt;/script&gt;<br />				&lt;/div&gt;<br />            &lt;/div&gt;<br /><br />        &lt;/div&gt;<br />    &lt;/body&gt;<br />    &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.3/dojo/dojo.<img src="http://w3schools.invisionzone.com/style_emoticons/default/xd.gif" style="vertical-align:middle" emoid="xD" border="0" alt="xd.gif" />.js"<br />    djConfig="parseOnLoad: true"&gt;<br />    &lt;/script&gt;<br />    &lt;script type="text/javascript"&gt;<br />	    dojo.require("dojo.data.ItemFileReadStore");<br />        dojo.require("dijit.layout.ContentPane");<br />        dojo.require("dijit.layout.BorderContainer");<br />		dojo.require("dijit.Tree");<br />        dojo.require("dijit.tree.ForestStoreModel");<br />		&lt;/script&gt;<br />   <br />&lt;/html&gt;</div><br /><br />The data :<br /><br /><div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>{<br />   identifier: 'id',<br />   label: 'description',<br />   items: [<br />      { id: 1, description:"Users", <br />        line: [<br />            { id: '1-1', description: 'Master List'},<br />            { id: '1-2', description: 'Individual Stats'}<br />        ]<br />      },<br />      { id: 2, description:"Traces", <br />        line: [<br />            { id: '2-1', description: 'Master List'},<br />            { id: '2-2', description: 'Trace Details'}<br />		]<br />      },<br />      { id: 3, description:"Functions", <br />        line: [<br />            { id: '3-1', description: 'Where Defined'},<br />            { id: '3-2', description: 'Where Used'}        <br />        ] <br />      }<br />   ]<br />}</div><br /><br />Thank you for any assistance<br />]]></description>
		<pubDate>Mon, 16 Nov 2009 13:07:07 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28594</guid>
	</item>
	<item>
		<title>Css Not Working Well</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28593</link>
		<description><![CDATA[Hello,<br /><br />I got a sample CSS file like this:<br />a img {<br />	border: 0;<br />}<br /><br />table.sortable {<br />	border-spacing: 0;<br />	border: 1px solid #000;<br />	border-collapse: collapse;<br />}<br />table.sortable th, table.sortable td {<br />	text-align: left;<br />	padding: 2px 4px 2px 4px;<br />	border-style: solid;<br />	border-color: #444;<br />}<br />table.sortable th {<br />	border-width: 1px 1px 1px 1px;<br />	background-color: #ccc;<br />}<br />table.sortable td {<br />	border-width: 1px 1px 0px 1px;<br />}<br />table.sortable tr.odd td {<br />	background-color: #ddd;<br />}<br />table.sortable tr.even td {<br />	background-color: #fff;<br />}<br />The code seems it can give the difference color for ODD or EVEN row from output.<br />I try to set the code avariable by add a &lt;link rel="stylesheet" type="text/css" href="example.css"/&gt; between &lt;head&gt; and &lt;/head&gt; tag.<br />The border parts worked. but the background-color wasn't. <br />Can anyone can tell me how to make the color working?<br />Thank you,<br />]]></description>
		<pubDate>Mon, 16 Nov 2009 12:59:03 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28593</guid>
	</item>
	<item>
		<title>Basic Array Question</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28592</link>
		<description><![CDATA[I successfully scripted an fetch array while loop on a table called example.  <br /><br />What's the name of the function that will return the name of the array that was created by the fetch array while loop?<br /><br />What's the name of the function that will turn the number of rows in an array?<br /><br />Thanks<br />]]></description>
		<pubDate>Mon, 16 Nov 2009 12:32:47 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28592</guid>
	</item>
	<item>
		<title>Video Player</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28591</link>
		<description><![CDATA[Hi,<br /><br />What's the player on the following page and how can I embed it to my website for my video files?<br /><br /><a href="http://www.layersmagazine.com/brushed-metal-effect-in-adobe-illustrator.html" target="_blank">http://www.layersmagazine.com/brushed-meta...llustrator.html</a><br /><br /><br /><br />Any help is greatly appreciated!<br /><br />Regards<br />Rain Lover]]></description>
		<pubDate>Mon, 16 Nov 2009 12:29:58 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28591</guid>
	</item>
	<item>
		<title>The Frameset Tags.</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28590</link>
		<description><![CDATA[Hello to all!!! <img src="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> <br /><br />I want to ask you please, if is there someone who know if it is available to disappear the border who appear between the frames, and if yes, how to do this.]]></description>
		<pubDate>Mon, 16 Nov 2009 11:52:48 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28590</guid>
	</item>
	<item>
		<title>Image Based Sites And Performance.</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28589</link>
		<description><![CDATA[I'm trying to build a site that uses a lot of images. The problem I'm having is that loading time is exceptionally slow, even on awesome connections.<br /><br />I've seen sites use a lot of images for navigations, backgrounds, and all over their site, but they don't seem to have the performance problem I do.<br /><br />Is there some special trick I don't know about?]]></description>
		<pubDate>Mon, 16 Nov 2009 10:44:28 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28589</guid>
	</item>
	<item>
		<title>Toolbar Link Issues</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28588</link>
		<description><![CDATA[I am currently writing code for a new toolbar and have come accross a problem where a link to an address which doesn't have a 'www.' is not inheriting the style rules (text should be white but remains blue). The code is below:<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->a.toolbar&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;float&#58; left;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-decoration&#58;none;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; white;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-image&#58;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url&#40;'images/toolbar.gif'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 85px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 35px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding&#58; 0px 10px 0px 10px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />a.toolbar&#58;hover &nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color&#58; #00ff00;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text-decoration&#58; underline;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;background-image&#58;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url&#40;'images/toolbar_over.gif'&#41;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width&#58; 85px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;height&#58; 35px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;padding&#58; 0px 10px 0px 10px;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&#60;a class=&#34;toolbar&#34; href=&#34;http&#58;//jabonline.myfastforum.org&#34;&#62;Forums&#60;/a&#62;<!--c2--></div><!--ec2--><br /><br />Is there anything missing in there that may solve the issue?]]></description>
		<pubDate>Mon, 16 Nov 2009 08:03:03 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28588</guid>
	</item>
	<item>
		<title>Need Help About Using Ajax To Submit The Form Without Page Changing</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28587</link>
		<description><![CDATA[I've asked my questions in HTML forum<br />and someone answer me that I may need to use AJAX<br />and all I've been knew about AJAX is , It's a technic to use javascript right?, or I misunderstood ?<br /><br />so I try to read and understand the tutorials in this website<br />but I'm too foolish to understand it  <img src="http://w3schools.invisionzone.com/style_emoticons/default/crazy.gif" style="vertical-align:middle" emoid=":crazy:" border="0" alt="crazy.gif" /> <br /><br />and I consider to post my topic again in this JAVA forum category<br /><br /><br />this is my questions:<br /><br />1. Which one of javascript I have to know to do what I want<br />2. If it's too hard to learn that script for newbie (it's me, I'm just a beginer of website coding) Would you please me by tell me the command or guide me<br />3. If I need to lean about AJAX . What is the knowledge I must knowing before<br /><br />Thanks you all<br /><br /><br />=This is my Questions which I copy from my topic= ; link=http://w3schools.invisionzone.com/index.php?showtopic=28583<br /><br /><!--quoteo(post=155516:date=Nov 16 2009, 02&#58;25 PM:name=lovekit)--><div class='quotetop'>QUOTE (lovekit &#064; Nov 16 2009, 02&#58;25 PM) <a href="index.php?act=findpost&pid=155516"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->How can I make my web page sending a form submit without link to that page<br /><br />- = I'm not good in using English language So I'll try to explain you my problem = -<br /><br />I want to make a page with a form (or Poll) to ask visiter something<br />But, How to make [Submit] or [Send] button to do just sending detail (or anything they're typeing in the field of the form)<br />just send form submit to my receiver&storage page<br /><br />I try to use target="(I tested all type)"<br />in that form<br />but it still redirect my page to my receiver page<br /><br />I want it to be just staying on that page , not change the page<br />Or maybe just show alert "your comment was received Thank you for comment"   &lt;&lt; like this (it's just sample)<br /><br />I knew, that AJAX can help me this problem<br />but I've been a foolish one. I don't understand it enough to use AJAX<br /><br />and I think, that must have anyway to do this by using just HTML JAVASCRIPT or PHP (I'm trying to understand PHP now but i'm just beginer)<br /><br /><br />so if you understand my question (that I think, I use a little wrong word or phase, B'cos I'm not good in English language)<br />Please help me<br /><br />Thanks for the answer<br />Thanks you to read my questions<br />Thanks you all<!--QuoteEnd--></div><!--QuoteEEnd--><br />]]></description>
		<pubDate>Mon, 16 Nov 2009 06:59:20 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28587</guid>
	</item>
	<item>
		<title>Please Help To Change Value Of Upload Button</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28586</link>
		<description><![CDATA[hi guys<br />This code is working fine<br />But  i don't wan't to access images via upload button.<br />i just want to pass a defined value ,just when i click on the button it should take that value and upload that file.<br />i have tried all combinations,<br />but i am unable to find that where to put that path such that path provided by upload button can be replaced <br />Please help<br /><br />&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br />&lt;html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"&gt;<br />&lt;head profile="http://gmpg.org/xfn/11"&gt;<br />&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;<br />&lt;title&gt;AJAX File Upload - Web Developer Plus Demos&lt;/title&gt;<br />&lt;script type="text/javascript" src="js/jquery-1.3.2.js" &gt;&lt;/script&gt;<br />&lt;script type="text/javascript" src="js/ajaxupload.3.5.js" &gt;&lt;/script&gt;<br />&lt;link rel="stylesheet" type="text/css" href="./styles.css" /&gt;<br />&lt;script type="text/javascript" &gt;<br />	$(function(){<br />		//var btnUpload=$('#upload');<br />		var btnUpload=$('#upload');<br />		var status=$('#status');<br />		new AjaxUpload(btnUpload, {<br />			action: 'http://localhost/upload-file.php',<br />			name: 'uploadfile',<br />			onSubmit: function(file, ext){<br />				 if (! (ext && /^(jpg|png|jpeg|gif)$/.test(ext))){ <br />                    // extension is not allowed <br />					status.text('Only JPG, PNG or GIF files are allowed');<br />					return false;<br />				}<br />				<br />			},<br />			onComplete: function(file, response){<br />				//On completion clear the status<br />				status.text('');<br />				//Add uploaded file to list<br />				if(response==="success"){<br />					$('&lt;li&gt;&lt;/li&gt;').appendTo('#files').html('&lt;img src="./uploads/'+file+'" alt="" /&gt;&lt;br /&gt;'+file).addClass('success');<br />				} else{<br />					$('&lt;li&gt;&lt;/li&gt;').appendTo('#files').text(file).addClass('error');<br />				}<br />			}<br />		});<br />		<br />	});<br />&lt;/script&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br /><br /><br />&lt;input type="button" id="upload"  /&gt;<br /><br /><br />&lt;/body&gt;<br />&lt;/html&gt;]]></description>
		<pubDate>Mon, 16 Nov 2009 05:53:20 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28586</guid>
	</item>
	<item>
		<title>Looking For A Sparkly Script</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28585</link>
		<description><![CDATA[Hi there,<br /><br />I'm making a space themed site and I'm looking for a script that will display sparkling stars against a black background (i.e. very small white dots speckled throughout the background which either continuously sparkle/shimmer or slowly fade in and out etc..).  The background is fixed, as well, so that only the foreground content scrolls.  Any suggestions on where I can find such a script?  I tried going to the google home page to find what I wanted, but all I could see there was a search box; nothing at all about sparklies. Weird...<br /><br />Haha (slapping knee). Seriously, though, I did find one website advertising sparkles on the mouse, without using an image.  It turns out the "sparkle" was the "*" sign.  Two or three of them appear in various colors as the mouse is moved around the page.  I wonder if something similar could be done with the "." (period, fullstop) symbol of various font sizes speckled around the background of a page so that an image would not be necessary.  They could then fade in and out at various intervals thus giving the appearance of sparkling stars.  If anyone feels like writing a script for me like that real quick I'd be so grateful. <img src="http://w3schools.invisionzone.com/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><br /><br />Actually, come to think of it, that won't do in this situation (though I am still curious if it could still be done in that way) cause I'm doing this as a zengarden submission so I can't change the html by inserting the periods, which means it would need to be a javascript image effect.  Of course, some kind of css solution that could achieve the desired effect would be even BETTER!  <br /><br />Anyway, thanks for any advice offered.<br />(makes like a tree and leafs)]]></description>
		<pubDate>Mon, 16 Nov 2009 05:47:09 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28585</guid>
	</item>
	<item>
		<title>Smtp Email - How Do I?</title>
		<link>http://w3schools.invisionzone.com/index.php?showtopic=28584</link>
		<description><![CDATA[I'm trying to send email using smtp from godaddy. Its a password recovery code, the user enters their email and a password is sent to them. But when I'm testing it it keeps giving me an error saying <br /><br />Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content in D:&#092;Hosting&#092;4447297&#092;html&#092;send_password_ac.php on line 53<br />Cannot send password to your e-mail address<br /><br />I called godaddy and they said to make sure i dont have a link and other stuff and that their server info is relay-hosting.secureserver.net ( i dont have this in my code, dont know how to incorporate it)<br /><br />Here is my code<br /><br />&lt;?<br /><br />$host="xxxxxxx"; // Host name <br />$username="xxxxxx"; // Mysql username <br />$password="xxxxxx"; // Mysql password <br />$db_name="xxxxx"; // Database name <br /><br /><br />//Connect to server and select databse.<br />mysql_connect("$host", "$username", "$password")or die("cannot connect to server"); <br />mysql_select_db("$db_name")or die("cannot select DB");<br /><br />// value sent from form <br />$email_to=$_POST['email_to'];<br /><br />// table name <br />$tbl_name=members; <br /><br />// retrieve password from table where e-mail<br />$sql="SELECT password FROM $tbl_name WHERE email='$email_to'";<br />$result=mysql_query($sql);<br /><br />// if found this e-mail address, row must be 1 row <br />// keep value in variable name "$count" <br />$count=mysql_num_rows($result);<br /><br />// compare if $count =1 row<br />if($count==1){<br /><br />$rows=mysql_fetch_array($result);<br /><br />// keep password in $your_password<br />$your_password=$rows['password'];<br /><br /><br />// ---------------- SEND MAIL FORM ---------------- <br /><br /><br />// send e-mail to ...<br />$to="$email_to"; <br /><br />// Your subject <br />$subject="Your password here"; <br /><br />// From <br />$header="from: khrishnabrown.info"; <br /><br />// Your message <br />$messages="Your password is $your_password ";<br /><br /><br />// send email <br />$sentmail=mail($to,$subject,$messages,$header); <br /><br />}<br /><br />// else if $count not equal 1 <br />else {<br />echo "Email not found in database  ";<br />} <br /><br />// if your email succesfully sent <br />if($sentmail){<br />echo "Your Password Has Been Sent To Your Email Address.";<br />}<br />else {<br />echo "Cannot send password to your e-mail address";<br />}<br /><br />?&gt;<br />]]></description>
		<pubDate>Mon, 16 Nov 2009 05:16:03 -0500</pubDate>
		<guid>http://w3schools.invisionzone.com/index.php?showtopic=28584</guid>
	</item>
</channel>
</rss>