Recent Questions
Q: I’m currently testing your product and using the tabs. My question is that not all my javascript html tabs point to the same target, I tried doing your suggestion on your FAQ but when I do that the tabs do not even display, here is my code
["|Manage Users","user.asp",,,,,"fmeMain"] also tried different points in the parameters
I know the break down is as follows
[Display,Url,Icon1, icon2, title,supposedToBeTarget]
A: See, you can use links if you have
var tabMode=1;
only.
If you have
var tabMode=0;
You should use the ID of the DIV.
Unfortunately, you cannot set target parameter for each item.
bmenuItems has the following structure:
var bmenuItems = [
["text", "divID or link or javascript function", "icon1", "icon2", "icon3", "tip", "styleN"],
];
But you can try to open your pages using different targets in thefollowing way
["tab text", "javascript: window.open('test.html', 'frameName')", ...],
["tab text", "javascript: window.open('test.html', '_self')", ...],
["tab text", "javascript: window.open('test.html', '_blank')", ...],
Where frameName - the name of the frame where to open the page test.html.
Using this method you can create Deluxe Tabs in var tabMode=0; and var tabMode=1;
Q: I downloaded the trial version, so I’m doing some testing....
I can’t highlight the selected dhtml pop up menu item of the current page. The var ttoggleMode is enabled and
tpressedFontColor = "#AA0000
This is caused by the trial version?
A: Please, check the following parameter
var pressedItem=-2;
This parameter sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;-1 - the toggle mode is enabled, bu
t no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-menu.
The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
You can also set the correct
var pressedItem=1;
parameter on each html page.
Q: I need to execute some javascript first when someone clicks on the tab in the floating tabs.
A: You should paste "javascript:some_function()" into item's link field, for example:
["tab text","javascript: window.open('test.html', 'frameName')", ...],
or
["tab text","javascript: getURLForFrame()", ...],
Q: I just purchased the Deluxe PopUp Window application in order to implement some pop up window on my web site the way I need them to work.
Infact, after taking a look at your application it doesn't seem (maybe I'm wrong) it can be used the way I need to.
To cut a long story short: I need the PopUP window onclick to show images and not texts pening up them by clicking on a text-link.
Images are many so, if I not wrong I must create lots of windows each one for each single image.
So, my questions are:
1) Can I use you pop up to show images only?
2) Can I activate them by clicking on the related links.
Generally, in order to do so, I have a single js script that activate the window onclick. To load a Popup window I need to click on a link by opening an HTML page containing the image.
To let it all work I need a <script> function in the <head> </head> tags and an onclick command calling the PopUp script activated when I click on the related link.
So, does your script work the same way. Can you confirm me that I can use your application just the same way as I have always done with a simple .js script + an .htm page containing an image?
I hope I was clear.
A: You can call only one data file and use deluxePopupWindow.open() function to open your windows:
<a href="javascript:;" onclick="deluxePopupWindow.open('window1', '<img src=\'img/DSCN3699.jpg\'>',
'Window1','width=100,height=100,resizable,scrollbars=no,middle,right,fade-effect',
'simple')">Click Here to see a chase1 sample</a>
See more info:
http://deluxepopupwindow.com/window-installation-info.html
http://deluxepopupwindow.com/samples.html