This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2005 > Re: Layer over an embedded Pdf





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Layer over an embedded Pdf
DeeDub

2005-03-08, 6:46 pm

Actually, it turns out you can!
I found this solution at:
http://groups-beta.google.com/group...7f29b7ece57446f

We had this same problem and it works perfect.

<!-- PDF file, Flash object, select/combo box that you want to be
underneath
another object -->
<iframe style="position:absolute; left:200px; top:200px; width:150px;
height:150px; background-color:blue; z-index:1;"
src="/file.pdf"></iframe>
<!-- element you want to show on top -->
<div style="position:absolute; left:100px; top:100px; width:150px;
height:150px; background-color:blue; z-index:10;"></div>
<!-- put this directly behind (z-index) the element you want to show
up;
notice the z-index -->
<iframe style="position:absolute; left:100px; top:100px; width:150px;
height:150px; z-index:9;" src="about :blank"></iframe>

Enjoy! And thanks to the person who originally posted (Kody Brown) !

Dennis Webb

darrel wrote:
>
> I didn't even know you could do that.
>
PDF.[color=darkred]
>
> You can't. Any object embedded will take the foreground layer (form

elements
> too).
>
> -Darrel


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews