Recent Questions Yellow Tree Menu
Q: We use the state saving feature of your menu on our site. I wanted to know if this implements cookies at all, or how it interacts with visitors to the site. This is only so we can have an accurate privacy policy.
A: Javascript/DHTML Tree saves it's state using cookies.
Q: In my page are links in subfolders (for example /ergebnisse/2006/test.htm). When I call a page in a subfolder, in first time this page is shown correctly. The next page I call could not found. I belief the pointer is in the subfolder an so the page could not found.
A: You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: One other issue I am having if you don't mind helping. On my web site when I run the menu I get an Errors on page message with the following
Line: 16
Char: 18132
Error: Access is denied.
Code: 0
URL: http://www.site.id.au/left_frame.htm
When I run the site from my local PC with the menu, I don't get this error?
Could you possibly suggest why? I can't find anything on your site.
A: Try to check all you paths.
original setting:
var tmenuBackImage="";
var titemBackImage=["",""];
changed to:
var tmenuBackImage="images/blank.gif";
var titemBackImage=["images/blank.gif","images/blank.gif"];
Try to specify units in "px".
var tmenuWidth = "180px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
You should set this parameter:
var tmenuHeight = "auto";
Now you have such parameters in the menu:
["||24","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/24.htm", , , , , "main_frame", , , , , ],
["||30 Days","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/30days.htm", , , , , "main_frame", , , , , ], ["||Battlestar Galactica","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/battlestarg.htm", , , , , "main_frame", , , , , ],
["||Blade","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/blade.htm", , , , , "main_frame", , , , , ],
["||Eureka","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/eureka.htm", , , , , "main_frame", , , , , ],
["||I Pity the Fool","C:/Documents and Settings/Paul/My Documents/My Web Sites/site.id.au/guide/ipitythefool.htm", , , , , "main_frame", , , , , ],
You cannot use local paths on your website.
Please, correct it. <
br>You should write for example: ["||24","site.id.au/guide/24.htm", , , , , "main_frame", , , , , ],
["||30 Days","site.id.au/guide/30days.htm", , , , , "main_frame", , , , , ],
["||Battlestar Galactica","site.id.au/guide/battlestarg.htm", , , , , "main_frame", , , , , ],
Try to use also the attached engine .js files on your server.
Q: I am currently tasked with creating a large intra-type net for our company. ( knowledge base, FAQ etc. for internal use only ).
At this time I am making plain text or table based menus and getting tired of having to add the drop menus to EVERY page individually in our little intra-web. I would like to purchase software that makes groovy looking menus, but also get the information needed to have them appear on ALL pages after editing the menu once if you know what I mean.
Unfortunately my web authoring experience is best suited to circa-1996 web pages I can hash out in notepad in my sleep. However, I have been told in order to do what I am doing I need to use CSS or styles or cascading stylesheets and not sure if your software will do that.
If I purchase this software and whip up a neat little menu, would you be able to send me information on how to include it in a css as I described above? I would essentially need to know the code or commands to have it appear in all of the pages I create, once I make the menu file. If that is something you can assist me with, I can purchase this right away.
A: JavaScript Tree Menu is Javascript code only. It requires several .js files andit's generated on a client side.
If you don't want to create your drop menus on each page, you can try to useframes, the menu has a cross-frame mode. Also you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server.