The common factor in all previous versions of the modal gallery is that alternative markup is offered for IE7/8 users to allow them to view image enlargements in a new browser window instead of the modal overlay. This is because those earlier versions of Internet Explorer do not support the CSS :target pseudo selector which triggers the modal overlay, but let's face it - having each image open in a new browser window doesn't do much for usability and it doesn't look very nice either. So, if you're
Updated 07-19-2015 at 12:15 PM by Beverleyh
If we want to use the browser's scrollbar to scroll the content of an iframe, we must do the following:
calculate iframe's offsetHeight + pixel distance of top of iframe with respect to top of main window + pixel distance of bottom of iframe with respect to bottom of main window ;give the main window a pixel height that is identical to the result of that calculation;make sure that the value for the number of pixels that the content of the iframe is scrolled upward (in the case of
Here is a simple PHP script to change stylesheets or load in alternative content (conditional loading), with cookies to store user selection.
Updated 12-20-2014 at 05:55 AM by Beverleyh
We can embed and programmatically control multiple YouTube videos by putting onloads like the following in (existing) iframes:
Updated 12-07-2014 at 03:15 PM by molendijk
Hidden side menus, like the ones used in Facebook and Youtube apps, are a space-saving alternative to traditionally visible desktop menus. This post introduces an upgrade to the earlier CSS-only off-canvass menu, that makes it possible for IE7/8 users to enjoy this menu too.
Demo - CSS3 Multi-Level, Off-Canvass
Updated 10-29-2014 at 01:09 PM by Beverleyh