View Full Version : Hide Image Question
johndove1
01-24-2003, 03:08 PM
Still learning my way around AMS 4 - I see how to set Page action Show Object/Hide Object (for multiple event rollovers) using Hotspots — but what action do you use to HIDE the image to begin with?? (I don't want to hide it with any mouse action to start with, I just want it hidden until I set the Hotspot mouse actions)
Thanks,
JD
jdove@medledger.com
Corey
01-24-2003, 03:42 PM
Just use a PAGE > HIDE OBJECT action. Simply choose the image you wish to hide from the pull down menu, that will do exactly what you want.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
eric_darling
01-24-2003, 04:40 PM
Employ what Corey says on the Page Properties > On Initialize event.
Corey
01-24-2003, 05:28 PM
Ummm, no I think that might cause an error since you will be trying to hide something which doesn't exist yet... (I didn't check but I'm pretty sure)
But Eric's point is good, just adjust it to use the Page's OnShow state and you should be fine. /ubbthreads/images/icons/smile.gif
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Brett
01-25-2003, 07:06 AM
Actually, Eric is right. You should do your object hiding on Page Initialize to avoid a "flash" effect as the object is drawn and then hidden. However, Corey has a point in that show/hide is about the only object-related action that should be done on page initialize. Most others should be done on page show to avoid problems.
Corey
01-25-2003, 07:27 AM
Ahhh I see, it works because it's a PAGE action and not an OBJECT action. I should have checked... /ubbthreads/images/icons/smile.gif
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
rickgood
01-25-2003, 07:55 PM
While we're on the subject, what is the command string for
hiding the object on page load, showing the object on mouseover a button, etc; THEN hiding the object again,
once the cursor leaves and is no longer over the button?
Like a tool tip is a better explanation, except using a small
text box instead, for instance if I want to show a brief set
of instructions or a description when the user mouses over
a button, but not have it continue to remain visible -
he said redundantly....
Thanks!
Corey
01-25-2003, 08:36 PM
Well let's say you have a button for which you want a pop-up tip/image on mouse over:
1. Simply place the button and the image on the page. Add a PAGE > HIDE OBJECT action to your page's OnInitialize event which hides the tip/image object.
2. Add a PAGE > SHOW OBJECT action to the buttons "On Mouse Over" event to show th eimage/tip and also add a PAGE > HIDE OBJECT action to the button's "On Mouse Leave" event to re-hide the image/tip.
That'll work fine...
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
rickgood
01-25-2003, 08:38 PM
Answered my own question - I figured it out myself by reading previous related post from a few months back.
Note to other rookies: Take my advice - search the forums before posting simple questions - it'll save everybody, including yourself, time.
Corey
01-25-2003, 08:39 PM
/ubbthreads/images/icons/smile.gif No biggie either way rick, that's what we're here for. /ubbthreads/images/icons/smile.gif
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
rickgood
01-25-2003, 08:41 PM
Thanks Corey.
johndove1
01-27-2003, 08:20 AM
Thanks for all the response to my question, and sorry for this late reply to this thread that was started Friday. Thanks especially to Eric D. for specifying the — Page Properties > "On Initialize" event — instrcution. This was the key point. HOWEVER - I'm getting mixed (and confusing) results.
Setting the Page Properties (to Hide Images) "On Initialize" WORKS when I do a Page Preview, but when I do an actual BUILD Preview, it doesn't work. On the Build Preview, when I go to the page in question, all images that were set to "Hide on initialize" are staring me in the face. What's the deal with these mixed results?
Thanks,
JD
Corey
01-27-2003, 03:48 PM
The hide action must physically exist on the actual page on which the hidden objects reside, i.e. you cannot add a hide object to your first page to hide an object on page 3, in that case you would hide the object on page 3 by placing a HIDE action on page 3's OnInitialize event.
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
johndove1
01-28-2003, 06:40 AM
Okay, I feel really stupid now. Why this wasn't working for me on the Build Preview yesterday was that I was looking at a different page with IDENTICAL elements as the page that I had set the Page Properties > On Initialize > Hide Objects for. Then when I did the build, or course, I was looking at the wrong page. Duh! ..sorry to waste your time.
JD
Corey
01-28-2003, 09:24 AM
Not a problem...
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.