| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Functionality lost with simple style button links in IE | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi all,
I am trying to convert the Buy Now and Add to Wish List button/links on the product/thumbnail list to small icon-like graphics. I figured the first thing to do is to convert the buttons to simple style (I had previously changed them to style="button") and then move on to change the label to be blank, just leaving the graphic link. However, when I change the relevant code pertaining to the button links in /customer/main/buy_now.tpl to style="simple" like in the following example from: Code:
to: Code:
The style changes fine, showing the text link and go button next to it, but, clicking on the link does not add the product to the cart and when I hover my mouse over the text label or the go button image, the status bar of my browser (lefthand bottom) displays: javascript: void(0); If I change the button style back (this is the only change being made), the product is added to the cart as expected, and everything works as it should... I have discovered that this only appears to be the case in Internet Explorer. Firefox works just fine... Can anyone shed any light on why the functionality stops working when changing the button style? Any help would be much appreciated...
__________________
X Cart Pro v. 4.1.9 Download Expander (from Altered Cart) X-Magnifier Dynamic Preview (from BCS Engineering) Customer Rewards Points (BCSE), used as credit purchasing system |
|||||||
#2
|
|||||||
|
|||||||
![]() OK, I have a couple of clues... I think this is linked to a section of button.tpl:
Code:
I can comment out this... Code:
And the functionality now works in IE. But I'm not sure if there are any implications of doing this that may affect the original reason it's in the code... Also, with the above commented out, when I mouseover the link, instead of javascript: void(0); I now get this in the status bar: Code:
Can anyone shed some light?
__________________
X Cart Pro v. 4.1.9 Download Expander (from Altered Cart) X-Magnifier Dynamic Preview (from BCS Engineering) Customer Rewards Points (BCSE), used as credit purchasing system |
|||||||
|
|||
X-Cart forums © 2001-2020
|