You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 line
881 B

  1. Creating Pages
  2. ==============
  3. Pages can be used to make custom interfaces. A Page is a container where you can add custom HTML.
  4. A Page has full access to the Client APIs and you can build very rich interfaces using Pages
  5. Page Elements
  6. -------------
  7. A page is where you can add
  8. * Content - that goes in the container div
  9. * Client Script - functions, events
  10. * CSS - style
  11. * Static Content - content for search engines
  12. * Roles - roles that are allowed to view the page
  13. Scripting Pages
  14. ---------------
  15. User defined page functions can be added to the "pscript" namespace.
  16. When a page is loaded, the function "pscript.onload_" + the page name is called if it is declared. On refresh,
  17. the function "pscript.refresh_" + the page name is called.
  18. For example for a page called "MyHome", the function called onload is pscript.onload_MyHome();
  19. For more ideas, see the cookbook