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

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>This site works best in a real browser - Software</title>
    <link>http://grahamcox.co.uk/serendipity/</link>
    <description>My little place on the web...</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <pubDate>Thu, 20 Jul 2006 13:14:38 GMT</pubDate>

    <image>
        <url>http://grahamcox.co.uk/serendipity/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: This site works best in a real browser - Software - My little place on the web...</title>
        <link>http://grahamcox.co.uk/serendipity/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Multiple Browsers</title>
    <link>http://grahamcox.co.uk/serendipity/index.php?/archives/11-Multiple-Browsers.html</link>
            <category>Software</category>
    
    <comments>http://grahamcox.co.uk/serendipity/index.php?/archives/11-Multiple-Browsers.html#comments</comments>
    <wfw:comment>http://grahamcox.co.uk/serendipity/wfwcomment.php?cid=11</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://grahamcox.co.uk/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=11</wfw:commentRss>
    

    <author>nospam@example.com (Graham Cox)</author>
    <content:encoded>
    Both IE and Firefox have standalone versions of their browsers that can be downloaded and &quot;installed&quot; onto your system for easy testing purposes. Microsoft seem to have removed this from IE as of the new IE7 however (possibly just in the betas) but it is possible to find downloads for IE7B1 and IE7B2 that have managed to get this working.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://grahamcox.co.uk/serendipity/exit.php?url=aHR0cDovL2Jyb3dzZXJzLmV2b2x0Lm9yZy8/aWUvMzJiaXQvc3RhbmRhbG9uZQ==&amp;amp;entry_id=11&quot; title=&quot;http://browsers.evolt.org/?ie/32bit/standalone&quot;  onmouseover=&quot;window.status=&#039;http://browsers.evolt.org/?ie/32bit/standalone&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Standalone IE&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://grahamcox.co.uk/serendipity/exit.php?url=aHR0cDovL3BvcnRhYmxlYXBwcy5jb20vYXBwcy9pbnRlcm5ldC9icm93c2Vycy9wb3J0YWJsZV9maXJlZm94&amp;amp;entry_id=11&quot; title=&quot;http://portableapps.com/apps/internet/browsers/portable_firefox&quot;  onmouseover=&quot;window.status=&#039;http://portableapps.com/apps/internet/browsers/portable_firefox&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Portable Firefox&lt;/a&gt;. This only seems to have 1.5.0.3 available, but it is possible to find 2.0B1 and 1.0.7 around as well. 
    </content:encoded>

    <pubDate>Thu, 20 Jul 2006 14:10:18 +0100</pubDate>
    <guid isPermaLink="false">http://grahamcox.co.uk/serendipity/index.php?/archives/11-guid.html</guid>
    
</item>
<item>
    <title>Keyboard handling and Opera</title>
    <link>http://grahamcox.co.uk/serendipity/index.php?/archives/8-Keyboard-handling-and-Opera.html</link>
            <category>Cross-Browser</category>
            <category>Opera</category>
    
    <comments>http://grahamcox.co.uk/serendipity/index.php?/archives/8-Keyboard-handling-and-Opera.html#comments</comments>
    <wfw:comment>http://grahamcox.co.uk/serendipity/wfwcomment.php?cid=8</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://grahamcox.co.uk/serendipity/rss.php?version=2.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    

    <author>nospam@example.com (Graham Cox)</author>
    <content:encoded>
    Keyboard handling in Javascript events gives a whole new meaning to &quot;impossible&quot;. It turns out that there is simply no reliable way to do this and still have your code work across the board.&lt;br /&gt;
&lt;br /&gt;
The main problem here turns out to be Opera. Opera, in their ultimate wisdom, have decided that in the &lt;i&gt;keypress&lt;/i&gt; event they will give you the &lt;i&gt;Keyboard code&lt;/i&gt; for function keys, and &lt;i&gt;Character code&lt;/i&gt; for all other keys. The problem is that they give you this code in the same variable in the event object. &lt;br /&gt;
&lt;br /&gt;
The problem comes from the fact that the keyboard code and the character code can, and often do, overlap each other. For example, the character code for the period character is 46. It just so happens that the keyboard code for the delete key is also 46. Having compared the event object that is passed into the keypress event when the period and the delete key are pressed, the event objects are identical. There is not a single way to tell the difference between those two keys in that event!&lt;br /&gt;
&lt;br /&gt;
As it happens, the reason I was trying to do this was to have a text field that only allows certain keys to be pressed. Period wasn&#039;t one of the keys, but I did want all the function keys to work (arrows, delete, home, end, etc). Another &quot;feature&quot; of Opera is that these keys can not be cancelled. As such, if I think it might be a period I can try and cancel it, and if it&#039;s a period it&#039;s cancelled and if it&#039;s a delete then it&#039;s not. 
    </content:encoded>

    <pubDate>Mon, 17 Jul 2006 13:52:31 +0100</pubDate>
    <guid isPermaLink="false">http://grahamcox.co.uk/serendipity/index.php?/archives/8-guid.html</guid>
    
</item>

</channel>
</rss>