آژانس هواپیماییfootbal

درخواست جاوا منوی سایت شبیه به منوی سرچ یاهو

شروع موضوع توسط amirali_m ‏30 جولای 2004 در انجمن JavaScript , VBScript

  1. amirali_m

    amirali_m کاربر تازه وارد

    سلام...
    یه جاوا نیاز دارم مثل منوی سرچ یاهو که رنگش هم عوض می شه .
    نتونستم همون جاوا رو استفاده کنم . (كه پايين كپي كردم)کسی می دونه شبیه به این جاوا رو از کجا بیارم و یا همین رو چطوری تغییر بدم ؟
    HTML:
    <html><head>
    
    <script language="JavaScript">
    <!--
    
    function SymError()
    {
      return true;
    }
    
    window.onerror = SymError;
    
    var SymRealWinOpen = window.open;
    
    function SymWinOpen(url, name, attributes)
    {
      return (new Object());
    }
    
    window.open = SymWinOpen;
    
    //-->
    </script>
    
    <script language=javascript>
    var now=new Date,t1=0,t2=0,t3=0,t4=0,t5=0,t6=0,ie5=0,hp=0,ao=0,cc='';t1=now.getTime();
    function err(a,b,c) {
    var img=new Image;
    img.src='http://srd.yahoo.com/hp5-err/'+escape(a)+','+escape(b)+','+escape(c)+'/*1';
    return true;
    }
    window.onerror=err;
    </script>
    
    <title>meno</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l r (cz 1 lz 1 nz 1 oz 1 vz 1) gen true for "http://www.yahoo.com" r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l r (n 0 s 0 v 0 l 0) gen true for "http://www.yahoo.com" r (n 0 s 0 v 0 l 0))'>
    <base href="http://www.yahoo.com/_ylh=X3oDMTB1M2EzYWFoBF9TAzI3MTYxNDkEdGVzdAMwBHRtcGwDaWUtYmV0YQ--/" target=_top>
    <style type="text/css"><!--
    .yhmpabd{border-left:solid #4d99e5 1px;border-right:solid #4d99e5 1px;border-bottom:solid #4d99e5 1px;}
    .yhmnwbd{border-left:solid #9b72cf 1px;border-right:solid #9b72cf 1px;}
    .yhmnwbm{border-left:solid #9b72cf 1px;border-right:solid #9b72cf 1px;border-bottom:solid #9b72cf 1px;}
    //--></style>
    <script language=javascript><!--
    lck='',sss=1091186695;//--></script>
    <script language=javascript>
    var b,d,l='',n='0',r,s,y;
    y=' '+document.cookie+';';
    if ((b=y.indexOf(' Y=v'))>=0) {
    y=y.substring(b,y.indexOf(';',b))+'&';
    if ((b=y.indexOf('l='))>=0) {
    l=y.substring(b+2,y.indexOf('&',b));
    if((b=y.indexOf('n='))>=0)n=y.substring(b+2,y.indexOf('&',b));
    }
    }
    d=new Date();
    s=Math.round(d.getTime()/1000);
    r=Math.round(parseInt(n,32)%1021);
    if (lck!=l) {
    document.write('<meta http-equiv="Expires" content="-1">');
    if (location.search.indexOf('r'+r+'=')!=1) {
    location.replace('http://'+location.hostname+location.pathname+'?r'+r+'='+s);
    }
    }
    </script>
    <!--[if IE]><style type="text/css">
    td, #tabs{font:x-small arial}
    #tabs{position:relative;width:50em}
    #tabs .on, #tabs .off{width:8em;text-align:center;margin-left:10px}
    #tabs .ta{border-left:1px solid #999; border-right:1px solid #999; border-top:1px solid #999; color:#00f;width:100%;border-bottom:0px none;background:#F3F3F3; padding-left:0; padding-right:0; padding-top:1px; padding-bottom:3px}
    #tabs .on{border-left:1px solid; border-right:1px solid; border-top:1px solid; border-bottom:0px solid; font-weight:bold;position:relative;bottom:-1px;padding-left:0; padding-right:0; padding-top:2px; padding-bottom:3px}
    #tabs #2{margin-left:0}
    .on2, #2 :hover{background:#D2E4FC;border-color:#7EAEFF}
    .on3, #3 :hover{background:#E6E6E6;border-color:#666}
    .on4, #4 :hover{background:#FEF7BC;border-color:#E3C353}
    .on5, #5 :hover{background:#F7F3FF;border-color:#9C72CE}
    .on6, #6 :hover{background:#D6EFB6;border-color:#71B653}
    #srch input{font-size:100%;vertical-align:middle}
    #ttl{width:12em;text-align:right}
    </style><![endif]-->
    <!--[if lt IE 5.5]><style>
    #tabs{margin-bottom:-.24em}
    </style><![endif]-->
    <!--[if IE]><script language=javascript>
    function atag(id) {
    return document.getElementById(id).getElementsByTagName('a')[0];
    }
    function markme() {
    if (!window.event.shiftKey) document.sf1.p.focus();
    }
    var last=0;
    function nextTab(brk) {
    var n;
    if (last)
    n=last.id
    else
    n=2
    n++;
    if (n>6) {
    if (brk) return true;
    document.sf1.sub.focus();
    } else {
    setTabs(atag(n),2);
    }
    return false;
    }
    function prevTab() {
    var p;
    if (last)
    p=last.id
    else
    p=2;
    p--;
    if (p<2) {
    atag('mark').focus();
    return true;
    } else {
    setTabs(atag(p),2);
    }
    return false;
    }
    opts = new Array();
    
    
    opts['2']=new Array('r/sx/*-http://search.yahoo.com/search','web','r/so','r/sy',90);
    opts['3']=new Array('r/00/*-http://images.search.yahoo.com/search/images','img','r/01','r/sy',91);
    opts['4']=new Array('r/04/*-http://yp.search.yahoo.com/search/ypredirect','yp',0,0,92);
    opts['5']=new Array('r/05/*-http://news.search.yahoo.com/search/news','news','r/0c','r/sy',93);
    opts['6']=new Array('r/06/*-http://search.shopping.yahoo.com/search;_ylc=X3oDMTFncmo3bG5vBF9HA2dsb2JhbF9ncm91cARfUwMyNzE2MTQ5BHNlYwNzZWFyY2gEc2xrA2J1dHRvbg--','prod','r/07',0,94);
    function setTabs(o,f){
    var tab=o.parentNode;
    var id=tab.id;
    document.sf1.tab.value=id;
    document.sf1.action=opts[id][0];
    document.sf1.fr.value='FP-tab-'+opts[id][1]+'-t';
    if (f) document.sf1.p.focus();
    var img=new Image();
    img.src='r/'+(opts[id][4]+((document.sf1.p.value=='')?0:5));
    if (!last) last=document.getElementById(2);
    last.className='off';
    last.innerHTML='<a href=. onclick="return false" onfocus="setTabs(this,1)" class=ta>'+last.innerHTML+'</a>';
    tab.innerHTML=o.innerHTML;
    tab.className='on on'+id;
    last=tab;
    var adve=document.getElementById('adv');
    var prfe=document.getElementById('prf');
    document.getElementById('ttl').innerHTML='Search '+((id==2)?'the ':'')+'<b>'+tab.innerHTML+'</b>:&nbsp;';
    document.getElementById('srch').className='on'+id;
    adve.style.display=(adve.getElementsByTagName('a')[0].href=opts[id][2])?'inline':'none';
    prfe.style.display=(prfe.getElementsByTagName('a')[0].href=opts[id][3])?'inline':'none';
    }
    </script><![endif]-->
    </head>
    <body id=bod topmargin=7 marginheight=7>
    <center>
    &nbsp;<!--[if IE]><span id=mark><a href=. onfocus="markme()"></a></span><script language=javascript>
    document.write('<div id=tabs><font class="on on2" id=2><b>&shy;</b>Web</font> <font class=off id=3><a href=. onclick="return false" onfocus="setTabs(this,1)" class=ta><b>&shy;</b>Images</a></font>');
    if (!document.images.length||document.images(0).src.length<60) document.write(' <font class=off id=4><a href=. onclick="return false" onfocus="setTabs(this,1)" class=ta><b>&shy;</b>Yellow Pages</a></font>');
    document.write(' <font class=off id=5><a href=. onclick="return false" onfocus="setTabs(this,1)" class=ta><b>&shy;</b>News</a></font> <font class=off id=6><a href=. onclick="return false" onfocus="setTabs(this,1)" class=ta><b>&shy;</b>Products</a></font></div>');
    </script><![endif]--><table cellspacing=0 cellpadding=0 class=on2 id=srch style="height:2.9em;font-family:arial;font-size:x-small;width:50em;border:1px solid">
      <form name=sf1 style="margin:0" action="r/sx/*-http:/search.yahoo.com/search"><tr><td nowrap id=ttl>
        &nbsp;</td><td nowrap><input type=text size=36 name=p>&nbsp; &nbsp;</td><td nowrap width=100%><small><span id=adv>
        • <a href=r/so>Advanced</a><br></span><span id=prf>• <a href=r/sy>
        Preferences</a></span></small></td></tr><input type=hidden name=ei value=UTF-8><input type=hidden name=fr value=FP-tab-web-t><input type=hidden name=cop value=mss><input type=hidden name=tab></form></table>
    <br>
    </center>
    <form name=hf><input type=hidden name=h></form>
    
    <script language=javascript>
    now=new Date;
    t4=now.getTime();
    var s=screen,b=document.body,p=document.all.news,x=0,y=0;
    x=p.offsetWidth;
    y=p.offsetHeight;
    while (p) {
    x+=p.offsetLeft;
    y+=p.offsetTop;
    p=p.offsetParent;
    }
    b.style.behavior='url(#default#clientCaps)';
    cc='/hp='+(hp?1:0)+'/ct='+b.connectionType+'/sh='+s.height+'/sw='+s.width+'/ch='+b.clientHeight+'/cw='+b.clientWidth+'/nx='+x+'/ny='+y+'/ao='+(ao?1:0);
    </script>
    </body></html>
    
    
    <script language="JavaScript">
    <!--
    var SymRealOnLoad;
    var SymRealOnUnload;
    
    function SymOnUnload()
    {
      window.open = SymWinOpen;
      if(SymRealOnUnload != null)
         SymRealOnUnload();
    }
    
    function SymOnLoad()
    {
      if(SymRealOnLoad != null)
         SymRealOnLoad();
      window.open = SymRealWinOpen;
      SymRealOnUnload = window.onunload;
      window.onunload = SymOnUnload;
    }
    
    SymRealOnLoad = window.onload;
    window.onload = SymOnLoad;
    
    //-->
    </script>
     
خرید بک لینکreviews عسل طبیعی و گرده گل ایرانی