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: Overlapping working under Firefox but not under IE
centaurus
Junior Member

Posts: 2
Registered: 10/16/2006
Member Is Offline
posted on 10/16/2006 at 08:18 AM Reply With Quote
Overlapping working under Firefox but not under IE


Hello, have the following problem. Have tigra menu gold and have to use frame overlapping.

The strange thing is, overlapping is working in Firefox but not in IE... in IE i always get a Javascript error. When I am just starting the the main html (testa.html) alone, menu is working properly in Firefox and IE. Could someone help me to found the mistake?

Thank you very much!

Here what I've done...

I set up a page with 3 frames:

top = TESTA (testa.html)
middle = CORPO (corpo.html)
bottom = PIEDE (piede.html)

in the testa.html i put:

<html>
<head>
<title>Untitled Document</title>
<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">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<script language="JavaScript">

var frameset = [
['TESTA'],
['CORPO'],
['PIEDE'],
]
new menu (MENU_ITEMS, MENU_TPL, {'frames' : frameset});
</script>
</body>
</html>


in the corpo.html i put:

<html>
<head>
<title>Untitled Document</title>
<title>www.endlichmalurlaub.de</title>
<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">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL)
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="430">
<tr>
<td align="center" valign="top" height="430"><img src="Img/03_news.jpg" width="760" height="430"></td>
</tr>
</table>
</body>
</html>

And in the frameset.html (witch starts all tree frames) i put:

<html>
<head>
<title>Untitled Document</title>
<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">
</head>
<frameset rows="30,*" frameborder="NO" border="0" framespacing="0">
<frame src="02_testa.html" name="TESTA" scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0">
<frameset rows="430,*" border="0" framespacing="0" frameborder="NO">
<frame src="03_news.html" name="CORPO" noresize frameborder="NO" marginwidth="0" marginheight="0" scrolling="AUTO">
<frame src="04_piede.html" scrolling="NO" name="PIEDE" marginwidth="0" marginheight="0">
</frameset>
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
<script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL)
</script>
</body>
</noframes>
</html>


Here the 2 Javascript Errors in IE


Line 11
Character 4551
Error "lenght" is zero or no object
Code 0
URL file://C:IMGtesta.html

and

Line 11
Character 3239
Error "frameElement" is zero or no object
Code 0
URL file://C:IMGtesta.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 10/16/2006 at 09:44 AM Reply With Quote

Extra comma in:

var frameset = [
['TESTA'],
['CORPO'],
['PIEDE'],
]

it should be:

var frameset = [
['TESTA'],
['CORPO'],
['PIEDE']
]

(no comma after the last element of the array)
View User's Profile View All Posts By User U2U Member
centaurus
Junior Member

Posts: 2
Registered: 10/16/2006
Member Is Offline
posted on 10/17/2006 at 04:47 AM Reply With Quote
thank you it works!


thank you it works!
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