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: JS begiinerblank document
p3aul
Junior Member

Posts: 3
Registered: 2/24/2004
Member Is Offline
posted on 2/24/2004 at 03:40 AM Reply With Quote
JS begiinerblank document


I downloaded and unzipped the tree menu. I opened the index file in netscape and there was the sample menu, along with the other stuff just like in the website. this is the way I learn; I change something a little and test it, then change a little more. Well, I changed the tree_iitems_js file. I put my own text in the 1st menu item, reopened index.htm. Worked fine there was my text. I found the place where the java script was located and tried a n htm of my own:
<html>

<head>
<script language="JavaScript" src="tree_items.js"></script>
<script language="JavaScript" src="tree_tpl.js"></script>
<script language="JavaScript" src="tree.js"></script>
</head>
<body>
<script language="JavaScript">

new tree (TREE_ITEMS, TREE_TPL);

</script>
</body>
</html>

when I opened this file in netscape(or IE6) I get just a blank screen! why?
the code should be correct i lifted it right out of the website. the supporting files are right there in the same directory. Is the only way this will work is with frames?
thanks,
Paul Handley
View User's Profile View All Posts By User U2U Member
p3aul
Junior Member

Posts: 3
Registered: 2/24/2004
Member Is Offline
posted on 2/24/2004 at 04:16 AM Reply With Quote
What? Me worry?


duhhhhh! Stupid beginners!
I found my error. a supporting filename should have been in lowercase and wasn't. it was in uppercase. Why? I guess it must be referenced by tree.js was in lowercase. Igot to remember that lowercase and uppercase in JS iS DIFFERENT!
The thonking sounds you hear are me beating my head on the desk!
Paul
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   

Go To Top


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