| 
      
   | 
    | 
  
       
          
                    Is there a method I can use when a user clicks a node, the web page will jump to a certain location in the page (menu dhtml hyperlink)?
       
      Return to Recent Questions
 
  
Q:
 I now have a tree on the left and an embedded frame on the
 right.  When a user clicks a node, the corresponding html page
 appears in the frame.  
  
 Is there a method I can use when a user clicks a node, the web
 page will jump to a certain location in the page (menu dhtml hhyperlink)?  I'm
 envisioning using one long web page instead of 30 or 40 separate
 pages.  But I would need the program to work with a hyperlink to
 know where to jump to. 
  
A:
See the structure of tmenuItems array:
  
var tmenuItems = [ 
[text, link, iconNormal, iconOver, iconExpanded, tip, target, itemStyleInd, itemXPStyleInd, jsFilename],
  
You can set link and target menu dhtml parameters for each item individually,
for example:
  
var tmenuItems = [ 
["Home","files/homepage.html","","","","Home","topframe","","",""], 
["Contacts","files/contacts.html","","","","Contacts","bottomframe","","",""],
  
You can also send us the example, so we can understand your problem.
  
  
 
 
  
Return to Recent Questions
           Related: 
         
         - Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
 - Oct 22, 2006 - Why I now have double drag menus and how to correct?
 - Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
 - Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
 - Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
 - Nov 14, 2006 - Can dhtml menu script work with tables ?
 - Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
 - Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
 - Dec 09, 2006 - Is it possible to have css drop down menu items act like regular hyperlinks?
 - Dec 11, 2006 - How to add the new items to the dhtml vertical menu without using two data.js files?
 - Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
           
               
   |