Show-hide images (or group)

Hi all

I have a question: How can I use the same button for sho and hide something?

Example: I have a photo (A) and I want to show another image (B) when I click photo's and to hide B once more, when I re - click.

Ho can I do?

I've created a transparent form that appears on A first click, and I use a tip action that allow this transparent form to disappear when I click on it. And Yes, the circle will start again. But I want to do that, I want to put the above writing (with only 2 foto, A and B)

I would use a shared conditional action. You need a user variable to track

What image is visible, this tagged as v_second, with a default value

0. This means the second image is not visible, will be toggled to 1 when it is

visible. Action will look like this:

IF v_second equals 0

Hide Im_a

See the Im_b

Toggle v_second

ON THE OTHER

Hide Im_b

See the Im_a

Toggle vsecond

If you opt for a joint action, the two images will be settings.

Image can be replaced by group or something else when you apply the shared

action.

You can also have a look at this blog post: 1 share = 5 buttons toggle - Captivate blog

With regard to the use of variables, this very old article (some variables have been renamed):

Curious to know the Variables in Captivate? -Captivate Blog

Unleash the power of Variables in Captivate with advanced Actions - Captivate blog

Tags: Adobe Captivate

Similar Questions

  • LiveCycle Form - box needs to show/hide images

    My box is called Ucheck.  The image is named UStamp.  I need the box to activate the visible image.

    I have read other responses to forum and found this example:

    showHide = event.target.isBoxChecked var (0)? display.visible:display.hidden;


    this.getField("Text036").display = showHide;

    However, when I have the script above in my form (changinging the (getField to "Ustamp") on LiveCycle, it gives me this answer)

    Script failed (language formcalc; context is)

    xfa form [0] [0]. U check [0]. #subform [0]. Ucheck [0]

    script = var showHide =

    event.target.isBoxChecked [0]? display.visible:display.hidden;

    this.getField("Ustamp").display = show - hide

    : Error syntax near token '? "on line 1, column 44.

    When I take the '? ', he said: he doesn't like something else on the script.

    I don't know ANYTHING about Javascript, so do not have the slightest idea how to debug this.  I don't program in Access, but know not true either VB.

    Thank you for your help...

    Do you have, you save the form as dynamic... in the dialog box save as file make sure you that you choose a dynamic PDF as type.

    Paul

  • Show/hide the image with audio (audio does not if necessary)

    Then, I ran some tests to see what was going on so I could better explain my problem.

    I have a slide with a picture that has four clickable areas. First of all, the student listen tell me for a few seconds and then is invited to click on the image areas that are highlighted.

    When the user clicks on one of the fields, an image appears and I taped audio on this 'object '. Note: I didn't use the slidelets substitution as the clickable area is hidden by the new image when the image appears on a click. The user will press a close button that is on the image, set with another clickable button to hide the image then select another pop up box. (See image below... you can see the image of forklift under the transparent image gray... This is where the user clicks the highlighted area).

    Capture.PNG

    I tried two ways:

    having the image plays on the whole timeline from beginning to end of blade (be hidden with the show/hide button function)... when I do it, the sound will not play at all (I'm guessing that this is because the audio went silently on the first few seconds of being on the screen, so by the time the student clicked the button finished audio).

    and

    Drag the beginning of the image to close the timeline when the user is asked to click on areas of the screen... when I do that, the sound play a bit, but gets cut off after a few seconds.

    If I click on the areas as soon as the blade begins to play (since i KNOW where the buttons will be activated), the audio plays very well which makes me believe my theory that the audio runs just at the moment where the user gets to click on it.

    There is no break on one of the buttons around this period, so I know this isn't that.

    What I am doing wrong?

    Thank you! :-)

    I'm happy to say after hours of frustration, I finally got to work.

    I went and read your blog Lieve on micro navigation and managed to keep the images at the point of the slide where the user is asked to click on them and define the action of tip:

    to display the image,

    hide the other images and

    Use the assign with 705 rdcmdgotoframe

    and added a line to continue so it wouldn't break (if I do this, it seemed only allows only not the last his image clicked / or show the function works because I have an action secondard on the second tab to display the button 'next' once all are clicked).

    I had to do the math, but thanks to your info on your blog, I was able to understand this. I just tested it and it works... so I'm not going to save and close and breathe until Monday when I can run my final tests on the entire project!

    Thank you!!

    ~ Gina

  • Show/Hide - advanced action buttons and images

    So, I thought I had a handle on usage shares advanced to show/hide, but apparently not.

    Here's the scenario:

    -Screen where the user must select one of the 6 options

    -When the user clicks on one of the 'boxes' of the option a check should appear and audio should play

    -All other "cases" should be disabled to avoid audio duplication

    Here's what I did to try to get this working:

    -' Boxes' are buttons, click on success:

    * Success box contains audio that plays (this works)

    Success of the button execute advanced action:

    > hide all other buttons on the slide (it does not)

    > display an image of a check mark in the "checkbox" which has been clicked (does not work)

    > go to the next slide (works, audio from the success box once completed)

    Thoughts? Help! Thanks in advance!

    Hello, unknown fan

    Overlay buttons will not work, so let this idea alone.

    I really want to finish this blog post on audio and widgets. Just an idea and will try to be at the time where I found the time to try something. Why don't you attach audio to an initially invisible object that you show with the same advanced action? This object can be a shape with no stroke and a fill alpha of 0% so that it is invisible to the user. You will have time before the sound can play completely before going to the next slide.

    Lilybiri

  • Show/hide elements - how to hide an image when you click on another

    I have a page of the library of photo with 10 pictures on it. I organized it where there is a large image on the left side of the page and 10 thumbnails of turning on the right. I put larger images in separate AP div tags hidden. I want the big picture is displayed when the user clicks on the corresponding thumbnail. This works well, but how to make the image of 'hide' when the user clicks on a different thumbnail.

    Can you help me?

    Here is my code:

    < div id = 'eau1"style =" position: absolute; " Left: 20px; top: 50px; Width: 630px; height: 491px; z-index: 100; visibility: hidden; "" "> < img src ="... / media/images/water/water1.jpg "width ="650"height ="500"alt ="eau1"> < / div >
    < div id = "water2" style = "position: absolute;" Left: 20px; top: 50px; Width: 630px; height: 491px; z index: 103; visibility: hidden; "" "> < img src ="... / media/images/water/water2.jpg "width ="650"height ="500"alt ="water2"> < / div >
    < table width = "100%" border = "0" cellspacing = "0" cellpadding = "0" >
    < b >
    < td width = "20" height = "20" > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < td width = "20" > < table >
    < /tr >
    < b >
    < height td = "20" > < table >
    < height td = '30' class = "copy18grey" > water Applications < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td width = "650" height = "500" rowspan = "5" valign = "top" > < img src = "... / media/images/water/water1.jpg" width = "650" height = "500" alt = 'eau1' > < table >
    "" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image12 '", '... / media/images/water/water1_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water1_thmb.jpg" name = 'Image12' width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('eau1',", 'show') ' onDblClick = "MM_showHideLayers ('eau1',", 'hide') "" > < /a > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < a href = "#" onMouseOver = "MM_swapImage ('Image13 '", '... / media/images/water/water2_thmb_over.jpg',1) "Mm_swapimgrestore" > < img src = "... / media/images/water/water2_thmb.jpg" name = "Image13" width = "160" height = "100" border = "0" onClick = "MM_showHideLayers ('water2',", 'show') ' onDblClick = "MM_showHideLayers ('water2',", 'hide') "" > < /a > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    "" < td = '100' height > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    "" < td > < img src = "... / media/images/test.jpg" alt = "" width = "160" height = "100" > < table > "
    < td > < table >
    < /tr >
    < b >
    < td > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < td > < table >
    < /tr >
    < /table >

    Show/hide behavior is not just for a single element.  With a single application of the behavior, you can display an image and 24 other people hide.  The trick is to keep by selecting the named items and their visibility, that is, to select "img1" and click display, then select "img2" and click Hide, etc.

  • How can I change the Menu Windows Contacts bar to show new Contacts, new Group Contacts, etc.. ?

    I have Windows Vista with Windows Mail. In Windows Mail, my Contacts are displayed, but the Menu bar icons related to the Windows images. How can I change the Menu Windows Contacts bar to show new Contacts, new Group Contacts, etc.. ?

    Original title: Windows Mail with Vista

    Missing the Windows Contacts toolbar buttons
    http://www.wintuts.com/missing-buttons-from-Windows-contacts-toolbar

    Vista - "New Contact" and "Contact Group on new" button missing
    http://www.Vistax64.com/tutorials/186477-new-contact-new-contact-group-button-missing.html

  • Where the control to show/hide the removable storage settings

    I try to install Win 8 Prof.  I have a HP desktop with a CD player and 4 slots for removable media devices.

    In a previous installation, there was a way to show/hide the removable drives / slots unless there was inserted media.

    I don't know where the setting.  I tried the

    strategies group without result.

    I also lost the capacity of my office to recognize and attach my CD player.  It appears in Device Manager, but he said he is not physically attached.

    I can boot from the drive.

    Help, please.

    Have you installed Windows 8 or you try to install it?

    I use Windows 7 on my PC and in that, the option "Hide or show empty leads in computer folder" is located in the view tab of the window "Options records". It should be the same in Windows 8 as well.

    Visit this link:

    http://www.SevenForums.com/tutorials/6969-drives-hide-show-empty-drives-computer-folder.html

    If Windows 8 will not detect the device, try the steps in this link:

    http://Windows.Microsoft.com/en-us/Windows-8/why-isn ' t-windows-conclusion-device

  • Show / Hide button to Drop down works only once

    Hello

    I use RH10. I have about 10 drop-down text on a page.

    I created only one show / hide all the button for my menu drop-down texts according to the procedure mentioned here.

    http://www.Grainge.org/pages/various_rh_projects/rh_twisty2/index.htm

    I get it almost immediately when I followed the instructions and the project. Except that my Show / button hide become inactive after a single use of these two functions, i.e., I can only once to display all click and click again to hide all. After that, either I have to refresh the browser or go to something else and come back to make it work. What could be the cause?

    I use 17.0.7 FireFox and IE8.

    Anthony

    I see only one image to your project. Although the user sees as a method of a button, there are two buttons, one for the show and one to hide.

    See the default value and must appear in the Images when you create the link. Hide is the one who must be in the luggage.

    Have you downloaded the demo rather than just the PDF?

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • can radio buttons show/hide the info in an interactive pdf?

    Hello. I have a question to which I have been faced with during some time... hoping someone can help.

    I create a document in InDesign CS6. It's basically a guide with a joint questionnaire.

    I have forward and back buttons work properly - so that they take you from one page to another.

    However, the more difficult question is I want to have interactivity with the use of radio buttons and eventually the check boxes. Thus, for example, on page 1, I have a question multiple choice where there are three choices. Clicking the wrong answer shows a block of text saying 'no it's wrong' and clicking on the appropriate radio button shows the words "Yes, correct."

    I have created three blocks of text and make it into a multi-state object.

    Three problems:

    1. option buttons seem to be the option for "the State" in the buttons and Forms dialog box
    2. even if that were the case - the State Road seems to be only swf, non-interactive pdf form - is there a way to change this?
    3. script assuming that there IS a way, everything can be put in place so that instead of using radio buttons I have use of check boxes that only give the correct answer if the correct check boxes are selected.

    I would stick to indesign to do this, however, I think that the option is perhaps more suited for this problem?

    Many thanks in advance,

    SunsV

    1 - make 3 images and convert it into boxes option...

    Text blocks 2 2-make (Yes, his right) (No, the wrong) and convert it to buttons - rename it (Righ, evil)

    3 - Click on each radio button and apply action: Show/Hide button and form and on the visibility to activate the globe eye for buttons wrong or right.

  • Show hide behavior

    I am trying to assign a behavior to hide to see the to my portfolio. I already have a reversal of the image in place on 15 individual images in a grid, essentially a brighter version of the thumbnail when hovering.

    What I also want to do, is to assign a show/hide behavior to each individual tile as well as the working capital which will show a paragraph on every piece of work when you move the thumbnail. I can implement substitution easily enough, but when the mask is added to the div, I'm trying to show just flashes briefly hovering and then disappears...

    Any info would be get greatly appreciated?

    Heggie

    I already have a reversal of the image in place on 15 individual images in a grid, essentially a brighter version of the thumbnail when hovering.

    FYI: You could do this with much less code and one set of images use a CSS opacity.

    CSS:

    #thumbnail img {opacity: 0.5}

    #thumbnail img:hover {opacity: 1.0}

    HTML:

    Anyway, to answer your original question. Show/hide behavior IMO work best with the onClick event triggers.   onMouseover triggers are succeed especially for devices touch screen.

    See the demo below, view source to see the code.

    http://ALT-Web.com/demos/show-hide-layers.html

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/


  • Links that show/hide layers?

    Hi all

    I created a file in InDesign cs4 is pretty much a guide for users of my liveCicle form. I have a lot of layers in the file.

    I'm doing some links to pictures that are in its own layers. So when I export the file to PDF and click on some link, layer associated with this link appears. I tried to do this in acrobat 9 pro. I created links, but the problem is that the links in the work of the non visible layers behind the stage when I fly over.

    Is there a way to set the layer visibility in inDesign CS4?

    Thanks in advance

    Not you can´t toggle layer visibility with buttons in indesign. You must finish in Acrobat...

    Only way to make something appear or disappear in ID is to use show/hide the action buttons...

    You can convert these images you want to show and hide buttons. Then you can create a different buttons to show or hide.

    If you export to PDF format, default state of a button can be hidden...

  • show/hide a form of MEASURE

    has anyone successfully uses a script show/hide of any kind in a form of MEASURE?

    What I try to do is, I have Yes, and radio buttons.  If Yes is clicked, a text box appears in the line below.

    If no is clicked, no change occurs.

    I had one that worked, but now all of a sudden it no longer works.  What happens now when you get to the page, the text box that is supposed to be hidden, is visible.  However, when you click on no, it disappears, and if you click Yes, it reappears.

    Here's the code.  I think there must be a conflict between the JavaScript below and uninstall.  Any help is appreciated!  Thank you!

    < SCRIPT LANGUAGE = "JavaScript" >

    function showhide1 (id, str)
    {
    If (document.getElementById)
    {
    obj = document.getElementById (id);
    If (str == 'view') //obj.style.display = none
    {
    obj.style.Display = "";
    }
    ElseIf (str = 'none')
    {
    obj.style.display = 'none ';
    }
    }
    }

    < /script >

    < tr > < td align = "right" > anyone in your group will require translation to the Open House? < table > < td > < input type = "radio" name = value "translation" = 'Yes' onClick = "showhide1 ('display', 'show'); ' > Yes < input type = "radio" name = value "translation" = "" checked onClick = "showhide1 ('display', 'none'); ' > no < table > < /tr >

    < id tr = "View" > < td align = "right" > in what language? < table > < td > < font color = "red" > * < / police > < input type = "text" name = "language" > < table > < /tr >

    One of the reasons for the question text box suddenly stopped working during the loading of the page can be replace the css rule that affects visibility. There should be a rule in your css like tr #display file {display: none;}. In addition, you must change your javascript code, obj.style.display = "" to obj.style.display = 'block '.

  • Need help with show/hide Div position

    WDRC project site

    I use a show/hide behavior with my menu items. If you mouseover all the links (except the home), you will see an image with some text appear below. The one shown in the right position is the "press room". The rest are falling down, based on their position within the Division 'description' how can I do each of their ascent to the proper position when their respective link is wriggling on?

    Thanks a lot for your senses! Problem solved.
    :-)

  • Show-hide sticky acts!

    By using the behavior show hide to reveal a series of images on our web page, and if you fly over the elements quickly skin doesn't seem to be able to do its job. Is this just an inherent problem with behavior? I have the page in test mode on. Mac. No links beyond this page are available, but maybe someone can give me a clue as to why this is happening. Its at http://homepage.mac.com/ibexcom/.public/samples_nsts.htm

    In this case, I write a little script that hides all layers. I have add this
    at each outbreak of layer to show before the behavior that shows the layer there
    supposed to.

    onMouseOver = "hideAllLayers (); MM_showHideLayers [...] »

    I think there is an extension to
    http://www.Projectseven.com
    makes this kind of layer management.

    --
    James M. Shook
    http://www.jshook.com

  • DW: Show-hide layers

    Hey, I am having two problems with behavior show - hide layers in Dreamweaver and I was wondering if anyone else has had the same problems and has a solution.

    My test page is http://www.petermcphee.com/dreamweaver/popup-layer.html

    (1) what I would like is to show the layer when the link is hovered over, which works very well. However, I also want the layer remains visible when the mouse passes over the layer and disappear when the mouse leaves the layer.

    I googled for a while and found some tutorials that deal with show/hide layers, but they hide the layers once the mouse leaves the original link, not the layer.

    (2) in addition, the site I want to apply this behavior to a an auto centering wrapper, box, so I would layer to the right of the pop-up window under the link every time without converting them the entire site Absolute positioning. As it is now, the popup appears in different places depending on the width is my browser.

    Is this possible with the current functionality of DW?

    Thank you very much!

    Peter.

    > 1) what I would like is to show the layer when the link is hovered over,
    > who
    > works very well. However, I also want the layer to be visible while the
    > mouse is
    > over-the-top and disappear when the mouse leaves the layer.

    When you view the layer, also show an underlying layer that contains a
    GIF image transparent who is the subject of more large/more grand than the layer 10px you
    See the property. Apply a layer of skin behavior to the GIF image which hides both the
    you have just showed and the underlying layer of the layers. Skin mouseout/mouseouthandler()
    the original trigger event. Who is?

    (> 2) in addition, the site I want to apply this behavior to a car
    > centering
    > wrapper, box, so I would layer towards the good popup under the link
    > each
    > time without converting the entire site to absolute positioning. As it is
    > now,.
    > is the popup appears in different places depending on the width of my browser.

    -Change

    on this subject.


    -change

    on this subject.


    and this-

    on this subject.



    and see if that helps.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "petertyler" wrote in message
    News:f1a45m$7jv$1@forums. Macromedia.com...
    > Hey, I? m in both problems with the behavior show - hide layers in
    > Dreamweaver
    > and I was wondering if anyone else has had the same problems and has a
    > solution.
    >
    > My test page is http://www.petermcphee.com/dreamweaver/popup-layer.html
    >
    > 1) what I would like is to show the layer when the link is hovered over,
    > who
    > works very well. However, I also want the layer to be visible while the
    > mouse is
    > over-the-top and disappear when the mouse leaves the layer.
    >
    > I googled for a while and found some tutorials that deal with
    > show/hide
    > layers but they hide the layers once the mouse leaves the original link.
    > not
    > layer.
    >
    (> 2) in addition, the site I want to apply this behavior to a car
    > centering

    > wrapper, box, so I would layer towards the good popup under the link
    > each
    > time without converting the entire site to absolute positioning. As it is
    > now,.
    > is the popup appears in different places depending on the width of my browser.
    >
    > Is still possible with the current feature of DW?
    >
    > Thank you very much!
    >
    > Peter.
    >

Maybe you are looking for

  • Mac and iPhone don't pair after upgrading to El Capitan

    With the help of Yosemite, I easily could connect my Mac Pro with my iPhone 5s through Bluetooth. After the upgrade to El Capitan, I can connect is no longer.  I have 'discover' my iPhone in the window settings Bluetooth on my Mac, I click on the but

  • Impression of performance-HP Officejet pro 8600

    Original title: printing to the printer. Hello HP Officejet pro 8600 When I print some docs they come partially out ok then other pieces can be played, they come out in a writing of Greek style. Is there something obvious that I should try? Please he

  • HP OfficeJet 4500 Wireless - cannot set up wireless (UDP Port 427 related issue)

    I just bought a HP Officejet 4500 Wireless printer... The problem is setting up this printer wireless function is therefore not the case! Whenever I go through the set up I get this response: "Your computer is unable to communicate with your printer

  • Automatic maintenance was delayed never goes away

    Hello Since week last action center displays this message. I ran maintenance several times and everything seems to complete successfully, but message doent go away. I tried everything... I manually started regular maintenance using taskschedular... I

  • Update of Lightroom 6 confusion (I didn't ' want Lightroom CC)

    I have Lightroom 6.0 installed as a stand-alone product - it's not creative cloud and I'm not creative cloud.The program offers me an update called Lightroom CC (2015) / 6.7.I want to upgrade to the latest version of Lightroom 6, but I don't want to