Jump to content

Links in nav


Xtremer360

Recommended Posts

I think I posted this message in the wrong forum.

 

What I'm wanting to know is where do I put the code into that will load into the div content area when the link is clicked. It says function execute form but where should I find where "character" should be so that I can tell it to paste certain coding that div content area.

 

Here's my code.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Language" content="en-us">
<meta name="language" content="en-us">
<title>Backstage V2 Administration Console</title>
<link rel="stylesheet" href="backstage.css" type="text/css" media="screen">
<link rel="stylesheet" href="backstage_print.css" type="text/css" media="print">
<script src="prototype.js" type="text/javascript"></script>
<script src="scriptaculous.js" type="text/javascript"></script>
<script type="text/javascript" src="ajax.js"></script>

</head>
<body>
<div id=container>
<div class=header><form method=POST name=changedefaultcharacter>
<input type=hidden name=action value=mainmenu>
<input type=hidden name=newdefaultcharacterid value=0>
</form>
<script type="text/javascript" language="javascript">
function executeformchangedefaultcharacter(newdefaultcharacterid) {
document.changedefaultcharacter.newdefaultcharacterid.value = newdefaultcharacterid;
document.changedefaultcharacter.submit();
}
</script>
<table cellpadding="0" cellspacing="0" border="0" width="95%">
<tr>
<td width=110 align=center><a target=_blank href=/bio.php?username=andreas><img src="/backstage_125x150.php?username=andreas" border=0 width=100 height=100 hspace=5 vspace=5 /></a></td>
<td><form method=POST name=changecharacter>
<select name=newdefaultcharacterid class=dropdown onChange="executeformchangedefaultcharacter(document.changecharacter.newdefaultcharacterid.value);"><option value=349>Andreas van der Wal<option>** Active Characters **<option value=196>Angelica Brooks<option value=219>Beef<option value=367>Bernie Roberts<option value=165>Blaine Blair<option value=335>Bryan Dawkins<option value=339>C.P. Cantrell<option value=106>Chandler Tsonda<option value=360>Christian Novak<option value=328>Colby Korver<option value=340>Connor O'Reily<option value=337>Cozen<option value=351>Dametreyus Fuqueiawytas<option value=330>Delta Upsilon Iota<option value=193>Devin Shakur<option value=208>Dusk<option value=220>El Janito<option value=270>Eli VanNess<option value=17>Ellie<option value=271>Felix Young<option value=164>Gerald Barrett<option value=365>Ham Patrick<option value=329>Hank Cobb<option value=311>High Flyer<option value=338>Jason Natas<option value=345>Jeeves<option value=336>Jimmy Bonafide<option value=346>Kaiser Vashaun<option value=361>Kale Ryder</select>

</form>
</td>
<td width=40% valign=bottom align=right>
<a href="#" onClick="executeform('mainmenu','0');">Home</a> | <a href="#" onClick="executeform('logout','0');">Logout</a> | <a target="_blank" href="http://prime.e-wrestling.org/forums">Forums</a> | <a target="_blank" href="http://community.primetimecentral.net">PTC Forums</a> | <a target="_blank" href="http://community.primetimecentral.net/forumdisplay.php?f=94">Post Suggestions or Bugs</a></td>

</tr>
</table>
</div>
<div id=container2>
<div id=nav><form method=POST name=mainmenu>
<input type=hidden name=action value=0>
<input type=hidden name=option value=0>
</form>
<script type="text/javascript" language="javascript">
function executeform(action,option) {
document.mainmenu.action.value = action;
document.mainmenu.option.value = option;
document.mainmenu.submit();
}
</script>
<h1>Character</h1>
<ul>
<li><a href="#" onClick="executeform('character','2');">Bio</a></li>
<li><a href="#" onClick="executeform('alliesrivals','0');">Allies</a></li>
<li><a href="#" onClick="executeform('alliesrivals','1');">Rivals</a></li>
<li><a href="#" onClick="executeform('quotes','0');">Quotes</a></li>
</ul>
<h1>Submit</h1>
<ul>
<li><a href="#" onClick="executeform('roleplay','0');">Roleplay</a></li>
<li><a href="#" onClick="executeform('news','0');">News</a></li>
<li><a href="#" onClick="executeform('submitmatch','0');">Match</a></li>
<li><a href="#" onClick="executeform('submitseg','0');">Seg</a></li>
</ul>

<h1>Handler</h1>
<ul>
<li><a href="#" onClick="executeform('directory','0');">Directory</a></li>
</ul>
</ul>
<h1>Booking</h1>
<ul>
<li><a href="#" onClick="executeform('champions','0');">Champions</a></li>
<li><a href="#" onClick="executeform('eventbooker','0');">Booker</a></li>
<li><a href="#" onClick="executeform('resultscompilation','0');">Compiler</a></li>
<li><a href="#" onClick="executeform('resultscompilation','1');">Archives</a></li>

</ul>
<h1>Fed Admin</h1>
<ul>
<li><a href="#" onClick="executeform('handler','0');">Handlers</a></li>
<li><a href="#" onClick="executeform('character','1');">Characters</a></li>
<li><a href="#" onClick="executeform('manageapplications','0');">Applications</a></li>
<li><a href="#" onClick="executeform('eventname','0');">Event Names</a></li>
<li><a href="#" onClick="executeform('title','0');">Title Names</a></li>
<li><a href="#" onClick="executeform('matchtypes','0');">Match Types</a></li>
<li><a href="#" onClick="executeform('division','0');">Divisions</a></li>

<li><a href="#" onClick="executeform('arenas','0');">Arenas</a></li>
</ul>
<h1>Site Admin</h1>
<ul>
<li><a href="#" onClick="executeform('template','0');">Templates</a></li>
<li><a href="#" onClick="executeform('content','0');">Content</a></li>
<li><a href="#" onClick="executeform('biolayout','0');">Bio Configuration</a></li>
<li><a href="#" onClick="executeform('newscategory','0');">News Categories</a></li>
<li><a href="#" onClick="executeform('menustructures','0');">Menus</a></li>
</ul>
</div>
<div id=content>
<h1 class=backstage>Backstage 2 Admin Console</h2><br />
<h2 class=backstage>Upcoming Events</h2><br />
<h3 class=backstage>Great American Nightmare 2008 - 19 Oct 2008</h3><br />
<table class="table1" width="100%">
<tr class="rowheading">
<td>Match</td>
<td>Lead Writer</td>
</tr>
<tr class=row2>
<td>Troy Douglas vs. Jason Natas</td>

<td>Alex Clark</td>
</tr>
<tr class=row1>
<td>Kaiser Vashaun© vs. Rhett Locke</td>
<td>Matt Ward</td>
</tr>
<tr class=row2>
<td>DUI vs. The Awakening vs. Union Jack and Jeeves</td>
<td>Will Otto</td>
</tr>
<tr class=row1>
<td>Team VIAGRA vs. The Princes of New England©</td>

<td>Mike Renner</td>
</tr>
<tr class=row2>
<td>Cozen vs. Dusk</td>
<td>Craig Maloof</td>
</tr>
<tr class=row1>
<td>The Roulette</td>
<td>Matt Repchak</td>
</tr>
</table><br />
<h2 class=backstage>Maintenance</h2><br />

<h3 class=backstage>Records requiring editing</h3><br />
<form method=POST name=recordsmodule>
<input type=hidden name=action value=records>
<input type=hidden name=routine value=0>
<input type=hidden name=bookingid value=0>
</form>
<script type="text/javascript" language="javascript">
function executeformrecords(routine,bookingid) {
document.recordsmodule.routine.value = routine;
document.recordsmodule.bookingid.value = bookingid;
document.recordsmodule.submit();
}
</script>
<table class=table2 width="100%">
<tr class=rowheading>
<td> </td>
<td>Show</td>
</tr>
<tr class=row2>
<td valign=top align=center width=30><a href="#" onClick="executeformrecords('listrecords','139');">W/L</td>

<td valign=top>ReVolution 175 (08 Oct 2008) </td>
</tr>
<tr class=row1>
<td valign=top align=center width=30><a href="#" onClick="executeformrecords('listrecords','138');">W/L</td>
<td valign=top>ReVolution 174 (01 Oct 2008) </td>
</tr>
<tr class=row2>
<td valign=top align=center width=30><a href="#" onClick="executeformrecords('listrecords','137');">W/L</td>
<td valign=top>ReVolution 173 (24 Sep 2008) </td>
</tr>
</table><br />
</div>

<div id="footer">Some footer text here. Backstage 2 © 2006</div>
</div>
</div>
</div>
</body>
</html>

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.