Display PDF inside web page

have folowing code:

<IFRAME id ="frame" src="../doc/a.pdf" style ="Width:80%; Height:80%;z-index:0" >

Error:this is alternate incase that document to display does not exists

</IFRAME>

works ok, except I dont like there is save button etc, but back to main problem;

There seems is no way to place some element ower displayed PDF(see link - there are some drop down menus that fall behind displayed pdf ), setting zindex has no effect.

if I use src="../doc/a.html" then there are no such problems.

Anyway the other day I found something somewhere on google and lost it permanently --> it solved exact problem, so it can be done. !!!

here is the link where you can see problem --> move mouse ower menu bar above displayed PDF.

http://86.61.66.17:8084/AgroZoo

Thanks for help.

[1003 byte] By [BubikolRamiosa] at [2007-10-3 0:40:57]
# 1
Since the PDF is displayed by a browser plug-in (essentially another program) you have no control over this.
cotton.ma at 2007-7-14 17:35:12 > top of Java-index,Java Essentials,Java Programming...
# 2

hmm, as I stated before it can be one, I have seen it, it was something about linking pdf from another location......

Anyway, As it is (hawing all kinds of adobe toolbars), I would prefer to have displayed contence only.

Can somebody direct me how can I read entire contence of PDF file(text, pictures, formatting), and display it the same way as it is displayed now, without adobe toolbars and annoying zndex effect.

Wouldn be asking this here if tons of googling would deliver any effect (-:

BubikolRamiosa at 2007-7-14 17:35:12 > top of Java-index,Java Essentials,Java Programming...
# 3
here I found an example that works, does anyboddy see why it works ? http://www.fluidedesign.com/embedded_pdf_example2.htmMessage was edited by: BubikolRamios
BubikolRamiosa at 2007-7-14 17:35:12 > top of Java-index,Java Essentials,Java Programming...
# 4
What ever it is up to, it is a) IE onlyb) JavaScript based
mlka at 2007-7-14 17:35:12 > top of Java-index,Java Essentials,Java Programming...
# 5
yeah, right, did not check it on FF. So, stil looking for a way to open pdf and show contence without adobe reader instaled ....
BubikolRamiosa at 2007-7-14 17:35:12 > top of Java-index,Java Essentials,Java Programming...
# 6
> yeah, right, did not check it on FF. So, stil looking> for a way to open pdf and show contence without adobe> reader instaled ....Convert it to something that the client can see (a JPEG?)
mlka at 2007-7-14 17:35:12 > top of Java-index,Java Essentials,Java Programming...
# 7

ok now I found information how to show pdf file and remove those annoying toolbars and stuff... if anyone interested -->

http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf

and decided to proced with hedacke with drop down menus (-; because pdf nicely wrapes images and they are not scatered aroundb all ower the disk as is example at html files.

So here is what I figured out:

In case That I move mouse over menus and they drop down over fame containing pdf

1. frame is only wisible if it contain pdf, so there is no need to establish if it contains pdf or something, otherwise surronding DIV contains something else --> so one problem less

2. so if it is wisible, then I hide it --> menus shows then yust fine

3. Here is the big ? Before I hide Frame containing pdf:

3.1 can I scan contence of frame into java script image object ? i.e set the scan as IMG tag src

3.2 If that coud be done, then I would for the time of displaying dropdown menus replace, frame with pdf, with that IMG, and vice versa.

here is sample page . click 'Potrdi1' button to hide pdf i.e FRAME and see above dropdowns showing ok

http://86.61.66.17:8084/AgroZoo

any help welcome.

BubikolRamiosa at 2007-7-14 17:35:12 > top of Java-index,Java Essentials,Java Programming...