[REBOL] Rollover effect
From: belkasri:1stlegal at: 19-Jun-2002 14:54
This should be easy for you guys!
I wrote these line to have a rollover effect, when the mouse is over a
button an image is suppose to switch its content:
city-rio: http://www.struhscompany.com/tmp/rio.jpg
city-paris: http://www.struhscompany.com/tmp/paris.jpg
view layout [
city: image city-rio
button "Rio" feel [
over: func [face act pos] [
face/text: either act ["Paris"]["Rio"]
city/image: either act [ city-paris ][ city-paris ]
show city
show face
]
]
]
instead the image disapear, what I am doing wrong?
--Abdel.