Recent Questions Jstree Sample
Q: I am not able to get the Keystrokes function to work. The variable is set to 1 on both parameters and it is set at 113 for the F2 function key but it is not highlighting anything on the horizontal menu I have, any ideas?
A: Please check that you have dmenu_key.js file in the same folder withyour dmenu.js file.
You can also send us a copy of your html page (including .js files) ora direct link to your website, so we can check it.
Q: Can you tell me the difference between a target and a link.
Also can you explain what self, blank, top, parent, search and custom mean in the javascript menu table please.
A: Link is the url you want to open when you click on the javascript menu table item.
Target controls where you'll open your link:
"_self" - open link in the same window
"_blank" - open link in the new window
"_parent" - will load the linked document where the inner frameset file had been
"_top" - loads the linked document in the topmost frame
custom - you should write here the name of the frame where you want to
open the linked document, for example:
"framename"
"_search" - this target causes the link to load in the browser's Search pane. (Internet Explorer 5.0 and later.)
You can find more info here:
http://www.htmlcodetutorial.com/linking/_A_TARGET.html
Q: I place all of my files in folders. If I want the Deluxe menu to work I have to have the Deluxe menu saved in each folder for it to work with the files inside those folders.
A: There is no need to copy al files for the menu in each folder.
To install the menu you can use such paths:
<script type="text/javascript"> var dmWorkPath = "../menudir/";</script>
<script type="text/javascript" src="../menudir/dmenu.js"></script>
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: Is the Deluxe Tuner application compatible with Deluxe Popup Window?
I haven't been able to use the Deluxe Tuner to create any content through Deluxe Popup Window based on the instructions on the Deluxe Popup Window website.
I feel like I'm missing instructions somewhere.
A: There are 3 types of window content in popup window:Iframe(url); Object_id; text(html content).
You can set the type of the content in the Deluxe tuner (winContent parameter).
Change popup window parameters, use templates.
Then export your project to HTML "File -> Export - > To HTML".
Open the generated data file with all popup window parameters in any text editor and make changes to your content.
For example:
content:"<div style=\"text-align:center;\"><b>Sample content</b></div>This is a simpleHTML code for content. Here you may also set link to content page or ID of some element.",
If you'll have further questions - write us, we'll try to help you. You can also write us what content you want to add inside the popup window and we'll help you to create such popup.