Contributions
* coolMenu
The coolMenu is an animated DHTML-menu written for osCommerce cvs2.2 and 2.2 MS1. This script reads all categories from MySQL and creates an animated categories-menu placed in a box. The program should work with all cvs2.2 versions.
MAIN FEATURES:
- Animated (it even supports "fading" in MSIE :-)
- Unlimited subcategories
- 99% Browser compatibility (the web can be so tricky that I can't say 100%)
--> tested with NS 4.5X, NS6-7, Mozilla (Gecko-Engine), MSIE 4-6, Opera 5-7, etc.
- Very customizable
- Very fast
| jrheisey | 12 Sep 2007 |
Since an apostrophe is a meaning character in Javascript they must be replaced with the html entity equivalent of '
At line 198 of CoolMenu.php change the lines:
// remove blanks
$categories[$i]['text'] = substr($categories[$i]['text'], 12*$blank_length);
to:
// substitute apostrophes with the ' entity
$category_text = str_replace("'", "'", $categories[$i]['text']);
// remove blanks
$categories[$i]['text'] = substr($category_text, 12*$blank_length);
| Chris Dunning | 2 Mar 2007 |
Note: Contributions are used at own risk.
