1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" />
  5. <link rel="shortcut icon" href="http://img247.imageshack.us/img247/2032/untitledtg0.png" />
  6. <title><% TITLE %></title>
  7. <% GENERATOR %>
  8. <% CSS %>
  9. <% JAVASCRIPT %>
  10.  
  11. <style type="text/css">
  12.  
  13. #dropmenudiv{
  14. text-align:center;
  15. position:absolute;
  16. border:1px solid black;
  17. border-bottom-width: 0;
  18. background-image: url(http://i73.photobucket.com/albums/i211/jsims8/2.png);
  19. font:normal 12px Verdana;
  20. line-height:20px;
  21. z-index:100;
  22. }
  23.  
  24. #dropmenudiv a{
  25. width: 100%;
  26. display: block;
  27. text-indent: 3px;
  28. border-bottom: 1px solid black;
  29. padding: 1px 0;
  30. text-decoration: none;
  31. font-weight: bold;
  32. }
  33.  
  34. #dropmenudiv a:hover{ /*hover background color*/
  35. background-image: url(http://i73.photobucket.com/albums/i211/jsims8/2H.png);
  36. }
  37.  
  38. </style>
  39.  
  40. <script type="text/javascript">
  41.  
  42. /***********************************************
  43. * AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
  44. * This notice MUST stay intact for legal use
  45. * Visit http://www.dynamicdrive.com/ for full source code
  46. ***********************************************/
  47.  
  48. //Contents for menu 1
  49. var menu1=new Array()
  50. menu1[0]='<a href="http://www.gato-forums.com/index.php?showuser=149">Viceroy</a>'
  51. menu1[1]='<a href="http://www.gato-forums.com/index.php?showuser=43">Deputy Viceroy</a>'
  52. menu1[2]='<a href="http://www.gato-forums.com/index.php?showuser=39">Assembly Chairman</a>'
  53. menu1[3]='<a href="http://www.gato-forums.com/index.php?showuser=231">Minister of Defense</a>'
  54. menu1[4]='<a href="http://www.gato-forums.com/index.php?showuser=43">Minister of Foreign Affairs</a>'
  55. menu1[5]='<a href="http://www.gato-forums.com/index.php?showuser=3">Minister of Domestic Affairs</a>'
  56. menu1[6]='<a href="http://www.gato-forums.com/index.php?showuser=38">Minister of Finance</a>'
  57.  
  58. //Contents for menu 2
  59. var menu2=new Array()
  60. menu2[0]='<a href="http://embed.mibbit.com/?server=irc.coldfront.net&channel=%23gato&noServerTab=false&forcePrompt=true">Mibbit Client</a>'
  61. menu2[1]='<a href="http://one.xthost.info/jsims8/GATO/gatoIRC.html">pjIRC Java Client</a>'
  62. menu2[2]='<a href="http://www.gato-forums.com/index.php?showtopic=100">IRC Guides</a>'
  63. menu2[3]='<a href="http://www.gato-forums.com/index.php?showtopic=102">#GATO_GA Access</a>'
  64.  
  65. var menuwidth='165px' //default menu width
  66. var menubgcolor='lightyellow' //menu bgcolor
  67. var disappeardelay=250 //menu disappear speed onMouseout (in miliseconds)
  68. var hidemenu_onclick="yes" //hide menu when user clicks within menu?
  69.  
  70. /////No further editting needed
  71.  
  72. var ie4=document.all
  73. var ns6=document.getElementById&&!document.all
  74.  
  75. if (ie4||ns6)
  76. document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
  77.  
  78. function getposOffset(what, offsettype){
  79. var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
  80. var parentEl=what.offsetParent;
  81. while (parentEl!=null){
  82. totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
  83. parentEl=parentEl.offsetParent;
  84. }
  85. return totaloffset;
  86. }
  87.  
  88.  
  89. function showhide(obj, e, visible, hidden, menuwidth){
  90. if (ie4||ns6)
  91. dropmenuobj.style.left=dropmenuobj.style.top="-500px"
  92. if (menuwidth!=""){
  93. dropmenuobj.widthobj=dropmenuobj.style
  94. dropmenuobj.widthobj.width=menuwidth
  95. }
  96. if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
  97. obj.visibility=visible
  98. else if (e.type=="click")
  99. obj.visibility=hidden
  100. }
  101.  
  102. function iecompattest(){
  103. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  104. }
  105.  
  106. function clearbrowseredge(obj, whichedge){
  107. var edgeoffset=0
  108. if (whichedge=="rightedge"){
  109. var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
  110. dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
  111. if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
  112. edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
  113. }
  114. else{
  115. var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
  116. var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
  117. dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
  118. if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
  119. edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
  120. if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
  121. edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
  122. }
  123. }
  124. return edgeoffset
  125. }
  126.  
  127. function populatemenu(what){
  128. if (ie4||ns6)
  129. dropmenuobj.innerHTML=what.join("")
  130. }
  131.  
  132.  
  133. function dropdownmenu(obj, e, menucontents, menuwidth){
  134. if (window.event) event.cancelBubble=true
  135. else if (e.stopPropagation) e.stopPropagation()
  136. clearhidemenu()
  137. dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
  138. populatemenu(menucontents)
  139.  
  140. if (ie4||ns6){
  141. showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
  142. dropmenuobj.x=getposOffset(obj, "left")
  143. dropmenuobj.y=getposOffset(obj, "top")
  144. dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
  145. dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
  146. }
  147.  
  148. return clickreturnvalue()
  149. }
  150.  
  151. function clickreturnvalue(){
  152. if (ie4||ns6) return false
  153. else return true
  154. }
  155.  
  156. function contains_ns6(a, b) {
  157. while (b.parentNode)
  158. if ((b = b.parentNode) == a)
  159. return true;
  160. return false;
  161. }
  162.  
  163. function dynamichide(e){
  164. if (ie4&&!dropmenuobj.contains(e.toElement))
  165. delayhidemenu()
  166. else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
  167. delayhidemenu()
  168. }
  169.  
  170. function hidemenu(e){
  171. if (typeof dropmenuobj!="undefined"){
  172. if (ie4||ns6)
  173. dropmenuobj.style.visibility="hidden"
  174. }
  175. }
  176.  
  177. function delayhidemenu(){
  178. if (ie4||ns6)
  179. delayhide=setTimeout("hidemenu()",disappeardelay)
  180. }
  181.  
  182. function clearhidemenu(){
  183. if (typeof delayhide!="undefined")
  184. clearTimeout(delayhide)
  185. }
  186.  
  187. if (hidemenu_onclick=="yes")
  188. document.onclick=hidemenu
  189.  
  190. </script>
  191. </head>
  192. <body>
  193. <div id="ipbwrapper">
  194. <% BOARD HEADER %>
  195. <% MEMBER BAR %>
  196. <% ANNOUNCEMENT %>
  197. <% NAVIGATION %>
  198. <!--IBF.NEWPMBOX-->
  199. <% BOARD %>
  200. <script type="text/javascript">
  201. //<![CDATA[
  202. var submenu_links = $("#submenu").html();
  203. $("#submenu").html('<div style="float:left"><a href="'http://embed.mibbit.com/?server=irc.coldfront.net&channel=%23gato&noServerTab=false&forcePrompt=true'IRC">#GATO IRC/Chat</a></div><div style="float:right">'+submenu_links+'</div>');
  204. //]]>
  205. </script>
  206. <% BOARD FOOTER %>
  207. <% STATS %>
  208. <% COPYRIGHT %>
  209. </div>
  210. </body>
  211. </html>