473,324 Members | 2,417 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,324 software developers and data experts.

iframe z-index with non html documents

Hello,

Is it possible that the z-index property for an iframe doesn't work
when the SRC attribute is linked to a non html document? (i.e. a pdf
document)

That is what I am experiencing. I have a dropdown menu and an iframe
and I want the menu always to be displayed above any object in the
page. When the iframe is empty or it has an html page within, I can
achieve this by setting the z-index property in the menu(div) higher
than the one in the iframe, but when I try to display a pdf document
in the iframe (what I really want to do), the menu is displayed below
the iframe.

Has anybody come up with this problem before?
Any help will be really apreciated.

(I am using IE 6.0)
Jul 23 '05 #1
2 3725
Toni wrote:
Hello,

Is it possible that the z-index property for an iframe doesn't work
when the SRC attribute is linked to a non html document? (i.e. a pdf
document)
What this has to do with Javascript is beyond me.
comp.infosystems.www.authoring.stylesheets
That is what I am experiencing. I have a dropdown menu and an iframe
and I want the menu always to be displayed above any object in the
page. When the iframe is empty or it has an html page within, I can
achieve this by setting the z-index property in the menu(div) higher
than the one in the iframe, but when I try to display a pdf document
in the iframe (what I really want to do), the menu is displayed below
the iframe.


I believe, but could be wrong, that you will find that the Adobe Acrobat
Reader is a window of its own. Meaning, it doesn't play by the z-index
rules because it is not part of the browser anymore.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2
Toni wrote:
Hello,

Is it possible that the z-index property for an iframe doesn't work
when the SRC attribute is linked to a non html document? (i.e. a pdf
document)

That is what I am experiencing. I have a dropdown menu and an iframe
and I want the menu always to be displayed above any object in the
page. When the iframe is empty or it has an html page within, I can
achieve this by setting the z-index property in the menu(div) higher
than the one in the iframe, but when I try to display a pdf document
in the iframe (what I really want to do), the menu is displayed below
the iframe.

Has anybody come up with this problem before?
Any help will be really apreciated.

(I am using IE 6.0)


The PDF document you are viewing in the iframe is placed there using the
PDF viewer ActiveX control. The PDF viewer ActiveX control is a windowed
element, and as such, appears on top of all other elements (same as
<select>).

More information about how z-index works in IE for various HTML elements
at <url: http://support.microsoft.com/default...b;en-us;177378
/>

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #3

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

Similar topics

3
by: Catherine Lynn Smith | last post by:
I want to know the recommended way to handle scripting of/with containers such as an iframe. I have a page with border-navigation bars on the top/bottom/left/right and I want to use an iframe to...
4
by: Thomas | last post by:
Hi there, I have an iframe which is editable (designMode = "on") and want to resize it dynamically as the content grows (e.g. more lines of text is in there) and there the struggle starts. I...
2
by: Rich | last post by:
Is there any way I can check to see if a document is loaded into the iframe before I call onLoad (sort of an afterLoad). I'm loading up a page into an iframe. But because we use four servers...
7
by: Christopher J. Hahn | last post by:
I'm trying to use a script-generated form to submit to a script-generated iframe. The problem I'm running into is that the iframe is not assuming the name I assign it. IE6 on Win2000. FF1.0.2+...
3
by: Angel | last post by:
How do I get the reference of the IFrame from the asp.net webpage that is being displayed within that IFrame? In other words I have an IFrame in my page. Within that IFrame Set the source to a...
7
by: pb | last post by:
Hi all, I have some code that automatically generates a url depending on user selections. This url is then set as a hyperlink and the user clicks on the link that has the target as an iframe on...
1
by: Z1P2 | last post by:
I would like to gradually resize an iframe in an onmouseover event. I can easily do it with an image, but when I try to do it with an iframe, it doesn't do anything. So first of all, is it possible...
0
by: mem | last post by:
Hello, I'm a novice at this and am trying to solve a problem reference IFrame. The following code is for a page I've created. It works well with two exceptions. The IFrame is an application hosted...
5
by: devdoer | last post by:
HI: I have a page contain anthoer site's iframe window, but the iframe window ' document is large, so the scroller shows in the iframe window. I decide to caculate the iframe document's true...
4
by: raymon | last post by:
Hi, I have a page with two iframes that load content from another website. Only one of the iframes is shown at a time, depending on which tab the user is viewing. If user clicks on tab A, he will...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.