Ready-to-use examples
(user contributed)
| Home Pages | ||
| HP1 | Detecting browser and addressing to different CSS This page (implementing a small maxObject) has a 2-steps approach and try to detect the browser by using javascript and MaxScript togheter. The page implements a a form to be filled with results from a javascript detection routine and then self-submit the form to itself to identify (by using a DO..CASE statement) a given string in the incoming webVar created. The technique is a little different from usual MaxScript pages because the code is embedded into the HTML header instead than the body. This is to provide the appropriate CSS name (stored into a MaxScript variable) before that the page is loaded the second time. |
Download See code |
| HP2 |
Detecting Operating System and Browser, plus redirecting to different pages in response to results This is a typycal dynamic Home Page with a 3-steps approach. It uses the same techniques of the previous example, and can be easily modified to be used as Home Page for any DBFree web app. |
Download See code |
| HP3 | Self Configuring Home Page to use as project-starter: avoids the annoyance to code all files manually. Just drop the page )or copy and paste the code) into an empty subfolder and set it as your home page - when called the first time will present a web form for personalization then generate all necessary frames that you can modify manually. This page shows advanced techniques (like large text handling, file generation, one-time execution) used for self-configuration at first run. |
Description See Code
Download![]() |
| Actuators | ||
| AC1 | Self Configuring Menu for APPS folder Just have this file placed next to your current menu and link it in its place. It will automatically inspect the underlying APPS folder in search of subfolders containing start files (i.e. index.msp, start.msp, default.msp or index.htm) and show a link for them. |
See code |
| Modules | ||
| MD1 |
MaxObject MXO-5567c - Knowledge base browser This page offers a simple way to get questions and provide answers for a knowledge base. Can be used as module (needs its own css and an optional help page, provided with the ZIP file available for download) |
Description Download See code![]() |
| MD2 | Module for File Navigation (of webserver's file system) This module (of 5 files) implements a window for basic file navigation. |
Description Download![]() |