Contributions

Other (Category Index)
Search: 

Javascript InfoBox

The JSIB (Javascript InfoBox) is derived from the overLIB info boxes. It is completely controlled from the osC Admin side and requires the user to have zero knowledge of JavaScript.

It also includes a F/R (find and replace) option to create the InfoBoxes as well as a tagged word F/R and manual insert and code generator.

Worth downloading to view the install file and it will give you a better idea of what it can do.

The osC public support forum thread can be found here: http://forums.oscommerce.com/index.php?showtopic=143502

Expand All / Collapse All

Javascript Infobox v1.1a w/visible word Expert 21 May 2005

If you would like to see the words visible without mouse go over them just add small CSS to /catalog/includes/classes/jsib.class.php around line 415
You may change style and color and dotted line

PLEASE BACKUP FIRST
-----------------------------------
find:
-----------------------------------
// js code to create the box
$jss = '<a href="javascript:void(0);" '.$ON.'="return overlib(''.$this->data[$id]['body'].'''.$HEIGHT.$WIDTH.$LOCATION.$POSITION.$STICKY.$CLOSECLICK.$CAPICON.$CENTERPOPUP.$SHADOW.$CAPTION.$CAPCOLOR.$CLOSESIZE.$CAPTIONSIZE.$CLOSECOLOR.$CLOSEFONT.$FGCOLOR.$BGCOLOR.$BORDER.$BORDER.$CAPTIONFONT.$TEXTFONT.$CLOSEFONT.$CAPTIONFONT.$TEXTSIZE.$TEXTCOLOR.$FULLHTML.$FOLLOWMOUSE.$BACKGROUND.$OFFSETX.$OFFSETY.$TIMEOUT.$DELAY.');" onmouseout="'.$RETURN.' nd();" class="jsib">';
$jse = '</a>';
--------------------------------------
change with:
--------------------------------------
// js code to create the box

$styletext = "<style type="text/css">.hightext{padding: 0;border-bottom: 2px dotted #ffcc33;border-top: 2px dotted #ffcc33;text-decoration: none;}</style>";
$jss = $styletext . '<font class="hightext"><a href="javascript:void(0);" '.$ON.'="return overlib(''.$this->data[$id]['body'].'''.$HEIGHT.$WIDTH.$LOCATION.$POSITION.$STICKY.$CLOSECLICK.$CAPICON.$CENTERPOPUP.$SHADOW.$CAPTION.$CAPCOLOR.$CLOSESIZE.$CAPTIONSIZE.$CLOSECOLOR.$CLOSEFONT.$FGCOLOR.$BGCOLOR.$BORDER.$BORDER.$CAPTIONFONT.$TEXTFONT.$CLOSEFONT.$CAPTIONFONT.$TEXTSIZE.$TEXTCOLOR.$FULLHTML.$FOLLOWMOUSE.$BACKGROUND.$OFFSETX.$OFFSETY.$TIMEOUT.$DELAY.');" onmouseout="'.$RETURN.' nd();">';
$jse = '</a></font>';

------------------------------------
To see it in action visit : http://www.hepsikamera.com/product_info.php/products_id/1277

Note: you dont need to download file. It contains same information above

Javascript Infobox v1.1a Chris LaRocque 29 Mar 2005
Futher Useful Info me 28 Mar 2005
Javascript InfoBox Chris LaRocque 28 Mar 2005

Note: Contributions are used at own risk.