Make a button disappear when clicked.

Hello

I created a button that makes a div appear. But what I want to know is that the button disappear once clicked or change its function and name to make the div disappear.

Problem is I've already used the service, onClick, here is the code

< script language = "JavaScript" >

function setVisibility (id, visibility) {}

document.getElementById (id).style.display = visibility;

}

< /script >

HTML:

< p > < a href = "#" onclick = "setVisibility ('hidden', 'inline'); This.onclick = function () {return false ;};} « ; > See more < /a > < /p >

< div id = "hidden" > < time > 10/12/2010 < / time >

< br / >

< p > for No More Video Production is under way amd will be with you soon. < /p > < time > 10/12/2010 < / time >

< br / >

< p > for No More Video Production is under way amd will be with you soon. < /p >

< / div >

Any help would be appreciated.

Tom

Read more


Read less


Video No More music production is underway amd will be with you soon.

Tags: Dreamweaver

Similar Questions

  • How to make a button disappear and then reappear.

    I do a few language flash cards in adobe flash cs5 with as3. the flashcard is a clip, and when you press a button (located on the lower left corner of the flashcard) the backwards clip card in order to give the translation. It looks a little not professional to have the button to stay in place while the card turns. is there a way to make the button disappear for the duration of the clip, and then reappear at the end?

    (it's easy to dismiss, but he comes back is the problem)

    Thank you

    If the button is in the same timeline as the mc, then inside of the mc you would use a relative reference to target...

    MovieClip (parent).button.visible = true;

    MovieClip (parent).button.visible = false;

  • button that when clicked on the page scrolls up to a certain point, as the next section

    I need my own image of button that when clicked the page scrolls to another location on the page.

    Smeedee is correct with the help of ankles. Will expand just to say there is a very informative video cela covering by Adobe's Terry White (go to 15:30 if you are only interested in the use of anchors for reach) here:

    5 gems hidden in Adobe Muse CC - YouTube

  • tab close buttons disappear when launching another application URL

    When a new tab is opened via the launch of a URL to another application on Windows (for example Outlook), the close tab buttons disappear, even with only two tabs. Carefully, grabbing the right window border and drag * inside * (i.e. the window make narrower), the buttons suddenly appear on all the tabs, which illustrates that it is not a problem with the tab widths.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Make the button invisible when flv starts again

    Hello

    Please, is - can anyone help me and tell me how do to have a button instance become invisible when you click the play button on the skin.swf file? Maybe there is another way to do what I'm doing.

    I have a Flash 8 file with a pointing to an FLV file FLVPlayback component. I use an outer skin for controls. When the video ended I displaying a button, but if the person wants to play the video again the button must again become invisible. I guess I need to create an actionscript that says: If the video is in progress (at all) the button is invisible. But how?... is the big question for me.

    Any help would be great.

    Thank you
    thepopguy

    This is possible. You need actionscript to check the status of the video, if it plays then the button is invisible. This is what we call an event listener. You must give the component an instance name - like vid. Then, use this code on the frame:

    Wait reading sequence
    var vidList:Object = new Object();
    vidList.playing = function() {}
    Button1._visible = false;
    other actions go here
    }
    vid.addEventListener ("play", vidList);
    stop;

    Listen to movie stop
    var vidList2:Object = new Object();
    vidList2.stopped = function() {}
    Button1._visible = true;
    other actions go here
    }
    vid.addEventListener ("order", vidList2);
    stop;

    ============
    This code will actually listen to the playback of the sequence, and then it will make the button invisible. He listens for the film to stop, and it makes them visible again.

    Sample:
    http://www.johnkalnin.com/FlashHelp/vid-isPlaying-Inv.html

    Flash 8 source:
    http://www.johnkalnin.com/FlashHelp/vid-isPlaying-Inv.fla

  • Buttons disappear when using setPositionChild

    I want to align multiple columns of buttons where each column has three buttons.  When I add up to four columns, everything looks great, I added more than four columns, the first columns begin to disappear.

    Is there a limit on the number of fields of button in a VerticalFieldManager, or something else underway?

    Thanks for the help!

    JDE 4.7

    protected void sublayout (int width, int height)
    {
    Which int = 0;
    int YPosition = 0;
    int Count = 0;
    int iNumFields = getFieldCount();

    for (int i = 0; i)
    {
    Field = this.getField (i);
    layoutChild (field, 48, 48);
    setPositionChild (field, which, YPosition);
    PositionY = PositionY + 48;
               
    Count = Count + 1;
    If (Count is 3)
    {
    Count = 0;
    PositionY = 0;
    Which = which + 48;
    }
    }
    setExtent (Display.getWidth (), 144);
    }

    I forgot to close this topic.

    I'm a * beep *.  I had a vertical field Manager and did not notice for some reason any.

    Once I went to Manager instead of VerticalFieldManager.  It worked?

    I'm sorry to bother everyone.

  • Make a ball disappear when it hits a target

    Hello, everyone! I would like to help with a problem I have.

    I created a class named Bullet() and I create a child named bullet_mc every second. This bullet_mc moves in a direction on the stage.

    I also created a class named Plane() and I create a child named myPlane_mc every two seconds. In addition, each myPlane_mc moves to a focus on the scene.

    How can I make all bullet_mc disappear whenever it hits a myPlane_mc.

    Because you declare the ball inside a function, he has only worn within this function, so it does not exist in the scope of the other function where your plane is created and tested against it.  It works the opposite in the plan if/when you are trying to test out the other way. So, to help you on this mound mistake what you should try is to move the ball outside the function declaration...

    var bullet_mc:Bullet;

    function txPulse(e:TimerEvent): void {}

    bullet_mc = new Bullet();

    bullet_mc.x = myAntena.x;

    bullet_mc.y = myAntena.y;

    bullet_mc.rotation = myAntena.rotation + 9;

    addChild (bullet_mc);

    }

    I was not looking to follow how all the calendar fits in this, so I can't say if your test schedule is also a problem.  But I see that you are only testing the plane for a shot as soon as it is created and never... you just keep creating new ones with random values y and tests each only once against the ball.

    (Edit: I don't know why, but the forum software split the code before and after the last paragraph... If all goes well, it remains fixed)

  • When you customize the taskbar icons added to the navigation bar disappear when clicking on Done.

    I use the customization to add several icons in the Navigation bar. While customization window is opened they all are seen on the Navigation bar. When I click on Done some of them disappear. You can see the problem in these two images.
    http://s179350112.onlinehome.us/IconsShowing.jpg
    http://s179350112.onlinehome.us/IconsMissing.jpg
    Icons missing to not appear anywhere on the Navigation bar, at the other end.

    You need to hide the menu bar if you want the button to Menu bookmarks with the drop marker will appear on a toolbar.

    If you want the button bookmarks to open the bookmarks in the sidebar, then you must button bookmarks without the marker drop you can see in the first screenshot on the second row.

  • Inbox emails disappear when click another folder or box

    E-mail messages disappear from my Inbox on Windows MAil when I click another folder or the Outbox. For example, 10 e-mails come in and if I go into the deleted folder or any folder for that matter, a couple or all emails disappear. They are not found anywhere including deleted or sent. All emails are safe on the server of the ISP and my IPhone 4S.

    While in the Inbox: view | Current view. You want to show all Messages checked.

  • How can I make a symbol disappear when I'm done with it?

    I have a symbol as pans on the screen when you press a button, and then pans off the screen when you press another button. The problem is that after the symbol slide away, I can no longer click on the buttons in the area he was covering. I tried everything I can think of-sym $("name") () .hide; does not work, sym.getSymbol("name").deleteSymbol (); does not work either and visualize the symbol off of turn after playing also does not work. What I am doing wrong and how can I fix this?

    Ok. This works except for one small thing. The box slides out under the button. But this will give you an idea on how to solve your problem.

    I placed the code btn ready composition and left the close button in the red box.

    https://www.box.com/s/e0dv4zdzdzcoqvuabrp6

    I hope this helps.

  • Introduce the button disappears when you return to the quiz slide

    Hello world

    We have just improved Captivate 4.0 to 5.5. I teach to 5.5 differences between 4.0 and one that I can't understand.

    On quiz slides, if the learner move previous and next in quiz slides, buttons quizzes are fine. However, be they click on slide 1 quiz, then advance to the quiz slide the submit button flashes and then disappears for this slide and all other quiz slides. I can't find a setting to fix this.

    Any suggestions or ideas would be appreciated. Thank you.

    Sounds like a problem of scope of quiz.  If you click on the first slide of quiz that would take you to the slide BEFORE the first slide of questionnaire which is technically outside the scope of quiz.  This generally means locking Captivate quiz.

    I didn't know personally this Act of disappearance of button, but you can check if the scope of the quiz is the likely culprit by adding an a received, click Inbox in the first slide of the project, which will then extend the scope of a quiz on this slide.  If this prevents your quiz slide buttons from being endangered, we know the problem.  Which may mean that you have always found a bug that needs to be fixed though.

  • Scroll bar disappears when clicking on the upward or downward from v32.0.0

    The scroll bar disappears in the main window, and also in scroll areas by clicking on the top and bottom.

    https://support.Mozilla.org/KB/recovering+important+data+from+an+old+profile

    http://KB.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How to make the message disappeared when I connect Vsphere

    Hi all

    Here's my problem.

    A few days ago I installed vcenter server and ESXI has added to the cluster of the vcenter.

    Then I'll see this message as screenshot said every time when I have the connection with the vsphere client. Now my vcenter is declining and removed

    And the message is displayed each time. Now I wonder how do the message disappeared

    Thank you very much.

    Hey, this problem is solved.

    1. as your method just to restat pass, then the message went

    2 connection Esxi5 and go to the customization of the system-> troubleshooting option-> restart Managents well and then press F11 to restart the agent.

    Thank you all the answers you guys!

  • Close and minimize/maximize buttons disappear when you use a theme (Windows 8).

    I have no idea why he did this. I have all the Windows updates and the latest version of Firefox as well. Please report if you have a solution or get to work for then and know if/when this will be fixed.

    It works OK with the default theme, or who suffers as well in maximized mode?

    Change the Windows theme has an effect any?

    Toggles the false browser.tabs.drawInTitlebar on the topic: config page has an effect any?

  • It can't be this hard... a button that when you click on it plays an audio file...

    I recently downloaded the trial version of captivate 4 and tried to create a button that when clicked on time an audio file.  Apparently, when you link a file to a button the audio file plays as soon as the button and not only when clicked on.  I also tried using the command to play a file/url as an option, but the file is started in windows media player and not only played by captivate 4 if clicked.

    I know it's the simplest question, but I can't find anywhere on the user guide that meets.

    Thank you in advance for your help/suggestions.

    Sasha

    Hi Sasha,

    Please take a look at the Captivate project. See if this helps with your problem.

    Manish

    http://blogs.Adobe.com/Captivate

Maybe you are looking for