Jump to content UNITED STATES
hp.com home products and services support and drivers solutions how to buy
» contact hp  
hp.com home


common uses of javascript on hp.com



 printable version

» technical documentation

» my product

» download Adobe Acrobat Reader® 5.0

PDF files on this site require Adobe Acrobat Reader 5.0 to view.

Content starts here

The hp.com web site employs the JavaScript programming language to implement some simple effects throughout the site. Its usage is restricted to ancillary or duplicated functions, in order to ensure access to those who can not or choose not to enable JavaScript in their web browsing programs.

Below is a description of each of these site-wide features. In addition to the site-wide features described here, some areas or pages within the hp.com site may use additional JavaScript code to implement functionality specific to that area or page. Those items will be described where they occur.

style customization

hp.com uses JavaScript to determine what browser and platform you are using to view our web site. Because web browsers are not identical in the way they display data, we would like to configure fonts, colors and spacings to best fit your environment. This is done with a technology called Cascading Style Sheets. When you download a page from hp.com, the JavaScript program can choose the best style sheet for your environment, dynamically. In the absence of JavaScript, your browser will display information in its default manner, without any style sheet enhancements.

pull-down menu navigation

Some of the pages on hp.com include pull-down menus for navigation. These consist of a drop-down input control that allows you to choose from a list of destinations. By submitting your choice, you can navigate directly to your selected destination. The pull-down menus are implemented via JavaScript and will not work unless JavaScript is enabled. However, all of the destinations in these menus are reachable via other links on our pages. The pull-down menu is merely a short-cut.

privacy statement using this site means you accept its terms feedback to webmaster