Log In    |    Knowledge Base    |    4D Home
Tech Tip: Change 4DAF Theme Appearance
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.1 | PLATFORM: Mac & Win
Published On: August 22, 2007

PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack version 1.1

If you are embedding a 4D Ajax Framework object (4DAF) into your own HTML page, you can change the style of the 4DAF object at the following line in your HTML code:

<link rel="stylesheet" href="dax/themes/basic/basic.css" media="all" type="text/css" title="XPress" />

Here, the path for the default theme is pointed to in the HREF attribute. Change the path here so that the 4DAF object has a different style. For the Classic theme for instance, change it to:

<link rel="stylesheet" href="dax/themes/classic/classic.css" media="all" type="text/css" title="Classic" />

Here is a list of current themes to choose from:

  • basic
  • classic
  • gloss
  • newro
  • osx
  • template
  • twopointoh
  • vista

For the latest information the 4D Ajax Framework please see the Daxipedia: