SWFObject

Posted June 25th, 2009 by admin and filed in flash
Add a Comment

HTML:
<div id=”flashcontent”> </div>

<script type=”text/javascript” src=”flash/swfobject.js”></script>
<script type=”text/javascript”>

var so = new SWFObject(”flash/Header.swf”, “Header”, 960, 310, “7″, “#290000″);
so.addParam(”wmode”, “transparent”);
so.write(”flashcontent”);

</script>

And the code for the swfobject.js is:
swfobject.js

CSS hack for IE8

Posted June 5th, 2009 by admin and filed in Uncategorized
1 Comment

IE8 Standards-Mode Only:

.test { color /*\**/: blue\9 }

All IE versions, including IE8 Standards Mode:

.test { color: blue\9 }

The full post is here: http://my.opera.com/dbloom/blog/2009/03/11/css-hack-for-ie8-standards-mode

CSS min-height for all browsers

Posted June 5th, 2009 by admin and filed in Uncategorized
Add a Comment

height: 100% !important; /* for modern browsers */
height: 300px; /* for IE5.x and IE6 */
min-height: 300px; /* for modern browsers */