Image Button rollover state not working

320 views
Skip to first unread message

jmcm...@martinwilliams.com

unread,
Nov 12, 2015, 3:23:30 PM11/12/15
to Google Web Designer beta
I am trying to create a button with a rollover state but the rollover state is not working. I set the default image for the "Up Image" and the rollover image for the "Over Image" but when I hover the image, nothing happens.

How can I get this to work?

jmcm...@martinwilliams.com

unread,
Nov 12, 2015, 3:26:52 PM11/12/15
to Google Web Designer beta
I saw a similar question where the fix was to add "assets/" in front of the image name in the URL path, but I have already done that. Both images show up in my asset library and if I change the "Up Image" URL to the rollover image, it shows the rollover image, so it would appear that it is simply not working the way it is intended.

rika

unread,
Nov 13, 2015, 6:45:33 PM11/13/15
to Google Web Designer beta
Hi jmcmorri,

The instruction for Image button can be found here:


If you want to add some kind of action when you hover the image, you need to add event to the image button.
Select the button and right-click to bring the context menu.  Then, select Add events.
You may add an action for mouseover (please see the screenshot).

Hope this helps.

Thanks,
Rika
(GWD team)


Capture.JPG

ben.sc...@sciascia.co.nz

unread,
Jul 21, 2016, 7:16:47 PM7/21/16
to Google Web Designer beta
This is painful because the up state works without assets/ in the path (at least it was appearing for me).

Either make all button states work without assets/ or ensure nothing works if assets/ isn't added. Wasting 10mins re-saving images, removing/re-adding the image button component and finally searching because the rollover doesn't show is painful!

Yes you could say RTFM but seriously, something so basic shouldn't require a manual refresher right?

The thing that is counterintuitive is that the image path is already known to GWD because the image has been added to the library and moved to /assets/. Why do we have to explicitly add assets/ to the image name at all?

The feature feels half GUI and half code - make it fully one way or the other I reckon. I can hand code websites but a GUI sets an expectation.

Reply all
Reply to author
Forward
0 new messages