By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,763 Members | 1,609 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,763 IT Pros & Developers. It's quick & easy.

show image when done

P: n/a
Jay
Difficult to explain but....

I have a form. Inside the form is a table (2 columns).
1st column has text. Click on the text and a hidden div appears in the 2nd
column and contains a textarea.
(pause)
This form has a lot of textareas so rather than have a long ugly form I
decided to use 10 hidden divs each one containing a different textarea. Each
hidden div has the same positioning...

The thing is... as the user goes down the 10 rows, clicking on each and
typing in each textarea, it becomes hard to remember which links have been
clicked on. What I want to achieve is to have an image (of a tick) appear
next to the text after it has been clicked and the text provided.
Is this making sense?

table
click to enter some text (tick) | table cell where div/textareas appears
click to enter some text | div/textareas appears

The first row shows a tick.gif to the right of the text as the user has
already clicked here and entered some text.
The textarea/div is hidden when the user clicks some text in the hidden
div... the div id is passed to the function so maybe another line in the
function to achieve?

The more I type the less I think I'm explaining so I'll stop!
Any ideas?

Jay
Jul 23 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Jay

"Jay" <ja******@gmail.com> wrote in message
news:O0*********************@news.xtra.co.nz...

had a thought.. it would be acceptable if it was one image and it moved it's
way down the rows showing the last text clicked.
click some text in table cell 2 - the div in table cell 2 reverts to hidden
and an image (tick.gif) appears in table cell 1 (to the right of the text
already resident in cell 1)

Jul 23 '05 #2

P: n/a
You could have a hidden image of a tick and display it when the user
started typing in the textarea. You can tell when they started typing
with the onchange event.

Jul 23 '05 #3

P: n/a
Jay

"Matthew Lock" <lo******@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
You could have a hidden image of a tick and display it when the user
started typing in the textarea. You can tell when they started typing
with the onchange event.


How do you hide an image?
How can I turn it from hidden to visible (or do you mean width=0, height=0?)
onClick of the text calls a function and passes the LayerID to on/off the
visibility of a given layer.
Is the built-in that comes with Macromedia Fireworks 4.
Can I tack something onto the end of this to control the width height of a
given image?
Jul 23 '05 #4

P: n/a

Jay wrote:
How do you hide an image?
How can I turn it from hidden to visible (or do you mean width=0, height=0?) onClick of the text calls a function and passes the LayerID to on/off the visibility of a given layer.


You can use Javascript to control the visibility through CSS. Read
these:

http://groups-beta.google.com/group/...64defa3f93a580

http://groups-beta.google.com/group/...cfaee4452940fc

Jul 23 '05 #5

P: n/a
Jay

"Matthew Lock" <lo******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...

Jay wrote:
How do you hide an image?
How can I turn it from hidden to visible (or do you mean width=0,

height=0?)
onClick of the text calls a function and passes the LayerID to on/off

the
visibility of a given layer.


You can use Javascript to control the visibility through CSS. Read
these:

http://groups-beta.google.com/group/...64defa3f93a580

http://groups-beta.google.com/group/...cfaee4452940fc


What I ended up doing was having 6 instances of the same image
(strategically placed) and having the w and h set to 0
onClick would call my function and also set the named instance to w and h =
12.
job done.

Jay
Jul 23 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.