PDA

View Full Version : display link description within ivr file


jimmy
07-26-2002, 05:37 PM
No idea if this is the right place to ask this question, but here goes: I have a panorama file that is linked to other panorama files with hotspots, creating a series of linked files to present a house room-by-room. I can get the description of the link to display in the status bar, but would prefer it popup next to the cursor when it is over the target. I would be happy to post some of the code if it would help.
thanks

boxer_1
07-26-2002, 05:56 PM
You could use the "title" attribute. Just give all of your files a title and the value you assign to the title will be displayed onmouseover. Here's an example using an image file to give you the idea:

<img src="Blah.gif" title="What you want displayed on mouseover" width="25" height="25">

jimmy
07-28-2002, 09:33 PM
Thank you Boxer, but I'm afraid I don't quite know what to do with that tip. I've posted the code I'm using to link to the ivr files with a java script. This bit of code was found on an old livepicture site, so I don't know it well enough to edit it much. The code as follows shows only one hotspot to link to another file, similarly calling out another ivr file. The hotspots can be listed one after another as hotspot1, hotspot2, and so on, each with their own coordinate information. I wouldn't know where to insert your bit of code. I'm afraid I'm in a bit over my head here.

</script>
<BODY bgcolor="#606060" text="white" leftmargin="50" topmargin="50" marginwidth="0" marginheight="0">

<SCRIPT language="JavaScript">
<!--//
var myBrowser = navigator.appName;
var myVersion = parseFloat(navigator.appVersion);
if (myBrowser == 'Netscape' && myVersion < 4.0)
{
document.write('<APPLET archive="lpjpanoNS3.zip" code="LPPano.class" width="504" height="252">');
}
else
{
document.write('<APPLET archive="lpjpano.zip" code="LPPano.class" width="504" height="252">');
}
</SCRIPT>
<PARAM name="cabbase" value="lpjpano.cab">
<PARAM name="file" value="robertsentry.ivr">
<PARAM name="autoSpin" value="-100">
<PARAM NAME="hotSpot1" VALUE="0.5,0.5,0.5,0.5, robertswindow.htm, jump to window, ,">
<PARAM NAME="showHotspots" value="true">
</APPLET>
</BODY>

boxer_1
07-28-2002, 10:03 PM
Hmm...tough one. I tried putting the applet inside a div and giving the div the title attribute, but no luck. I fear you only solution may be to code a param into the applet that will display a predifined text onmouseover. Perhaps there's another solution, but if so, it's on I do not know it. I don't believe there's a way to get a textual description to apear on top (over) an applet without it being coded into the applet...sorry I couldn't be of more help to you.

jimmy
07-29-2002, 04:01 AM
well, boxer, I appreciate the help anyway,
thanks