Solved

How to update or add image

Posted on 2003-11-04
6
236 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now