=================================================
Title:   overlib_image_js
Version: 0.10
Date:    2007-04-17
Author:  Kenichi OHWADA
URL:     http://linux2.ohwada.net/
Email:   webmaster@ohwada.net
=================================================

This is JavaScript library
popup the image, when move the mouse over the text or the image. 

using overLIB
http://www.bosrup.com/web/overlib/


* usage *

define JavaScript file
-----
<script type="text/javascript" src="overlib.js"></script>
<script type="text/javascript" src="overlib_image.js"></script>
-----

prepare div tag for showing popup
-----
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
-----

describe the popup image in following
-----
<a href="java script:void(0);" onmouseover="return overlib_image_popup('image.jpg');" onmouseout="return nd();">here</a>
-----


* using overLIB in XOOPS *

The width becomes long extraordinarily.

becuase width is defined as following in XOOPS's style sheet
-----
table {width: 100%; margin: 5; padding: 5; font-size: small}
-----

Therefore, I modified as following.
-----
function ol_content_simple(text) {
  var cpIsMultiple = /,/.test(o3_cellpad);
  var txt = '<table width="'+o3_width+ '" ...
-----

-----
// added style attiribute
  var txt = '<table style="width:auto;" width="'+o3_width+ 
-----


* enclosed files *
- overlib.js ( modified for XOOPS )
- overlib_image.js

