UrlBase Parameter

Determines a base URL to which other URLs are relative.

Format

VALUE=<UrlBase>
DEFAULT="CODEBASE"

<UrlBase> - "CODEBASE" means relative to <APPLET CODEBASE>. "DOCUMENT" means relative to document in which applet resides. Absolute URL can also be specified. If you work with Microsoft shared borders, "CODEBASE" is recommended method.

Example

Let's say we want to make all target URLs relative to bepp.8m.com.

PopupNavigator Java Applet - JDK 1.1.3 needed

<applet
  width=
"128"
  height=
"24"
  code=
"PopupNavigator/PopupNavigatorApplet.class"
  codebase="./"
  archive=
"PopupNavigator.jar">
<param name=
"UrlBase" value="http://bepp.8m.com">
<param name=
"0" value="BEPP;index.htm">
<param name=
"1" value="PopupNavigator;english/java_applets/navigation_java_applet.htm">
PopupNavigator Java Applet - JDK 1.1.3 needed
</applet>

 

PopupNavigator Reference Home