<?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/php/tags/indexhibit</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 03:18:29 GMT</pubDate>
<item>
<title>(PHP) Indexhibit accordion menu v2 - G470</title>
<link>http://snipplr.com/view/64556/indexhibit-accordion-menu-v2/</link>
<description><![CDATA[ <p>Toggle section titles</p> ]]></description>
<pubDate>Sun, 15 Apr 2012 00:56:03 GMT</pubDate>
<guid>http://snipplr.com/view/64556/indexhibit-accordion-menu-v2/</guid>
</item>
<item>
<title>(PHP) Indexhibit Fullscreen Css Background - G470</title>
<link>http://snipplr.com/view/64555/indexhibit-fullscreen-css-background/</link>
<description><![CDATA[ <p>Use this code to call the Plugin: 
</p> ]]></description>
<pubDate>Sun, 15 Apr 2012 00:51:22 GMT</pubDate>
<guid>http://snipplr.com/view/64555/indexhibit-fullscreen-css-background/</guid>
</item>
<item>
<title>(PHP) Indexhibit nextlink - G470</title>
<link>http://snipplr.com/view/61913/indexhibit-nextlink/</link>
<description><![CDATA[ <p>Save this as plugin.nextlink.php to your ndxz-studio/site/plugin folder. Call the Plugin where you need it: &amp;lt;plug:nextlink /&amp;gt;

Original by "gd" http://www.indexhibit.org/forum/thread/7879/</p> ]]></description>
<pubDate>Thu, 15 Dec 2011 20:04:14 GMT</pubDate>
<guid>http://snipplr.com/view/61913/indexhibit-nextlink/</guid>
</item>
<item>
<title>(PHP) inexhibit in progress - orionrush</title>
<link>http://snipplr.com/view/51467/inexhibit-in-progress/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 03 Apr 2011 06:28:24 GMT</pubDate>
<guid>http://snipplr.com/view/51467/inexhibit-in-progress/</guid>
</item>
<item>
<title>(PHP) backstretch for indexhibit - orionrush</title>
<link>http://snipplr.com/view/51352/backstretch-for-indexhibit/</link>
<description><![CDATA[ <p>This is a jquery full screen background image plugin for indexhibit using 
http://srobbin.com/jquery-plugins/jquery-backstretch/</p> ]]></description>
<pubDate>Thu, 31 Mar 2011 03:14:47 GMT</pubDate>
<guid>http://snipplr.com/view/51352/backstretch-for-indexhibit/</guid>
</item>
<item>
<title>(PHP) suckerMenu for Indexhibit - orionrush</title>
<link>http://snipplr.com/view/51213/suckermenu-for-indexhibit/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 28 Mar 2011 22:35:03 GMT</pubDate>
<guid>http://snipplr.com/view/51213/suckermenu-for-indexhibit/</guid>
</item>
<item>
<title>(PHP) Zoom image hack for exhibit.horizontal.php - flatearthcomms</title>
<link>http://snipplr.com/view/39642/zoom-image-hack-for-exhibithorizontalphp/</link>
<description><![CDATA[ <p>I've tweaked the exhibit.horizontal.php file so that the images link through to hi-res versions that fill the browser window when clicked on.

Clicking again removes the hi-res image and returns to normal page view.

I've left my code in for v1 which used jquery making a dynamic div and slapping it over the top of the page, then used cursor tracking to automatically scroll the image vertically, emulating touch screen scrolling without having to click. It was always rather buggy so I didn't post it. Main problem was if the punter used the scroll bar they got to see some the underlaying page page peeking out from under the image.

So tonight I tried a solution that's been in my head for ages - replace the whole page with just a single div containing the image then swap back to a stored copy of the html.

Seems to work on my laptop. That's all the testing I've done!

I've left the v1 code in there in case any one is interested.

This version adds a hard-coded signifier to teh original image file name ('_BIG'), then checks if that image exists. If it does it replaces the page contents with the hi-res version scaled full browser width. If not it uses the same image scaled up.

It doesn't do any fancy auto-scrolling as trackpads and iphones etc do this so leaving it to them, punters can use the scroll bar! Also in all honesty because my code sucks and it was always a bit buggy so I thought, hell, just leave it out. Feel free to re-implement if your math is better than mine!

TO USE:

- Paste my appaling code in the file (after backing up of course)
- Upload any hi-res versions of images manually adding the signifier to the image name</p> ]]></description>
<pubDate>Sat, 28 Aug 2010 10:59:22 GMT</pubDate>
<guid>http://snipplr.com/view/39642/zoom-image-hack-for-exhibithorizontalphp/</guid>
</item>
</channel>
</rss>