Их полно на инете, но хотелосьбы чтобы кто-то посоветовал какая лучше.
Надо чтобы под всеми браузерами работала. И бесплатно
![Mentor :umnik1:](./images/smilies/umnik.gif)
Если есть оболочка .NET WebControl еще лучше. Но это неважно.
Sergey___K wrote:я бы взял умную книгу вроде вот этой http://www.bookpool.com/.x/725jhkoyii/sm/0596000480 и прочитал бы ее первую треть. Многие вопросы обычно после этого отпадают сами собой со звуками "Ах, е-мое, вот оно как".
katit wrote:Sabina wrote:Если вам понравится sliding/wrap/unwrap менюшка, могу прислать source code
Менюшка интересная. Но не то что мне надо.
А как там wrap/unwrap посмотреть?
Code: Select all
<div id="menuSelect">
<a href="#" onClick="moveOnMenu();moveOffSelector()">
<font face='georgia' size='1pt'>Click to See Menu</font><br><img src="icon.jpg" width="74" height="23" border="0"></a>
</div>
<div id="menuShow">
<a href="#" onClick="moveOffMenu();moveOnSelector()">
<font face='georgia' size='1pt'>Click to Hide Menu</font><br><img src="icon.jpg" width="74" height="23" border="0"></a>
<br>
<br>
<a href='<%=response.encodeURL("user-home.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Home</a><br>
<a href='<%=response.encodeURL("user-news.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">News</a><br>
<a href='<%=response.encodeURL("request-profile.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Submit a request</a><br>
<a href='<%=response.encodeURL("user-directory.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">View active users</a><br>
<a href='<%=response.encodeURL("user-profile.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Edit User Profile</a><br>
<a href='<%=response.encodeURL("techsupport.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Contact Support</a><br>
<a href='<%=response.encodeURL("techsupport.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Submit a Bug</a><br>
<a href='<%=response.encodeURL("user-dates.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Calendar</a><br>
<a href='<%=response.encodeURL("user-docs.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Library</a><br>
<a href='<%=response.encodeURL("user-msg.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Message Board</a><br>
<a href='<%=response.encodeURL("change-password.html")%>' FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia">Change Password</a><br>
<a href="user-login.html?action=logoff FACE="Georgia" style="color:#7E8ED0;text-decoration:none;font:12pt georgia"">Logout</a><br>
</div>
<!--
Put the following script immediately *after* the
<div>'s (above) in your page. Set the variables as
indicated in the script.
//-->
<script>
// (C) 2001 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.
// Set Show to "yes" to show the menu on start-up.
// Set Show to "no" to show the selector on start-up.
Show ="no";
// Set OffX in pixels to a negative number
// somewhat larger than the width of the menu.
var OffX = -250;
// Set the PosX and PosY variables
// to the location on the screen where the
// menu should position (in pixels) when stopped.
var PosX = 0;
var PosY = 55;
// Usually, use the settings shown; but you can
// change the speed and the increment of motion
// across the screen, below.
var speed = 2;
var increment = 1;
var incrementNS4 = 5; // for slower NS4 browsers
// do not edit below this line
// ===========================
var is_NS = navigator.appName=="Netscape";
var is_Ver = parseInt(navigator.appVersion);
var is_NS4 = is_NS&&is_Ver>=4&&is_Ver<5;
var is_NS5up = is_NS&&is_Ver>=5;
var MenuX=OffX;
var SelX=PosX;
var sPosX=PosX;
var sOffX=OffX;
if (Show=="yes"){
sPosX=OffX;
sOffX=PosX;
MenuX=sOffX;
SelX=sPosX;
}
if (is_NS4){
increment=incrementNS4;
Lq="document.layers.";
Sq="";
eval(Lq+'menuSelect'+Sq+'.left=sPosX');
eval(Lq+'menuShow'+Sq+'.left=sOffX');
eval(Lq+'menuSelect'+Sq+'.top=PosY');
eval(Lq+'menuShow'+Sq+'.top=PosY');
}else{
Lq="document.all.";
Sq=".style";
document.getElementById('menuSelect').style.left=sPosX+"px";
document.getElementById('menuShow').style.left=sOffX+"px";
document.getElementById('menuSelect').style.top=PosY+"px";
document.getElementById('menuShow').style.top=PosY+"px";
}
function moveOnMenu(){
if (MenuX<PosX){
MenuX=MenuX+increment;
if (is_NS5up){
document.getElementById('menuShow').style.left=MenuX+"px";
}else{
eval(Lq+'menuShow'+Sq+'.left=MenuX');
}
setTimeout('moveOnMenu()',speed);
}
}
function moveOffMenu(){
if (MenuX>OffX){
MenuX=MenuX-increment;
if (is_NS5up){
document.getElementById('menuShow').style.left=MenuX+"px";
}else{
eval(Lq+'menuShow'+Sq+'.left=MenuX');
}
setTimeout('moveOffMenu()',speed);
}
}
function moveOffSelector(){
if (SelX>OffX){
SelX=SelX-increment;
if (is_NS5up){
document.getElementById('menuSelect').style.left=SelX+"px";
}else{
eval(Lq+'menuSelect'+Sq+'.left=SelX');
}
setTimeout('moveOffSelector()',speed);
}
}
function moveOnSelector(){
if (SelX<PosX){
SelX=SelX+increment;
if (is_NS5up){
document.getElementById('menuSelect').style.left=SelX+"px";
}else{
eval(Lq+'menuSelect'+Sq+'.left=SelX');
}
setTimeout('moveOnSelector()',speed);
}
}
-->
</script>