Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Dec 22, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Simulate a PDA in a Web Page


What is the best way to go about simulating a PDA (personal digital assistant) in a Web page? I want to simulate a change of menu many times. Can I use frames, CGI, or something else?


The answer depends, at least partly, on the level of accuracy to a real PDA that you need and where the simulation will be running. You can use things such as client-side JavaScript to react to mouse-clicks. The script might switch images or alter the look of simulated menus in another way. This approach is rather flexible in that it could produce an acceptable level of functionality and it could run in both major browsers (if coded properly).

If you need a very accurate and very functional simulation, you could use an ActiveX control, Java applet, or Flash. The ActiveX control would be the most functional, but also the most restrictive in terms of cross-platform functionality. They really only work well in IE. Java applets would be the next most functional, but they can take a significant amount of time to create if you aren't already familiar with how it's done. Macromedia Flash can provide visually stunning animations for Web pages, but is slightly less functional, in some ways, than either Java applets or ActiveX controls. However, for a simulation, it may be just what you need.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date