swap text on click or rollover?

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

  1. #1

    Default swap text on click or rollover?

    I'm trying to swap text on a mouse click, but can't figure out if it's possible
    in either Dreamweaver or Fireworks (note: I have very old versions of both. DW
    MX and FWKS 3)

    I have pictures of a bunch of folks, and would like the user to be able to
    click on the photo and have the appropriate text display in a square. When you
    click on a different picture, I'd like different text to appear. I don't want
    to use an image of text because it always looks awful.

    Is this possible to do?

    thanks.

    glowlittleglowworm Guest

  2. Similar Questions and Discussions

    1. swap images + rollover question
      I am trying to create my own drop-down menu bar using the swap image behavior. I can get the drop-down part OR a rollover effect, but not both. I...
    2. ASP detail page "swap image" on click
      I am designing a site with master/detail ASP pages using an access data source. The Detail pages will display merchandise with the option to swap...
    3. rollover on hyperlink in text field makes text shift
      I've put a hyperlink in a text field with an attached stylesheet, and when roll the mouse over it, it makes the other text shift slightly. The...
    4. DISPLAY TEXT ON ROLLOVER
      Hi, I need to display help text on a mousenter event for several buttons. Is it possible to do this in lingo without having to use a textfield. ...
    5. animated text on rollover...
      Hello there. This is my first user group experience so be gentle. I'm developing my first interactive CD rom for my furniture business I've...
  3. #2

    Default Re: swap text on click or rollover?

    Hi I try to do the same thing with a map I want to display the region in the
    map that your mouse is on and if you click on that regoin I need to take you to
    that page. Please let me know If you find something

    I alos don't know if it is a flash or DMX fuction (I don't know Flash at all)
    Thanx

    Kite12 Guest

  4. #3

    Default Re: swap text on click or rollover?

    Sure - it's possible. Use the SetTextofLayer behavior. Have a single layer
    to receive all of the different text contents, and each click on a photo
    would cause different text to appear in that layer.

    That's how I have done the mouseovers on this page -

    [url]http://neapco.beyondunreal.com[/url]

    --
    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
    ==================


    "glowlittleglowworm" <webforumsuser@macromedia.com> wrote in message
    news:e0ke1h$53s$1@forums.macromedia.com...
    > I'm trying to swap text on a mouse click, but can't figure out if it's
    > possible
    > in either Dreamweaver or Fireworks (note: I have very old versions of
    > both. DW
    > MX and FWKS 3)
    >
    > I have pictures of a bunch of folks, and would like the user to be able to
    > click on the photo and have the appropriate text display in a square.
    > When you
    > click on a different picture, I'd like different text to appear. I don't
    > want
    > to use an image of text because it always looks awful.
    >
    > Is this possible to do?
    >
    > thanks.
    >

    Murray *ACE* Guest

  5. #4

    Default Re: swap text on click or rollover?

    I've bodged together a page that does something similar, its from a clients
    site so I've removed a lot of the content (and layout) so it may look a little
    odd but you get the general idea. Take a look at [url]http://www.andybyard.co.uk[/url] and
    hover over the pics and the text should change. If you do a view source you can
    grab the javascript and mess with it to your hearts content. I'll be updating
    my home page shortly but the page will be there for at least another week.

    Ab
    ps not tested the page in IE

    byardaj Guest

  6. #5

    Default Re: swap text on click or rollover?

    Page throws a js error -

    <body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"
    onLoad="procOnLoad();">

    There is no procOnLoad().

    --
    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
    ==================


    "byardaj" <andybyard@mac.com> wrote in message
    news:e28tid$an8$1@forums.macromedia.com...
    > I've bodged together a page that does something similar, its from a
    > clients
    > site so I've removed a lot of the content (and layout) so it may look a
    > little
    > odd but you get the general idea. Take a look at
    > [url]http://www.andybyard.co.uk[/url] and
    > hover over the pics and the text should change. If you do a view source
    > you can
    > grab the javascript and mess with it to your hearts content. I'll be
    > updating
    > my home page shortly but the page will be there for at least another week.
    >
    > Ab
    > ps not tested the page in IE
    >

    Murray *ACE* Guest

  7. #6

    Default Re: Re: swap text on click or rollover?

    Oops, looks like I removed a bit too much. I was trying to put everything in
    one file rather than have a seperate JS for the original poster to download
    (what happened to his query? all I can see is your response Murray)
    I've ditched the OnLoad from the body tag (as it wasn't doing anything
    relevant to the post) and uploaded the new page (still with messy layout etc.)

    Andy

    byardaj Guest

  8. #7

    Default Re: swap text on click or rollover?

    Hello! I'm trying to figure out how to swap the text also. I have a gallery
    page set up with small thumbnails at the top and a larger image with text below
    the thumbnails. I would like the text beside the large image to change when the
    thumbnails are clicked. The link in the last thread of this post doesn't work.
    Can someone send me a sample code in order to create this gallery page? Thanks!

    ~Christy

    Media Post 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