<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 17:52:44 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Resize a Popup to Fit an Image's Size - zensir</title>
      <link>https://snipplr.com/view/961/resize-a-popup-to-fit-an-images-size</link>
      <description>&lt;p&gt;Resize a Popup to Fit an Image's Size&#13;
By Peter Todorov&#13;
February 10th 2003&#13;
Reader Rating: 9.1&#13;
&#13;
If you're a Webmaster who has to deal with image galleries, then make a note of this clever script. It gives you a solution to a very common problem -- how to resize a popup window to fit the image sizes displayed in it. The script works in NS 4/5/6/7 and IE 4/5/6.&lt;/p&gt;</description>
      <pubDate>Mon, 28 Aug 2006 04:53:46 UTC</pubDate>
      <guid>https://snipplr.com/view/961/resize-a-popup-to-fit-an-images-size</guid>
    </item>
    <item>
      <title>(JavaScript) Setting target=â€œ_blankâ€ to external links and standards - zensir</title>
      <link>https://snipplr.com/view/918/setting-targetblank-to-external-links-and-standards</link>
      <description>&lt;p&gt;If you want your pages to be valid XHTML-Strict, but you also wish to open external links in new window, the following snippet is doing just thatâ€”sets attribute target=â€œ_blankâ€ to all external links in a document to keep your code valid XHTML-Strict.  Youâ€™ll just have to change variable yourURL. Donâ€™t enter http://www. part of your domain, otherwise something like http://sample.com/ will be treated like any other external link.&lt;/p&gt;</description>
      <pubDate>Wed, 23 Aug 2006 14:09:18 UTC</pubDate>
      <guid>https://snipplr.com/view/918/setting-targetblank-to-external-links-and-standards</guid>
    </item>
  </channel>
</rss>
