"Плавающая навигация" на js

Nest

Новичок
"Плавающая навигация" на js

Короче нужна навигация которая бы выравневалась постоянно по middl'у определпнной область страницы и если страница слишком велика то эта навигация сама опускалась наниз, гдето видел потобное на какомто сайте но где, непомню, давно было а сейчас самому надо, может кто-то подскажет
 

Beetle(c)]u$

Новичок
PHP:
<noindex>

<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["yfatchr",430,"","blank.gif",1,"stgcl()+245","stgct()+83",0,0,250,0,20,1,0,0,"","",0],this);
stm_bp("p0",[0,4,0,0,0,1,0,0,100,"",-2,"",-2,90,0,0,"#000000","#cccccc","",3,1,1,"#000000"]);
stm_ai("p0i0",[6,1,"#000000","",-1,-1,0]);
stm_ai("p0i1",[0,"   Home   ","","",-1,-1,0,"http://www.awz.ru","_self","","","","",0,0,0,"","",0,0,0,1,1,"#000000",0,"#000000",0,"","",3,3,0,0,"#0099cc","#000000","#ffffff","#ffffff","bold 9pt Arial","bold 9pt Arial",0,0]);
stm_aix("p0i2","p0i1",[0,"   Your Account   ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#990000",0,"#cccccc",0,"","fade.gif",3,3,0,0,"#000000","#000000","#ffffff","#ffffff","9pt Arial","9pt Arial"]);
stm_bpx("p1","p0",[1,4,0,0,1,3,0,0,100,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.62)",12,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion=forward,enabled=0,Duration=0.62)",6,48,2,10,"#000000","#ffffff","",3,1,2]);
stm_aix("p1i0","p0i2",[0,"Ваша персональная страница","","",-1,-1,0,"account.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#cc3300",0,"#cccccc",1,"","fade.gif",3,3,0,0,"#cccc00","#cccc00"]);
stm_ep();
stm_aix("p0i3","p0i0",[]);
stm_aix("p0i4","p0i2",[0,"     Статьи     "]);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Обзоры игр","","",-1,-1,0,"content-cat-3.html"]);
stm_ep();
stm_aix("p0i5","p0i0",[]);
stm_aix("p0i6","p0i2",[0,"    Downloads    "]);
stm_bpx("p3","p1",[1,4,0,0,1,3,8]);
stm_aix("p3i0","p1i0",[0,"Начало раздела","","",-1,-1,0,"files.html","_self","","","","",8]);
stm_aix("p3i1","p3i0",[0,"Всё для ICQ                      ","","",-1,-1,0,"http://www.awz.ru/modules.php?name=Files&amp;go=showcat&amp;cid=2"]);
stm_aix("p3i2","p1i0",[0,"Итересный софт","","",-1,-1,0,"http://www.awz.ru/modules.php?name=Files&amp;go=showcat&amp;cid=3"]);
stm_ep();
stm_aix("p0i7","p0i0",[]);
stm_aix("p0i8","p0i2",[0,"    Forums     "]);
stm_bpx("p4","p1",[1,4,0,0,1,1,0,0,100,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.62)",12,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion=reverse,enabled=0,Duration=0.62)",7]);
stm_aix("p4i0","p1i0",[0,"Список форумов","","",-1,-1,0,"forums.html"]);
stm_aix("p4i1","p1i0",[0,"Soft- ссылки на программы","","",-1,-1,0,"forum-1.html"]);
stm_aix("p4i2","p1i0",[0,"Игры- ссылки на игры, обсуждения","","",-1,-1,0,"forum-2.html"]);
stm_aix("p4i3","p1i0",[0,"MP3- downloads mp3","","",-1,-1,0,"forum-3.html"]);
stm_aix("p4i4","p1i0",[0,"ICQ","","",-1,-1,0,"forum-4.html"]);
stm_aix("p4i5","p1i0",[0,"Флейм","","",-1,-1,0,"forum-5.html"]);
stm_ep();
stm_aix("p0i9","p0i0",[]);
stm_aix("p0i10","p0i2",[0,"   Фотоприколы    "]);
stm_bpx("p5","p0",[1,4,0,0,1,1,0,0,100,"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.62)",12,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion=forward,enabled=0,Duration=0.62)",6,48,2,10,"#000000","#ffffff"]);
stm_aix("p5i0","p1i0",[0,"Эротические","","",-1,-1,0,"article-category-2.html"]);
stm_aix("p5i1","p1i0",[0,"Женщины","","",-1,-1,0,"article-category-4.html"]);
stm_aix("p5i2","p1i0",[0,"Животные и природа","","",-1,-1,0,"article-category-1.html"]);
stm_aix("p5i3","p1i0",[0,"Политика","","",-1,-1,0,"article-category-9.html"]);
stm_aix("p5i4","p1i0",[0,"Спорт","","",-1,-1,0,"article-category-3.html"]);
stm_aix("p5i5","p1i0",[0,"Авто - Мото","","",-1,-1,0,"article-category-11.html"]);
stm_aix("p5i6","p1i0",[0,"Компьютерные","","",-1,-1,0,"article-category-7.html"]);
stm_aix("p5i7","p1i0",[0,"Приколы с детьми","","",-1,-1,0,"article-category-5.html"]);
stm_aix("p5i8","p1i0",[0,"Шутка юмора","","",-1,-1,0,"article-category-8.html"]);
stm_aix("p5i9","p1i0",[0,"Чёрный юмор","","",-1,-1,0,"article-category-6.html"]);
stm_aix("p5i10","p1i0",[0,"Анимированные","","",-1,-1,0,"article-category-12.html"]);
stm_aix("p5i11","p1i0",[0,"ОПТИЧЕСКИЕ ИЛЛЮЗИИ","","",-1,-1,0,"article-category-10.html"]);
stm_ep();
stm_aix("p0i11","p0i0",[]);
stm_aix("p0i12","p0i2",[0,"    Архив программ    ","","",-1,-1,0,"http://www.awz.ru/modules.php?name=Stories_Archive"]);
stm_bpx("p6","p5",[]);
stm_aix("p6i0","p1i0",[0,"  Игры","","",-1,-1,0,"article-topic-4.html"]);
stm_aix("p6i1","p1i0",[0,"  Security","","",-1,-1,0,"article-topic-5.html"]);
stm_aix("p6i2","p1i0",[0,"  Музыка MP3","","",-1,-1,0,"article-topic-3.html"]);
stm_ep();
stm_aix("p0i13","p0i0",[]);
stm_aix("p0i14","p0i2",[0,"   SuperTop   "]);
stm_bpx("p7","p5",[]);
stm_aix("p7i0","p1i0",[0,"Самое популярное на AWZ.RU","","",-1,-1,0,"top.html"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
</noindex>
как-то с сайта одного выдрал, только эта менюшка ориентирована на top
 

Beetle(c)]u$

Новичок
согласен, но люди, которые претендуют на то, чтоб называться знающими сказали, что скрипт типа оригинальный и грамотный
 

MiRacLe

просто Чудо
Beetle(c)]u$
"выдирать" надо было целиком, а не выборочно-кусочно как написано выше. (hint: где определения функций stm* ? )

оригинал находиться на сайте автора DHTMLmenu

"ориентировать" можно не только "top" - примеры по ссылке выше...

не знаю как "грамотный", но несомненными достоинствами этого скрипта является то что он работает "одинаково" в большом количестве браузеров и то, что меню при "показе" скрывает flash-ки, select-ы и другие Object-ы...
 

4m@t!c

Александр
А с вложенными кавычками проблема у знающих людей....
 

4m@t!c

Александр
Автор оригинала: MiRacLe
4m@t!c
поясни ?

&amp;quot; &amp;rsquot; никто не отменял...
вот код
PHP:
stm_bpx("p4","p1",[1,4,0,0,1,1,0,0,100,"progid<img src="images/smilies/biggrin.gif" border="0" alt="">XImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.62)",12,"progid<img src="images/smilies/biggrin.gif" border="0" alt="">XImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion=reverse,enabled=0,Duration=0.62)",7]);
Неэкранированные двойные кавычки внутри двойных кавычек это правильно?
 

Beetle(c)]u$

Новичок
хм, я из html-сорса это выдрал
ясен пень, что в примере не будет экранированных кавычек, т.к. это конечный результат
 

4m@t!c

Александр
[offtop]
Тогда в чем глубокий смысл давать такой огрызок в качестве примера? а дать ссылку, как это сделал MiRacLe?
[/offtop]
 
Сверху