Jump to content
  • 0

java меню


Rambo2045
 Share

Question

Вверху есть 3 цветные кнопки нужно чтобы при клике на любую из них открывался такой блок с номером.Соответственно к остальным 2м кнопкам другие номера. http://itmages.ru/image/view/235603/8dbc80cc

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Подскажите как сделать ,чтобы ссылка выезжала не с самого верха ,а на 30px ниже?

<html>
<head>
<title>сайт</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1251">
<Style>
A:Link{ Color: #000000; Text-decoration: underline}
A:Visited{ Color: #000000; Text-decoration: underline}
A:Hover{ Color: #000000; Text-decoration: none}
td, body {font-family: verdana, arial, helvetica; font-size:11px;}
</Style>
<script language="JavaScript">
var eypos=-200, ejump=-4;
var typos=-260, tjump=-4;
var delay=2;
function do_menue()
{
if(typos>-260)
{
tjump=-4;
if(typos>=130)
head_fahren();
}
ejump=-ejump;

if(eypos<=-200 || eypos>=20)

menue_fahren();
}

function menue_fahren()
{
if(document.layers) document.menue.top=eypos; else document.all.menue.style.top=eypos;
eypos+=ejump;
if(eypos>-200 && eypos<20)
setTimeout("menue_fahren()", delay);
}

function do_head()
{
if(eypos>-200)
{
ejump=-4;
if(eypos>=20)
menue_fahren();
}
tjump=-tjump;
if(typos<=-260 || typos>=130)
head_fahren();
}
function head_fahren()
{
if(document.layers) document.head.top=typos; else document.all.head.style.top=typos;
typos+=tjump;
if(typos>-260 && typos<130)
setTimeout("head_fahren()", delay);
}
</script>
</head>
<div style="position:absolute; top:0; right:0; margin-right:140px;">
<p><input type="button" value="Навигация по разделу"
onClick="javascript:do_menue()">
</p>
</TABLE>
</div>
<div id=menue style="position:absolute; top:-200; left:50; z-index: 2;">
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=3 width=450>
<TR>
<TD>
<A ONMOUSEOVER="window.status='Здесь должен быть ваш текст' ;return true" HREF="http://www.aceweb.ru" target="dummy">[ВАШ ТЕКСТ 7]</a></TD>
</TR>
</TABLE>
</div>
</html>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy