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: Frames
trevdance
Newbie

Posts: 1
Registered: 12/7/2007
Location: UK
Member Is Offline
posted on 12/7/2007 at 09:09 PM Reply With Quote
Frames


I have implemeted into my website the Gold version with frames and it works very well. Although the menu points to some pages that are located on my domain, but not in the same directory as the menu. Can you tell me what changes to the :
<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">
under the <head> tag and also:
<script language="JavaScript">
<!--
new menu (MENU_ITEMS, MENU_TPL);
//-->
</script> just before the </body> tag I have ot make in order for the menu to still be visible across the frames.

The pages that ar elocated in the root directory work fine just not the pages the are located in a sub directory of the root.

Thank you
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 12/12/2007 at 04:53 PM Reply With Quote

you'll need to use absolute paths inside menu.js file and in the files links. i.e. if menu_files directory is location in the root folder of the website your paths will be:

<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">

inside menu.js:

var TMenu_path_to_files='/menu_files/';
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