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.
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 (-:
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.