Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

How to update or add image

Hi,

  I have this html called example.html which needs to add image or update data
at a html page.How do i change this so that maybe when i press something at the image, a window could pop up that shows the folders from where i could select the image...
..How do i change this so that this info maybe displayed on the exact postion of the front page


<html>
<head><title> Adding update</title></head>
<body>

Image  :
<img src="cal.gif" width="16" height="16" border="0"></a></div>
     
</p>
Update :
<textarea type="text" name="desc" rows="5" cols="15" wrap>
</textarea>
</p>

<input type=button value="Add" > </p>

</body>
</html>

Thanks
0
Jasbir21
Asked:
Jasbir21
  • 3
  • 2
1 Solution
 
dushpatCommented:
How about this ... Replace URL for your image url <html> <head> <title>Image button</title> <style type="text/css"> <!-- .inputimage { background-image: url((URL))} --> </style> </head> <body bgcolor="#FFFFFF" text="#000000"> <form name="form1" method="post" action="" enctype="multipart/form-data"> <input type="file" name="file" class="inputimage"> </form> </body> </html>
0
 
Jasbir21Author Commented:
Hi,

--->How do i change this so that maybe when i press something at the image, a window could pop up that shows the folders from where i could select the image...
Thanks,

But how do i this ??
..How do i change this so that this info maybe displayed on the exact postion of the front page..I mean, what do i do so that the images and data can be inserted on the exact postion??I mean image1 with or without update data to this coordinate, the next image with data to next coordinate??
0
 
Yavor_01126Commented:
I can't understand the question maybe because of my poor english but I will try to help.
I can't go deeply in the things because I'm not anymore a javascript-er but will try to explain it :


  Try to make a script (ASP , PHP have to be the best for these job in my opinion)  then this script have to core another script on JS or VB which is more CSS not a script and then the main script configures that every image using CSS is then + some digits over the past one and so something like that...


Sorry I am not in practice 3 years and more in JS , so a very poor example   :-(
-----------------------------------------------------------------
I only geting you the idea ! I am not coding in this example !

F[j,k] := F[j,k] + w 10 and h10           w and h = j and k   (the j and k must be others for your page because you have to go bottom not to go straigt all the time)
then this in CSS should look in this way
--------------------------------------------------------------------

PiC 1           PIC2            PIC3 .... PIC
info                  ....               .......       .......

PIC             PIC                PIC


.............


Bla bla bla ....

Get an idea ???

I hope so          :-)

Sorry that I haven't go deeply and didn't give you JS/CSS asociated example but I can't code and describe you have to do the coding yourself


Regards !!!
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Jasbir21Author Commented:
.... I really didn't get that idea, i am trying to program in jsp and html...

0
 
Yavor_01126Commented:
Yo !
I am a java dev .

So the question you ask is more than ... I don't know ?!?!

If you can work / program in Java well so your question doesn't make sense...
Or I haven't understand it .. Sorry !
0
 
Jasbir21Author Commented:
Sorry, I guess i am not explaning it well ..
...Pls ask if you don't understand or i am confusing things...I am not a java dev, but i did learn java a bit and i have just started to do jsp ..so, i am new..

   I  have a jsp form that needs me to explicitly put it ,
but the problem is

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now