Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Hover image issue - ImageFormAction

Go to End



Community Member, 41 Posts

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])

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??