proj-imim:
Re: Fwd: PTJV.9 - Loading New Panoramas from Running Applets and map/c
RDHoore (ProxyVista) 2000-May-13 14:40:00
Dear Helmut,
> Calling javascript functions from the applet only works on Netscape
> (Mac and Win). It does not work on any IE.
Yes, but I wondered about the technical reason (I haven't touched Java
programming, so I don't know anything about it). I called up a friend who is
a Java programmer, and he explained that Microsoft has their own
implementation of Java, which differs from Sun in some aspects, and calling
JavaScript functions from Java is one such thing which needs to be done
differently. I will try to figure out more and hopefully send you some
sample code.
In any case, perhaps you could make an additional function that returns the
number of the active hotspot (-1 if none), and another that returns the name
of the hotspot (empty string if none), so that we can call it using with a
timer interval?
ActiveHS()
ActiveHSName()
Another thing, I'm a bit disappointed with the complexity of making a
hotspot area. I hoped to be able to give relative coordinates for a
rectangle, but now I see one needs a GIF image... Which is perhaps more
powerful, but unfortunately not suitable for massproduction of hotspots...
If a simple rectangle (add x2 and y2) would also become possible, it would
be really nice. I guess the m parameter would have to be ignored if x2 and
y2 are given. The center of the hotspot image would be displayed in the
center of the given rectangle, and the whole rectangle can be clicked on in
order to activate the hotspot url.
Last thing: since you use the apostrophe (') to delimit strings, we should
be able to use backslash apostrophe inside strings to get an actual
apostrophe displayed.
Otherwise I like version 0.9 a lot. I like the p (popup) parameter a lot, so
that even when the hotspots are turned off, they still pop up when you get
there. It's those little things that make life a pleasure :)
Thanking you,
Ronny D'Hoore