Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to update or add image

Posted on 2003-11-04
6
238 Views
Last Modified: 2010-04-09
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
Comment
Question by:Jasbir21
  • 3
  • 2
6 Comments
 
LVL 1

Accepted Solution

by:
dushpat earned 160 total points
ID: 9677378
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
 

Author Comment

by:Jasbir21
ID: 9677709
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
 
LVL 2

Expert Comment

by:Yavor_01126
ID: 9679813
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:Jasbir21
ID: 9685955
.... I really didn't get that idea, i am trying to program in jsp and html...

0
 
LVL 2

Expert Comment

by:Yavor_01126
ID: 9688061
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
 

Author Comment

by:Jasbir21
ID: 9693847
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question