Recent Questions Asp Net Treeview Google AnalyticsQ:
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, for
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.
Can you please guide me how can i use the ajax functionality for tree view navigation..A: To enable AJAX Tree Menu use the following menu parameters:
var tajax=1; // enables AJAX technology support
Each .js file must contain menuItems variable for the submenu in the following format:
var tmenuItems = [
[text, link, icon1, icon2, icon2, tip, target, itemStyle, submenuStyle, jsFileName],
Where jsFileName - .js filename on the server that contains tmenuItems variable for the submenu.
More info you'll find here:
I have two question for now...
Where can I change the word "loading" during ajax is loading the submenu?????
The reason why I switch to treemenu is the possibility of state saving! A: I've just checked your website and save state feature works fine for the ajax submenus.
I see you changed the "Loading.." text inside the dtree_ajax.js file.Q:
I am afraid I am still having difficulties.
Key issue is fine, no problems there. However, I cannot seem to make this NOT showing me a window open example when the page opens. I just want to have popups upon click. What I want is to be able to create links, within the same page, that will popup windows of different content and size, all upon click (not upon page loading.
What am I doing wrong here?
In the site I have the following:
1. A www.domain.gr/deluxe-popup-window.files folder
2. A http://www.domain.gr/deluxe-popup-window.js script
3. and my test page creating the popups
So, in my sample page:
1. I do NOT want to have the 1st popup which loads automatically as the page opens
2. I want to have the 2 samples shown there, Sample 2 and Sample 3.
3. These 2 samples must show windows of different width and height.
Please help me here.
Looking forward to your answer. A: Delete openAfter= text from the deluxePopupWindow.attachToEvent()function in the following file:
In that case popup window won't show till you click on the link.