473,387 Members | 1,540 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,387 software developers and data experts.

CSS navigation drop downs are hidden when <embed> is used.

I have CSS drop down navigatoon bar and it works fine.

However, when I have page where I have an <embed - needed to show a PDF
file, such as:

<embed src="Security.pdf" width="900" height="500"></embed>

When the mouse passes over the navigation bar, the drop downs are hidden
behind the PDF page.

For all other HTML pages, the navigation drop downs cover whatever is there
on the page.

Why does it behave like that for the <embed>?

Regards
John


--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 38766 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!
Jan 17 '07 #1
2 3610
John wrote:
I have CSS drop down navigatoon bar and it works fine.

However, when I have page where I have an <embed - needed to show a PDF
file, such as:

<embed src="Security.pdf" width="900" height="500"></embed>

When the mouse passes over the navigation bar, the drop downs are hidden
behind the PDF page.

For all other HTML pages, the navigation drop downs cover whatever is there
on the page.

Why does it behave like that for the <embed>?

Regards
John


--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 38766 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!

Although I rarely work with EMBEDs before, my guess would be the Z-index
on the EMBED is higher then then NAV bar.

Lemme know,
Steve

Jan 31 '07 #2
On Jan 17, 11:19 am, "John" <john1...@yahoo.comwrote:
I have CSS drop down navigatoon bar and it works fine.

However, when I have page where I have an <embed - needed to show a PDF
file,
When the mouse passes over the navigation bar, the drop downs are hidden
behind the PDF page.

Why does it behave like that for the <embed>?
Because the browser does not actually include the PDF contents in the
canvas. Instead, it reserves the space for it, renders everything
else on the HTML document, then calls a helper program (the PDF
browser plug-in) to do its thing with the portion of the window needed
for the rendering of the <embed>. The browser, as programmed, simply
cannot draw over top of <embed>ded content.

Actually including the <embedcontents in the canvas in a z-orderable
way is possible (from the standpoint of programming the browser) but
would present a few more challenges than the way it's typically done
now. Combine that with the probability that browser developers
haven't considered that someone might want to do what you want to do,
and that's why <embedobjects come out on top in most browsers.

--
Vid the Kid

Feb 2 '07 #3

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

Similar topics

0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
4
by: AES/newspost | last post by:
Can anyone provide a quick tip on the html structure to link from a thumb to a movie poster and from there on to a QuickTime movie, all in one go, using EMBED? I have a number of (large)...
1
by: Frances Del Rio | last post by:
I have this tag to embed a video: <EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" SRC="video.wmv" name="Video"...
2
by: chaitatp | last post by:
Hi guys, I have posted a similar question before but this post has some different. The similar link is: ...
0
by: Andy Dingley | last post by:
I have code like this: <embed src="ftp://ftp.example.com/movies/clip1234.mov" > They're 10-20MB quicktime, held on an ftp server, no streaming. I don't know exactly what screen size they are. If...
0
by: Chris Leffer | last post by:
Hi. I have a page that dynamically creates an <embed> tag. Several users are running the site using IE 6.0 without problems, but on just one user the sound won't play. That's the code that...
2
by: Annu | last post by:
Hi I need help on <enbed> tag. Following code(No 1) is working properly on windows but on linux code no.2 is not working Code No 1: <EMBED type='application/x-mplayer2' ...
0
by: OldProfessor | last post by:
I'm really stumped. I am trying to create a web site to honor my late son's heavy metal band. I want the mp3 music to play and lyrics to be displayed. The problem seems to be in getting the sound...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.