Monday, December 1, 2008

Embedding video

Some very good websites to read:

<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','320','240','9');

Saturday, March 8, 2008

Thursday, January 3, 2008

Cross-browser compatibility

After designing my blog in Mozilla, I realized that it doesn't look good in Internet Explorer. What I can do is to include the following code in my head section.

<!--[if IE]>
<style type='text/css'>

You can google with the search phrase "Cross-browser compatibility" for more help. One such good article can be found here.
A good article can be found here.

Monday, December 31, 2007

Adding Amazon Product Link - Image Only

Instead of putting the following product preview HTML code/script after the content and before <body> as suggested in Amazon website, you can insert it in the last blogger page element containing the product link code. That is, you may have a few Amazon product link page elements in your page. You only need to add the script in the last page element.