FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Website, Reference, Example Bugs
(Moderator: REAS)
   MM_openBrWindow same winName
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: MM_openBrWindow same winName  (Read 2675 times)
heliodrop

WWW
MM_openBrWindow same winName
« on: Jun 8th, 2004, 3:35pm »

on the exhibition page
you always use the same winName for booth, applet and source:
Code:
javascript:MM_openBrWindow('liquid/index.html','Burning_Liquid_Sky','status=yes,scrollbars=no,resizable=no,width=200,height=500')
javascript:MM_openBrWindow('liquid/liquidsky.pde','Burning_Liquid_Sky','status=yes,scrollbars=yes,resizable=yes,width=780,height=600')

 
so, it's impossible to see the applet and the source at the same time (and size parameter isn't updated).
 
the solution is be to use different name for each window. ie:
Code:
javascript:MM_openBrWindow('liquid/index.html','Burning_Liquid_Sky','status=yes,scrollbars=no,resizable=no,width=200,height=500')
javascript:MM_openBrWindow('liquid/liquidsky.pde','Burning_Liquid_Sky_Src','status=yes,scrollbars=yes,resizable=yes,width=780,height=600')

 
REAS


WWW
Re: MM_openBrWindow same winName
« Reply #1 on: Jun 12th, 2004, 9:59am »

Heliodrop,
 
Thank you for the suggestion. I modified the script as your example suggests.
 
+ Casey
 
 
Juan M. Periáñez
Guest
Email
Re: MM_openBrWindow same winName
« Reply #2 on: Jun 12th, 2004, 10:29am »

Gracias por el árticulo.
 
heliodrop

WWW
Re: MM_openBrWindow same winName
« Reply #3 on: Jun 12th, 2004, 7:51pm »

Thank you for modifying it!
 
Pages: 1 

« Previous topic | Next topic »