And hell froze over...
onafterprint events (more info at http://help.dottoro.com/ljopmfgg.php).
The idea of very tall pages seems to be quite popular at the moment – two high profile uses of the design idea which come to mind being the Atlantis version of the ‘Lost Worlds Fairs’ IE9/WOFF demo site, and the awesome Ben the Bodyguard.
The problem I encountered on the Fusion Business Solutions site comes when a user wishes to print one of the ‘pages’ – because it’s all one physical HTML page, they would end up printing all the ‘pages’, rather than just the one they specifically wanted. Now on this site it’s not a huge deal, but if we had the
onafterprint events available in all browsers, we could use the
onbeforeprint event to hide all the other pages (i.e. other than the currently active one – and we know which one is active from other scripting used to control the navigation functions) before the page is sent to the print queue and then use the
onafterprint event to unhide them all again.
Written by , Saturday 18th December 2010
There are no comments