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: Menufiles folder stuck with menu.htm file
ellwood
Newbie

Posts: 1
Registered: 10/31/2005
Location: Denmark
Member Is Offline
posted on 10/31/2005 at 09:27 PM Reply With Quote
Menufiles folder stuck with menu.htm file


I am new to Tigra.
I have created an index.htm file and populated it in accordance with the 'export' description.

SNIP
<head>
<title></title>
<script language="JavaScript" src="menu_files/menu.js"></script>
<script language="JavaScript" src="menu_files/menu_items.js"></script>
<script language="JavaScript" src="menu_files/menu_tpl.js"></script>
<link rel="stylesheet" href="menu_files/menu.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Harja.dk Forside</title>
<style type="text/css">
<!--
body {
background-image: url(Grafik/baggrund.gif);
}
-->
</style></head>
SNIP
<tr>
<td width="78" bgcolor="#E7CEA5"><div align="right"></div></td>
<td bgcolor="#E7CEA5">
<div align="center">
<script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL);
</script>
</div>
</td>
</tr>
SNIP

Also the .js and .css files have been populated with the export text.
I had to copy an 'menu.js' file from a demo into the 'menu_files' folder to get things working.
I also have an menu.htm file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Tigra Menu Test</title>
<script language="JavaScript" src="menu_files/menu.js"></script>
<script language="JavaScript" src="menu_files/menu_items.js"></script>
<script language="JavaScript" src="menu_files/menu_tpl.js"></script>
<link rel="stylesheet" href="menu_files/menu.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL);
</script>
</body>
</html>

For some reason if I delete the 'menu.htm' file the 'menu_files' folder is also deleted.

And if I don't copy the 'menu.htm' into my subfolders, my subfolder html files including the menu construction won't work.
As soon as I copy the 'menu.htm' file to the subfolder the 'menu_files' folder is also copied to the subfolder.

Is there some link here in the 'menu.js' file that I am not aware of?

Ellwood
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/11/2005 at 05:25 AM Reply With Quote

Yes, there is a link between those names in windows. When you save some page from IE it will create the directory with the same name as HTML file but with the _files at the end and it will copy all linked resources in that folder. Then it will treat HTML file and directory as one file. In your case windows believes that the file and folder were saved from the web. Just don't create menu.html file and you'll be fine.
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