Pinyo's Programming and Software Notes

Monday, August 28, 2006

Build HTML Template
(Aug 28, 2006)

To build an HTML template which will provide us consistent layout among pages and easy maintainance tasks, we can use Macromedia (now Adobe) Dreamweaver MX and beyond. The following webpage give a detailed hint for that:
http://dreamweavermx-templates.com/tutorials/tutnewtemplate.cfm

It is important to note that this method sticks to Dreamweaver. Namely, the feature is tool specific. Dreamweaver controls updates to instance files as needed by updating texts in these instance files.

Using `include directive' is another method for maintainace feature. However, this feature is on server side and is called Server-Side Include (SSI). This method does not tie to a tool, but server's feature instead (this feature is quite universal though).

Wednesday, August 09, 2006

Disable Macromedia Flash in Browser(s)
(Aug 9, 2006)

Some webpages, such as manager.co.th, have so many Flash components that our computer is overloaded. It is a good idea to play only Flash (or Shockwave) that we want. Firefox has an extension for this feature, and this extension can be downloaded at http://flashblock.mozdev.org/.

Note: when we are going to install the extension by clicking at some links in flashblock page, Firefox may block the attempt. Please look at the top of the page and unblock it.

I'm not sure about IE solution but some propose a registry modification (using a script). Better solutions are discussed in http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=4745. On this page, it links to some softwares which may have high potential to handle Flash conveniently: TurnFlash (http://www.nirsoft.net/utils/tflash2.html) and No! Flash (http://www.bbshare.com/noflash/). I do not try them yet because my primary browser is Firefox, not IE.

References:
http://johnhaller.com/jh/useful_stuff/disable_flash.asp
http://flashblock.mozdev.org/
http://www.nirsoft.net/utils/tflash2.html
http://www.bbshare.com/noflash/