t singleview




Question: in(title)
in(description)



in(viewlink)





var win=null;
function Viewin(rand)(id){
var rndURL = (1000*Math.random());
var myname="in(rand)";
var w = "in(Width)";
var h = "in(Height)";
var pos = "in(position)";
if("in(position)" == "absolute"){
var TopPosition = in(ptop);
var LeftPosition = in(pleft);
}
var mypage = "in(cgiurl)?database=in(database)&command=viewone&id="+id+"&rnd="+rndURL;
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random" && pos!= "absolute") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=in(scrollbar),location=in(locationbar),directories=in(directories),status=in(status),menubar=in(menubar),toolbar=in(toolbar),resizable=in(resizable)';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}



Wyszukiwarka

Podobne podstrony:
VA US Top 40 Singles Chart 2015 10 10 Debuts Top 100
SingleInstanceListener
Lista Komend Do Single player commands
Beyoncé Single ladies (Put a ring on it)
Singleton
German Top 100 Single Charts 02 02 2015 (2015) Tracklista
portfolio single slider full
German TOP100 Single Charts (2 03 2015) Tracklista
Ramos Space Time Calculus based ON A SINGLE NULL DIRECTION [sharethefiles com]
wielkomiejscy single Julita Czernecka fragmenty
Lynsay Sands Argeneau 3 Single White Vampire (v1 2)
The Single M and the Tycoon
Single HumanPlus (3)
MetalFileChooserUI SingleClickListener

więcej podobnych podstron