﻿
// Here's a second demo tip object. Feel free to delete it if you're not using it!
// I've included a tip header here in this template, %3% is the header text and %4% is
// now the main text. As you can see you can basically format your tips any way you want.
// This tip also includes mouse event handlers to show a second-level tip, just like in
// the body of the page below, so you can nest tips within tips, and a 'tipStick' of 0 so
// it never follows the mouse.
var staticTip = new TipObj('staticTip');
with (staticTip)
{
 // I'm using tables here for legacy NS4 support, but feel free to use styled DIVs.
 template = '<div id="sub_menu">' +
  '<ul>' +
  '%4%' +
  '</ul></div>';

 // 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, 300, ' ',
  '<li><a class="button-sub" href="#">София</a></li>' +
  '<li><a class="button-sub" href="#">Пловдив</a></li>' +
  '<li><a class="button-sub" href="#">Варна</a></li>' +
  '<li><a class="button-sub" href="#">Бургас</a></li>' +
  '<li><a class="button-sub" href="#">Русе</a></li>' +
  '<li><a class="button-sub" href="#">Велико Търново</a></li>' +
  '<li><a class="button-sub" href="#">Стара Загора</a></li>' +
  '<li><a class="button-sub" href="#">Плевен</a></li>' +
  '<li><a class="button-sub" href="#">Сливен</a></li>' +
  '<li><a class="button-sub" href="#">Хасково</a></li>');

 tipStick = 0;
}

