Acrobat & Word Documents

I decided I needed a new section to put this in as it is an annoyance and a technigue. so the Web Dev category was born. Maybe I'm just picky, but i like to know what i am clicking on. if i am clicking on a link, a word document, an acrobat document, an excel spreadsheet, a zip file, etc, etc. One of my pet peeves is going to a web site and clicking on a link only to find that it is a PDF file. now i have to wait for the PDF Plugin to load into my browser. and let me tell you this is something that takes longer on a Mac then on a PC (not just a fast PC such as mine, even a pokey one). but back to my point. would i have clicked a link had i known it was a PDF? i would have thought about it first. i should not have to look at the browser's status bar to figure out what kind of document it is. also what happened to listing the file size of a document? people used to do that, i dont see this done much at all these days. not everyone has broadband. and even on broadband i like to know the file size. i have two suggestions. the first being less work. just put (PDF) or (DOC) at the end of the link, and put the file size: some huge report (PDF) 864 kb how much work is that? my next example is a little more elaborate. it uses CSS, all you need to do is add the class to the block tag, you do not want to put the class on the A tag. You need the extra line hight so the entire 16x16 icon can be seen, the text is 11 px so if you do not add the extra line hight, part of the icon will get clipped, and not show up.
.worddoc {
background-image: url(wordicon.gif);
background-repeat: no-repeat;
padding-left: 20px;
line-height: 150%;
}

resume.doc (157 kb)

.acrodoc {
background-image: url(acrobaticon.gif);
background-repeat: no-repeat;
padding-left: 20px;
line-height: 150%;
}

resume.pdf (157 kb)

Now that wasnt THAT much more work was it? and it goes a long way for presentation. I just like to know what i am downloading. if it is a PDF, most times I like to right click and download it and not have the browser plugin load it. Showing the user what they will be downloading is a good thing. text is great, but and icon is a visual sign of what they will be getting when they click that link.

Comments (1)

billy jack:

Yea but what about thumbnails or pr0n pix...i always check out what im gonna check out ;-p

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Warning: include(/home/meancode/public_html/breakingwindows/footer.php): failed to open stream: Permission denied in /home/breaking/public_html/2003/02/acrobat_word_documents.php on line 207

Warning: include(): Failed opening '/home/meancode/public_html/breakingwindows/footer.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/breaking/public_html/2003/02/acrobat_word_documents.php on line 207

Blogcritics Magazine

Social Networking

Mac Headlines

Read up-to-date headlines on everything Mac.

Content provided by prMac.

ESRB Search

Creative Commons License
This weblog is licensed under a Creative Commons License.
Enhanced with Snapshots