Jump to content
php.lv forumi

JAVA!


Ugga

Recommended Posts

<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.
Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...