1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4 <title>GreyBox - Installation</title>
6 <script type="text/javascript" src="greybox/AJS.js"></script>
8 <script type="text/javascript" src="static_files/help.js"></script>
9 <link href="static_files/help.css" rel="stylesheet" type="text/css" media="all" />
15 insertMenu('installation');
20 Append following to your header section (in between <code><header>...</header></code>).
22 <span class="hl">GB_ROOT_DIR</span> is the URL where static files are located:
24 <code><script type="text/javascript">
25 var GB_ROOT_DIR = "http://mydomain.com/greybox/";
26 </script></code>
29 GB_ROOT_DIR should be absolute.
32 Append also following scripts and one stylesheet:
34 <code><script type="text/javascript" src="greybox/AJS.js"></script>
35 <script type="text/javascript" src="greybox/AJS_fx.js"></script>
36 <script type="text/javascript" src="greybox/gb_scripts.js"></script>
37 <link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" /></code>
40 AJS_fx.js is optional, it's used for effects. If you don't wish effects, then don't include AJS_fx.js in your header section.
44 That's it, you are now ready to use GreyBox!