Board Logo

iframe.... menu.... confusion
samiam003 - 9/13/2003 at 02:01 AM

okay... so i got this menu like a month ago and i love it to death... but i am so confused about frames! i have the tiagra menu that i built online... and i can't figure out where to put the command to make the menu target my iframe. can anyone give me a command and tell me where to put it? plz :(

samiam003 - 9/13/2003 at 03:18 PM

ok so browsing the forums... there are so many things to put in.... fo instance is it:

['home', 'index.html', 'mainframe']


['home', 'index.html',{'tw':'mainframe'}]

or maybe

['home', 'index.html', 'tw', 'mainframe']

which one of these would i use for my framing??????

nik - 9/15/2003 at 08:09 AM

If you are using Tigra Menu v2.0 you should use the following code:

['home', 'index.html',{'tw':'mainframe'}]

kildarr - 2/12/2004 at 06:55 PM

Menu was created with the online menu builder (which after reviewing the code is tigra menu 1.0)

I can't seem to get my menu selections to target my iFrame.

This is the code from my index.html which defines the iframe:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="content/scripts/menu.css">

<body background="content/images/bg.gif">
<iframe name="iFrame" src="" align="right" width="83%" height="100%" scrolling="auto"></iframe>
<script language="JavaScript" src="content/scripts/menu.js"></script>
<script language="JavaScript" src="content/scripts/menu_items.js"></script>
<script language="JavaScript" src="content/scripts/menu_tpl.js"></script>
<script language="JavaScript">


And the code from my menu_items.js

// menu_items.js file
// comments block here

["Home", "eqdkp/viewnews.php"],
["EQ DKP", "",
["News", ""],
["Standings", ""],
["Raids", ""],
["Events", ""],
["Item Values", ""],
["Item History", ""],
["Summary", ""],
["Stats", ""],
["My Account settings", ""],
["Login", ""]
["Forum", "",
["Announcements", ""],
["General Discussion", ""],
["Off Topic", ""],
["Epic Stuff", ""],
["Members Only", "",
["Officer Chat", ""],
["Raid Info", ""]
["Member Roster", "/content/roster.html",
["Officers", ""],
["Members", ""]
["Links", "links.html",
["Allakhazam's", "",
["Zones", "",
["Antonica", ""],
["Faydwer", ""],
["Kunark", ""],
["Odus", ""],
["Velious", ""],
["Luclin", ""],
["Planes of Power", ""],
["The Outer Planes", ""],
["Legacy of Ykesha", ""],
["Gates of Discord", ""],
["LDoN", ""]
["Forum", ""],
["Quests", "",
["By Item", ""],
["By Faction", ""]
["Spells", ""],
["Focus Effects", ""],
["Item search", ""],
["Beastiary", ""]
["Eqatlas", ""],
["EQ Traders Corner", ""],
["EQ Server Status", ""],
["In Game Maps", ""]
["Buy EQ Stuff", "content/buy.html"],
["Contact Us", "/content/contact.html"],
["Members Only", "/content/members/",
["Guild Bank", "content/members/bank.html"],
["EQ DKP Administration", ""]

I have tried adding {'tw':'iframe'}] to a few items, but they open in the same windows, which (from what i understand) means that the script can not find the frame definition...

I appologize if this has been discussed before, but this topic was the closest match to my problem using the search feature.

kildarr - 2/13/2004 at 04:45 AM

After searching the forums for hours on end, i found the solution here

Back to forum: