Overlaying part of image with transparent gif
Posted on 1998-05-08
Let me begin by stating that, although I know several programming languages quite nicely,
till today I only knew Java as a nice island of Indonesia, and not a as computer language.
Therefore, I do not know whether it is possible to answer my question.
If not: ignore it. 'This is not possible' is my assumption already, I will not give
points just to get that certified.
The question (displaying a transparent image on top of another):
1 I want to be able to call a function for HTML
Parameter 1= picture to be overlayed or picture to be initially displayed or picture coordinates
relative to the browser. Anyway: a parameter to select the targetpicture.
Parameter 2= name and location of the (second) picture to lay on top of Parameter 1
Parameter 3ab= x and y Offset relative to the upperleft corner (0,0)
the second picture must be able to make a overlay a any point
2 The answer must work for at least N4 and MSIE 4
Answers who will work only for N4 or MSIE 4 will be rejected, until I am
sure there is no other option than to select 1 browser.
3 If a browser isn't capable or executing the Java script, it must not give
4 For browser that do not support the applet, there must be the option to
display the original picture (not just a black or grey hole).
5 I want to receive not only the source of the function, but something I can FTP
to my hostserver and see want it does without any effort, lets say 'donkey proof'
6 It must be client sided. No CGI bins are allowed.
7 I want the source code too.
600 point to start with. I require a fully functional, non copyrighted answer.