🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #1314

Re: JavaScript Básico

#1314
From: Tracker
Date: Fri, 30 Dec 2005 10:38
41 lines
2412 bytes
Javier Robles wrote:
> Hola, s� que �ste no es el grupo m�s adecuado para esta pregunta, pero 
> all� va:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <script language="JavaScript">
> <!--
> function abreNuevaVentana()
> {
> miVentana=open("", "Sample","width=900, height=800, status=no,
> toolbar=no  ,menubar=no");
> }
> //-->
> </script>
> </head>
> <body>
> <a href="javascript:abreNuevaVentana()">Sample</a>
> </body>
> </html>
> 
> Ese c�digo funciona en todos los navegadores (firefox, opera, 
> konqueror...) menos en el innombrable. La consola javascript de firefox 
> tampoco da ning�n problema.
> 
> �Alguien puede saber c�mo solucionarlo?
> 
> Detectar el navegador y si es explorer decir �cambiate! no vale :(
> 

esto me funciona en IE... por lo que creo que solo te falta decir a open
de que colecci�n se trara:

miVentana=window.open("","Sample","location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,width=900,height=800,left=0,top=0");


tb he utilizado 0 en lugar de "no"... prueba y nos dices que era
exactamente.

;)
Technical Details
Message-ID: <h68tf.513576$E72.4865425@telenews.teleline.es>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!telenews.teleline.es!not-for-mail
References: <op.s2lclqhcoxawp3@suzuki.unileon.es>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,82743289aaebe0e0
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!telenews.teleline.es!not-for-mail
X-Trace-PostClient-IP: 80.34.45.182
From: Tracker <ZRQTVXRXLRGO@spammotel.com>
Reply-To:  ZRQTVXRXLRGO@spammotel.com
Organization: TetoSoft
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: es.comp.os.linux.programacion
Subject: Re: JavaScript Básico
References: <op.s2lclqhcoxawp3@suzuki.unileon.es>
In-Reply-To: <op.s2lclqhcoxawp3@suzuki.unileon.es>
X-Enigmail-Version: 0.92.1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 41
Message-ID: <h68tf.513576$E72.4865425@telenews.teleline.es>
Date: Fri, 30 Dec 2005 10:38:05 GMT
NNTP-Posting-Host: 10.20.31.4
X-Complaints-To: usenet@teleline.es
X-Trace: telenews.teleline.es 1135939085 10.20.31.4 (Fri, 30 Dec 2005 11:38:05 MET)
NNTP-Posting-Date: Fri, 30 Dec 2005 11:38:05 MET