Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sub-menu is hidden behind PDF type object ( issue in Internet explorer)

I have a object type tag in the page, which is used to show a pdf file. Everything is working fine, but in Internet Explorer my sub-menu is getting hidden behind the object tag.

var objectTag = $('<object></object>')
.attr({ data: sourceURL + '#nameddest=self&page=1&view=FitV'
 || '', type: mimeType || '' })
.css({ width: '100%', height: '100%', zindex:'1' });

Please find red highlighted area. Please find red highlighted area.

I have tried many things. Please don't suggest z-index thing.

like image 480
Ankur Avatar asked Dec 26 '14 09:12

Ankur


1 Answers

I'm afraid there isn't any pure answer to your question, but you can always add <br><br><br> before the PDF so that the PDF goes further down and doesn't touch the sub-menu.

like image 109
Donald Duck Avatar answered Nov 07 '22 08:11

Donald Duck