<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Dreamwidth Development Training</title>
  <link>https://dw-dev-training.dreamwidth.org/</link>
  <description>Dreamwidth Development Training - Dreamwidth Studios</description>
  <lastBuildDate>Sun, 19 May 2013 00:50:27 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>dw_dev_training</lj:journal>
  <lj:journaltype>community</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/92798/30813</url>
    <title>Dreamwidth Development Training</title>
    <link>https://dw-dev-training.dreamwidth.org/</link>
    <width>100</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/47334.html</guid>
  <pubDate>Sun, 19 May 2013 00:50:27 GMT</pubDate>
  <title>Free CodeSchool for a weekend</title>
  <link>https://dw-dev-training.dreamwidth.org/47334.html</link>
  <description>Posted by: &lt;span lj:user=&apos;foxfirefey&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://foxfirefey.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://foxfirefey.dreamwidth.org/&apos;&gt;&lt;b&gt;foxfirefey&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you&apos;re looking to brush up on Javascript, CSS, or HTML skills and you don&apos;t already have an account, &lt;a href=&quot;http://www.codeschool.com/free-weekend?fb_action_ids=10201128707883052&amp;amp;fb_action_types=og.likes&amp;amp;fb_ref=.UZaSvvvXBpk.send&amp;amp;fb_source=aggregation&amp;amp;fb_aggregation_id=288381481237582&quot;&gt;CodeSchool is having a free weekend May 25-26th.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=47334&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/47334.html</comments>
  <category>javascript</category>
  <category>html</category>
  <category>css</category>
  <lj:security>public</lj:security>
  <lj:poster>foxfirefey</lj:poster>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/22773.html</guid>
  <pubDate>Wed, 14 Jul 2010 21:47:30 GMT</pubDate>
  <title>Best way to add jQuery to a page</title>
  <link>https://dw-dev-training.dreamwidth.org/22773.html</link>
  <description>Posted by: &lt;span lj:user=&apos;jportela&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://jportela.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://jportela.dreamwidth.org/&apos;&gt;&lt;b&gt;jportela&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I&apos;ve been trying to add jQuery support to the poll pages, and I want to know the best way to do this.&lt;br /&gt;&lt;br /&gt; I tried to use &lt;br /&gt;&lt;br /&gt;LJ::need_res(&apos;js/jquery/jquery-1.3.2.min.js&apos;); &lt;br /&gt;&lt;br /&gt;in cgi-bin/LJ/Poll.pm render method, and doing this did include the jquery library (at least by navigating the source code, the &amp;lt;script&amp;gt; tag was there). However, it appears that I can&apos;t use it in htdocs/js/livejournal.js (I wanted to use the initPolls function, to change the submit event on polls), there seems to be a conflict and the script crashes the first time a $ (jquery) is used.&lt;br /&gt;&lt;br /&gt;One way around this would be not use the jQuery library at all, but that would mean I would have to serialize the form myself (not very hard, but the jquery implementation would probably be the best).&lt;br /&gt;&lt;br /&gt;Please share your thoughts on this, I may be including the jquery library in a very unorthodox way :)&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=22773&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/22773.html</comments>
  <category>jquery</category>
  <category>javascript</category>
  <lj:security>public</lj:security>
  <lj:poster>jportela</lj:poster>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/11524.html</guid>
  <pubDate>Fri, 09 Oct 2009 15:48:46 GMT</pubDate>
  <title>More Javascript help, please</title>
  <link>https://dw-dev-training.dreamwidth.org/11524.html</link>
  <description>Posted by: &lt;span lj:user=&apos;cesy&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://cesy.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://cesy.dreamwidth.org/&apos;&gt;&lt;b&gt;cesy&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I have a link, and when you click on it, it calls &lt;code&gt;edit_tagcloud(tagname);&lt;/code&gt;.&lt;br /&gt;I then have a function defined:&lt;br /&gt;&lt;code&gt;function edit_tagcloud(newtag)&lt;br /&gt;{&lt;br /&gt;    if (! newtag) return;&lt;br /&gt;    var cur_taglist = document.getElementById(&apos;prop_taglist&apos;).value;&lt;br /&gt;    if (cur_taglist.length &amp;gt; 0) {&lt;br /&gt;        cur_taglist = cur_taglist + &quot;, &quot; + newtag;&lt;br /&gt;    } else {&lt;br /&gt;        cur_taglist = newtag;&lt;br /&gt;    }&lt;br /&gt;    document.getElementById(&apos;prop_taglist&apos;).value = cur_taglist;&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;What I&apos;m aiming for is that tagname is added to the list already in prop_taglist, which is the id for the tags input box. However, the code above doesn&apos;t work - nothing happens when I click on the link. Can anyone tell me what I&apos;m doing wrong, or give me any tips on how to debug Javascript like this?&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=11524&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/11524.html</comments>
  <category>question</category>
  <category>javascript</category>
  <lj:security>public</lj:security>
  <lj:poster>cesy</lj:poster>
  <lj:reply-count>5</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dw-dev-training.dreamwidth.org/10580.html</guid>
  <pubDate>Mon, 21 Sep 2009 07:08:13 GMT</pubDate>
  <title>Javascript help</title>
  <link>https://dw-dev-training.dreamwidth.org/10580.html</link>
  <description>Posted by: &lt;span lj:user=&apos;cesy&apos; style=&apos;white-space: nowrap;&apos; class=&apos;ljuser&apos;&gt;&lt;a href=&apos;https://cesy.dreamwidth.org/profile&apos;&gt;&lt;img src=&apos;https://www.dreamwidth.org/img/silk/identity/user.png&apos; alt=&apos;[personal profile] &apos; width=&apos;17&apos; height=&apos;17&apos; style=&apos;vertical-align: text-bottom; border: 0; padding-right: 1px;&apos; /&gt;&lt;/a&gt;&lt;a href=&apos;https://cesy.dreamwidth.org/&apos;&gt;&lt;b&gt;cesy&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am trying to implement a solution to &lt;a href=&quot;http://bugs.dwscoalition.org/show_bug.cgi?id=581&quot;&gt;Bug 581&lt;/a&gt;, and I need to do some Javascript that will make a hidden section appear when clicked on. So far I have this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$out .= &quot;&lt;a&gt;Click here to see all your tags&lt;/a&gt;&quot;;&lt;br /&gt;$out .= &quot;&lt;span class=&quot;taglist text&quot; style=&quot;display: none;&quot;&gt;&quot;;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;(and then the actual content in the span). What should my ShowTags() function actually do in order to change the style to display:inline? I found one example on the web, but it used fancy browser-sniffing, and it appears we have our own browser-sniffing module and I don&apos;t know how to adapt it for that.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=10580&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dw-dev-training.dreamwidth.org/10580.html</comments>
  <category>question</category>
  <category>javascript</category>
  <lj:security>public</lj:security>
  <lj:poster>cesy</lj:poster>
  <lj:reply-count>15</lj:reply-count>
</item>
</channel>
</rss>
