This is a discussion on [Hack] Cart in the status bar within the osCMax Projects Discussion forums, part of the osCMax v2.0 Forums category; only works on IE still working on that one Just copy and paste into the main_page.tpl.php leave out ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| only works on IE still working on that one Just copy and paste into the main_page.tpl.php leave out the head tags <head> <SCRIPT LANGUAGE="JavaScript"> <!-- // please keep these lines on when you copy the source // made by: Nicolas - Nic's JavaScript Page - containing free javascript examples. var x = 0 var y = 0 var z = 140 var delay = 70 var text = "<?php echo ICON_CART; ?> : <?php echo $cart->count_contents(); ?> Item(s) <?php echo $currencies->format($cart->show_total()); ?> - <?php echo $cart->show_weight() ?>kg" while (y ++ < z) { text = " " + text } function scroller() { window.status = text.substring(x++, text.length); if (x == text.length) { x = 0; } setTimeout("scroller()", delay); } scroller(); //--> </SCRIPT> </head> |
| The Following 2 Users Say Thank You to poppatopz For This Useful Post: | ||
michael_s (04-06-2007), theengineer (04-07-2007) | ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| City Tax Rate Hack for MS1 | michael_s | New osCommerce Contributions | 0 | 03-27-2007 09:11 PM |
| City Tax Rate Hack for MS1 | michael_s | New osCommerce Contributions | 0 | 03-27-2007 07:11 AM |
| Hermes Hack | michael_s | New osCommerce Contributions | 0 | 03-07-2007 12:50 AM |
| 65.54.164.106, A Spider? possible hack attempt? | fridgemags | osCMax v1.7 Discussion | 2 | 06-18-2004 06:39 AM |