satsuma_man
Newbie
Posts: 1
Registered: 1/2/2005
Location: Australia
Member Is Offline
|
| posted on 1/2/2005 at 09:49 PM |
|
|
Opening content in an iFrame
Hi,
I am trying to open the URL in an iFrame called content (see below).
Is this possible? I have tried several methods of referencing the iFrame but the content always opens in a new window.
Any help greatly appreciated.
<script>
new menu (MENU_ITEMS, MENU_POS);
</script>
<div id=page>
<div class="header">
Homepage logo and text <A class=button href="javascript:test()"> create </A> Contact us Home Search
</div>
<div id="bod">
<IFRAME id="content" src="/site.nsf/homepagegraphic?OpenForm" frameborder=1 marginheight=0 marginwidth=0></IFRAME>
</div>
<div class="Nav">
BottomNavigation
</div>
</div>
|
|
|
olga
Administrator
Posts: 84
Registered: 11/22/2004
Member Is Offline
|
| posted on 1/31/2005 at 06:55 PM |
|
|
If you are using Tigra Menu v2.0 you should use such item scope settings configuration key as 'tw' - Name of the target frame or window for
all item's links
For example :
var MENU_ITEMS =[
'YourCaption', 'YourLink.html',{'tw': 'iframename'}]
and in the iframe tag
<iframe name="iframename" ... >
...
</iframe>
If you are using Tigra Menu v1.0 you can find solution here http://www.softcomplex.com/forum/viewthread.php?tid=255
|
|
|