Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

sn4ker

Essa janela popup é a melhor!!!! mas !

Recommended Posts

Bom seguinte... eu to com esse estilo (abaixo) de pop up... é oq eu quero usar mesmo! porém tem um problema... eu quero q ele abra normal em 640x480 e não assim fullscreen, então fiz o seguinte, editei o arquivo chromeless_35.js e mudei a linha var CWIN=window.open("",n,"fullscreen=1"+s) pra var CWIN=window.open("",n,"fullscreen=0"+s), certo... ai já abriu em janela normal...! só que agora ele tá mostrando a barra de titulo feiosa do windows com botao de minimiza, maximar e fecha... e também mostrando as bordas da janela! eu não queria que elas aparecerem!

alguém sabe como fazer isso!?

 

Nossa fico muito grato e preciso muito disso!

 

 

http://www.matador.hpg.com.br/sitepopup.zipa

 

renomiar pra zip

 

Valeu!!!!!! ^_^

Compartilhar este post


Link para o post
Compartilhar em outros sites

Bom seguinte... eu to com esse estilo (abaixo) de pop up... é oq eu quero usar mesmo! porém tem um problema... eu quero q ele abra normal em 640x480 e não assim fullscreen, então fiz o seguinte, editei o arquivo chromeless_35.js e mudei a linha var CWIN=window.open("",n,"fullscreen=1"+s) pra var CWIN=window.open("",n,"fullscreen=0"+s), certo... ai já abriu em janela normal...! só que agora ele tá mostrando a barra de titulo feiosa do windows com botao de minimiza, maximar e fecha... e também mostrando as bordas da janela! eu não queria que elas aparecerem!

alguém sabe como fazer isso!?

 

Nossa fico muito grato e preciso muito disso!

 

 

http://www.matador.hpg.com.br/sitepopup.zipa

 

renomiar pra zip

 

Valeu!!!!!!  ^_^

Bom dia, posso ajudar, você pode personalizar sua janela usando o seguinte código:

Página que contém o link para abrir a janela.

<HTML><HEAD>	<TITLE>Demonstração</TITLE>	<LINK REL="STYLESHEET" HREF="../../stilo-do-texto.css" TYPE="TEXT/CSS">	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">	<META NAME="Author" CONTENT="Luciano Augusto Viana Maia">	<!-- Webmaster ....::: Luciano Augusto Viana Maia :::.... --><script language="javaScript" type="text/javascript" SRC="js/pz_chromeless_2.1.js"></SCRIPT><script>function openIT() {	theURL="X.html"	wname ="CHROMELESSWIN"	W=400;	H=200;	windowCERRARa  	= "img/close_a.gif"	windowCERRARd  	= "img/close_d.gif"	windowCERRARo  	= "img/close_o.gif"	windowNONEgrf  	= "img/none.gif"	windowCLOCK  = "img/clock.gif"	windowREALtit  = "......::::::     Teste da Página X     ::::::......"	windowTIT      	= "<font face=verdana size=2><B><center>......::::::     Teste da Página X     ::::::......</center></B></font>"	windowBORDERCOLOR    = "#000000"	windowBORDERCOLORsel	= "#000000"	windowTITBGCOLOR    	= "#ddddff"	windowTITBGCOLORsel  = "#aaaaff"	openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)}</script></HEAD><BODY TOPMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 onLoad="javascript:openIT();"></BODY></HTML>
A página a ser aberta pode ser qualquer uma

Arquivo JavaScript pz_chromeless_2.1.js

// chromeless windows v2.1// www.microbians.com / Gabriel Suchowolski power[z]one - powerz@microbians.com//// Distributed under the terms of the GNU Library General Public License//// - Chromeless trick by webFX. http://www.eae.net/webfx/// - Chromeless mouse control to handled like a normal window by Gabriel Suchowolski power[z]onefunction openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel) {	var windowW = W;	var windowH = H;	var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );	var windowY = Math.ceil( (window.screen.height - windowH) / 2 );	if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) isie=true	else                isie=false	if (isie) { H=H+20+2; W=W+2; }	s = ",width="+W+",height="+H;	if (isie && (navigator.userAgent.toLowerCase().indexOf("win")!=-1) ) {var dowin = theURL != "" ? true : false;var chromeTIThtml = '\n' +'<html>                      	'+ '\n'+'<head>                                                                                                                                                                          '+ '\n'+'<title> CHROMELESS WINDOWS / TITLEBAR</title>                                                                                                                        '+ '\n'+'<style type="text/css">                                                                                                                                                        	'+ '\n'+'#mywindowTITLE  { position: absolute; left:   0px; top:   0px; width: 100%; height: 22px; z-index: 1; background-color: '+windowTITBGCOLOR+'; clip:rect(0,100%,22,0); }         '+ '\n'+'#mywindow  	{ position: absolute; left:   0px; top:   0px; width: 100%; height: 22px; z-index: 2;                                   clip:rect(0,100%;22,0); }         '+ '\n'+'#mywindowCLOSE  { position: absolute; left: -22px; top: -22px; width: 11px; height: 11px; z-index: 3;                                   clip:rect(0,11,11,0);   }         '+ '\n'+'#mywindowCLOCK  { position: absolute; left: -22px; top: -22px; width: 11px; height: 11px; z-index: 3;                                   clip:rect(0,11,11,0);   }         '+ '\n'+'</style>                                                                                                                                                                        '+ '\n'+'<script language="javascript">                    '+ '\n'if ( theURL != "" ) {chromeTIThtml = chromeTIThtml + '	theURL           = "'+theURL  	+'"                                                                                                                             '+ '\n'+'	windowCERRARa      = "'+windowCERRARa  +'"                                                                                                                             '+ '\n'+'	windowCERRARd      = "'+windowCERRARd  +'"                                                                                                                             '+ '\n'+'	windowCERRARo      = "'+windowCERRARo  +'"                                                                                                                             '+ '\n'+'	windowCLOCK         = "'+windowCLOCK            +'"                                                                                                                             '+ '\n'+'	windowBORDERCOLOR   = "'+windowBORDERCOLOR	+'"                                                                                                                             '+ '\n'+'	windowBORDERCOLORsel= "'+windowBORDERCOLORsel	+'"                                                                                                                             '+ '\n'+'	windowTITBGCOLOR    = "'+windowTITBGCOLOR	+'"                                                                                                                             '+ '\n'+'	windowTITBGCOLORsel = "'+windowTITBGCOLORsel	+'"                                                                                                                             '+ '\n'} else {chromeTIThtml = chromeTIThtml + '	theURL="about:blank"                                                                                                                                                            '+ '\n'+'	windowCERRARa  	= "img/close_a.gif"                                                                                                                                     '+ '\n'+'	windowCERRARd  	= "img/close_d.gif"                                                                                                                                     '+ '\n'+'	windowCERRARo  	= "img/close_o.gif"                                                                                                                                     '+ '\n'+'	windowCLOCK          = "img/clock.gif"                                                                                                                              	'+ '\n'+'	windowTIT      	= "<font face=verdana size=1>  window title</font>"                                                                                               '+ '\n'+'	windowBORDERCOLOR    = "#000000"                                                                                                                                             '+ '\n'+'	windowBORDERCOLORsel	= "#FF8A00"                                                                                                                                             '+ '\n'+'	windowTITBGCOLOR    	= "#d7dcd9"                                                                                                                                             '+ '\n'+'	windowTITBGCOLORsel  = "#ffffff"                                                                                                                                             '+ '\n'}chromeTIThtml = chromeTIThtml + 'var windowCERRARImg_a = new Image(); windowCERRARImg_a.src = windowCERRARa;                                                                                                            '+ '\n'+'var windowCERRARImg_d = new Image(); windowCERRARImg_d.src = windowCERRARd;                                                                                                            '+ '\n'+'var windowCERRARImg_o = new Image(); windowCERRARImg_o.src = windowCERRARo;                                                                                                            '+ '\n'+'var windowCLOCKImg    = new Image();    windowCLOCKImg.src = windowCLOCK;                                                                                                              '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function mouseSTATUS() {                                                                                                                                                               '+ '\n'+'	this.x       = null;                                                                                                                                                            '+ '\n'+'	this.y       = null;                                                                                                                                                            '+ '\n'+'	this.bt      = "up";                                                                                                                                                            '+ '\n'+'	this.oldx    = null;                                                                                                                                                            '+ '\n'+'	this.oldy    = null;                                                                                                                                                            '+ '\n'+'	this.dx      = null;                                                                                                                                                            '+ '\n'+'	this.dy      = null;                                                                                                                                                            '+ '\n'+'	this.screeny = null;                                                                                                                                                            '+ '\n'+'	this.screenx = null;                                                                                                                                                            '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	this.element = null;                                                                                                                                                            '+ '\n'+'	this.event   = null;                                                                                                                                                            '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'var mouse = new mouseSTATUS();                                                                                                                                                         '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function actualizateMouseSTATUS(e) {                                                                                                                                                   '+ '\n'+'	if (!e) var e = event                                                                                                                                                           '+ '\n'+'	if ( (e.type=="mousedown" || e.type=="mouseup") && e.button!=1) return true                                                                                                     '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	var x=e.x+document.body.scrollLeft                                                                                                                                              '+ '\n'+'	var y=e.y+document.body.scrollTop                                                                                                                                               '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	mouse.x   = x;                                                                                                                                                                  '+ '\n'+'	mouse.y   = y;                                                                                                                                                                  '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'      if ( e.type == "mousedown" ) mouse.bt = "down";                                                                                                                            '+ '\n'+'	else if ( e.type == "mouseup" )   mouse.bt = "up";                                                                                                                              '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	if (window.event) {                                                                                                                                                             '+ '\n'+'  mouse.screenx=window.event.screenX;                                                                                                                                     '+ '\n'+'  mouse.screeny=window.event.screenY;                                                                                                                                     '+ '\n'+'	} else {                                                                                                                                                                        '+ '\n'+'  mouse.screenx=-1;                                                                                                                                                       '+ '\n'+'  mouse.screeny=-1;                                                                                                                                                       '+ '\n'+'	}                                                                                                                                                                               '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function initMouseEvents() {                                                                                                                                                           '+ '\n'+'	document.onmousedown = actualizateMouseSTATUS                                                                                                                                   '+ '\n'+'	document.onmousemove = actualizateMouseSTATUS                                                                                                                                   '+ '\n'+'	document.onmouseup   = actualizateMouseSTATUS                                                                                                                                   '+ '\n'+'	document.onselectstart = selectstart                                                                                                                                            '+ '\n'+'	document.ondragstart   = new Function("actualizateMouseSTATUS(event); return false;")                                                                                           '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function selectstart(){                                                                                                                                                                '+ '\n'+'	if ( event.srcElement.tagName != "INPUT" && event.srcElement.tagName != "TEXTAREA") { return false; }                                                                           '+ '\n'+'	else { mouse.bt="up"; return true; }                                                                                                                                            '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                      	'+ '\n'+'initMouseEvents()                                                                                                                                                                      '+ '\n'+'                      	'+ '\n'+'var mywindowbt    ="up";                                                                                                                                                               '+ '\n'+'var wincloseSTATUS="up";                                                                                                                                                               '+ '\n'+'                      	'+ '\n'+'var ofx=0;                                                                                                                                                                             '+ '\n'+'var ofy=0;                                                                                                                                                                             '+ '\n'+'var opx=0;                                                                                                                                                                             '+ '\n'+'var opy=0;                                                                                                                                                                             '+ '\n'+'var px=0;                                                                                                                                                                              '+ '\n'+'var py=0;                                                                                                                                                                              '+ '\n'+'                      	'+ '\n'+'var wcpx1=-1, wcpy1=-1;                                                                                                                                                                '+ '\n'+'var wcpx2=-1, wcpy2=-1;                                                                                                                                                                '+ '\n'+'                      	'+ '\n'+'var wclosechanged = false;                                                                                                                                                             '+ '\n'+'                      	'+ '\n'+'function initToMoveWin() {                                                                                                                                                             '+ '\n'+'  if (wincloseSTATUS=="up" && ( mywindowbt=="up" || mywindowbt=="over") ) {                                                                                               '+ '\n'+'                                                                  '+ '\n'+'    if ( parent.mainloaded ) document.all["mywindowCLOCK"].style.visibility = "hidden";                                                    '+ '\n'+'                                                                  '+ '\n'+'    document.all["mywindowCLOCK"&

Compartilhar este post


Link para o post
Compartilhar em outros sites

VALEUUUUUUUUUUUUUUUUachei oque eu queria.......fui no site do fabricante mesmo e pequei o ByKlein_Chromeless_Window2.0.zipera esse ae

Compartilhar este post


Link para o post
Compartilhar em outros sites

<HTML><HEAD>	<TITLE>Demonstração</TITLE>	<LINK REL="STYLESHEET" HREF="../../stilo-do-texto.css" TYPE="TEXT/CSS">	<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1">	<META NAME="Author" CONTENT="Luciano Augusto Viana Maia">	<!-- Webmaster ....::: Luciano Augusto Viana Maia :::.... --><script language="javaScript" type="text/javascript" SRC="js/pz_chromeless_2.1.js"></SCRIPT><script>function openIT() {	theURL="X.html"	wname ="CHROMELESSWIN"	W=400;	H=200;	windowCERRARa  	= "img/close_a.gif"	windowCERRARd  	= "img/close_d.gif"	windowCERRARo  	= "img/close_o.gif"	windowNONEgrf  	= "img/none.gif"	windowCLOCK  = "img/clock.gif"	windowREALtit  = "......::::::     Teste da Página X     ::::::......"	windowTIT      	= "<font face=verdana size=2><B><center>......::::::     Teste da Página X     ::::::......</center></B></font>"	windowBORDERCOLOR    = "#000000"	windowBORDERCOLORsel	= "#000000"	windowTITBGCOLOR    	= "#ddddff"	windowTITBGCOLORsel  = "#aaaaff"	openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)}</script></HEAD><BODY TOPMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 onLoad="javascript:openIT();"></BODY></HTML>
A página a ser aberta pode ser qualquer uma

Arquivo JavaScript pz_chromeless_2.1.js

// chromeless windows v2.1// www.microbians.com / Gabriel Suchowolski power[z]one - powerz@microbians.com//// Distributed under the terms of the GNU Library General Public License//// - Chromeless trick by webFX. http://www.eae.net/webfx/// - Chromeless mouse control to handled like a normal window by Gabriel Suchowolski power[z]onefunction openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel) {	var windowW = W;	var windowH = H;	var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );	var windowY = Math.ceil( (window.screen.height - windowH) / 2 );	if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion)>=4) isie=true	else                isie=false	if (isie) { H=H+20+2; W=W+2; }	s = ",width="+W+",height="+H;	if (isie && (navigator.userAgent.toLowerCase().indexOf("win")!=-1) ) {var dowin = theURL != "" ? true : false;var chromeTIThtml = '\n' +'<html>                      	'+ '\n'+'<head>                                                                                                                                                                          '+ '\n'+'<title> CHROMELESS WINDOWS / TITLEBAR</title>                                                                                                                        '+ '\n'+'<style type="text/css">                                                                                                                                                        	'+ '\n'+'#mywindowTITLE  { position: absolute; left:   0px; top:   0px; width: 100%; height: 22px; z-index: 1; background-color: '+windowTITBGCOLOR+'; clip:rect(0,100%,22,0); }         '+ '\n'+'#mywindow  	{ position: absolute; left:   0px; top:   0px; width: 100%; height: 22px; z-index: 2;                                   clip:rect(0,100%;22,0); }         '+ '\n'+'#mywindowCLOSE  { position: absolute; left: -22px; top: -22px; width: 11px; height: 11px; z-index: 3;                                   clip:rect(0,11,11,0);   }         '+ '\n'+'#mywindowCLOCK  { position: absolute; left: -22px; top: -22px; width: 11px; height: 11px; z-index: 3;                                   clip:rect(0,11,11,0);   }         '+ '\n'+'</style>                                                                                                                                                                        '+ '\n'+'<script language="javascript">                    '+ '\n'if ( theURL != "" ) {chromeTIThtml = chromeTIThtml + '	theURL           = "'+theURL  	+'"                                                                                                                             '+ '\n'+'	windowCERRARa      = "'+windowCERRARa  +'"                                                                                                                             '+ '\n'+'	windowCERRARd      = "'+windowCERRARd  +'"                                                                                                                             '+ '\n'+'	windowCERRARo      = "'+windowCERRARo  +'"                                                                                                                             '+ '\n'+'	windowCLOCK         = "'+windowCLOCK            +'"                                                                                                                             '+ '\n'+'	windowBORDERCOLOR   = "'+windowBORDERCOLOR	+'"                                                                                                                             '+ '\n'+'	windowBORDERCOLORsel= "'+windowBORDERCOLORsel	+'"                                                                                                                             '+ '\n'+'	windowTITBGCOLOR    = "'+windowTITBGCOLOR	+'"                                                                                                                             '+ '\n'+'	windowTITBGCOLORsel = "'+windowTITBGCOLORsel	+'"                                                                                                                             '+ '\n'} else {chromeTIThtml = chromeTIThtml + '	theURL="about:blank"                                                                                                                                                            '+ '\n'+'	windowCERRARa  	= "img/close_a.gif"                                                                                                                                     '+ '\n'+'	windowCERRARd  	= "img/close_d.gif"                                                                                                                                     '+ '\n'+'	windowCERRARo  	= "img/close_o.gif"                                                                                                                                     '+ '\n'+'	windowCLOCK          = "img/clock.gif"                                                                                                                              	'+ '\n'+'	windowTIT      	= "<font face=verdana size=1>  window title</font>"                                                                                               '+ '\n'+'	windowBORDERCOLOR    = "#000000"                                                                                                                                             '+ '\n'+'	windowBORDERCOLORsel	= "#FF8A00"                                                                                                                                             '+ '\n'+'	windowTITBGCOLOR    	= "#d7dcd9"                                                                                                                                             '+ '\n'+'	windowTITBGCOLORsel  = "#ffffff"                                                                                                                                             '+ '\n'}chromeTIThtml = chromeTIThtml + 'var windowCERRARImg_a = new Image(); windowCERRARImg_a.src = windowCERRARa;                                                                                                            '+ '\n'+'var windowCERRARImg_d = new Image(); windowCERRARImg_d.src = windowCERRARd;                                                                                                            '+ '\n'+'var windowCERRARImg_o = new Image(); windowCERRARImg_o.src = windowCERRARo;                                                                                                            '+ '\n'+'var windowCLOCKImg    = new Image();    windowCLOCKImg.src = windowCLOCK;                                                                                                              '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function mouseSTATUS() {                                                                                                                                                               '+ '\n'+'	this.x       = null;                                                                                                                                                            '+ '\n'+'	this.y       = null;                                                                                                                                                            '+ '\n'+'	this.bt      = "up";                                                                                                                                                            '+ '\n'+'	this.oldx    = null;                                                                                                                                                            '+ '\n'+'	this.oldy    = null;                                                                                                                                                            '+ '\n'+'	this.dx      = null;                                                                                                                                                            '+ '\n'+'	this.dy      = null;                                                                                                                                                            '+ '\n'+'	this.screeny = null;                                                                                                                                                            '+ '\n'+'	this.screenx = null;                                                                                                                                                            '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	this.element = null;                                                                                                                                                            '+ '\n'+'	this.event   = null;                                                                                                                                                            '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'var mouse = new mouseSTATUS();                                                                                                                                                         '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function actualizateMouseSTATUS(e) {                                                                                                                                                   '+ '\n'+'	if (!e) var e = event                                                                                                                                                           '+ '\n'+'	if ( (e.type=="mousedown" || e.type=="mouseup") && e.button!=1) return true                                                                                                     '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	var x=e.x+document.body.scrollLeft                                                                                                                                              '+ '\n'+'	var y=e.y+document.body.scrollTop                                                                                                                                               '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	mouse.x   = x;                                                                                                                                                                  '+ '\n'+'	mouse.y   = y;                                                                                                                                                                  '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'      if ( e.type == "mousedown" ) mouse.bt = "down";                                                                                                                            '+ '\n'+'	else if ( e.type == "mouseup" )   mouse.bt = "up";                                                                                                                              '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'	if (window.event) {                                                                                                                                                             '+ '\n'+'  mouse.screenx=window.event.screenX;                                                                                                                                     '+ '\n'+'  mouse.screeny=window.event.screenY;                                                                                                                                     '+ '\n'+'	} else {                                                                                                                                                                        '+ '\n'+'  mouse.screenx=-1;                                                                                                                                                       '+ '\n'+'  mouse.screeny=-1;                                                                                                                                                       '+ '\n'+'	}                                                                                                                                                                               '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function initMouseEvents() {                                                                                                                                                           '+ '\n'+'	document.onmousedown = actualizateMouseSTATUS                                                                                                                                   '+ '\n'+'	document.onmousemove = actualizateMouseSTATUS                                                                                                                                   '+ '\n'+'	document.onmouseup   = actualizateMouseSTATUS                                                                                                                                   '+ '\n'+'	document.onselectstart = selectstart                                                                                                                                            '+ '\n'+'	document.ondragstart   = new Function("actualizateMouseSTATUS(event); return false;")                                                                                           '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                                                                                                                                                                                       '+ '\n'+'function selectstart(){                                                                                                                                                                '+ '\n'+'	if ( event.srcElement.tagName != "INPUT" && event.srcElement.tagName != "TEXTAREA") { return false; }                                                                           '+ '\n'+'	else { mouse.bt="up"; return true; }                                                                                                                                            '+ '\n'+'}                                                                                                                                                                                      '+ '\n'+'                      	'+ '\n'+'initMouseEvents()                                                                                                                                                                      '+ '\n'+'                      	'+ '\n'+'var mywindowbt    ="up";                                                                                                                                                               '+ '\n'+'var wincloseSTATUS="up";                                                                                                                                                               '+ '\n'+'                      	'+ '\n'+'var ofx=0;                                                                                                                                                                             '+ '\n'+'var ofy=0;                                                                                                                                                                             '+ '\n'+'var opx=0;                                                                                                                                                                             '+ '\n'+'var opy=0;                                                                                                                                                                             '+ '\n'+'var px=0;                                                                                                                                                                              '+ '\n'+'var py=0;                                                                                                                                                                              '+ '\n'+'                      	'+ '\n'+'var wcpx1=-1, wcpy1=-1;                                                                                                                                                                '+ '\n'+'var wcpx2=-1, wcpy2=-1;                                                                                                                                                                '+ '\n'+'                      	'+ '\n'+'var wclosechanged = false;                                                                                                                                                             '+ '\n'+'                      	'+ '\n'+'function initToMoveWin() {                                                                                                                                                             '+ '\n'+'  if (wincloseSTATUS=="up" && ( mywindowbt=="up" || mywindowbt=="over") ) {                                                                                               '+ '\n'+'                                                                  '+ '\n'+'    if ( parent.mainloaded ) document.all["mywindowCLOCK"].style.visibility = "hidden";                                                    '+ '\n'+'                                                                  '+ '\n'+'    document.all["mywindowCLOCK"&
----------------------------------------------------------------------------------------------------------------

 

 

lucianoavm00, tentei utilizar o script postado, fiz o seguinte, copiei a pagina que contem o link [demonstracao] e compiei o java script [pz_chromeless_2.1.js]

 

deixei o java script no diretorio js.....

 

tudo certinho.... mas da erro na linha 27 da pagina

 

Linha: 27

Caractere: 1

Erro: Objeto esperado

Código: 0

URL: file://c:\dir\linkjanela.htm

 

cara.... ja tentei mexer em algumas coisas mas não consegui sucesso.....

 

achei estranho, o java script não ta faltando um pedaço?

 

 

estou interessado neste script por causo do botao minimizar... maximizar ... e fechar la em cima.

 

se alguem puder me dar uma força...

Compartilhar este post


Link para o post
Compartilhar em outros sites

outra coisa que notei no script indicado por sn4ker.... (do site do fabricante) é o seguinte,em fullscreen funciona muito bem, mas se você seta uma tamanho, a barra de titulo do navegador com o titulo e os botões "minimizar" "maximizar" "fechar" do navegador ficam aparecendo, por isso achei interessante utilizar o script apontado por lucianoavm00, mas nao esta funcionando, e nao estou conseguindo arrumar :( bom, espero que alguem de uma força ae....

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.