[Seaside] [ANN] HTML5Shiv with Seaside

Torsten Bergmann astares at gmx.de
Tue Jun 30 19:10:32 UTC 2015


Hi,

on http://smalltalkhub.com/#!/~TorstenBergmann/HTML5Shiv you will find a small
utility library for html5shiv support in your Seaside application
(see https://github.com/afarkas/html5shiv)

This script is the defacto way to enable use of HTML5 sectioning elements in legacy 
Internet Explorer. See http://paulirish.com/2011/the-history-of-the-html5-shiv/

In combination with updated "Seaside-Core-TorstenBergmann.833" (which adds #ie9 method) 
or later you can write for older IE support:


 updateRoot: anHtmlRoot 
   "Updates the given HTML root object."
   super updateRoot: anHtmlRoot.
   anHtmlRoot title: 'My HTML5 app'.
   anHtmlRoot meta 
		name: 'viewport';
		content: 'width=device-width, initial-scale=1.0'.
	 
   anHtmlRoot if lessThan; ie9; do: [
	HTML5ShivDeploymentFileLibrary default updateRoot: anHtmlRoot ]


Hope this is useful for others as well.

Thanks
T. 


More information about the seaside mailing list