How could I add a tooltip to an iframe ? Also, the tooltip contents has to be determine @ run-time !

R

Radu

Hi.

1. OnLoad I populate a <select... html control with the doc files in
some folder.

2. The user selects one of the files in the combo, and

3. In an IFRAME I show a preview of the selected word document.

All those word docs also have lots of custom properties I would like to
show somehow. I have a function which reads them nicely, and I can see
them in a multiline text-box - problem is that there's no more
real-estate on the screen for the text-box (I want to reserve as much
space as possible for the preview in the IFRAME), so I'd like to create
a tooltip (JSCRIPT, maybe) which I could populate at run time with the
result of my function (the custom properties) and attach that
multi-line tooltip to the iframe.

Do you have any ideas ?

(PS. Also, the IFRAME has no onMouseover, onMouseout events !)

Thank you very much !
Alex.
 
B

Bruce Barker

Put the iframe in a div and attach the javascript to the div.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,591
Members
45,103
Latest member
VinaykumarnNevatia
Top