<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1036149" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1036149</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/changing-html-links-drop-down-selections#comment-1208305</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;fifeclub;208304 wrote:&lt;/strong&gt; Thanks.  Worked great.  Only thing I had to do is add a top dummy option directing people to &quot;choose theme&quot;, otherwise you couldn&#039;t actually choose the top theme for some reason.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Good point.  I presumed one of the themes would be the current theme anyway, so it would be selected by default.  You can set the default option by adding &lt;strong&gt;selected=&quot;selected&quot;&lt;/strong&gt; in the option tag.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 09 Oct 2006 02:41:47 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1208305 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/changing-html-links-drop-down-selections#comment-1208304</link>
    <description> &lt;p&gt;Thanks.  Worked great.  Only thing I had to do is add a top dummy option directing people to &quot;choose theme&quot;, otherwise you couldn&#039;t actually choose the top theme for some reason.&lt;/p&gt;
 </description>
     <pubDate>Mon, 09 Oct 2006 01:51:57 +0000</pubDate>
 <dc:creator>fifeclub</dc:creator>
 <guid isPermaLink="false">comment 1208304 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/changing-html-links-drop-down-selections#comment-1208234</link>
    <description> &lt;p&gt;Whilst binding to &lt;strong&gt;onclick&lt;/strong&gt; will work in some browsers for when the user clicks an option, it won&#039;t work when the option is selected by keyboard, or even at all in browsers such as Konqueror.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;onchange&lt;/strong&gt; event is more general:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt; &amp;lt;select name=&amp;quot;blah&amp;quot; onchange=&amp;quot;setActiveStyleSheet(this.options[this.selectedIndex].value);&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option value=&amp;quot;Red&amp;quot;&amp;gt;Red Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option value=&amp;quot;Blue&amp;quot;&amp;gt;Blue Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option value=&amp;quot;Green&amp;quot;&amp;gt;Green Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option value=&amp;quot;Web 2.0&amp;quot;&amp;gt;Web 2.0 Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/select&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;this.selectedIndex&lt;/strong&gt; is an integer representing the selected option.  &lt;strong&gt;this.options[]&lt;/strong&gt; is an array of &lt;strong&gt;option&lt;/strong&gt; nodes in the current &lt;strong&gt;select&lt;/strong&gt; node.  &lt;strong&gt;value&lt;/strong&gt; holds whatever argument you want to send to the setActiveStyleSheet function.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 07 Oct 2006 14:20:04 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1208234 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/changing-html-links-drop-down-selections#comment-1208228</link>
    <description> &lt;p&gt;I&#039;m no javascript wiz but isn&#039;t it something like:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt; &amp;lt;select name=&amp;quot;blah&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option onclick=&amp;quot;setActiveStyleSheet(&amp;#039;Red&amp;#039;); return false;&amp;quot; &amp;gt;Red Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option onclick=&amp;quot;setActiveStyleSheet(&amp;#039;Blue&amp;#039;); return false;&amp;quot; &amp;gt;Blue Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option onclick=&amp;quot;setActiveStyleSheet(&amp;#039;Green&amp;#039;); return false;&amp;quot; &amp;gt;Green Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option onclick=&amp;quot;setActiveStyleSheet(&amp;#039;Web 2.0&amp;#039;); return false;&amp;quot; &amp;gt;Web 2.0 Style&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/select&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
 </description>
     <pubDate>Sat, 07 Oct 2006 12:04:08 +0000</pubDate>
 <dc:creator>andy206uk</dc:creator>
 <guid isPermaLink="false">comment 1208228 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
