Making Text appear "onClick"

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Making Text appear "onClick"

    So, here is what I want to do.

    Say I have a small image (100x100). I want to be able to click on the image,
    and have a few words of text appear near it. Then, click on the image again,
    and have a few more words appear near that. Finally, on clicking it again,
    have both sets of text disappear. I have been looking all over trying to find
    how to do this, but many places offer examples that are close, but not exactly,
    what I want. I don't know enough programming of this sort to edit it well, and
    the places that give examples rarely inform on how to change it the way you
    want. Can someone please help? Thanks.

    biff198 Guest

  2. Similar Questions and Discussions

    1. Making webpage text "copyable"
      On my website I want to be able to put some text that people can actually copy. For example I want to be able to put "Cut and paste our website...
    2. Making "unalterable" and "locked" image
      I've noticed some websites have .jpgs that cannot be dragged and copied to someone's desktop. How do I "lock" an image like that? Also, how can I...
    3. Making text "black"?
      I typed some text for navigation links and made them hexidecimal color #00000 in FW MX, and exported them as .gifs and brought them into DW MX. ...
    4. <a href="#" onclick="MyFolderProfile('<%=sFolder%>') en NET?
      Hi How I can change this tag in order to works in NET? <a href="#" onclick="MyFolderProfile('<% =sFolder%>'); return false;"...
    5. Attaching "OnClick" Javascript code to dhtml popup menu links
      I am currently developing a web site using fireworks, and am trying to figure out a way (through hand-coding) of attaching a javascript function...
  3. #2

    Default Re: Making Text appear "onClick"

    You mean "tooltip"
    Trustme...half of the people that comes in this forum always ask for this
    And those Newsgroup are sick of it, so any suker asking for this won't get any
    help

    I email, how to improve, by saying, there should be a update patch so it auto
    installs: the way to do a tooltip in the Dreamweaver


    father_of_chicks Guest

  4. #3

    Default Re: Making Text appear "onClick"

    The best way you could get this would be from the use of some custom
    javascript.

    Clicking on an image and displaying text next to it is not at all difficult;
    you can use show/hide layer, or set text of layer, or swap class, or any of
    a number of different techniques, to get that.

    Clicking on an image, getting text, then clicking on it again, getting more
    text, and finally clicking on it a third time, and getting yet more text
    would be much more difficult.

    A brute force method would be to have three duplicates of the image, each in
    a layer, and all superimposed. Make two of the layers hidden and the third
    visible. Click once on the image, reveal the text, *and* hide that image's
    layer while simultaneously showing the next image in the stack's layer will
    set you up for the next events. A new image with a new set of links has
    been revealed by this. Clicking on that image will reveal a new chunk of
    text, and will again hide this image's layer, and reveal the next image's
    layer.

    The last step would be left up to the reader....

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "biff198" <webforumsuser@macromedia.com> wrote in message
    news:e0a442$k9f$1@forums.macromedia.com...
    > So, here is what I want to do.
    >
    > Say I have a small image (100x100). I want to be able to click on the
    > image,
    > and have a few words of text appear near it. Then, click on the image
    > again,
    > and have a few more words appear near that. Finally, on clicking it
    > again,
    > have both sets of text disappear. I have been looking all over trying to
    > find
    > how to do this, but many places offer examples that are close, but not
    > exactly,
    > what I want. I don't know enough programming of this sort to edit it
    > well, and
    > the places that give examples rarely inform on how to change it the way
    > you
    > want. Can someone please help? Thanks.
    >

    Murray *ACE* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139