Создать форум бесплатно: ixbb.ru :: Календарь на Март 2024 года: calendar2008.ru/2024/mart/

  Reply to this topicStart new topicStart Poll

Как запихнуть скрипт в таблицу разметки

Shaggy
Отправлено: Feb 16 2007, 03:22 PM
Quote Post


  Солдат
*

Группа: Members
Сообщений: 1
Пользователь №: 319
Регистрация:
16-February 07



Как запихнуть скрипт в таблицу разметки! Есть скрипт меню. Нужно чтобы он выполнялся в ячейке таблицы разметки. так как у таблицы выравнивание по центру страницы. Нужно чтобы меню выравнивалось автоматически вместе с таблицей.

Код страницы:
<html>
<head>
<title>Страница</title>

<div align="center">

<table border="0" cellpadding="0" cellspacing="0" width="1055" height="889" bgcolor="#FFFF00">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" colspan="3">
<!-- MSCellType="ContentHead" -->
&nbsp;</td>
<td height="100"></td>
</tr>
<tr>

//вставить в ячейку описаную ниже
<td valign="top" rowspan="2" height="441">
<!-- MSCellType="NavBody" -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="1" -->
<tr>
<td bgcolor="#FFFF00" colspan="3" height="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
<tr>
<td bgcolor="#FFFF00" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
<td valign="top" width="100%" bgcolor="#FFFF00">
<!-- MSCellFormattingType="content" -->
&nbsp;</td>
<td bgcolor="#FFFF00" height="100%" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
<tr>
<td bgcolor="#FFFF00" colspan="3" height="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
</table>
</td>
//описание ячейки закончено
<td valign="top" rowspan="3" width="548">
<!-- MSCellType="ContentBody" -->
&nbsp;</td>
<td valign="top">
<!-- MSCellType="NavBody2" -->
&nbsp;</td>
<td height="228"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td height="213"></td>
</tr>
<tr>
<td width="151">&nbsp;</td>
<td width="354">&nbsp;</td>
<td height="273"></td>
</tr>
<tr>
<td valign="top" colspan="3">
<!-- MSCellType="ContentFoot" -->
&nbsp;</td>
<td height="75" width="2"></td>
</tr>
</table>
</div>


<style type="text/css">
DIV.clSlide{position:absolute; ;z-index:100; left:0; width:150; height:33; padding:0px;}
DIV.clSlideSub{position:absolute; ;z-index:100; padding:; width:150; height:40; left:8; visibility:hidden}
DIV.clSlideSub2{position:absolute; ;z-index:100; padding:0px; width:150; height:20; left:8; visibility:hidden}
#divSlideCont{position:absolute; z-index:100; left:0; top:100; height:60; width:150; visibility:hidden}
A.clSlideLinks{font-family:Arial, Verdana, Helvetica; font-size:15px; font-weight:bold; text-decoration:none; color:#5D5D5D}
A.clSlideSubLinks{font-family:Arial, Verdana, Helvetica; font-size:9px; text-decoration:none; color:#5D5D5D}
A.clSlideSub2Links{font-family:Arial, Verdana, Helvetica; font-size:9px; text-decoration:none; color:"#5D5D5D"}
A.clSlideLinks:hover{text-decoration: underline; color: black}
A.clSlideSubLinks:hover{text-decoration: underline; color: black}
A.clSlideSub2Links:hover{text-decoration: underline; color: red}
</style>

<script language="JavaScript" src="menu11.js"></script>






</head>

<body bgcolor="#FFFF00" text="#FFFFFF" link="#FFFFFF" topmargin="0" leftmargin="0">




<script language="JavaScript" src="menu22.js"></script>




</body>
</html>


--------------------
NULL
PMEmail Poster
Top

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0255 ]   [ 10 queries used ]   [ GZIP выключен ]