Помогнете с таблиците

xAkc

Registered
Искам да направя таблица в центъра на индекса която да се отваря в самия индекс от два бутона, но без да ми се отваря друга страница..

Ето така изглежда менуто на 1-во време.

Код:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  <title>New Site</title>
<style type="text/css">
#navcontainer
{
background: #000;
border-top: 1px solid #9CC;
font: normal normal 13px Milano LET, Geneva, Arial, Helvetica, sans-serif;
}

#navlist
{
list-style: none outside none;
margin: 0;
padding: 0;
}

@media all {
#navlist {
text-align: center
}
}

#navlist li
{
bottom: 11px;
display: inline;
line-height: 1.2em;
margin: 0;
padding: 0;
position: relative;
}

html>body #navlist li
{
background: #000;
margin: 0 3px 0 0;
padding: 4px 0px 4px 0;
}

#navlist a, #navlist a:link, #navlist a:visited
{
background: #900;
border: 1px solid #FFF;
bottom: 2px;
color: #FFF;
cursor: pointer;
display: inline;
height: 1em;
margin: 0;
padding: 3px 5px 3px 5px;
position: relative;
right: 2px;
text-decoration: none;
}

#navlist a:hover
{
background: #900;
bottom: 1px;
color: #ddd;
position: relative;
right: 1px;
}

#navlist a:active
{
background: #999;
bottom: 0px;
color: #FFF;
position: relative;
right: 0px;
}

#navlist li#active
{
background: #999;
bottom: 13px;
display: inline;
margin: 0 3px 0 0;
padding: 0;
position: relative;
}

html>body #navlist li#active
{
background: #000;
margin: 0 4px 0 4px;
}

#navlist #active a, #navlist #active a:link, #navlist #active a:visited, #navlist #active a:hover
{
background: #369;
border-bottom: none;
border-left: 1px solid #9CC;
border-right: 1px solid #9CC;
border-top: 1px solid #9CC;
bottom: 0;
color: #FFF;
cursor: text;
margin: 0;
padding: 2px 5px 0 5px;
position: relative;
right: 0;
}
</style>
</head>
<body>
<div id="navcontainer">
<ul id="navlist">
<li><a href="#">Button 1</a></li>
<li><a href="#">Button 2</a></li>
</ul>
</div>

[/code]
 
http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm

защо не използваш това ? место цифрите слагаш бутони :lol:
 
Не неможахте да ме разберете.. Просто към бутоните да се вържат таблици които при натискане на дадения бутон 1 или бутон2 да се отваря таблицата с файлове в самия индекс.
 

Back
Горе