293008
rabideau:
The .js files should be within the HEAD tags, and the javascript call goes at the end of the file, just before the closing BODY tag.
I've modified the look of my site so I don't have the horizontal menu anymore (now I have
four vertical menus on the left side), but I'll share here the file theme.html I used to have. It'll be useful if you want to see the syntax for using Tigra Menu, but also to take a look at a page built mostly using DIV tags.
Here's the code, with the comments translated:
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$meta_robots}>" />
<meta name="keywords" content="<{$meta_keywords}>" />
<meta name="description" content="<{$meta_description}>" />
<meta name="rating" content="<{$meta_rating}>" />
<meta name="author" content="<{$meta_author}>" />
<meta name="copyright" content="<{$meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}>title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<script language="JavaScript" src="<{$xoops_url}>/include/menu.js">script>
<script language="JavaScript" src="<{$xoops_url}>/include/menu_items.js">script>
<script language="JavaScript" src="<{$xoops_url}>/include/menu_tpl.js">script>
<script type="text/javascript">
script>
head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="logo">
<a href="<{$xoops_url}>">
<img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" border="0">
a>
div>
<div id="banner"><{$xoops_banner}>div>
<div id="barra-superior-clara">
<div style="float:left; width: 10px; height: 20px;"><img src="<{$xoops_imageurl}>ulc.gif" width="10" height="20" border="0">div>
<div style="float:right; width: 10px; height: 20px;"><img src="<{$xoops_imageurl}>urc.gif" width="10" height="20" border="0">div>
div>
<div class="boxclear"> div>
<div id="barra-superior-oscura">
<{if !$xoops_isuser}>
<div align="left">
<form action="<{$xoops_url}>/user.php" method="post">
<span class="navtextwht"> User: span>
<input type="text" name="uname" size="15" maxlength="20" class="formTextBox" />
<span class="navtextwht"> Password: span >
<input type="password" name="pass" size="15" maxlength="20" class="formTextBox" />
<input type="hidden" name="op" value="login" />
<input name="btnEntrar" type="submit" id="btnEntrar" class="formButton" value="Enter" />
<input name="btnRregistrarme" type="button" id="btnRregistrarme" class="formButton" value="Registrarme" onClick="goToURL('http://www.puntoflotante.com/register.php')"/>
form>
div>
<{else}>
<div align="right">
<form action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" class="formTextBox" />
<input type="hidden" name="action" value="results" />
<input name="btnBuscar" type="button" id="btnBuscar" class="formButton" value="Search" />
form>
div>
<{/if}>
div>
<div id="envoltura">
<div id="bloque-izq">
<div class="leftcolumn">
<{foreach item=block from=$xoops_lblocks}>
<{include file="pf/theme_blockleft.html"}>
<{/foreach}>
div>
div>
<div id="bloque-der">
<div id="content">
<table width="590" border="0" valign="top" cellspacing="6" cellpadding="0">
<tr valign="top">
<{foreach item=block from=$xoops_ccblocks}> <{include file="pf/theme_blockcenter_c.html"}> <{/foreach}> |
<{if $xoops_showcblock == 1}>
<{foreach item=block from=$xoops_clblocks}> <{include file="pf/theme_blockcenter_l.html"}> <{/foreach}> | <{foreach item=block from=$xoops_crblocks}> <{include file="pf/theme_blockcenter_r.html"}> <{/foreach}> |
<{/if}>
|
<{if $xoops_showrblock == 1}>
<{foreach item=block from=$xoops_rblocks}> <{include file="pf/theme_blockright.html"}> <{/foreach}>
|
<{else}>
<{/if}>