|
|
ru.website- RU.WEBSITE ------------------------------------------------------------------- From : Alexey Medvedev 2:463/733.137 29 Aug 2000 00:37:42 To : Alexander Kitsyuk Subject : Паpy вопpосов [js] NN - hover -------------------------------------------------------------------------------- -=- -- Приветик, многоуважаемый Alexander! Вcк Авг 20 2000 18:03, Alexander Kitsyuk писал к тов. All: AK> 1. Hyжен скpипт менюшки (Java), котоpый бы pаботал в большинстве Java? :)))))) ili taki JS? AK> бpаyзеpов (ИЁ, HетШкаф, Опеpа, Мозила). Лазил я по инетy в их поисках ne videl takih. V opera - somnevayus' chto mozhno AK> 2. В нетскейпе никак нельзя сделать изменение бекгpаyнда линка пpи AK> наведении на него мышки (как в ИЕ, мозилле и опеpе)? Mozhno -------------------------- <HTML><HEAD><!-- Meta http equivalent was here --><TITLE>Выделение ссылок</TITLE> <!--SCRIPT language=JavaScript src=http://www.aurora.ru/vphp/monku.php></SCRIPT--> <style type="text/css"><!-- A:link {font-family:Helvetica;COLOR:#ffcc66;TEXT-DECORATION:none;font-size:12px;line-h eight:18px} A:visited {font-family:Helvetica;COLOR:#ffcc66;TEXT-DECORATION:none;font-size:12px;line-h eight:18px} a:hover.chclr {color:#ffff99} a:hover.backhigh1 {background:#663333} a:hover.underline1 {text-decoration:underline} --></style> <SCRIPT LANGUAGE=JavaScript><!-- function showlr(layName){ if(document.layers)document.layers[layName].visibility='show' if(document.all) document.all(layName).style.visibility='visible' } function hidelr(layName){ if(document.layers)document.layers[layName].visibility='hide' if(document.all) document.all(layName).style.visibility='hidden' } //--></SCRIPT> </HEAD> <BODY BGCOLOR=#ffcc66 link=red text=#330000 vlink=red> <a name=top></a> <div id=srtcut1 style="position:absolute;left:10;top:3;width:100;height:18;background:#330000"> <layer name=s1 top=0 left=5 width=100 height=22 bgColor =#330000 onmouseover=showlr('srtcut1h')> <a href=#top class=chclr>  Цвет_текста</a></layer></div> <div id=srtcut1h style="position:absolute;left:10;top:3;width:100;height:22;visibility:hidden"> <layer name=s1h top=0 left=5 width=100 height=22 bgColor =#330000 onmouseout=hidelr('srtcut1h')> <a href=#top><font color=#ffff99>  Цвет_текста</font></a></layer></div> <div id=srtcut2 style="position:absolute;left:200;top:3;width:100;height:22;background:#330000" > <layer name=s2 top=0 left=5 width=100 height=22 bgColor =#330000 onmouseover=showlr('srtcut2h')> <a href=#top class=underline1>  Подчеркивание</a></layer></div> <div id=srtcut2h style="position:absolute;left:200;top:3;width:100;height:22;background:#330000; visibility:hidden"> <layer name=s2 top=0 left=5 width=100 height=22 bgColor =#330000 onmouseout=hidelr('srtcut2h')> <a href=#top>  <u>Подчеркивание</u></a></layer></div> <div id=srtcut3 style="position:absolute;left:400;top:3;width:100;height:22"> <table width=100 height=22 bgColor=#330000><td align=center> <layer name=s3 top=0 left=5 width=100 height=22 bgColor =#330000 onmouseover="document.bgColor ='#663333'" onmouseout="document.bgColor ='#330000'"> <a href=#top class=backhigh1>  Цвет_фона</layer></a></td></table></div> <br><h1>Три варианта выделения ссылок</h1> <IMG SRC=trouble.gif alt="возможна проблема">Во избежание излишней головной боли не рекомендуется использовать<br>где-либо кроме меню (или =), что-либо сложнее чем: <form NAME=f><textarea NAME=hintt ROWS=16 COLS=60 wrap=soft> <HTML><HEAD> <style type="text/css"><!-- A:link {COLOR:#ffcc66;TEXT-DECORATION:none} a:hover.tcolor {color:#ffff99} a:hover.underline1 {text-decoration:underline} a:hover.backhigh1 {background:#663333} --></style> </HEAD><BODY> <a href=#p1 class=tcolor> Цвет_текста</a> <a href=#p2 class=underline1> Подчеркивание</a> <a href=#p3 class=backhigh1> Цвет_фона</a> <!--Dictum sapienti sat.--></BODY></HTML> </textarea></form> </P><font size=1>Andrey S. Dubovsky on </font><a href=http://www.aurora.ru/index_www.htm><font size=1 color=red>AURORA.RU</font></a> </BODY></HTML> ---------------------------------------------------------------- AK> 3. Имеем таблицy. В левой колонке - линки. Hyжно, чтобы пpи AK> на них кypсоpа мыши в пpавой колонке появлялся текст (для каждого sozdaj novij sloj i ego zamenyaj -=- Malx -=- Да пребудет с тобой.... --- GoldED 3.00.Alpha4+ * Origin: Word is not a color but a picture... (2:463/733.137) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.website/398339ab1498.html, оценка из 5, голосов 10
|