<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Glotzfisch.de &#187; (D)HTML</title>
	<atom:link href="http://www.glotzfisch.de/category/web-programming/dhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glotzfisch.de</link>
	<description>If something does not work out the way you want it to - try something different</description>
	<lastBuildDate>Wed, 26 May 2010 08:43:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Sky &gt; Add KML Overlays</title>
		<link>http://www.glotzfisch.de/google-sky-add-kml-overlays/</link>
		<comments>http://www.glotzfisch.de/google-sky-add-kml-overlays/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 16:17:28 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>
		<category><![CDATA[Geotagging]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[KML]]></category>
		<category><![CDATA[overlay]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=100</guid>
		<description><![CDATA[Nach etwas Frickelei läuft es jetzt halbwegs rund:
http://www.eso.org/2007/test/google/index2.html
see Attachment
]]></description>
			<content:encoded><![CDATA[<p>Nach etwas Frickelei läuft es jetzt halbwegs rund:<br />
<a href="http://www.eso.org/2007/test/google/index2.html" target="_blank">http://www.eso.org/2007/test/google/index2.html</a></p>
<p>see <a href="http://www.glotzfisch.de/?attachment_id=103">Attachment</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/google-sky-add-kml-overlays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Wrapper to avoid wrong clearing</title>
		<link>http://www.glotzfisch.de/content-wrapper-to-avoid-wrong-clearing/</link>
		<comments>http://www.glotzfisch.de/content-wrapper-to-avoid-wrong-clearing/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 16:46:51 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/?p=91</guid>
		<description><![CDATA[to avoid long empty spaces when clearing a float environment, wrap the content into a div with the following properties:

.wrapper {
   position:relative;
   overflow: hidden;
 }
]]></description>
			<content:encoded><![CDATA[<p>to avoid long empty spaces when clearing a float environment, wrap the content into a div with the following properties:</p>
<pre>
.wrapper {
   position:relative;
   overflow: hidden;
 }</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/content-wrapper-to-avoid-wrong-clearing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Checkbox Group in PHP</title>
		<link>http://www.glotzfisch.de/a-checkbox-group-in-php/</link>
		<comments>http://www.glotzfisch.de/a-checkbox-group-in-php/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 13:13:18 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/a-checkbox-group-in-php/</guid>
		<description><![CDATA[Und ich dachte, das ginge gar nicht&#8230; geht aber doch.
Wenn die Checkboxen alle denselben Namen haben, überschreibt die zweite die erste etc. Aber in PHP gibts dafür ja Arrays. Und man glaubt es kaum, man kann den Namen der Checkbox als Array definieren:

&#60;input type="checkbox" name="types[]" value="html"&#62; html&#60;br&#62;
&#60;input type="checkbox" name="types[]" value="php"&#62; php&#60;br&#62;
&#60;input type="checkbox" name="types[]" value="jpg"&#62; jpg&#60;br&#62;
und [...]]]></description>
			<content:encoded><![CDATA[<p>Und ich dachte, das ginge gar nicht&#8230; geht aber doch.</p>
<p>Wenn die Checkboxen alle denselben Namen haben, überschreibt die zweite die erste etc. Aber in PHP gibts dafür ja Arrays. Und man glaubt es kaum, man kann den Namen der Checkbox als Array definieren:</p>
<pre>
&lt;input type="checkbox" name="types[]" value="html"&gt; html&lt;br&gt;
&lt;input type="checkbox" name="types[]" value="php"&gt; php&lt;br&gt;
&lt;input type="checkbox" name="types[]" value="jpg"&gt; jpg&lt;br&gt;</pre>
<p>und dann ist:</p>
<pre>$a_types = ($_REQUEST["types"]);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/a-checkbox-group-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toggle Visibility und co</title>
		<link>http://www.glotzfisch.de/toggle-visibility-und-co/</link>
		<comments>http://www.glotzfisch.de/toggle-visibility-und-co/#comments</comments>
		<pubDate>Sun, 18 Nov 2007 22:13:59 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/toggle-visibility-und-co/</guid>
		<description><![CDATA[in fact, it&#8217;s toggle display here. The difference is that visibility reserves the space on the page but just does not display the text there and display really collapses the text to the remaining parts.
JavaScript Function:
 &#60;script language="JavaScript"&#62;
 function toggle(element)
 {
  //    alert (document.getElementById(element).style.display);
  var neuer_status;
  if(document.getElementById(element).style.display == 'block')
 [...]]]></description>
			<content:encoded><![CDATA[<p>in fact, it&#8217;s toggle display here. The difference is that visibility reserves the space on the page but just does not display the text there and display really collapses the text to the remaining parts.</p>
<h3>JavaScript Function:</h3>
<pre> &lt;script language="JavaScript"&gt;
 function toggle(element)
 {
  //    alert (document.getElementById(element).style.display);
  var neuer_status;
  if(document.getElementById(element).style.display == 'block')
    neuer_status = 'none'
  else
    neuer_status = 'block'
  document.getElementById(element).style.display = neuer_status;
 }
 &lt;/script&gt;</pre>
<h3>HTML Source Code</h3>
<p>(in a loop with $i)</p>
<pre> &lt;a href=# onMouseOver=javaScript:toggle(\"mem".$i."\");
           onMouseOut=javaScript:toggle(\"mem".$i."\");&gt;".Toggle!."&lt;/a&gt;
 &lt;div class=\"hiddenbox\" id=\"mem".$i."\"&gt;".Some hidden Text."&lt;/div&gt;</pre>
<h3>CSS Definition</h3>
<pre> .hiddenbox {
       position:absolute;
       display:inline;
       display:none;
       width:200px;
 }</pre>
<h3>Move a block to another position</h3>
<p>how to move a div box with JavaScript (das kann man natuerlich noch beliebig verfeinern, see also: <a href="http://www.html-world.de/program/dhtml_3.php" class="urllink">http://www.html-world.de/program/dhtml_3.php</a>.):</p>
<pre>  onClick = "document.getElementById(element).style.top=600+'px';"</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/toggle-visibility-und-co/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Headline for a Selectbox</title>
		<link>http://www.glotzfisch.de/a-headline-for-a-selectbox/</link>
		<comments>http://www.glotzfisch.de/a-headline-for-a-selectbox/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 22:11:53 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/a-headline-for-a-selectbox/</guid>
		<description><![CDATA[&#60;optgroup label="Einkaufen"/&#62;
]]></description>
			<content:encoded><![CDATA[<p><code>&lt;optgroup label="Einkaufen"/&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/a-headline-for-a-selectbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Gallery</title>
		<link>http://www.glotzfisch.de/image-gallery/</link>
		<comments>http://www.glotzfisch.de/image-gallery/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 20:57:10 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/image-gallery/</guid>
		<description><![CDATA[a small gallery of images
 &#60;style&#62;
 ul.gallery {list-style-type: none; margin:1em;}
 li.gallery {padding: 6px; float:left;  text-align:center;
             width:118px; height:160px;
             background:#DDDDDD; margin:2px; overflow:hidden;}
 div.image1 {width: 118px; height:114px; overflow:hidden;}
 &#60;/style&#62;

 [...]

 &#60;ul class="gallery"&#62;
  [...]]]></description>
			<content:encoded><![CDATA[<p>a small gallery of images</p>
<pre> &lt;style&gt;
 ul.gallery {list-style-type: none; margin:1em;}
 li.gallery {padding: 6px; float:left;  text-align:center;
             width:118px; height:160px;
             background:#DDDDDD; margin:2px; overflow:hidden;}
 div.image1 {width: 118px; height:114px; overflow:hidden;}
 &lt;/style&gt;

 [...]

 &lt;ul class="gallery"&gt;
   &lt;li class="gallery"&gt;
   &lt;div class="image1"&gt;&lt;a href="$pre$PicPathIn$bild"&gt;
      &lt;IMG src="$pre$Thumbnail" &gt;&lt;/a&gt;&lt;/div&gt;
   Some Text
   &lt;/li&gt;
 &lt;/ul&gt;</pre>
<p>used on the gallery pages of <span class="urllink">Catch a Star! 2007</span> ff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/image-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Fields!</title>
		<link>http://www.glotzfisch.de/more-fields/</link>
		<comments>http://www.glotzfisch.de/more-fields/#comments</comments>
		<pubDate>Thu, 08 Mar 2007 22:08:39 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/more-fields/</guid>
		<description><![CDATA[Add more fields to a form:
 &#60;script language = "JavaScript" type="text/javascript"&#62;
	 //	 alert ("hallo");
	 var counter = 1;
	 function addExchangeField() {
	   var table = document.getElementById("form");
	   counter = counter + 1;
	   document.forms[0].exchangefields.value = counter;
	   if (document.createElement) {
		 var tr = document.createElement("tr");
		 var td1 = document.createElement("td");
		 var td2 = [...]]]></description>
			<content:encoded><![CDATA[<p>Add more fields to a form:</p>
<pre> &lt;script language = "<a href="http://wiki.glotzfisch.de/index.php/GlotzFisch/JavaScript" class="wikilink">JavaScript</a>" type="text/javascript"&gt;
	 //	 alert ("hallo");
	 var counter = 1;
	 function addExchangeField() {
	   var table = document.getElementById("form");
	   counter = counter + 1;
	   document.forms[0].exchangefields.value = counter;
	   if (document.createElement) {
		 var tr = document.createElement("tr");
		 var td1 = document.createElement("td");
		 var td2 = document.createElement("td");
		 var input1 = document.createElement("input");
		 input1.id = "replacex_"+counter;
		 input1.name = "replacex_"+counter;
		 input1.type = "text";
		 var input2 = document.createElement("input");
		 input2.id = "replacey_"+counter;
		 input2.name = "replacey_"+counter;
		 input2.type = "text";
		 var text1 = document.createTextNode(" by ");
		 td2.appendChild(input1);
		 td2.appendChild(text1);
		 td2.appendChild(input2);
		 tr.appendChild(td1);
		 tr.appendChild(td2);
		 table.appendChild(tr);
	   }

	 }
 &lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/more-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CheckClick</title>
		<link>http://www.glotzfisch.de/checkclick/</link>
		<comments>http://www.glotzfisch.de/checkclick/#comments</comments>
		<pubDate>Thu, 11 Jan 2007 22:10:27 +0000</pubDate>
		<dc:creator>Gabi</dc:creator>
				<category><![CDATA[(D)HTML]]></category>

		<guid isPermaLink="false">http://www.glotzfisch.de/checkclick/</guid>
		<description><![CDATA[how to use a checkbox and &#8220;onClick&#8221;
 &#60;SCRIPT TYPE="text/javascript"&#62;
 function checkboxhandler(checkbox) {
   if (checkbox.checked) {
       alert ('checked');
   } else {
       alert ('unchecked');
   }
 }
 &#60;/SCRIPT&#62;

 &#60;input type="checkbox" name="somename" value="somevalue" onclick="checkboxhandler(this);"&#62;
]]></description>
			<content:encoded><![CDATA[<p>how to use a checkbox and &#8220;onClick&#8221;</p>
<pre> &lt;SCRIPT TYPE="text/javascript"&gt;
 function checkboxhandler(checkbox) {
   if (checkbox.checked) {
       alert ('checked');
   } else {
       alert ('unchecked');
   }
 }
 &lt;/SCRIPT&gt;

 &lt;input type="checkbox" name="somename" value="somevalue" onclick="checkboxhandler(this);"&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.glotzfisch.de/checkclick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
