1779 Posts in 582 Topics by 556 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 414 Views |
-
Hover image issue - ImageFormAction

21 June 2011 at 10:37am
I am using
ImageFormAction __construct( action $action, [title $title = ""], [image $image = ""], [hoverImage $hoverImage = null], [form $className = null], [ $form = null])
(http://api.silverstripe.org/2.4/forms/actions/ImageFormAction.html#method__construct)Submit works fine, the submit image is displayed but NOT $hoverImage.
Both submit and hover images are located at same directory.so code is like this:
$actions = new FieldSet(
new ImageFormAction('submit', 'Send', 'themes/test/images/contact_us/btn_send_normal.gif', 'themes/test/images/contact_us/btn_send_hover.gif')
);How come hover image is not displayed properly??
| 414 Views | ||
|
Page:
1
|
Go to Top |

