Jump to content
php.lv forumi

Recommended Posts

Posted
<script language="JavaScript" type="text/JavaScript">

<!--

 

if(parent.frames[0])

{

parent.location.href = self.location.href;

}

 

if(document.getElementById&&!document.all){ns6=1;}else{ns6=0;}

var agtbrw=navigator.userAgent.toLowerCase();

var operaaa=(agtbrw.indexOf('opera')!=-1);

var head="display:''";

var folder='';

function expandit(curobj){

if(ns6==1||operaaa==true){

folder=curobj.nextSibling.nextSibling.style;

}else{

folder=document.all[curobj.sourceIndex+1].style;

}

 

if (folder.display=="none"){folder.display="";}else{folder.display="none";}

}

 

 

function urljump(url){

top.window.location = url;

}

 

function dblclick(){

window.scrollTo(0,0)

}

if (document.layers) {document.captureEvents(Event.ONDBLCLICK);}

document.ondblclick=dblclick;

function openwindow(url) {

pwindow = window.open(url,'Name', 'top=100,left=100,resizable=yes,width=600,height=400,scrollbars=yes,menubar=y

es')

}

 

function preloadimages(nbrpic,pic){

    myimages=new Image();

    myimages.src=pic;

}

 

//-->

</script>

<script language="JavaScript" type="text/JavaScript">

<!--

function updatecook(itemmenu){

cookitem='span_'+itemmenu;

if(document.getElementById(cookitem).style.display!='none'){

  var expireDate = new Date;

  expireDate.setMinutes(expireDate.getMinutes()+10);

  document.cookie = "treemenustatus=" + itemmenu + "; expires=" + expireDate.toGMTString();

}

else{

  clearcook();

}

}

 

 

function clearcook(){

var expireDate = new Date;

expireDate.setMinutes(expireDate.getMinutes()+10);

document.cookie = "treemenustatus=" + "0" + "; expires=" + expireDate.toGMTString();

}

 

 

//-->

</script>

 

<DIV onclick=clearcook();></DIV>

<div align="left"><a style = "cursor:hand;text-decoration:underline;color:blue;" " target=$m_target onclick='expandit(this);updatecook("pirmais");'>Saites</a></div>

<SPAN id=span_pirmais style="DISPLAY: none; head: ">   

<div align"left"><a href="http://www.tvnet.lv">tvnet</a></div>

<div align"left"><a href="http://www.delfi.lv">delfi</a></div>

</span>

:unsure: Iekopeejie un psakataties shis ir kjipa dropdown menu bet uz opera nestraadaa vai ir iespeeja redzeet to darbiibaa uz opera.palabojiet,vai paraadiet jaunu!. P.S. shis nav mans skripts.
Posted

Atceros ka bija kaut kaads tiger scripts par tiem dropdowniem un man liekas, ka tas raadijas uz visiem. Pameklee gugle vai hotscriptos

  • 3 weeks later...
Posted

atradu citu,bet tas visu veel vairaak sacakareeja. nonjeemu vispaar no sava menu navigaacijas. tas isteniibaa nav vajadziigs. B)

Posted

tas jau ir saprasts vienkaarshi es neesmu specializeejies :D javascript valodaa!

taapat tagad tas man vairs nav vajadziigs

×
×
  • Create New...