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: Tigra Gold - Frame problem
houstontx
Newbie

Posts: 1
Registered: 10/25/2005
Member Is Offline
posted on 10/25/2005 at 09:45 PM Reply With Quote
Tigra Gold - Frame problem


I have just started using Targa gold today so this may be a simple question but here goes.

I created a menu and copied the support files to the correct directory. I created a file called left.htm with the menu in it and it works perfectly when I open the file directly. However, when I create a frameset that has left.htm as one of the frames I get an error icon in the lower left side of my IE 6.0 window and the menu does not show up. When I double click on the error message I get the following message:
--------------------------
Line: 1
Char: 1
Error: Object does not support theis property or method.
I created a frame set
URL File://c:documents and settingsjdalglieshdesktopmenuleft.htm
-----------------------------

Any idea why it works on its own but not in the frame?
Thanks,
Jeff

This is the left.htm code
------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<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">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>left</title>
</head>


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

</html>
-----------------------------------

This is the frameset code

----------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<frameset rows="123,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="top.htm" name="topFrame" scrolling="NO" noresize >
<frameset rows="*" cols="145,*" framespacing="0" frameborder="NO" border="0">
<frame src="left.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="main.htm" name="mainFrame">
</frameset>
</frameset>
<noframes><body>
</body></noframes>
</html>
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/2005 at 08:53 PM Reply With Quote

the menu is initialized differently when used with frames. Without frames you initialize it as described at:

http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct_sframe

with frames:

http://www.softcomplex.com/products/tigra_menu_gold/docs/#construct_mframe

if the menu will not overlap the frame border you can initialize it like this:


<script language="JavaScript">
new menu (MENU_ITEMS, MENU_POS, {'frames' : [[]]});
</script>
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