<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>notes</title>
	<atom:link href="http://blogs.webbait.com/notes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.webbait.com/notes</link>
	<description>Just another webBait blogs weblog</description>
	<pubDate>Thu, 23 Apr 2009 23:05:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CSS Rounded Corners</title>
		<link>http://blogs.webbait.com/notes/2009/04/23/css-rounded-corners/</link>
		<comments>http://blogs.webbait.com/notes/2009/04/23/css-rounded-corners/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 23:05:16 +0000</pubDate>
		<dc:creator>rob</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.webbait.com/notes/?p=32</guid>
		<description><![CDATA[Here are CSS styles for rounded corners in Firefox, Safari, &#38; Chrome:

-moz-border-radius: 10px;
-webkit-border-radius: 10px;

]]></description>
			<content:encoded><![CDATA[<p>Here are CSS styles for rounded corners in Firefox, Safari, &amp; Chrome:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.webbait.com/notes/2009/04/23/css-rounded-corners/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Conflicts with jQuery $ function</title>
		<link>http://blogs.webbait.com/notes/2009/04/17/conflicts-with-jquery-function/</link>
		<comments>http://blogs.webbait.com/notes/2009/04/17/conflicts-with-jquery-function/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 21:44:19 +0000</pubDate>
		<dc:creator>rob</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.webbait.com/notes/?p=29</guid>
		<description><![CDATA[Prevent a $ function for jQuery from conflicting with some other use of the global $ function:

&#40;function&#40;$&#41; &#123;
    // Within this block, $ is a reference to jQuery
&#125;&#41;&#40;jQuery&#41;;

]]></description>
			<content:encoded><![CDATA[<p>Prevent a $ function for jQuery from conflicting with some other use of the global $ function:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #006600; font-style: italic;">// Within this block, $ is a reference to jQuery</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.webbait.com/notes/2009/04/17/conflicts-with-jquery-function/feed/</wfw:commentRss>
		</item>
		<item>
		<title>clickTag (Actionscript 2.0)</title>
		<link>http://blogs.webbait.com/notes/2009/04/14/clicktag-actionscript-20/</link>
		<comments>http://blogs.webbait.com/notes/2009/04/14/clicktag-actionscript-20/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 17:31:05 +0000</pubDate>
		<dc:creator>rob</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.webbait.com/notes/?p=20</guid>
		<description><![CDATA[Here is the standard Adobe clickTag for Actionscript 2.0.

on &#40;release&#41; &#123;
if &#40;clickTAG.substr&#40;0,5&#41; == &#34;http:&#34;&#41; &#123;
getURL&#40;clickTAG&#41;;
&#125;
&#125;

This has some security built in by requiring the click through url start with http but it won&#8217;t work on secure servers. For example, in the preview window of secured ad server (like OpenX) the click won&#8217;t function but when served [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the standard Adobe clickTag for Actionscript 2.0.

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>clickTAG.<span style="color: #0066CC;">substr</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #ff0000;">&quot;http:&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span>clickTAG<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>This has some security built in by requiring the click through url start with http but it won&#8217;t work on secure servers. For example, in the preview window of secured ad server (like OpenX) the click won&#8217;t function but when served to a regular website the click works fine.</p>
<p>Many sites serve ads through iFrames. For this clickTag to work from an iFrame a &#8220;_blank&#8221; target parameter must be defined. On ad servers that allow target setting, a clickTARGET may be used.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>clickTAG.<span style="color: #0066CC;">substr</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #ff0000;">&quot;http:&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span>clickTAG,<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>clickTAG.<span style="color: #0066CC;">substr</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span> == <span style="color: #ff0000;">&quot;http:&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">getURL</span><span style="color: #66cc66;">&#40;</span>clickTAG,clickTARGET<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blogs.webbait.com/notes/2009/04/14/clicktag-actionscript-20/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
