The subject just about says it all. I would like to be able to "click anywhere to dismiss this image", not just on the actual introimage.
I've looked a bunch, can't find it, can anyone help?
Thanks
The subject just about says it all. I would like to be able to "click anywhere to dismiss this image", not just on the actual introimage.
I've looked a bunch, can't find it, can anyone help?
Thanks
Hi,
There are more options but a simple option could be to put a textfield width and height 100% background false behind the intro image, = lower zorder value and with onclick the same action you have now with onclick or ondown..
Tuur
check out onmousedown event
I just created a second introimage of a clear png and then scaled it up to fit any modern monitor.
edit: which isn't quite working right yet...
this is not quite right, you must set him size "100%" in width and "100%" height
try:
<events onmousedown="set(hotspot[hsID].visible,false);set(events.onmousedown,null);" />
much more clean solution than loading a png and scaling it
regards
Thanks for that code, but I don't have the skills to implement it.
Hi!
onmousedown - is the right way :)
Andrey
Thanks, but as I said before, I don't have the scripting skills to do this with the info provided. If someone could post the whole code snippet it would help me greatly.
Do a search for onmousedown at the righttop of this page. In the 4h post you will see already your answere partialy.
Set events onmousedown remove plugin intro image or so, and set events onmousedown to nothing after that probably.
Tuur
here's the full code!
paste this line in your xml
<events onmousedown="set(hotspot[hsID].visible,false);set(events.onmousedown,null);" />
just replace hsID with your hotspot name
you got it
;)
Don’t have an account yet? Register yourself now and be a part of our community!