Recent Questions Top 10 Treeview Javascript
Q: What do you recommend for "remembering" the tab in the js tab menu,
so that when the page reloads the correct tab is highlighted.
A: Deluxe Tabs doesn't support API functions which can return theselected tab aslo.
You can set "bselectedItem" and " var bselectedSmItem" parametersbased on your link before you call your data file.
For example, move " var bselectedItem" and " var bselectedSmItem" parametersfrom your data file to your code.
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=<?php echo $seltabs; ?>;
var bselectedSmItem=^lt;?php echo $selsmtabs; ?>;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
You should define seltabs and selsmtabs using server side script.
You can also set it on every page before you call data.js file, forexample:
<TD vAlign=top align=left>
/* Select Tab */
<script type="text/javascript" language="JavaScript1.2">
var bselectedItem=4;
var bselectedSmItem=3;
</script>
<SCRIPT src="data.js" type=text/javascript></SCRIPT>
</TD>
Q: Greetings..... I am new to java script and would like to have a drop down menu that I can use with frames....
I downloaded your program and have created a small menu to try to become familiar with the program and see if I can accomplish getting a menu to display on a new page...... I am currently using Page Mill.
When I created the menus, I saved them as TstBuy and it was saved in the Deluxe-menu folder.
Having read a number of your information displays plus lacking the knowledge of what files and where to place them, I would appreciate any information you can offer as to what files to place in the main Page Mill folder if that is where they go??
As for the data I created (TstBuy), I thought that I would be able to copy and paste that file into the Page Mill page within a text box, but the paste feature was not available...
Thanks for any assistance you can offer..
A: Thanks for your interest in our products.
JavaScript Tree Menu wasn't developed as Page Mill/Dreamweaver/Frontpage extension,BUT you can use it as standard Javascript files.
You can try to export your menu into html page using Deluxe Tunerapplication and then copy the code from the generated html page into your html page.You should click in Deluxe Tuner "File/Export/To HTML". You'll getsuch files:
deluxe-menu.files/
image_files.gif
dmenu.js
dmenu4.js
dmenu_add.js
dmenu_dyn.js
dmenu_key.js
dmenu_cf.js
dmenu_popup.js
dmenu_ajax.js
data-deluxe-menu.js
deluxe-menu.html
There is no need to use all files from the "deluxe-menu.files/"folder.
The description of files you can find here:
http://deluxe-menu.com/description-of-files-info.html
You can delete all files which are not necessary for you.
To install the menu into your html page:
1. open the page in Page Mill/Dreamweaver/Frontpage
2. open html source code of the page (deluxe-menu.html)
3. add several rows of code (<script> tags), For info see:
http://deluxe-menu.com/installation-info.html
You should also copy "deluxe-menu.files/" folder, all image files anddata-deluxe-menu.js in the same folder with your html page.
For example, you'll have such structure:
deluxe-menu.files/
image_files.gif
dmenu.js
dmenu_add.js
data-deluxe-menu.js
your_html_page_from_Page_Mill.html
That's all.
Q: Your frameset FAQ/examples seem to tackle scenarios where submenus open in frame 2. I'm interested in in the actual menu selection opening in frame 2 (menus being in frame 1). Is there some documentation I've missed?
A: All info about installation of the menu in the cross-frame mode youcan find here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Q: I am attempting to use the deluxe menu with frames. After click a few links the popup part of the menu stops showing up. This especially happens if the content of the main frame requires scrolling. In this case the scroll bar just flickers when I put the mouse over the menu.
Do you know why this would happen?
A: We need to check your menu.
Please, send us a direct link to your website, so we can check it.
Please, notice also that JavaScript Tree Menu can work within 1 frameset only.
It can't work within nested framesets. It is possible that you'll havesome errors.
The menu will work correctly in the cross-frame mode if you load pages into the sub frame from the same domain.If you load pages from another domain submenus won't be shown in the subframe - they will be shown in the frame with the top-menu.It's caused by a security policy of browsers - a script can't modify a content of pages from another domain.