<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>Tildemark blogs</title>
        <link>http://www.tildemark.com/</link>
        <description>Blogging on uniquely random things. </description>
        <language>en</language>
        <copyright>Copyright 2008</copyright>
        <lastBuildDate>Mon, 12 Feb 2007 06:28:08 +0800</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <item>
            <title>Adding Bookmark This link to your website using javascript</title>
            <description><![CDATA[<p>We could easily add a bookmark this site link or add to your favorite sites link using javascript by adding the following code to your website:<br />
<code><br />
&lt;script language="javascript"&gt;<br />
function addBookmark()<br />
  {<br />
    bookmarkurl = "http://www.tildemark.com";<br />
    bookmarktitle="Tildemark blogs";<br />
    if (document.all)<br />
      window.external.AddFavorite(bookmarkurl,bookmarktitle)<br />
    else if ( window.sidebar ) { <br />
      window.sidebar.addPanel(bookmarktitle, bookmarkurl,"");<br />
  }<br />
&lt;/script&gt;<br />
</code></p>

<p>You can then place your bookmark link by adding an onClick function on your anchor tag like this:<br />
<code><br />
&lt;a href="javascript:addBookmark();"&gt;Bookmark this page!&lt;/a&gt;<br />
</code></p>

<p>Here's a sample code:<br />
<a href="javascript:addBookmark()">Bookmark this page!</a></p>

<p>Please note that this code is browser dependent.</p>]]></description>
            <link>http://www.tildemark.com/programming/javascript/adding-bookmark-this-to-your-website-using-javascr.html</link>
            <guid>http://www.tildemark.com/programming/javascript/adding-bookmark-this-to-your-website-using-javascr.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Javascript</category>
            
            
            <pubDate>Mon, 12 Feb 2007 06:28:08 +0800</pubDate>
        </item>
        
        <item>
            <title>Making the entire div clickable</title>
            <description><![CDATA[<p>We could make an entire div tag clickable by redirecting the click to a page and by changing the cursor sytle to a pointer. This is good if you want your logo or your banner to be clickable, specially if the logo is embedded together with the banner. Making the entire banner clickable would be very beneficial to your site. </p>

<div class="module-code">

<p>&lt;div onclick="location.href='http://www.tildemark.com/';" style="cursor: pointer;"&gt;<br />
&lt;/div&gt;</p>

</div>]]></description>
            <link>http://www.tildemark.com/programming/javascript/making-the-entire-div-clickable.html</link>
            <guid>http://www.tildemark.com/programming/javascript/making-the-entire-div-clickable.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Javascript</category>
            
            
            <pubDate>Wed, 15 Nov 2006 10:31:37 +0800</pubDate>
        </item>
        
    </channel>
</rss>






