User Name
Password
AppleNova Forums » Feedback »

Adding a PDF warning to links


Register Members List Calendar Search FAQ Posting Guidelines
Adding a PDF warning to links
Thread Tools
Ryan
Veteran Member
 
Join Date: May 2004
Location: Promise Land of Trustafarians
 
2008-04-08, 22:25

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
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2008-04-08, 23:05

Why PDFs, though? Why not any other file type?
  quote
PKIDelirium
Veteran Member
 
Join Date: Oct 2005
 
2008-04-08, 23:10

PDF = Evil? What is this, Windows? :P
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2008-04-08, 23:20

I wouldn't mind it, though it would start creating a cluttered look here.
  quote
Kickaha
Veteran Member
 
Join Date: May 2004
 
2008-04-09, 00:06

Why wouldn't you mind it??

Seriously, this seems like a really REALLY weird and odd request...
  quote
scratt
Veteran Member
 
Join Date: Jul 2004
Location: M-F: Thailand Weekends : F1 2010 - Various Tracks!
Send a message via Skype™ to scratt 
2008-04-09, 00:17

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
Kickaha
Veteran Member
 
Join Date: May 2004
 
2008-04-09, 00:32



I'd think a Flash warning would be much more useful. "Oh look! My CPU just melted again! Thanks Adobe!"
  quote
scratt
Veteran Member
 
Join Date: Jul 2004
Location: M-F: Thailand Weekends : F1 2010 - Various Tracks!
Send a message via Skype™ to scratt 
2008-04-09, 00:38

I don't like flashing warnings. They play havoc with my epilepsy.
  quote
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2008-04-09, 00:43

Quote:
Originally Posted by scratt View Post
I don't like flashing warnings. They play havoc with my epilepsy.


...nevermind.
  quote
PKIDelirium
Veteran Member
 
Join Date: Oct 2005
 
2008-04-09, 01:14

Warning, Flashing!

Spoiler (click to toggle):
  quote
Fahrenheit
Veteran Member
 
Join Date: Sep 2005
Send a message via ICQ to Fahrenheit  
2008-04-09, 04:17

Bit of an odd request, I mean, how often do you get pdf links on here?
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2008-04-09, 05:03

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
Dorian Gray
Veteran Member
 
Join Date: May 2005
Location: Paris, France
 
2008-04-09, 07:38

Quote:
Originally Posted by Farenheit View Post
Bit of an odd request, I mean, how often do you get pdf links on here?
Damn, you've clearly been ignoring my posts! (Though I usually add a warning when I link to PDFs because, as scratt shows, not everyone checks the Status Bar before clicking. Does Safari still ship with the Status Bar off by default?)

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
scratt
Veteran Member
 
Join Date: Jul 2004
Location: M-F: Thailand Weekends : F1 2010 - Various Tracks!
Send a message via Skype™ to scratt 
2008-04-09, 08:06

Quote:
Originally Posted by Dorian Gray View Post
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.
Can you clarify that bit about getting Safari to use OS X's PDF reader..
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2008-04-09, 08:18

Quote:
Originally Posted by scratt View Post
Can you clarify that bit about getting Safari to use OS X's PDF reader..
Adobe's instructions for Acrobat 6.x and 7.x. Curiously, I can't find similar instructions for 8.x.
  quote
Dorian Gray
Veteran Member
 
Join Date: May 2005
Location: Paris, France
 
2008-04-09, 09:04

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
scratt
Veteran Member
 
Join Date: Jul 2004
Location: M-F: Thailand Weekends : F1 2010 - Various Tracks!
Send a message via Skype™ to scratt 
2008-04-09, 11:07

Thanks guys.
  quote
Ryan
Veteran Member
 
Join Date: May 2004
Location: Promise Land of Trustafarians
 
2008-04-09, 15:34

Quote:
Originally Posted by chucker View Post
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*
Yeah, it's for when I access from Windows.

It's not a deal-breaker or anything, I just thought it might be a nice suggestion.
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2008-04-09, 16:27

Quote:
Originally Posted by Dorian Gray View Post
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 was exactly the point.
T, FTFY.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
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


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 10:37.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova