Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: javascript and Mac OS



Having a Print button on your website, that has a consistent style with the rest of your webpage is very handy, esp. if you build web-based applications and want to hide the browser window menus/toolbars etc.

> ...and just another line of thought: don't emulate functions with 
> JavaScript (or any other method) that are already available in the 
> browser (ANY browser can print HTML pages). As you can see from your 
> own example, this is always browser specific.
> 
> If you really have to do something with your HTML code to make printing 
> easier then use CSS. So if your audience uses browsers that are not 
> able to switch style sheets on the fly, use JavaScript to open the same 
> page in another window but with another style sheet that makes printing 
> easier.
> 
> But never, ever mess around with the browser's functions. (Another 
> popular example is: using the history to emulate the "back" button and 
> failing because the user opened the previous link in a new window.)
_______________________________________________
quicktime-vr mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-vr
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: javascript and Mac OS (From: Alexander Forst-Rakoczy <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.