Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:35
Need help inserting menu into a table cell...
Poster: Crazy_Dino
Dated: Friday August 12 2005 - 7:45:13 BST
which is already there.
Hi I really need help on this. So heres the problem I already ahve some tables created on my webpage, including tables within tables such as the one I wish the menu to be in. I already have the webpage completed and its all I need to complete teh page and carry on with my website.
I can give you the code for my page on request if it helps.
Please help Me
html coding
Poster: Crazy_Dino
Dated: Friday August 12 2005 - 13:50:42 BST
this is the coding I have included where I want the menu to be.
I have written where I want the menu to be in red
Code:
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>
BODY {
SCROLLBAR-FACE-COLOR: #3f3f3f;
SCROLLBAR-HIGHLIGHT-COLOR: #3f3f3f;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #4098ff;
SCROLLBAR-TRACK-COLOR: #3f3f3f;
SCROLLBAR-DARKSHADOW-COLOR: #3f3f3f
}
A:link {
COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
COLOR: #000000; TEXT-DECORATION: none
}
A:active {
COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
COLOR: #a0d800; TEXT-DECORATION: none
}
.style4 {
font-family: Geneva, Arial, Helvetica, sans-serif;
color: #00CCFF;
}
.style5 {color: #0099FF}
.style6 {
font-size: 24px;
font-weight: bold;
}
.style8 {color: #0099FF; font-family: Geneva, Arial, Helvetica, sans-serif; }
.style9 {color: #0099FF; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; }
</STYLE>
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<title>The Siege, Part III</title>
</HEAD>
<BODY text=#000000 bgColor=#3f3f3f>
<table width="900" border="1" bordercolor="#CCCCCC">
<tr>
<th height="175" align="right" bordercolor="#CCCCCC" scope="row"><div align="left">
<p>
<img border="0" src="../../Images/Website%20Header.bmp" width="468" height="203"> </p>
</div></th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><script language="JavaScript" src="imenus_data.js"></script>
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
This is where i want the menu to be
</th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><div align="left">
<span class="style8"><span class="style6">The Siege, Part III<br>
</span>Written By: Martin Gero <br>
Directed By: Martin Wood <br>
Guest Stars: Ellie Harvey (Novak), Clayton Landley (Colonel Everett), David Nykl (Dr Zelenka),
Mitch Pileggi (Colonel
Caldwell) </span></div></th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><div align="left" class="style4">
<p class="style5">We were left at the end of the last episode with
Major Sheppard on a kamikaze mission in a puddle jumper with a Genii
nuclear device heading straight towards one of the hive ships, lost contact
with Teyla, Lieutenant Ford's team getting surrounded by the
Wraith and Colonel Everett getting cornered by a wraith while trying to kill it.</p>
<p class="style5">Lieutenant Ford's team starts firing on the Wraith
team taking out all the wraith soldier apart from one and Lieutenant Ford.
The lone wraith then gets Lieutenant Ford against a balcony and starts to
feed on him. One of the soldiers on the floor is able to reach for a grenade
unpins it and rolls it towards the Wraith and Lieutenant Ford who get
thrown over the balcony into the ocean below.</p>
<p class="style5">Meanwhile Major Sheppard is piloting his
puddle jumper into the wraith ship when he receives a message to uncloak his jumper
immediately.</p>
<p class="style5">While in the Atlantis Control Room they are getting
conformation through that the hive ship was destroyed, but another ship
has a appeared on sensors. When they receive a message from Major
Sheppard aboard the Daedulus, Earths newest ship. </p>
<p class="style5">They then learn that they beamed Major Sheppard
out of his puddle jumper by using Asgard transport beams. Which they use
to beam down a ZPM.</p>
<p class="style5">While aboard the Daedulus, its missiles aren't even
reaching the final hive ship. So they have to get the onboard Asgard
engineer, Hermiod, to alter the ships beaming technology so it is able to
beam warheads into the hive ship itself due to the Asgard originally
stopped the beaming technology being used as a weapons deployment
system.</p>
<p class="style5">After the final hive ship has been destroyed the
remaining cruisers flee into hyper space.</p>
<p class="style5">Dr McKay and his security escort unfortunately
meet a bit of trouble on the way to installing the ZPM and his escort end up
getting stunned, leaving him against 2 Wraith's. Luckily he is reduced by
Teyla who has been trying to get back but unable to communicate due to
her radio not working.</p>
<p class="style5">The remaining Wraith darts end up forming up and
end up heading straight towards Atlantis meaning the will crash, but they
are going so fast that no part of the city will survive. Its a race against
time as McKay then has to get the shield working. The are able to get the
shield up and stop the darts from destroying Atlantis.</p>
<p class="style5">Major Sheppard then returns to Atlantis with some
people to help take care of the remaining Wraith in the city. </p>
<p class="style5">Major Sheppard is then told to go to see Colonel
everett in the infirmary who has unluckily been fed on by a Wraith and
appears to have aged, he then forgives Sheppard for shooting Colonel
Sumner and confesses he wishes Sheppard was there for him.</p>
<p class="style5">Lieutenant Ford is then found alive outside of the
city in the water with the dead wraith who was feeding attached to him. It
turns out Lieutenant Ford's body has been flooded with a Wraith Enzyme
which strengthens the Human body during the feeding process, so they don't die.
Due to Lieutenant Ford receiving so much of the Wraith enzyme
when it fully depletes from his system, he will die. Dr Beckett then has to
harvest it from the dead wraith bodies in the morgue, so he can give it to
ford in less and less doses so that Lieutenant Ford won't have to depend on
the enzyme to live.</p>
<p class="style5">Meanwhile Dr McKay has found a bigger problem,
12 Wraith hive ships on there way to Atlantis as they speak. </p>
<p class="style5">An emergency briefing is held and they come to the
decision to attack the hive ships with the Daedulus at one of the Armandas
stopping points. </p>
<p class="style5">Daedulus is able to destroy 2 of the hive ships but
unfortunatley the other hive ships are able to stop the beaming technology
from entering the ship. The Daedulus unable to destroy any more of the
hive ships gets damaged and has to escape back to Atlantis. </p>
<p class="style5">Lieutenant Ford arrives in the control tower after
leaving the infirmary and reports for duty. When Dr Beckett arrives
because Lieutenant Ford shouldn't be there he ends up getting attack by
Ford. He is then ordered back to the infirmary and ends up escaping,
pointing a gun at an injured soldier to force Dr Beckett to give him the
enzyme, he then escapes and is lose around the city. </p>
<p class="style5">When the hive ships arrive they start immediatly to
attack the shields of Atlantis, reducing power and with such force the shield
would be depleted in days.</p>
<p class="style5">A plan is then formulated where they cloke the city
pretending it was a self destruct by launching one of Daedulus' nuclear
missiles above the city before they cloke it.</p>
<p class="style5">Dr Beckett arrives and tells them that Lieutenant
Ford has escaped from the infirmary, Major Sheppard is then sent after
him, but unfortunatly escapes in one of the puddle jumpers.</p>
<p class="style5">The plan to hide the city works and the Wraith
leave beleiving there mission to destroy Atlantis was a success. </p>
</div></th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><p class="style9">© 2005 <br>
Drop down menus © Milonic<br>
Stargate Atlantis © MGM Television 2004-2005<br>
Stargate SG1 © MGM Television 1997-2005<br>
Stargate© MGM 1994 </p>
</th>
</tr>
</table>
<STYLE type=text/css>
BODY {
SCROLLBAR-FACE-COLOR: #3f3f3f;
SCROLLBAR-HIGHLIGHT-COLOR: #3f3f3f;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #4098ff;
SCROLLBAR-TRACK-COLOR: #3f3f3f;
SCROLLBAR-DARKSHADOW-COLOR: #3f3f3f
}
A:link {
COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
COLOR: #000000; TEXT-DECORATION: none
}
A:active {
COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
COLOR: #a0d800; TEXT-DECORATION: none
}
.style4 {
font-family: Geneva, Arial, Helvetica, sans-serif;
color: #00CCFF;
}
.style5 {color: #0099FF}
.style6 {
font-size: 24px;
font-weight: bold;
}
.style8 {color: #0099FF; font-family: Geneva, Arial, Helvetica, sans-serif; }
.style9 {color: #0099FF; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 10px; }
</STYLE>
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<title>The Siege, Part III</title>
</HEAD>
<BODY text=#000000 bgColor=#3f3f3f>
<table width="900" border="1" bordercolor="#CCCCCC">
<tr>
<th height="175" align="right" bordercolor="#CCCCCC" scope="row"><div align="left">
<p>
<img border="0" src="../../Images/Website%20Header.bmp" width="468" height="203"> </p>
</div></th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><script language="JavaScript" src="imenus_data.js"></script>
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
This is where i want the menu to be
</th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><div align="left">
<span class="style8"><span class="style6">The Siege, Part III<br>
</span>Written By: Martin Gero <br>
Directed By: Martin Wood <br>
Guest Stars: Ellie Harvey (Novak), Clayton Landley (Colonel Everett), David Nykl (Dr Zelenka),
Mitch Pileggi (Colonel
Caldwell) </span></div></th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><div align="left" class="style4">
<p class="style5">We were left at the end of the last episode with
Major Sheppard on a kamikaze mission in a puddle jumper with a Genii
nuclear device heading straight towards one of the hive ships, lost contact
with Teyla, Lieutenant Ford's team getting surrounded by the
Wraith and Colonel Everett getting cornered by a wraith while trying to kill it.</p>
<p class="style5">Lieutenant Ford's team starts firing on the Wraith
team taking out all the wraith soldier apart from one and Lieutenant Ford.
The lone wraith then gets Lieutenant Ford against a balcony and starts to
feed on him. One of the soldiers on the floor is able to reach for a grenade
unpins it and rolls it towards the Wraith and Lieutenant Ford who get
thrown over the balcony into the ocean below.</p>
<p class="style5">Meanwhile Major Sheppard is piloting his
puddle jumper into the wraith ship when he receives a message to uncloak his jumper
immediately.</p>
<p class="style5">While in the Atlantis Control Room they are getting
conformation through that the hive ship was destroyed, but another ship
has a appeared on sensors. When they receive a message from Major
Sheppard aboard the Daedulus, Earths newest ship. </p>
<p class="style5">They then learn that they beamed Major Sheppard
out of his puddle jumper by using Asgard transport beams. Which they use
to beam down a ZPM.</p>
<p class="style5">While aboard the Daedulus, its missiles aren't even
reaching the final hive ship. So they have to get the onboard Asgard
engineer, Hermiod, to alter the ships beaming technology so it is able to
beam warheads into the hive ship itself due to the Asgard originally
stopped the beaming technology being used as a weapons deployment
system.</p>
<p class="style5">After the final hive ship has been destroyed the
remaining cruisers flee into hyper space.</p>
<p class="style5">Dr McKay and his security escort unfortunately
meet a bit of trouble on the way to installing the ZPM and his escort end up
getting stunned, leaving him against 2 Wraith's. Luckily he is reduced by
Teyla who has been trying to get back but unable to communicate due to
her radio not working.</p>
<p class="style5">The remaining Wraith darts end up forming up and
end up heading straight towards Atlantis meaning the will crash, but they
are going so fast that no part of the city will survive. Its a race against
time as McKay then has to get the shield working. The are able to get the
shield up and stop the darts from destroying Atlantis.</p>
<p class="style5">Major Sheppard then returns to Atlantis with some
people to help take care of the remaining Wraith in the city. </p>
<p class="style5">Major Sheppard is then told to go to see Colonel
everett in the infirmary who has unluckily been fed on by a Wraith and
appears to have aged, he then forgives Sheppard for shooting Colonel
Sumner and confesses he wishes Sheppard was there for him.</p>
<p class="style5">Lieutenant Ford is then found alive outside of the
city in the water with the dead wraith who was feeding attached to him. It
turns out Lieutenant Ford's body has been flooded with a Wraith Enzyme
which strengthens the Human body during the feeding process, so they don't die.
Due to Lieutenant Ford receiving so much of the Wraith enzyme
when it fully depletes from his system, he will die. Dr Beckett then has to
harvest it from the dead wraith bodies in the morgue, so he can give it to
ford in less and less doses so that Lieutenant Ford won't have to depend on
the enzyme to live.</p>
<p class="style5">Meanwhile Dr McKay has found a bigger problem,
12 Wraith hive ships on there way to Atlantis as they speak. </p>
<p class="style5">An emergency briefing is held and they come to the
decision to attack the hive ships with the Daedulus at one of the Armandas
stopping points. </p>
<p class="style5">Daedulus is able to destroy 2 of the hive ships but
unfortunatley the other hive ships are able to stop the beaming technology
from entering the ship. The Daedulus unable to destroy any more of the
hive ships gets damaged and has to escape back to Atlantis. </p>
<p class="style5">Lieutenant Ford arrives in the control tower after
leaving the infirmary and reports for duty. When Dr Beckett arrives
because Lieutenant Ford shouldn't be there he ends up getting attack by
Ford. He is then ordered back to the infirmary and ends up escaping,
pointing a gun at an injured soldier to force Dr Beckett to give him the
enzyme, he then escapes and is lose around the city. </p>
<p class="style5">When the hive ships arrive they start immediatly to
attack the shields of Atlantis, reducing power and with such force the shield
would be depleted in days.</p>
<p class="style5">A plan is then formulated where they cloke the city
pretending it was a self destruct by launching one of Daedulus' nuclear
missiles above the city before they cloke it.</p>
<p class="style5">Dr Beckett arrives and tells them that Lieutenant
Ford has escaped from the infirmary, Major Sheppard is then sent after
him, but unfortunatly escapes in one of the puddle jumpers.</p>
<p class="style5">The plan to hide the city works and the Wraith
leave beleiving there mission to destroy Atlantis was a success. </p>
</div></th>
</tr>
<tr>
<th bordercolor="#CCCCCC" scope="row"><p class="style9">© 2005 <br>
Drop down menus © Milonic<br>
Stargate Atlantis © MGM Television 2004-2005<br>
Stargate SG1 © MGM Television 1997-2005<br>
Stargate© MGM 1994 </p>
</th>
</tr>
</table>
Poster: Ruth
Dated: Friday August 12 2005 - 17:02:48 BST
Hi,
Open your menu_data.js file. Copy the main menu and paste it someplace so you have it. Then remove that menu from the menu_data.js file.
On your page, in that <td> cell paste the main menu in script tags with a drawMenus(); So, if this were the downloaded menu you could paste this into that cell
Code:
<script>with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("status=Back To Home Page;text=Home;url=http://www.milonic.com/;");
aI("showmenu=Samples;text=Menu Samples;");
aI("showmenu=Milonic;text=Milonic;");
aI("showmenu=Partners;text=Partners;");
aI("showmenu=Links;text=Links;");
aI("showmenu=MyMilonic;text=My Milonic;");
}
drawMenus();
</script>
Note that there is no top= left= and it now has a position="relative"; and an addition drawMenus(); which is still in the menu_data file, also. That menu will no longer be in the data file.alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("status=Back To Home Page;text=Home;url=http://www.milonic.com/;");
aI("showmenu=Samples;text=Menu Samples;");
aI("showmenu=Milonic;text=Milonic;");
aI("showmenu=Partners;text=Partners;");
aI("showmenu=Links;text=Links;");
aI("showmenu=MyMilonic;text=My Milonic;");
}
drawMenus();
</script>
Then move your calls for the files to right after the body tag
Code:
BODY text=#000000 bgColor=#3f3f3f><script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
Below my name are links to things, one is to table menu information.
If you need to post code please use the code button above, click it then post the code then click it again.
Ruth