Recent Questions Treeview Using AspQ:
Is it possible to generate Kaspersky java tab menu from dynamic content?
i.e I have a web application which currently generates a certain number of tabs for content based on a users selection.
Can the Kapersky tabs be generated from dynamic content, or does it need to be hard coded for the number of tabs and placement? A: Unfortunately, Deluxe Tabs doesn't have such a feature.
You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
<!-- (c) 2006, http://deluxe-tree.com -->
// and describe parameters of a menu
var tmenuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here:
This example is not for Deluxe Tabs menu, but you can create your menu in the same way.
You should edit the php template of your theme.
1. Go to Design -> Theme Editor
Open header.php file
!! Notice that you should CHMOD header.php file to777 setting. Find more info here:
2. Upload folder with all menu files on your server
3. Add the following code in the <head> tag:
where 'menu' is the folder with all menu file on your server.
4. Call data file in the place where you want to have the menu, forexample:
<div style='z-index: 100;position: absolute; right: 0; top: 0; margin: 0; padding: 0;float: left;height: 85px; '>
5. Click 'Update File' button.
I am trying to setup a popup tab menu like the one that you have on top part of your web pages (containing items; "Home", "Product Info", "Sample"...).
Can you tell me what I am doing wrong here? Or is there any better way to solve my problem? Thanks in advance. A: Check that you have style=" visibility: hidden;" for your DIVs
<div id="content1" style=" visibility: hidden; height: 400px;" class="tabPage">
> But when I put a link for each tab, for example
You should write:
For example, is there a way we can add an onClick function to a menu item
(eg,onClick="return MyFunction( )" ) so that we can catch and process key events? A: Unfortunately, you can't assign onmouseover/onClick/onContextMenu event to each item.
However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
item text", ""]
var menuItems = [