<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/script</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 21 May 2013 11:33:22 GMT</pubDate>
<item>
<title>(JavaScript) Script for Twitter Widge - CKOink</title>
<link>http://snipplr.com/view/63582/script-for-twitter-widge/</link>
<description><![CDATA[ <p>Script for twitter widget</p> ]]></description>
<pubDate>Sun, 26 Feb 2012 18:34:21 GMT</pubDate>
<guid>http://snipplr.com/view/63582/script-for-twitter-widge/</guid>
</item>
<item>
<title>(JavaScript) Iterating over the properties of an object - luizlopes</title>
<link>http://snipplr.com/view/60876/iterating-over-the-properties-of-an-object/</link>
<description><![CDATA[ <p>JSLint requires the body of every `for in` statement should be wrapped in an `if` statement</p> ]]></description>
<pubDate>Wed, 16 Nov 2011 06:40:58 GMT</pubDate>
<guid>http://snipplr.com/view/60876/iterating-over-the-properties-of-an-object/</guid>
</item>
<item>
<title>(JavaScript) Slideshow with thumbnail gallery and zoom-effects - fabulant</title>
<link>http://snipplr.com/view/50497/slideshow-with-thumbnail-gallery-and-zoomeffects/</link>
<description><![CDATA[ <p>Free JavaScript slideshow with thumbnail gallery, zoom-in-effect, zoom-out-effect and transparency-effect (opacity). Add as many pictures as you like. Each picture can be linked and commented. The thumbnail gallery can be displayed or hidden. True copy-and-paste installation. Most of the design can be set with CSS (within the style-tags). Works with Internet Explorer 5x/6x/7x/8x/9x, Firefox 3x/4x, Opera 7x/8x/9x/10x/11x, Google Chrome 4x/5x/6x/7x/8x/9x.</p> ]]></description>
<pubDate>Fri, 11 Mar 2011 03:07:59 GMT</pubDate>
<guid>http://snipplr.com/view/50497/slideshow-with-thumbnail-gallery-and-zoomeffects/</guid>
</item>
<item>
<title>(JavaScript) Get Sub Webs - scholli</title>
<link>http://snipplr.com/view/49671/get-sub-webs/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 25 Feb 2011 23:51:18 GMT</pubDate>
<guid>http://snipplr.com/view/49671/get-sub-webs/</guid>
</item>
<item>
<title>(JavaScript) Execute JS on arrival only - primitiveshaun</title>
<link>http://snipplr.com/view/49023/execute-js-on-arrival-only/</link>
<description><![CDATA[ <p>JS to be perfomed on the users first visit to a page</p> ]]></description>
<pubDate>Tue, 15 Feb 2011 05:15:24 GMT</pubDate>
<guid>http://snipplr.com/view/49023/execute-js-on-arrival-only/</guid>
</item>
<item>
<title>(JavaScript) add script element - toto898</title>
<link>http://snipplr.com/view/43895/add-script-element/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Nov 2010 19:51:35 GMT</pubDate>
<guid>http://snipplr.com/view/43895/add-script-element/</guid>
</item>
<item>
<title>(JavaScript) self-contained flash object embedding - coprolit</title>
<link>http://snipplr.com/view/39558/selfcontained-flash-object-embedding/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 26 Aug 2010 21:50:14 GMT</pubDate>
<guid>http://snipplr.com/view/39558/selfcontained-flash-object-embedding/</guid>
</item>
<item>
<title>(JavaScript) Correct sytax for the XHTML &amp;amp; HTML 4  tag - PapillonUK</title>
<link>http://snipplr.com/view/33780/correct-sytax-for-the-xhtml--html-4--tag/</link>
<description><![CDATA[ <p>This is the correct markup for an inline script tag for HTML 4.01 and XHTML 1.0
Note the lack of any "language" attribute since this is deprecated.

In HTML 4, the content type is declared as CDATA, which means that entities will not be parsed. 

In XHTML, the content type is declared as (#PCDATA), which means that entities will be parsed. So to avoid having to encode the data between the  tag with enclose it in a CDATA section.
Some older browsers don't recgnise the CDATA tag so we "hide" them in Javascript comments "//"
This allows the page to be validated and also still work in older browsers.</p> ]]></description>
<pubDate>Mon, 03 May 2010 12:07:27 GMT</pubDate>
<guid>http://snipplr.com/view/33780/correct-sytax-for-the-xhtml--html-4--tag/</guid>
</item>
<item>
<title>(JavaScript) FFExt: Add JS file to loaded document - eternicode</title>
<link>http://snipplr.com/view/28355/ffext-add-js-file-to-loaded-document/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 15 Feb 2010 23:06:05 GMT</pubDate>
<guid>http://snipplr.com/view/28355/ffext-add-js-file-to-loaded-document/</guid>
</item>
<item>
<title>(JavaScript) User-Script Location Bar Hack - wizard04</title>
<link>http://snipplr.com/view/22474/userscript-location-bar-hack/</link>
<description><![CDATA[ <p>Runs a function from the address bar (like a bookmarklet). This can be used in Greasemonkey scripts to get around an XPCNativeWrapper object without accessing unsafeWindow.</p> ]]></description>
<pubDate>Wed, 04 Nov 2009 09:13:50 GMT</pubDate>
<guid>http://snipplr.com/view/22474/userscript-location-bar-hack/</guid>
</item>
<item>
<title>(JavaScript) Javascript Simple Script Loader - quickredfox</title>
<link>http://snipplr.com/view/18608/javascript-simple-script-loader/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 20 Aug 2009 12:48:31 GMT</pubDate>
<guid>http://snipplr.com/view/18608/javascript-simple-script-loader/</guid>
</item>
<item>
<title>(JavaScript) Conditional jQuery Implementation - iroybot</title>
<link>http://snipplr.com/view/16397/conditional-jquery-implementation/</link>
<description><![CDATA[ <p>1) if jQuery is already loaded into a browsers' cache -> do nothing
2) if the object is undefined, write a script-element into the source which references google's minified jquery file.
3) if jQuery is still undefined (let's assume Google is down). write a script reference to our local copy into the source.

You could also use the if statements to define different JS files for the frontend and the backend.
(as seen on www.ie6update.com)</p> ]]></description>
<pubDate>Sat, 27 Jun 2009 16:15:57 GMT</pubDate>
<guid>http://snipplr.com/view/16397/conditional-jquery-implementation/</guid>
</item>
<item>
<title>(JavaScript) JavaScript ShortCut Keys - brent-man</title>
<link>http://snipplr.com/view/6516/javascript-shortcut-keys/</link>
<description><![CDATA[ <p>HTML USAGE:
< body onKeypress="ShortCutKey()" >

ASCII REFERENCE:
09=Tab
11=Home
13=Enter
32=Space Bar

33=!
34="
35=#
36=$
37=%
38=&amp;
39='
40=(
41=)
42=*
43=+
44=,
45=-
46=.
47=/

48=0
49=1
50=2
51=3
52=4
53=5
54=6
55=7
56=8
57=9

58=:
59=;
60=<
61==
62=>
63=?
64=@

65=A
66=B
67=C
68=D
69=E
70=F
71=G
72=H
73=I
74=J
75=K
76=L
77=M
78=N
79=O
80=P
81=Q
82=R
83=S
84=T
85=U
86=V
87=W
88=X
89=Y
90=Z

91=[
92=\
93=]
94=^
95=-
96=`

97=a
98=b
99=c
100=d
101=e
102=f
103=g
104=h
105=i
106=j
107=k
108=l
109=m
110=n
111=o
112=p
113=q
114=r
115=s
116=t
117=u
118=v
119=w
120=x
121=y
122=z

123={
124=|
125=}
126=~</p> ]]></description>
<pubDate>Sat, 31 May 2008 12:14:37 GMT</pubDate>
<guid>http://snipplr.com/view/6516/javascript-shortcut-keys/</guid>
</item>
<item>
<title>(JavaScript) Script Tag - kangell</title>
<link>http://snipplr.com/view/5465/script-tag/</link>
<description><![CDATA[ <p>Javascript script tag with CDATA section because I can never remember the goofy CDATA syntax.</p> ]]></description>
<pubDate>Mon, 17 Mar 2008 15:14:39 GMT</pubDate>
<guid>http://snipplr.com/view/5465/script-tag/</guid>
</item>
<item>
<title>(JavaScript) bid.yahoo.com.tw - Feb30th1712</title>
<link>http://snipplr.com/view/5100/bidyahoocomtw/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 17 Feb 2008 14:21:09 GMT</pubDate>
<guid>http://snipplr.com/view/5100/bidyahoocomtw/</guid>
</item>
<item>
<title>(JavaScript) Snow JS Script - frakim</title>
<link>http://snipplr.com/view/4532/snow-js-script/</link>
<description><![CDATA[ <p>Pour avoir un effet de flocons de neige sur l'écran
Code insertion:</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 14:51:07 GMT</pubDate>
<guid>http://snipplr.com/view/4532/snow-js-script/</guid>
</item>
<item>
<title>(JavaScript) UFO - Unobtrusive Flash Objects - jonhenshaw</title>
<link>http://snipplr.com/view/2653/ufo--unobtrusive-flash-objects/</link>
<description><![CDATA[ <p>Use this javascript to display Flash movies. It's IE and SEO friendly. Requires HTML which can be found here: http://snipplr.com/view/2649/ufo--unobtrusive-flash-objects/</p> ]]></description>
<pubDate>Wed, 16 May 2007 08:12:27 GMT</pubDate>
<guid>http://snipplr.com/view/2653/ufo--unobtrusive-flash-objects/</guid>
</item>
<item>
<title>(JavaScript) JavaScript - Simple Example Istogramma - whitetiger</title>
<link>http://snipplr.com/view/1615/javascript--simple-example-istogramma/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:22 GMT</pubDate>
<guid>http://snipplr.com/view/1615/javascript--simple-example-istogramma/</guid>
</item>
<item>
<title>(JavaScript) Javascript - Sleep - whitetiger</title>
<link>http://snipplr.com/view/1605/javascript--sleep/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:55:08 GMT</pubDate>
<guid>http://snipplr.com/view/1605/javascript--sleep/</guid>
</item>
<item>
<title>(JavaScript) Javascript - Rollover con preview immagine - whitetiger</title>
<link>http://snipplr.com/view/1597/javascript--rollover-con-preview-immagine/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 09 Nov 2006 23:54:57 GMT</pubDate>
<guid>http://snipplr.com/view/1597/javascript--rollover-con-preview-immagine/</guid>
</item>
</channel>
</rss>