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 06: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 04: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 02:09 PM by Beverleyh
It's not easy to find a good rich text editor on the internet that:
1. explains in comprehensive terms how to save the edits online, that is, how to send them to the server (or that at least uses clear instructions on how to do it);
2. does not require that software be installed on your hard disc.
So I created my own personal file explaining (to myself) how to achieve 1 and 2 above. Some of you may be interested in it, so here's the result. You can find all the explanations
Updated 10-20-2014 at 10:19 PM by molendijk