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']

or

['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">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="content/scripts/menu.css">
</head>

<body background="content/images/bg.gif">
<iframe name="iFrame" src="http://chaotickillers.com/eqdkp/viewnews.php" 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">
<!--//
new menu (MENU_ITEMS, MENU_POS, MENU_STYLES);
//-->
</script>

</body>
</html>


And the code from my menu_items.js

// menu_items.js file
// comments block here

var MENU_ITEMS =[
["Home", "eqdkp/viewnews.php"],
["EQ DKP", "http://chaotickillers.com/eqdkp",
["News", "http://chaotickillers.com/eqdkp/viewnews.php?s="],
["Standings", "http://chaotickillers.com/eqdkp/listmembers.php?s="],
["Raids", "http://chaotickillers.com/eqdkp/listraids.php?s="],
["Events", "http://chaotickillers.com/eqdkp/listevents.php?s="],
["Item Values", "http://chaotickillers.com/eqdkp/listitems.php?s="],
["Item History", "http://chaotickillers.com/eqdkp/listitems.php?s=&p=history"],
["Summary", "http://chaotickillers.com/eqdkp/summary.php?s="],
["Stats", "http://chaotickillers.com/eqdkp/stats.php?s="],
["My Account settings", "http://chaotickillers.com/eqdkp/settings.php?s="],
["Login", "http://chaotickillers.com/eqdkp/login.php?s="]
],
["Forum", "http://chaotickillers.com/forum/",
["Announcements", "http://chaotickillers.com/forum/index.php?showforum=2"],
["General Discussion", "http://chaotickillers.com/forum/index.php?showforum=4"],
["Off Topic", "http://chaotickillers.com/forum/index.php?showforum=5"],
["Epic Stuff", "http://chaotickillers.com/forum/index.php?showforum=7"],
["Members Only", "http://chaotickillers.com/forum/index.php?s=409270feffae755f97317b598bf6cf37&c=5",
["Officer Chat", "http://chaotickillers.com/forum/index.php?showforum=3"],
["Raid Info", "http://chaotickillers.com/forum/index.php?showforum=6"]
]
],
["Member Roster", "/content/roster.html",
["Officers", "http://chaotickillers.com/content/Officers.html"],
["Members", "http://chaotickillers.com/content/Members.html"]
],
["Links", "links.html",
["Allakhazam's", "http://everquest.allakhazam.com/",
["Zones", "http://everquest.allakhazam.com/zones/Norrath.htm",
["Antonica", "http://everquest.allakhazam.com/zones/Antonica/Antonica.htm"],
["Faydwer", "http://everquest.allakhazam.com/zones/Faydwer/Faydwer.htm"],
["Kunark", "http://everquest.allakhazam.com/zones/Kunark/Kunark.htm"],
["Odus", "http://everquest.allakhazam.com/zones/Odus/Odus.htm"],
["Velious", "http://everquest.allakhazam.com/zones/Velious/Velious.html"],
["Luclin", "http://everquest.allakhazam.com/zones/Luclin/Luclin.html"],
["Planes of Power", "http://everquest.allakhazam.com/zones/POP/Planes_of_Power.html"],
["The Outer Planes", "http://everquest.allakhazam.com/zones/Planes/Planes.htm"],
["Legacy of Ykesha", "http://everquest.allakhazam.com/zones/Ykesha/Ykesha.html"],
["Gates of Discord", "http://everquest.allakhazam.com/zones/GOD/Gates_of_Discord.html"],
["LDoN", "http://everquest.allakhazam.com/zones/LDON/Lost_Dungeons_of_Norrath.html"]
],
["Forum", "http://everquest.allakhazam.com/forum.html?forum=1"],
["Quests", "http://everquest.allakhazam.com/db/adv_qsearch.html",
["By Item", "http://everquest.allakhazam.com/dyn/quest_item_index.html"],
["By Faction", "http://everquest.allakhazam.com/db/flist.html"]
],
["Spells", "http://everquest.allakhazam.com/db/spelllist.html"],
["Focus Effects", "http://everquest.allakhazam.com/db/focuslist.html"],
["Item search", "http://everquest.allakhazam.com/db/searchdb.html"],
["Beastiary", "http://eqbeastiary.allakhazam.com/"]
],
["Eqatlas", "http://eqatlas.com/"],
["EQ Traders Corner", "http://eqtraders.com/articles/news_page.php"],
["EQ Server Status", "http://eqlive.station.sony.com/support/server_status.jsp"],
["In Game Maps", "http://maps.eq-toolbox.com/"]
],
["Buy EQ Stuff", "content/buy.html"],
["Contact Us", "/content/contact.html"],
["Members Only", "/content/members/",
["Guild Bank", "content/members/bank.html"],
["EQ DKP Administration", "http://chaotickillers.com/eqdkp/admin/index.php?s="]
]
];





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 http://www.softcomplex.com/forum/viewthread.php?tid=255


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/