Welcome visitor
* Login
* Register
It is currently May 25th, 2019, 9:22 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  image and/or text area
PostPosted: April 22nd, 2009, 11:52 pm 
User avatar

Posts: 44
hi, I'm thinking about a system to comment pictures of a galery. Can you help me finding a way to make the image as background and a text area in front of it with a submit button option when the image is clicked? And the image come back when the message is submitted?

thanks guys.


Top
 Profile  
 
  Re: image and/or text area
PostPosted: April 23rd, 2009, 12:43 am 
User avatar

Posts: 40
hth or at least it heads you on a good direction:
<img src="image.jpg" id="pic" style="display: inline"
onClick="this.style.display='none'; 
document.getElementById('comments').style.display='inline';">


<form id="comments" style="display:none;">
<textarea style="background-image: url(image.jpg); width: 300px; height: 300px;"></textarea>
<input type="submit" value="Comment!" onClick="this.style.display='none';
document.getElementById('pic').style.display='inline';"></form>
;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron