JScript Online Calculator
A Realtime Calculator ...
How about this attractive realtime calculator to add interest to your web pages? The calculator is a full working model with all the normal functions. The calculator functions are those of the Microsoft sample calculator and we have added a tasteful 3D background and a full set of custom buttons.
About The Calculator ...
If it doesn't add up properly you can blame Microsoft and if you are impressed by it's appearance or operation you can give the credit to Web-Wise-Wizard.
We are not going to attempt to start explaining a script like this on a web page but we have listed all the JScript calculator functions below. We have also prepared a full working demonstration and you can view the demo, view the source code or download the complete package in a Zip file using the links provided at the bottom of the page. The package includes all the graphic images used in the display above.
JScript Confusion ...
We originally provided a link that pointed towards the JScript example calculator on the Microsoft Web site. However, their site appears to have undergone several major re-developments over the years and we are unable to find the original JScript examples anywhere. To acknowledge Microsoft role we have provided a link to The Microsoft Developer Network where they provide links to the JScript User's Guide and the JScript Language Reference.
Using The Keyboard ...
The calculator keyboard functions were developed on a PC running Windows NT4. All version 4+ browsers (Microsoft and Netscape) should support the calculator's keyboard operation on the Windows Platforms. No browser supports the calculator's keyboard operations on the Unix/Linux platforms, users will have to click the calculator's buttons with their mouse. The calculator's keyboard functions should be supported on the Macintosh platform but we have not tested them. If any Macintosh user is prepared to test the calculator via their keyboard and then E-Mail the results to us we would be very appreciative.
Most of the calculator's keys have direct and obovious equivalents on a computer's keyboard or numeric keypad. Certain of the calculator's keyboard do require some clarification.
The calculator's 'C' key
This function can be emulated using the [C] or [Shift-C] keys on your computer's keyboard. This invokes the calculator's 'Clear' function which clears all operations.
The calculator's 'CE' key
This function can be emulated using the [E] or [Shift-E] keys on your computer's keyboard. This invokes the calculator's 'Clear Entry' function which clears the input line.
The calculator's '+/-' key
This function can be emulated using the [P] or [Shift-P] keys or the [M] or [Shift-M] keys on your computer's keyboard and these keys are intended to denote Plus/Minus. All four keys operate in the same manner, to invoke the calculator's 'Negative' function. The Negative function is a toggle which converts a positive number into a negative number and a negative number into a positive number.
The Calculator Functions ...
Working Download ...
We have prepared a demo page and the links below will enable you to view the demo, view the demo source or download the demo in a Zip file. If you download the demo, save it in your chosen directory and then unZip it. Then load 'calcdemo.htm' into your favourite browser to view the demo.
The Zip file contains all the required image files for the demo and the demo should work perfectly as soon as you load it into your browser. If you encounter any problems please use our contact form to provide us with details of the problem and we will try to help you.
- View Calculator DemoView Demo Source
Link Directly To This Page ...
help support free information on the Internet ...
Many users prefer to link directly to individual content pages on Web-Wise-Wizard. If you would like to do this then we have provided the following HTML/CSS link script which you can copy and paste directly into your HTML editor. Alternatively, you might like to use our New Dynamic Link Generator to create a link that more fully meets your own particular requirements.
select/copy the link Markup ...Featured TutorialLink To Us ScriptsIf you find this page interesting or useful then others are likely to view it in exactly the same way. Providing a link to the page will be considered by the search engines as casting a vote for the page. In turn, this will help to improve the search engine ranking of the page resulting in more people being able to see the page. Your link really does count so please don't delay.
- Popup Boxes
- Wall Clock
- Get User Info
- Email Validate
- No Right Click
- Learn RegExp
- UK Holidays