<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-04-10:30813</id>
  <title>Dreamwidth Development Training</title>
  <subtitle>Dreamwidth Development Training</subtitle>
  <author>
    <name>Dreamwidth Development Training</name>
  </author>
  <link rel="alternate" type="text/html" href="https://dw-dev-training.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://dw-dev-training.dreamwidth.org/data/atom"/>
  <updated>2013-05-19T00:50:27Z</updated>
  <dw:journal username="dw_dev_training" type="community"/>
  <entry>
    <id>tag:dreamwidth.org,2009-04-10:30813:47334</id>
    <author>
      <name>foxfirefey</name>
    </author>
    <dw:poster user="foxfirefey"/>
    <link rel="alternate" type="text/html" href="https://dw-dev-training.dreamwidth.org/47334.html"/>
    <link rel="self" type="text/xml" href="https://dw-dev-training.dreamwidth.org/data/atom/?itemid=47334"/>
    <title>Free CodeSchool for a weekend</title>
    <published>2013-05-19T00:50:27Z</published>
    <updated>2013-05-19T00:50:27Z</updated>
    <category term="html"/>
    <category term="javascript"/>
    <category term="css"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">Posted by: &lt;span lj:user='foxfirefey' style='white-space: nowrap;' class='ljuser'&gt;&lt;a href='https://foxfirefey.dreamwidth.org/profile'&gt;&lt;img src='https://www.dreamwidth.org/img/silk/identity/user.png' alt='[personal profile] ' width='17' height='17' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /&gt;&lt;/a&gt;&lt;a href='https://foxfirefey.dreamwidth.org/'&gt;&lt;b&gt;foxfirefey&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you're looking to brush up on Javascript, CSS, or HTML skills and you don't already have an account, &lt;a href="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"&gt;CodeSchool is having a free weekend May 25-26th.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=47334" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-04-10:30813:22773</id>
    <author>
      <name>jportela</name>
    </author>
    <dw:poster user="jportela"/>
    <link rel="alternate" type="text/html" href="https://dw-dev-training.dreamwidth.org/22773.html"/>
    <link rel="self" type="text/xml" href="https://dw-dev-training.dreamwidth.org/data/atom/?itemid=22773"/>
    <title>Best way to add jQuery to a page</title>
    <published>2010-07-14T21:47:30Z</published>
    <updated>2010-07-14T21:47:30Z</updated>
    <category term="javascript"/>
    <category term="jquery"/>
    <dw:security>public</dw:security>
    <dw:reply-count>2</dw:reply-count>
    <content type="html">Posted by: &lt;span lj:user='jportela' style='white-space: nowrap;' class='ljuser'&gt;&lt;a href='https://jportela.dreamwidth.org/profile'&gt;&lt;img src='https://www.dreamwidth.org/img/silk/identity/user.png' alt='[personal profile] ' width='17' height='17' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /&gt;&lt;/a&gt;&lt;a href='https://jportela.dreamwidth.org/'&gt;&lt;b&gt;jportela&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I'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('js/jquery/jquery-1.3.2.min.js'); &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'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="https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=22773" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-04-10:30813:11524</id>
    <author>
      <name>Cesy</name>
    </author>
    <dw:poster user="cesy"/>
    <link rel="alternate" type="text/html" href="https://dw-dev-training.dreamwidth.org/11524.html"/>
    <link rel="self" type="text/xml" href="https://dw-dev-training.dreamwidth.org/data/atom/?itemid=11524"/>
    <title>More Javascript help, please</title>
    <published>2009-10-09T15:48:46Z</published>
    <updated>2009-10-09T15:48:46Z</updated>
    <category term="question"/>
    <category term="javascript"/>
    <dw:security>public</dw:security>
    <dw:reply-count>5</dw:reply-count>
    <content type="html">Posted by: &lt;span lj:user='cesy' style='white-space: nowrap;' class='ljuser'&gt;&lt;a href='https://cesy.dreamwidth.org/profile'&gt;&lt;img src='https://www.dreamwidth.org/img/silk/identity/user.png' alt='[personal profile] ' width='17' height='17' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /&gt;&lt;/a&gt;&lt;a href='https://cesy.dreamwidth.org/'&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('prop_taglist').value;&lt;br /&gt;    if (cur_taglist.length &amp;gt; 0) {&lt;br /&gt;        cur_taglist = cur_taglist + ", " + newtag;&lt;br /&gt;    } else {&lt;br /&gt;        cur_taglist = newtag;&lt;br /&gt;    }&lt;br /&gt;    document.getElementById('prop_taglist').value = cur_taglist;&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;What I'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't work - nothing happens when I click on the link. Can anyone tell me what I'm doing wrong, or give me any tips on how to debug Javascript like this?&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=11524" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-04-10:30813:10580</id>
    <author>
      <name>Cesy</name>
    </author>
    <dw:poster user="cesy"/>
    <link rel="alternate" type="text/html" href="https://dw-dev-training.dreamwidth.org/10580.html"/>
    <link rel="self" type="text/xml" href="https://dw-dev-training.dreamwidth.org/data/atom/?itemid=10580"/>
    <title>Javascript help</title>
    <published>2009-09-21T07:08:13Z</published>
    <updated>2009-09-21T13:39:57Z</updated>
    <category term="question"/>
    <category term="javascript"/>
    <dw:security>public</dw:security>
    <dw:reply-count>15</dw:reply-count>
    <content type="html">Posted by: &lt;span lj:user='cesy' style='white-space: nowrap;' class='ljuser'&gt;&lt;a href='https://cesy.dreamwidth.org/profile'&gt;&lt;img src='https://www.dreamwidth.org/img/silk/identity/user.png' alt='[personal profile] ' width='17' height='17' style='vertical-align: text-bottom; border: 0; padding-right: 1px;' /&gt;&lt;/a&gt;&lt;a href='https://cesy.dreamwidth.org/'&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="http://bugs.dwscoalition.org/show_bug.cgi?id=581"&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 .= "&lt;a&gt;Click here to see all your tags&lt;/a&gt;";&lt;br /&gt;$out .= "&lt;span class="taglist text" style="display: none;"&gt;";&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't know how to adapt it for that.&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=dw_dev_training&amp;ditemid=10580" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
