Veteran Member
Join Date: May 2004
Location: Promise Land of Trustafarians
|
I thought it might be nice to add a little warning at the end of links which lead to PDF files. I don't know where I found this snippet of code but I thought it'd be a nice addition to AN. (I've had it for years but just stumbled on it again while clearing out old CSS files laying around. I can't take credit for it.)
Code:
a[href$=".pdf"]:after {
content: " [PDF]"; font-size:smaller;
} |
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
Why PDFs, though? Why not any other file type?
|
quote |
Veteran Member
Join Date: Oct 2005
|
PDF = Evil? What is this, Windows? :P
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
I wouldn't mind it, though it would start creating a cluttered look here.
|
quote |
Veteran Member
Join Date: May 2004
|
Why wouldn't you mind it??
Seriously, this seems like a really REALLY weird and odd request... |
quote |
Veteran Member
|
I'd like to see one.. I could then right click and download the PDF instead of Safari slowing to a crawl, and sometimes eventually crashing.
chucker will be in here in a minute saying he has no problems with PDFs and Safari, but I have had it all the way through OS X's life, right up to 10.5 and on, and on every single machine I use. 'Remember, measure life by the moments that take your breath away, not by how many breaths you take' Extreme Sports Cafe | ESC's blog | scratt's blog | @thescratt |
quote |
Veteran Member
Join Date: May 2004
|
I'd think a Flash warning would be much more useful. "Oh look! My CPU just melted again! Thanks Adobe!" |
quote |
Veteran Member
|
I don't like flashing warnings. They play havoc with my epilepsy.
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
|
quote |
Veteran Member
Join Date: Oct 2005
|
Warning, Flashing!
Spoiler (click to toggle):
|
|
quote |
Veteran Member
|
Bit of an odd request, I mean, how often do you get pdf links on here?
|
quote |
‽
|
I can understand the request for poor Windows souls with crappy PDF readers, but scratt is right: OS X ships with a fast, lean one. It doesn't slow down the browser to a crawl, increase the risk of crashing or otherwise get in your way. (Unlike, as Brad pointed out, Flash.)
*shrug* |
quote |
Veteran Member
Join Date: May 2005
Location: Paris, France
|
Quote:
For viewing offline PDFs, I switched to Adobe Reader over Preview when Adobe released version 7 (which launched in vastly less time than previous versions), but I still prefer OS X's built-in reader for inline use in Safari, as it is noticeably quicker and less prone to inexplicably stalling. Edit: figuring out how to set Safari to use OS X's PDF reader, but Adobe Reader for offline viewing, is a tricky exercise left to the reader. … engrossed in such factional acts as dreaming different dreams. Last edited by Dorian Gray : 2008-04-09 at 07:47. Reason: As above |
|
quote |
Veteran Member
|
|
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
Quote:
|
|
quote |
Veteran Member
Join Date: May 2005
Location: Paris, France
|
Brad's way would certainly work, but you'd be left with no Adobe Reader at all, which isn't what I want because I actually prefer it for viewing most downloaded PDFs (the exceptions being full-screen viewing of complex PDFs, because Preview is about a bazillion times faster at rendering, and searching for text in large PDFs, because again, Preview is unbelievably quicker).
But most of the time I want to open a brochure or similar with a few pages of text and images, and I want to view it as large as possible on my screen, because these documents are often formatted for printing. And I want it to remember the fact that I nearly always want to "maximise" the window. Preview's zoom button is broken (at least in Tiger), and if I painstakingly position the window the way I like it, it won't remember my settings for the next time. Adobe Reader's zoom button is also technically broken, in that it works like Window's maximise button, but unlike most apps, that's actually what I want Reader to do most of the time. There are other reasons why I generally prefer Adobe Reader to Preview for PDFs, but anyway... To make Safari use OS X's PDF reader, you have to set a preference in Adobe Reader, namely uncheck "Display PDF in browser using:" in Preferences > Internet. Then restart Safari. The first time I did this I also had to manually remove an Adobe Reader plug-in from somewhere, but it seems to work properly when I toggle the setting now. Good luck! … engrossed in such factional acts as dreaming different dreams. |
quote |
Veteran Member
|
Thanks guys.
|
quote |
Veteran Member
Join Date: May 2004
Location: Promise Land of Trustafarians
|
Quote:
It's not a deal-breaker or anything, I just thought it might be a nice suggestion. |
|
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
|
quote |
Posting Rules | Navigation |
|
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems creating pdf files from Excel 2004 | fwtong | Genius Bar | 5 | 2006-06-19 22:35 |
mod_fastcgi, PHP 4 & 5 Compile issues | rollercoaster375 | Genius Bar | 0 | 2006-05-24 18:53 |
Problems with making PDF files | chewman | Genius Bar | 0 | 2006-02-26 20:27 |
Darwine Requirements | doublem9876 | Third-Party Products | 2 | 2006-02-26 10:58 |
Filling in PDF forms | ghoti | Apple Products | 9 | 2005-05-22 05:42 |