Contributions
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
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
Fixed a small bug in admin/js_infobox_manager.php.
No other changes just overwrite this one page.
My thanks go out to Laroque and Chemo for this contribution.
Attached is some further info to get the best out of this contribution which was not included in the readme.
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
Note: Contributions are used at own risk.