Garbage Burrito

Topic: JavaScripting with PDF's?

1. rheaghen - 08 21, 2006 @ 11:54AM
Rheaghen-za

JavaScripting with PDF's? Hide PDF toolbars in the browser? any one holding back on me here?

this is the closest I've come to not failing at Hiding PDF toolbars in a Browser.



<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" WIDTH=555 HEIGHT=450>
    <PARAM NAME="SRC" VALUE="MyPdf.pdf#toolbar=false">
   <param name="setShowToolbar" value="0"/>
   <EMBED SRC="MyPdf.pdf" HEIGHT=450 WIDTH=555>
   <NOEMBED> Your browser does not support embedded PDF files. </NOEMBED> </EMBED>
</OBJECT>

this does not work.

I just spent 2.5 hours on the phone with Acrobat's Development Tech support . they say there is a way to hide the toolbars through Javascript, but they do not support this type of thing, they will not help me, and they will not tell me who can help.

I've googled every phase combination I can think of, I've searched be the PDF classid shown in the object tag above. so I am hoping one of you can show me up.

don't be shy now.

thanx - Ryan

2. Ben Kittrell - 08 21, 2006 @ 12:09PM
Benderflydw8

You do realize that no one else is here, right?

Sorry dude, I've got no clue.

3. rheaghen - 08 21, 2006 @ 07:49PM
Rheaghen-za

chirrrp...chirrrp... well... maybe someone will find it. it's on tha enernet.

4. Ben Kittrell - 11 07, 2006 @ 11:06AM
Benderflydw8

Ryan, did you ever figure this out, cause a lot of people have been searching for it.

5. rheaghen - 03 07, 2007 @ 02:22PM
Rheaghen-za

I still have not found a solution to this problem. I contacted Adobe Technical Support, and said I'd pay for the solution. the answer I got was, "Yes, it can be done, but only through javascript". The not-so-wonderful thing is that Adobe also calls it's internal ECMA scripting "JAVASCRIPT" so I can not even be sure of the context in which the tech support guy was talking about. Chris, the Mad Scientist of the it department, hinted that the actual executable binary that controls the plugin may have some useful hints if you REALLY wanna hack into it. but~~~~ I have not gone down that path just yet. sorry all you bleary eyed googlers looking for a solution.

6. rheaghen - 09 05, 2007 @ 10:33PM
Rheaghen-za

Ok... update on the controlling PDF's with javascript. Ok, first the bad news (be brave, read on I say!), I still have no clue if using HTML javascript (silly clarification because adobe calls internal PDF scripting javascript too, how confusing) even works against embedded PDF documents. The good news is that someone at adobe realized there was more potential in using flash as the new transport for vector graphics, and other various forms of media. Behold Macromedia FlashPaper! (nice example http://help.godaddy.com/article.php?article_id=1370)

the first thing I noticed about flash paper it that unlike PDF's it loaded REALLY fast. No silly nonsense like loading a parallel application that kind-of annoying. nothing like Acrobat reader to stifle the momentum that is your productivity with the distraction of loading this other application. I especially enjoy the updating process that acrobat frequently prompts me with... Oh Joy! more unnecessary time consumption! if I'm lucky, I'll get distracted for a hour from what I was really trying to accomplish. Ok. Sorry. I'll stop ranting now.

anyhow, FlashPaper loads Really fast and looked beautiful! and because it's a standard SWF file, action script should certainly be an available tool here! Ooo Ooo and I don't have to worry about my customers not having acrobat! yay! dare I say, they could even access my document from something other than windows, EASILY!!!

ps, checkout the svg alternative!
http://developer.mozilla.org/presentations/eich-ajax-experience-2007/photos.svg

7. Jesse - 09 10, 2007 @ 04:43AM
Redwhitehouse

I'm not on par with you guys, but I would think first of z-index divs. The hidden pdf at 0 and the nominal view at 1. Have I come close here?-- as I have never heard of a pdf toolbar, tho I've employed plenty of z-indices: http://listenlight.net/05/ (tho ~/contents (also) breaks IE).

8. rheaghen - 09 21, 2007 @ 10:11AM
Rheaghen-za

I'm speaking strictly in the context of Javascript and PDF's; not about HTML/CSS in any way.

An Adobe Acrobat PDF document embedded in an HTML page has toolbars. I'm simply looking for a way to control this PDF from the document in which it is embedded.

9. Jesse - 09 22, 2007 @ 05:50PM
Redwhitehouse

Oh, those. yeah, they are ugly. I was only thinking creatively. Sorry.

But damn are those ugly!

I use linux, and just save it to desktop, so I don't have to mess with that crap.

Thanks.

powered by : Doodlekit Online Free Website Builder : developed by : Doodlebit™ Website Company