Recent Questions
Q: What command that I use the HTML code that will be showing in the html javascript popup to close window?
A: Try to use the following functions to show and hide popup window:
deluxePopupWindow.open()
hide()
For example you should write:
["","javascript:deluxePopupWindow.make('window', 'http://google.com/', '#1: Google Web site', 'width=590,height=350,resizable,scrollbars,minimizable,fullscreen,centerscreen,move-effect=top,,opacity=1,floatable=yes', 'default')","icon.gif"]
["","javascript:document.getElementById('window').hide();","icon.gif"]
Notice also that you should move the following code from your data file on your html page directly inside SCRIPT tags:
<script type="text/javascript">
menuItems[
[...]
];
dm_init();
</script>
See more info:
http://deluxepopupwindow.com/window-installation-info.htmlQ: We just bought your product suite including deluxe tabs control. For some reason that the tabs onload is not working in IE 7 only. It works in IE 6 and FF, Chrome and Safari. Attached is the sample page which will show the problem. I also attached our receipt of order for your reference.
Pleae help me to figure out what is the problem with my code ASAP.
A: Try to set exact height for your content DIV. Change height:0%; to height:200px;
<div id="content1" style="height: 200px; visibility: hidden;" class="tabPage">
<div id="content1" style="height:0%; visibility: hidden;" class="tabPage">Q: My question is, the down arrows only show on the main page, how do I fix this.
A: Please, check images paths within data .js file.
For example, if you have data.js file here:
c:/website/data.js
and your images are stored here:
c:/website/images/
you should set image name so (for example):
var arrowImageMain = ["images/arrow1.gif", "images/arrow2.gif"];
If you use Tuner, you should save data .js file before you'll selectimages. When you save .js file it means that you set a root directoryfor the project, so Tuner can make all selected images with relativepaths.
Q: What I mean is I still want the destination page to be static inthe var menuitems but when the javascript side menu item is clicked, it'll run a js on the onclick or mouseup event.
Is this possible?
something like:
var menuItems = [
["text", "home", "javascript:onclick=your_code_here"]
];
A: You can achieve this by using standard html objects within javascript side menu items, for example:
var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];
Actually you can use any html code within menuItems.