Help Admin

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Help Admin » Scripts » Меню, выплывающее из-за левого края экрана.


Меню, выплывающее из-за левого края экрана.

Сообщений 1 страница 7 из 7

1

Меню, выплывающее из-за левого края экрана.

Код:
<HEAD>
<script type="text/javascript">
var x=0
var t
function startBackSlide()
{if (x>=-250)
{document.getElementById('weird').style.left=x
x=x-1
t=setTimeout ("startBackSlide()", 3)}}
</script>
<script type="text/javascript">
var x=-250
var t
function startSlide()
{if (x<=0)
{document.getElementById('weird').style.left=x
x=x+1
t=setTimeout ("startSlide()", 3)}}
</script>
</HEAD>
<div id="staticcontent" style="position:absolute; z-index: 0; background-color: transparent; width: 550px;">
<table  id="weird" border="1" style="position: absolute; left: -250px; border-color: #663300; background-color: #663300;"><tr><td  background="http://img83.imageshack.us/img83/1821/centerwd1.jpg" width=250px height=350px style="font-weight: bold; font-size: 0,6; font-family: Verdana; color: #000000; line-height: 2; text-align: center; vertical-align: middle;"> Меню: <br /><a hre="http://testingmyforum1.4bb.ru/">Главная</a><br /><a href="http://testingmyforum1.4bb.ru/chat.php">ЧАТ</a><br /><a href="http://testingmyforum1.4bb.ru/userlist.php">Список участников</a> <br /><a href="http://testingmyforum1.4bb.ru/profile.php?id=2">Профиль</a><br/><a href="http://testingmyforum1.4bb.ru/messages.php">Личные сообщения</a><br /><a href="http://testingmyforum1.4bb.ru/search.php">Поиск</a><br /><a href="http://testingmyforum1.4bb.ru/search.php?search_id=397077267">Сообщения без ответов</a><br/><a href="http://testingmyforum1.4bb.ru/index.php">Все прочитано</a><br /><a href="http://testingmyforum1.4bb.ru/search.php?action=show_subscriptions">Подписка</a></td><td width=15px height= 350px style="font-weight: bold; font-size: 2; font-family: Verdana; color: #000000; line-height: 1; text-align: center; vertical-align: middle;"><a href="javascript:startSlide();">&#62<br /><br /><a href="javascript:startBackSlide();">&#60<br />M<br />Е<br />Н<br />Ю</td></tr></table></div>
<script type="text/javascript">
var crossobj=document.all? document.all.staticcontent : document.getElementById("staticcontent")
var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body

function positionit(){
var dsocleft=document.all? iebody.scrollLeft : pageXOffset
var dsoctop=document.all? iebody.scrollTop : pageYOffset
if (document.all||document.getElementById){
crossobj.style.left=parseInt(dsocleft)+5+"px"
crossobj.style.top=dsoctop+5+"px"
}
}
setInterval("positionit()",10)
</script>

Не забудьте в коде таблицы заменить все адреса форума testingmyforum1.4bb.ru на свой.

0

2

А где этот код вставлять?

0

3

В html-низ.

0

4

пасибки попробую

0

5

так меню поставила,только при этом вверху то оно тоже сохранилось,как его убрать?

0

6

perishell написал(а):

так меню поставила,только при этом вверху то оно тоже сохранилось,как его убрать?
0+-

Тот же вопрос.

0

7

Так-с, код, убирающий меню:

Код:
<style>
#pun-navlinks, #pun-navlinks ul, #pun-navlinks .container {
display:none;
}
</style>

0


Вы здесь » Help Admin » Scripts » Меню, выплывающее из-за левого края экрана.