منویی که عناصرش فقط آیکن سایت ها باشه
سلام
من می خواستم تعداد زیادی لینک رو توی یه جای خیلی کوچیک جا بدم دیدم نمیشه. حالا می خوام به جاش یه منوی کوچیک بذارم که با کلیک روی هر یک از عنصرهای منو یه صفحه جدید باز بشه و به لینکی که توش هست بره. تا اینجاش رو کدش رو دارم. حالا مشکل:
می خوام به جای نوشته توی عناصر منو، یه آیکن بذارم بدون هیچ نوشته ای.
مشکل دوم (در مورد این کدی که خودم دارم:) این کد پایینی وقتی روی عناصر منو کلیک میشه یه پاپ آپ باز می کنه (یعنی صفحه ماکزیمم نیست). باید چیکار کنم که ماکزیمم باز کنه؟
اگه خودتون یه کد جدا دارید که خیلی بهتر ولی اگه ندارید این کد منو ویرایش کنید. ممنون
کد:
<!-- This script opens a separate window for the locations you give it.
Pages are neat but pictures make a cool photo album. Change the
attributes that read menubar=0,toolbar=0, etc... and Width & Height
to meet your needs. Make sure you place the URL's you want to go
to and their names below.-->
<script language="JavaScript">
<!-- Hide the script from old browsers --
function surfto(form)
{
var myindex=form.dest.selectedIndex
window.open(form.dest.options[myindex].value,"main","menubar=1,toolbar=0,location=0,directories=0,status=1,copyhistory=0,width=235,height=235");
}
//-->
</SCRIPT>
<FORM NAME="myform">
<SELECT NAME="dest" SIZE=1>
<OPTION VALUE="http://www.coffeecup.com">C
<OPTION VALUE="http://www.tmcm.com">T
<OPTION VALUE="http://www.netscape.com">N
<OPTION VALUE="http://www.infoseek.com">I
</SELECT>
<INPUT TYPE="BUTTON" VALUE="go" onClick="surfto(this.form)">
</FORM>