<code>
<SCRIPT type=text/javascript><!--
var docTips = new TipObj('docTips');
with (docTips)
{
template = '<table bgcolor="#003366" cellpadding="1" cellspacing="0" width="200" border="0">' +
'<tr><td><table bgcolor="#6699CC" cellpadding="3" cellspacing="0" width="100%" border="0">' +
'<tr><td class="tipClass">%3%</td></tr></table></td></tr></table>';
tips.mysite = new Array(-75, 15, 150, 'Visit this for updates, help and more info');
tips.welcome = new Array(5, 5, 100, 'Hope you like it...');
tips.useful = new Array(5, 5, 150, 'This can add important context information to any link...');
// This next tip uses a formula to position the tip 110 pixels from the right edge of the screen.
tips.formulae = new Array(5, 250, 150,
'Select a departure point or type in a city name. Using a city or airport 3-letter code will speed up the booking process. (e.g. London = LON, Heathrow = LHR)');
tips.formulae2 = new Array(-90, 250, 150,
'Enter your destination city or click - find a destination - to choose from our list of countries, cities and special destination points.');
tips.formulae3 = new Array(-40, 200, 150,
'Click the calendar icon to select a date or enter the date and month (e.g. 01JAN).');
tips.formulae4 = new Array(-20, 120, 150,
'Select which cabin you wish to travel in. Economy is the cheapest.');
tips.formulae5 = new Array(-20, 70, 150,
'Enter the number of passengers in each category.');
tips.formulae6 = new Array(15, 30, 150,
'Adults are classed as 12 years and over.');
tips.formulae7 = new Array(-70, 30, 150,
'Children are considered to be between 2 and 11 years old (under12) on the date of departure. The child must also be under 12 on the return journey.');
tips.formulae8 = new Array(-140, 30, 150,
'Each infant must be less than 2 years old on the date of departure. Note that each infant must be travelling with an adult, otherwise he/she will be considered to be a child. If you require a seat for an infant specify as a child.');
tips.formulae9 = new Array(-180, 250, 150,
'Get the Airline codes from the destination button.');
tips.format = new Array(5, 5, 150, 'That means <i>italics</i>...<br /><hr />...etc');
}
var staticTip = new TipObj('staticTip');
with (staticTip)
{
// I'm using tables here for legacy NS4 support, but feel free to use styled DIVs.
template = '<table bgcolor="#000000" cellpadding="0" cellspacing="0" width="200" border="0">' +
'<tr><td><table cellpadding="3" cellspacing="1" width="100%" border="0">' +
'<tr><td bgcolor="#336666" align="center" height="18" class="tipClass">%3%</td></tr>' +
'<tr><td bgcolor="#009999" align="center" height="*" class="tipClass">%4%</td></tr>' +
'</table></td></tr></table>';
// HIERARCHIAL TIPS: To call one tip object from within another tip object, make sure you
// pass the a reference to the current object as the second parameter to the show() function.
tips.links = new Array(5, 5, 100, 'Extra Links',
'- <a href="javascript:alert(\'Useful indeed...\')">Section 1</a> -<br />' +
'- <a href="#" name="nest1trig" onmouseover="nestTip.show(\'nest1\', staticTip)" ' +
'onmouseout="nestTip.hide()">NESTED TIP 1 ></a> -<br />' +
'- <a href="#" name="nest2trig" onmouseover="nestTip.show(\'nest2\', staticTip)" ' +
'onmouseout="nestTip.hide()">NESTED TIP 2 ></a> -<br />');
tipStick = 0;
}
// Here's the other tip object called by the one above, for hierarchial tips.
var nestTip = new TipObj('nestTip');
with (nestTip)
{
template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
'<tr><td><table bgcolor="#009999" cellpadding="3" cellspacing="0" width="100%" border="0">' +
'<tr><td class="tipClass">%3%</td></tr></table></td></tr></table>';
tips.nest1 = new Array(10, 0, 90,
'<a href="javascript:alert(\'A regular popup menu...\')">Relative Position</a>');
// This tip is positioned via formulae based on its parent tip's position...
tips.nest2 = new Array('staticTip.xPos + 95', 'staticTip.yPos + 50', 80,
'<a href="javascript:alert(\'Nested tip 2\')">Absolutely positioned static tip...</a>');
tipStick = 0;
}
var stickyTip = new TipObj('stickyTip');
with (stickyTip)
{
template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
'<tr><td><table bgcolor="#339966" cellpadding="4" cellspacing="0" width="100%" border="0">' +
'<tr><td align="center" class="tipClass">%3%</td></tr></table></td></tr></table>';
tips.floating = new Array(5, 5, 100, 'Floating tips can have extra effect!');
tipStick = 0.2;
}
//--></SCRIPT>
</code>
<SCRIPT type=text/javascript><!--
var docTips = new TipObj('docTips');
with (docTips)
{
template = '<table bgcolor="#003366" cellpadding="1" cellspacing="0" width="200" border="0">' +
'<tr><td><table bgcolor="#6699CC" cellpadding="3" cellspacing="0" width="100%" border="0">' +
'<tr><td class="tipClass">%3%</td></tr></table></td></tr></table>';
tips.mysite = new Array(-75, 15, 150, 'Visit this for updates, help and more info');
tips.welcome = new Array(5, 5, 100, 'Hope you like it...');
tips.useful = new Array(5, 5, 150, 'This can add important context information to any link...');
// This next tip uses a formula to position the tip 110 pixels from the right edge of the screen.
tips.formulae = new Array(5, 250, 150,
'Select a departure point or type in a city name. Using a city or airport 3-letter code will speed up the booking process. (e.g. London = LON, Heathrow = LHR)');
tips.formulae2 = new Array(-90, 250, 150,
'Enter your destination city or click - find a destination - to choose from our list of countries, cities and special destination points.');
tips.formulae3 = new Array(-40, 200, 150,
'Click the calendar icon to select a date or enter the date and month (e.g. 01JAN).');
tips.formulae4 = new Array(-20, 120, 150,
'Select which cabin you wish to travel in. Economy is the cheapest.');
tips.formulae5 = new Array(-20, 70, 150,
'Enter the number of passengers in each category.');
tips.formulae6 = new Array(15, 30, 150,
'Adults are classed as 12 years and over.');
tips.formulae7 = new Array(-70, 30, 150,
'Children are considered to be between 2 and 11 years old (under12) on the date of departure. The child must also be under 12 on the return journey.');
tips.formulae8 = new Array(-140, 30, 150,
'Each infant must be less than 2 years old on the date of departure. Note that each infant must be travelling with an adult, otherwise he/she will be considered to be a child. If you require a seat for an infant specify as a child.');
tips.formulae9 = new Array(-180, 250, 150,
'Get the Airline codes from the destination button.');
tips.format = new Array(5, 5, 150, 'That means <i>italics</i>...<br /><hr />...etc');
}
var staticTip = new TipObj('staticTip');
with (staticTip)
{
// I'm using tables here for legacy NS4 support, but feel free to use styled DIVs.
template = '<table bgcolor="#000000" cellpadding="0" cellspacing="0" width="200" border="0">' +
'<tr><td><table cellpadding="3" cellspacing="1" width="100%" border="0">' +
'<tr><td bgcolor="#336666" align="center" height="18" class="tipClass">%3%</td></tr>' +
'<tr><td bgcolor="#009999" align="center" height="*" class="tipClass">%4%</td></tr>' +
'</table></td></tr></table>';
// HIERARCHIAL TIPS: To call one tip object from within another tip object, make sure you
// pass the a reference to the current object as the second parameter to the show() function.
tips.links = new Array(5, 5, 100, 'Extra Links',
'- <a href="javascript:alert(\'Useful indeed...\')">Section 1</a> -<br />' +
'- <a href="#" name="nest1trig" onmouseover="nestTip.show(\'nest1\', staticTip)" ' +
'onmouseout="nestTip.hide()">NESTED TIP 1 ></a> -<br />' +
'- <a href="#" name="nest2trig" onmouseover="nestTip.show(\'nest2\', staticTip)" ' +
'onmouseout="nestTip.hide()">NESTED TIP 2 ></a> -<br />');
tipStick = 0;
}
// Here's the other tip object called by the one above, for hierarchial tips.
var nestTip = new TipObj('nestTip');
with (nestTip)
{
template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
'<tr><td><table bgcolor="#009999" cellpadding="3" cellspacing="0" width="100%" border="0">' +
'<tr><td class="tipClass">%3%</td></tr></table></td></tr></table>';
tips.nest1 = new Array(10, 0, 90,
'<a href="javascript:alert(\'A regular popup menu...\')">Relative Position</a>');
// This tip is positioned via formulae based on its parent tip's position...
tips.nest2 = new Array('staticTip.xPos + 95', 'staticTip.yPos + 50', 80,
'<a href="javascript:alert(\'Nested tip 2\')">Absolutely positioned static tip...</a>');
tipStick = 0;
}
var stickyTip = new TipObj('stickyTip');
with (stickyTip)
{
template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
'<tr><td><table bgcolor="#339966" cellpadding="4" cellspacing="0" width="100%" border="0">' +
'<tr><td align="center" class="tipClass">%3%</td></tr></table></td></tr></table>';
tips.floating = new Array(5, 5, 100, 'Floating tips can have extra effect!');
tipStick = 0.2;
}
//--></SCRIPT>
</code>