(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    I need that the click menu javascript loads pages into an iFrame.

Return to Recent Questions


Q: I need to implement the following things in the menu:

a) I build a click menu javascript with an item like this:
["||"Product1","http://127.0.0.1/product1.htm","","","",,"0",],

b) when I select that item, I need that page product1.htm loads into an iFrame.

Can I do this?


A: You should set the Iframe name as the target attribute in the menuItems.
["||"Product1","http://127.0.0.1/product1.htm","","","","iframe","0",],

You should also set the following parameter:

var itemTarget = "";





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap menu | static website generator | bootstrap popup | Javascript Slideshow | html slider