Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: 'TM0_' error - can't find a way out!
paulcobb
Member

Posts: 15
Registered: 11/7/2006
Member Is Offline
posted on 11/7/2006 at 05:02 AM Reply With Quote
'TM0_' error - can't find a way out!


Using tigra menu gold
I can make the menu work fine in the sigle page but as soon as I use as opart of the frames page with the appropriate initialisation I get Runtime error Line 10 TM0 is undefined.

The pages load tho and the menu works - but does not over lap the adjoining frame.


master frame = nyt_menu

<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Youth Theatre - Menu</title>
<base target="menu">
<script language="JavaScript" src="menu_files/menu.js"></script>
<script language="JavaScript" src="menu_files/items.js"></script>
<script language="JavaScript" src="menu_files/template.js"></script>
<link rel="stylesheet" href="menu_files/menu.css">
</head>


<td height="110">
<script language="JavaScript">
var frameset = [
['nyt_menu', 'nyt_top'],
['nyt_menu', 'nyt_main', 'nyt_news']
];
new menu (MENU_ITEMS, MENU_TPL, {'frames' : frameset});</script></td>


The routine above is in a table where the menu needs to be:
Not 100% sure about the format of definingthe frames though!


Slave page = main

<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Youth Theatre - Main</title>
<base target="nyt_main">
<script language="JavaScript" src="menu_files/menu.js"></script>
<script language="JavaScript" src="menu_files/items.js"></script>
<script language="JavaScript" src="menu_files/template.js"></script>
<link rel="stylesheet" href="menu_files/menu.css">

</head>



<script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL);
</script>
</body>

above is at bottom of page


frames page code is below

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Welcome to New Youth Theatre across the UK | Inspire!&nbsp; Reach!&nbsp; Create!
</title>
<base target="_top">
</head>

<frameset framespacing="0" border="0" frameborder="0" cols="114,*">
<frame name="nyt_menu" scrolling="no" noresize target="menu" src="menu.htm" title="nyt_menu" marginwidth="0" marginheight="10">
<frameset rows="140,*">
<frame name="nyt_top" target="top" src="lib/top.htm" scrolling="no" marginwidth="0" marginheight="0" title="nyt_top">
<frameset cols="600,150">
<frame name="nyt_main" src="lib/main.htm" target="main" scrolling="auto" title="nyt_main" marginwidth="0" marginheight="0">
<frame name="nyt_news" target="news" scrolling="no" title="nyt_news" src="http://ccgi.paulcobb.co.uk/pcp/nyt/news.htm">
</frameset>
</frameset>
<noframes>
<body>

<p>This page uses frames, but your browser doesn't support them.</p>

</body>
</noframes>
</frameset>

</html>


I would appreciate some guidance - as I seem to be going round in circles - Thanks
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 11/7/2006 at 08:32 AM Reply With Quote

in menu.js use absolute path so it points to the same folder regardless of the
folder you use the menu in.

For example if menu_files is located in the root folder of the website then
the path is:

var TMenu_path_to_files='/menu_files/';

Also check the limitations of the cross-frame setup to make sure you're not
in one of those situations:

http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct_mframe
View User's Profile View All Posts By User U2U Member
paulcobb
Member

Posts: 15
Registered: 11/7/2006
Member Is Offline
posted on 11/10/2006 at 09:42 AM Reply With Quote

Thanks i had one frame that had a page from a different domain loading - sorted!
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004