473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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.

Jan 8 '07 #1
1 1792
Put the iframe in a div and attach the javascript to the div.

-- bruce (sqlwork.com)
On 1/8/07 7:57 AM, in article
11*********************@v33g2000cwv.googlegroups.c om, "Radu"
<cu*************@yahoo.comwrote:
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.
Jan 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jeff Thies | last post by:
I'm (still) having trouble reading the contents of an IFRAME (IE5). I have this: var my_iframe = document.frames; What I would want to do at that point is get either the...
5
by: hiroshi ochi | last post by:
Hello, Using MSIE 6.0 and above, with javascript is it possible to display an individual tooltip for each item in a listbox? I need this functionality to show the listitems that are longer...
4
by: Mark | last post by:
I am loading source files into several iframes, with each load happening after some user-generated event (like clicking a button). The loading works but I need to determine when the source file is...
3
by: jeet_sen | last post by:
Hi, I have a some data in the form of a table to displayed as small pop up frame. For this I have used an Iframe which is created dynamically. Then I created a table element and added as a child...
3
by: David Virgil Hobbs | last post by:
I discovered how to write out the inner HTML of the contents of an Iframe; I want to know how to write out the outerHTML of the contents of an Iframe. frames.document.body.innerHTML allows me to...
2
by: Mani | last post by:
I have a file browse dialog and an IFRAME on my web page. User will select an RTF file using the file browse dialog and I need to load the contents of that file in IFRAME so that the user could...
7
by: Tom Cole | last post by:
IFrames have been used by years for people to accomplish many of the tasks the XMLHttpRequest does for them now...I unfortunately am late in the game and XMLHttpRequest was already out there by the...
7
exoskeleton
by: exoskeleton | last post by:
hi guys..hope you can help me...my boss want me to edit our website and apply the tooltip thing, i mean the moving tooltip that follows the mouse.. please help...thank you... :(
9
by: jad2006 | last post by:
Hi guys We have a requirement like in one iframe we have to show one site and in another iframe we have to show some other external site, we did it using <iframe src="http://www.a.com">...
1
by: Larry Fletcher | last post by:
I have a javascript menu that works fine until I try to put an iframe on the same page. Using FF the contents of the iframe are shown, but not the menu. With IE6 the menu is shown, but not the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.