Show and hide text under text link

I will have a series of text links stacked on top of each
other. User clicks on link and a block of text appears underneath.
User clicks again on same link and text disappears. Help!

Or this:
http://www.tjkdesign.com/articles/toggle_elements.asp
which I use here:
http://www.weddingflags.com.au/
I'd suggest that the commercial extension talked about in
this thread would
be much easier to work with though :-)
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
Customisation Service Available:
http://www.csstemplates.com.au
http://www.perrelink.com.au
CSS Tutorials for Dreamweaver
http://www.adobe.com/devnet/dreamweaver/css.html
"dreamweeper" <[email protected]> wrote in
message
news:eq0ogc$s1$[email protected]..
>I will have a series of text links stacked on top of each
other. User
>clicks on link and a block of text appears underneath.
User clicks again on
>same link and text disappears. Help!

Similar Messages

  • Error in my show and hide button prg

    Hello Frnds,
    With this link tutorial iam doing now but error raised , and tried my best plz check the tutorial and solve my prb
    Method ONACTIONSHOW_HIDE
    *THIS IS CODE FOR SHOW AND HIDE THE INPUT FIED BUT GETTING ERROR IS
    **set_attribute_property doesnot exit similar ly get_attribute_property and set attribute is there like that getting error for this code
    . DATA lo_nd_radio_node1 TYPE REF TO if_wd_context_node.
    DATA lo_el_radio_node1 TYPE REF TO if_wd_context_element.
    DATA lw_index TYPE I.
    DATA lo_el_radio_node1_1 TYPE ref to if_wd_context_element.
    navigate from <CONTEXT> to <RADIO_NODE1> via lead selection
    lo_nd_radio_node1 = wd_context->get_child_node( name = wd_this->wdctx_radio_node1 ).* call method get lead selection index to get index
    CALL METHOD lo_nd_radio_node1->get_lead_selection_index
    receiving
    index = lw_index. lo_el_radio_node1_1 = wd_context->get_element( ). If lw_index = 1. * call method set attribute property and pass value as 'X' to show
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'FIRST_NAME_1'
    property = 1
    value = 'X'.
    call method set attribute property and pass value as 'X' to show
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'LAST_NAME_1'
    property = 1
    value = 'X'. Else. call method set attribute property and pass value as SPACE to HIDE*
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'FIRST_NAME_1'
    property = 1
    value = space.* call method set attribute property and pass value as SPACE to HIDE
    call method lo_el_radio_node1_1->set_attribute_property
    exporting
    attribute_name = 'LAST_NAME_1'
    property = 1
    value = space. Endif

    Hi Ananth,
    I tried the same code from that tutorial,its working fine.
    once again check the name of the nodes and the elements.
    you can try another way also to show and hide input fields.
    create one attibute of type WDY_BOOLEAN and bind this attribute to the visible property of the input fields.
    for example
    attibute name = 'visible ' : type = wdy_boolean :default value = X
    onaction of the radio button place the following code.it really works
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
      DATA lv_visible TYPE wd_this->element_context-visible.
      DATA lo_nd_radio_node1   TYPE REF TO if_wd_context_node.
      DATA lo_el_radio_node1   TYPE REF TO if_wd_context_element.
      DATA lw_index            TYPE i.
      DATA lo_el_radio_node1_1 TYPE REF TO if_wd_context_element.
      lo_nd_radio_node1 = wd_context->get_child_node( name = wd_this->wdctx_radio_node1 ).
      lo_el_context = wd_context->get_element( ).
      CALL METHOD lo_nd_radio_node1->get_lead_selection_index
        RECEIVING
          index = lw_index.
      lo_el_radio_node1_1 = wd_context->get_element(  ).
      IF lw_index = 1.
        lo_el_context->set_attribute(
      name =  `VISIBLE`
      value = 'X' ).
      ELSE.
        lo_el_context->set_attribute(
      name =  `VISIBLE`
      value = ' ' ).
      ENDIF.
    Thanks,
    krishna

  • Iframes show and hide

    Hi All,
    I have the Requirement like :
    I have two iframes side by side in a page, and two buttons show and hide,
    once i click hide button second iframe should disappear and first one should be increase in size to fit whole window. and once i click show first and second should be 50/50 in the page
    for this i followed below steps
    1) created page.
    2) created two report region (No Template)
    3) In one region source i called iframe like
    TABLE>
    <TR>
    <td>
    <IFRAME SRC="http://Localhost:7777/pls/apex/f?p=&APP_ID.:&P104_INTERFACE.:&SESSION." WIDTH=&P104_WIDTH. HEIGHT=540 scrolling="auto" frameborder="1"></IFRAME>
    </td>
    </tr>
    </table>
    4) in second region
    TABLE>
    <TR>
    <td>
    <IFRAME SRC="www.google.com ; HEIGHT=540 scrolling="auto" frameborder="1"></IFRAME>
    </td>
    </tr>
    </table>
    6)conditionally showing the region with the help of SHOW and HIDE BUTTON
    7)and also on Show and hide button i am setting the value of P104_WIDTH . So the size will vary with conditional display?
    NOW MY QUESTION IS:
    once i click hide button THE CONTENTS(item VALUES) OF THE FIRST FRAME ARE REFRESHED, DUE THAT ALL ENTERED DATA WIL DISAPPEAR SO HOW TO AVOID IT , without refreshing the frist frame i need to set the P104_width value so it interm width will set in the iframe region??????
    Thanks & Regards
    Nagaraj B K

    I had another idea that I am pursuing. I am looking into extending the current renderer CommandNavigationRenderer and will render another goLink just after the current goLink that will execute a close action. I was able to re-direct the rendering by added an override render-kit block in my current faces-config.xml file.
    <render-kit>
    <renderer>
    <component-family>org.apache.myfaces.trinidad.Command</component-family>
    <renderer-type>oracle.adf.rich.NavigationItem</renderer-type>
    <renderer-class>com.riscs.ui.backing.jsp.components.ClosableCommandNavigationItemRenderer</renderer-class>
    </renderer>
    </render-kit>
    If this works I am planning on extending the commandNavigationItem by creating a ClosableCommandNavigation tag and add a "closeAction" tag that will determine if a close item should render.
    Preliminary work looks promising. I will update if I make progress...please let me know if I am crazy.
    Thanks.

  • I am unable to download from the APP store. I get an error message saying my computer is not verified and click support under quick links..

    I am unable to download from the APP store. I get an error message saying my computer is not verified and click support under quick links..

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Show and hide columns.

    I have a rather large JTable with a lot of columns that are updated once in a while.
    Is there an easy way to show and hide columns, so that I don't have to keep track on which a shown and hide when I use setValueAt()...?

    JTable does the conversion between the column indexes of the view and the model.
    You should be able to add remove columns using addColumn and removeColumn methods. and in the TableColumn class you can specify the coulmn in the model that the TableColumn refers to.

  • Show and hide Lov icons and Date Picker image on conditional?

    How to show and hide Lov icons and Date Picker image on conditional?

    Why do you just want to make the icons conditional? Shouldn't the field also be conditional?
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • SetVisible against show and hide

    Hello, making some practises I have observed that setVisible method doesn't just makes visible or not, it affects me when I change location of components I have played with setVisible, but when I use deprecated methods hide and show I haven't that problem.
    What else makes setVisible than make visible or not?

    Hello, the way I see it, setVisible is just a nicer way of setting visibility than show() and hide(). Anyway, the way setVisible is implemented in the Component class is :
    public void setVisible(boolean b) {
          show(b);
    }So I don't believe you should be experiencing any difference between show() and setVisible(). As to the change in positions of components, you might find the actual implementation useful:
        public void show(boolean b) {
            if (b) {
                show();
            } else {
                hide();
        public void show() {
            if (!visible) {
                synchronized (getTreeLock()) {
                    visible = true;
                    ComponentPeer peer = this.peer;
                    if (peer != null) {
                        peer.show();
                        createHierarchyEvents(HierarchyEvent.HIERARCHY_CHANGED,
                                              this, parent,
                                              HierarchyEvent.SHOWING_CHANGED,
                                              Toolkit.enabledOnToolkit(AWTEvent.HIERARCHY_EVENT_MASK));
                        if (peer instanceof LightweightPeer) {
                            repaint();
                        updateCursorImmediately();
                    if (componentListener != null ||
                        (eventMask & AWTEvent.COMPONENT_EVENT_MASK) != 0 ||
                        Toolkit.enabledOnToolkit(AWTEvent.COMPONENT_EVENT_MASK)) {
                        ComponentEvent e = new ComponentEvent(this,
                                                              ComponentEvent.COMPONENT_SHOWN);
                        Toolkit.getEventQueue().postEvent(e);
                Container parent = this.parent;
                if (parent != null) {
                    parent.invalidate();
        }I left out the hide() code, since it is quite similar. Anyway, if you are interested in this code you can always look it up - it's avaliable.
    Hope this helped, laginimaineb.

  • Show and Share: Upload video with link URL

    Hi all,
    Is it use to add the video that is in external server? Can you give me an example for upload video in SnS with link URL? My system has Wowza streaming server.
    Thank you.
    Bintasan Mokkamakkul

    Basically, when you want to add\upload a video to Show and Share you can simpy:
    1. Upload the file itself
    2. Use a URL link of where the video content is located.  This is typically a WEB Server url.
    such as:
    http://webserver.company.com/videos/movietrailer.flv

  • Show and Hide Actions Not Working

    I'm working on a project that involves showing and hiding objects.  I inserted a button and in the Action block for the object, I selected 'Show', then selected the object I wanted to be shown on click. When I preview that screen in the project and select the button to show the object, it shows the object, but then advances the project to the next screen. The only way I've found to combat this apparent flaw is to use an advanced action for what should be a really simple interaction. Also, I have the timing set for all objects on the screen in question to Display for the rest of the slide. Is anyone else experiencing this issue?

    Have a look at: Why choose Standard over Simple action? - Captivate blog
    As Rick points out, Captivate has always worked that way. And since you are talking about Hide/Show, very often you'll want to hide a group before showing one object. If  you are using Captivate 7/8 I recommend to create a shared action for that purpose that you can use over and over again in that project and in other projects.
    Dare to Share - part 1 - Captivate blog
    Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog

  • JFileChooser show and hide

    I am using a jFileChooser to save a file in a selected location and then I use a check if the file exist to prompt an overwrite option dialog box. I do this like so....
    fileChooser.showSaveDialog(jPanel1);      
    File file = new File(fileChooser.getCurrentDirectory()+"/"+fileChooser.getName(fileChooser.getSelectedFile()) + ".jpg");
    filename = file.getPath();
    if (new File(filename).exists()) {   
            int n = JOptionPane.showConfirmDialog(this,
            "Do you want to overwrite?", "File Overwrite",
            JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE);
            if (n == JOptionPane.NO_OPTION)
                    showme(flag);          
    }The question I have is, Upon entering a filename and location in the file chooser and clicking the save button the filechooser goes away, if that file already exist the JOptionPane shows and a choice can be made, I want the JOptionPane to prompt over top of the file chooser. Right now when clicking save the fileChooser goes away, then an overwrite option can be made, if it is no the savedialog reappears, Does anyone know how to keep the filechooser shown until a file save of a non-existing file is chosen or a no overwrite option i sshown.
    BASICALLY: Does anyone know how to keep the filechooser component shown even when a optionPane component is shown? I don't want it to show and reshow.

    Why do you just want to make the icons conditional? Shouldn't the field also be conditional?
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Xcode-Show and Hide windows with checkbox?

    I am making an applescript/cocoa application in Xcode 4.6. I in my Main Window, I have two windows that are hidden at launch ("Preferances", and "Advanced") and one window ("Simple") that is visible at launch. In the preferances window, I have a checkbox. I would like that box, when checked to display the "Simple" window, and Hide the "Advanced" window, and even when closed and relaunched, will remain how the preferances are, and not have to check the box everytime on startup of the app. Anyone know how to do this? Thanks!

    Ok something isn't quit right
    I in my Main Window, I have two windows that are hidden at launch ("Preferances", and "Advanced") and one window ("Simple") that is visible at launch. In the preferances window, I have a checkbox. I would like that box, when checked to display the "Simple" window, and Hide the "Advanced" window,
    What do you mean by in the main window are two windows?  Also if the checkbox is in the preferences window and that is hidden at launch how do you get to it to check/uncheck it?
    This checkbox basically toggles between the two windows? selected it displays the 'simple' window, when unchecked it displays the "Advanced" window?
    This script
    script AppDelegate
      property parent : class "NSObject"
        property ppw : missing value
        property isShowing : 0
              on applicationWillFinishLaunching_(aNotification)
      -- Insert code here to initialize your application before any files are opened
              end applicationWillFinishLaunching_
              on applicationShouldTerminate_(sender)
      -- Insert code here to do any housekeeping before your application quits
                        return current application's NSTerminateNow
              end applicationShouldTerminate_
        on displayButton_(sender)
            if (isShowing = 0) then
                ppw's orderFront_(sender)
                set isShowing to 1
            else
                ppw's orderOut_(sender)
                set isShowing to 0
            end
        end
    end script
    will toggle a second window from a button on the firsst window.
    This is what the nib file looks like
    ppw is attached to the panel.
    This should get you started. Post back if you have more questions.

  • Conditionally Show and Hide Input Text

    JDev 11.1.1.5.0
    I have two input texts PROFILE and SCORE.
    SCORE is shown only if my value in PROFILE is E or F.
    And if, it should be hidden once the PROFILE value is changed to some other value.
    Also, please note SCORE field should be mandatory if the PROFILE value is E or F.
    Here is the code what I tried so far:
    <af:inputText value="#{bindings.Profile.inputValue}"
                                              label="#{Resources.PROFIL}"
                                              required="true"
                                              columns="#{bindings.Profile.hints.displayWidth}"
                                              maximumLength="1"
                                              shortDesc="#{bindings.Profile.hints.tooltip}"
                                              id="it94" autoSubmit="true">
          <f:validator binding="#{bindings.PsamProfile.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.Score.inputValue}"
                                            label="#{Resources.SCORE}"
                                            required="#{bindings.Profile.inputValue == 'E' or bindings.Profile.inputValue == 'F'}"
                                            columns="#{bindings.Score.hints.displayWidth}"
                                            maximumLength="#{bindings.Score.hints.precision}"
                                            shortDesc="#{bindings.Score.hints.tooltip}"
                                            id="it164"
                                            visible="#{bindings.Profile.inputValue == 'E' or bindings.Profile.inputValue == 'F'}"
                                            partialTriggers="it94"
                                            contentStyle="text-align:left;"
                                            autoSubmit="true">
                                <f:validator binding="#{bindings.Score.validator}"/>
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.Score.format}"/>
      </af:inputText>
    I have tried using a parent component and using rendered attribute for the SCORE field as explained in https://blogs.oracle.com/Didier/entry/only_rendered_adf_faces_compon, but it still didn't help.

    Forgot the PROBLEM part
    PROBLEM is: If I change the PROFILE value to some other value than E or F, the SCORE field is not getting hidden as expected and in fact it is throwing a mandatory validation.

  • 6 and 8 digits under texting for billing how can I get full numbers

    How can I find out what the full phone number is for those 6 or 8 digits showing up under texting

    Hey 
    I'd be happy to help with these 6-8 digit numbers appearing in your usage history! Texts to and from numbers such as these may indicate that the text is to/from a short code. Short codes are numbers used most often by businesses and companies as an easy to remember number. For example, the short code 32665 is associated with receiving Facebook update via text message.
    I hope this helps!
    Charise

  • Alert.show and popups not displaying text in flex4 compatibility

    I'm using the Fx4 SDK in compatiblity mode to compile my Fx3 applications; everything seems ok, but for popups.  No text is being displayed by any popup, not my custom titleWindow popped up with PopUpManager.createPopUp() nor my Alert.show boxes... Why could this be happening?
    thanks,
    gtb

    To fix this I did the following:
    1. remove the compatibility directive:
    -compatibility-version=3.0
    2. add as an additional compiler option the following directive
    -theme PATH_TO_FX4SDK/frameworks/themes/Halo/halo.swc
    3. change the namespace on my css file.
    for the standard flex components:
    @namespace "library://ns.adobe.com/flex/mx";
    and for my custom components
    @namespace "*";
    finally make your application's framework conform to Flex4SDK.
    gtb

  • Can I have two different actions (Show and Hide) on one Btn? Captivate 6

    Hi Everybody
      I currently need to fix a Captivate project,  there is one thing that I don't know how to do. So, I have this button, I am supposed to click this Btn, then the image disapper and text show up. So, there are two actions for this Btn. Once I click it, 1st action: the images disapper, second action: text show up.  I am only able to make one action work.
    Does anyone here know how to do it?
    Thanks.

    I have been blogging a lot about toggle buttons. Have a look at:
    http://lilybiri.posterous.com/toggle-shape-buttons    for Captivate 6, it has also a link to an older blog post.
    I presented a webinar, focusing only on shape buttons, where the toggle is also explained:
    http://blogs.adobe.com/captivate/2012/09/training-lilybiris-favourite-shapes-to-trigger-ad vanced-actions.html
    As Rod points out, you cannot convert a standard to a conditional advanced action, but for complicated Conditional actions, I will often first test the sequence of statements in a standard action, before copying it to the THEN or ELSE part of the conditional action. But this is not really a very complicated condtional action that is needed. I even explained it recently in another thread, but cannot find it for the moment.
    Lilybiri

Maybe you are looking for

  • Adding text annotation in Preview.app

    Preview in Leopard seems to be missing the ability to add text annotation to a pdf like in Tiger. Yeah, I know annotations can appear to the left side of the pdf, but I want them right on the document. Anybody see how to add text directly to a pdf wi

  • Firefox crashes on my desktop, how can I get on my internet??

    I have tried safe mode and everything else. Can't do much without interenet access. Can I delete firefox and get on my computer??

  • PART# 5047401001/MODEL# CT4

    Hello, I am trying to find out the difference between the CT4740 and the CT4750. I ordered the CT4740 from a vendor who had the part number listed by 50474000. When I received the soundcard, the model I received was the CT4750. He told me that they a

  • BW can't transport DEV to PRD

    Dear All:        I am using BPC NW 7.5 SP10, and trying to transport Development to Production, but it failed. Here is the BW log. Log File:                PJ-BPCDEV01\sapmnt\trans\log\TBDR900505.TBP Execution of programs after import (XPRA) Transpor

  • How do i authorize a new computer

    I want to authorize my new computer