|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Just wondering how I would get the menu links to load in an iframe?
<DIV Id="menuBar" class="menuBar" > <DIV Id="Bar1" class="Bar" menu="menu1">Home</DIV> <DIV Id="Bar2" class="Bar" menu="menu2">Latest News</DIV> <DIV Id="Bar3" class="Bar" menu="menu3">Artists</DIV> <DIV Id="Bar4" class="Bar" menu="menu4">Marks</DIV> <DIV Id="Bar5" class="Bar" menu="menu5">Links</DIV> <DIV Id="Bar6" class="Bar" menu="menu6">Contact</DIV> <DIV Id="Bar7" class="Bar" menu="menu7">Forum</DIV> </DIV> <!--MenuItem Definition --> <div Id="menu1" class="menu"> <div Id="menuItem1_1" class="menuItem" menu="menu6">SubMenu #1</div> <div Id="menuItem1_2" class="menuItem" title="JavaScripts" cmd="<A href="http://javascript.internet.com/">JavaScript">http://javascript.internet.com/">JavaScript Source</div> <div Id="menuItem1_3" class="menuItem" title="WDVL" cmd="<A href="http://www.wdvl.com">WDVL</div">http://www.wdvl.com">WDVL</div> </div> |
|
#2
|
||||
|
||||
|
An IFRAME is the same as a normal frame - you can access it using the DOM. Alternatively, use getElementById.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > target menu link to load in an iframe |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|