<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>DOM Scripting comments: ’Tis the season for DOM Scripting</title>
        <link>http://domscripting.com/blog/display/39</link>
        <description>24ways.org has finished its month of articles and DOM Scripting was well represented.</description>
        <language>en</language>
        <item>
            <title>Alex</title>
            <link>http://domscripting.com/blog/display.php/39#comment220</link>
            <content:encoded><![CDATA[<p>Thanks. The book is really amazing, you rock on so many levels for having written it. And for keeping this blog (it&#8217;s a great resource) and for actually responding to people&#8217;s comments. Very cool. Incommunicably so&#8230;</p>

<p>Unfortunately, the script still isn&#8217;t working, but at least it&#8217;s a step closer to it. I&#8217;m starting to wonder about scriptaculous&#8230;</p>
]]></content:encoded>
            <pubDate>Fri, 13 Jan 2006 04:37:39 GMT</pubDate>
        </item>
        <item>
            <title>Jeremy Keith</title>
            <link>http://domscripting.com/blog/display.php/39#comment219</link>
            <content:encoded><![CDATA[<p>getElementsByTagName will return a list of elements, not a single element. Right now, your variable sliderLink is an array.</p>

<p>If you&#8217;re trying to attach an event to a link with the id &quot;slideup&quot;, you don&#8217;t need the extra step with getElementsByTagName. Just attach the onclick event to the variable slider - which refers to document.getElementById(&quot;slideup&quot;).</p>
]]></content:encoded>
            <pubDate>Fri, 13 Jan 2006 01:44:44 GMT</pubDate>
        </item>
        <item>
            <title>Alex</title>
            <link>http://domscripting.com/blog/display.php/39#comment218</link>
            <content:encoded><![CDATA[<p>I was one of the people who commented on the scriptaculous article over at 24ways, and I&#8217;m reading the awesome book as we speak. I&#8217;ve been trying to hook up scriptaculous with unobtrusive javascript, but I&#8217;m not quite there (and I don&#8217;t know quite enough about javascript to actually make the final connection about whatever stupid mistake I&#8217;m making).</p>

<p>Right now, I have this:</p>

<p>function rawr() {
        var miniabout = document.getElementById(&#8216;miniabout&#8217;);
        var slider = document.getElementById(&#8216;slideup&#8217;);
        var sliderLink = slider.getElementsByTagName(&#8216;a&#8217;);
        sliderLink.onclick = function() {
                Effect.SlideUp(&#8216;miniabout&#8217;, {duration:1.0});
                return false;
                }
}</p>

<p>with the intended function: when a user clicks on the link with id &quot;slideup&quot; the slideup effect is triggered on the div with the id &quot;miniabout.&quot; I&#8217;m launching the whole thing using addLoadEvent, like you suggest in your book. It seems like this should work. What am I doing wrong? </p>

<p>I understand that you don&#8217;t have infinite time to answer stupid questions like this, but you know, it&#8217;s worth a shot.</p>
]]></content:encoded>
            <pubDate>Fri, 13 Jan 2006 01:37:17 GMT</pubDate>
        </item>
        <item>
            <title>elsakawai</title>
            <link>http://domscripting.com/blog/display.php/39#comment206</link>
            <content:encoded><![CDATA[<p>Congrat! I need to get one!</p>
]]></content:encoded>
            <pubDate>Fri, 30 Dec 2005 20:37:58 GMT</pubDate>
        </item>
   </channel>
</rss>