[ANN] HTML5Shiv with Seaside

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] HTML5Shiv with Seaside

Torsten Bergmann
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.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] HTML5Shiv with Seaside

Paul DeBruicker
Hi -

Looks good.  If you want this project then you may also want css3pie which adds some css3 to older IE


http://css3pie.com/


hth,

Paul

Torsten Bergmann wrote
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.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside