Loading ...
Sorry, an error occurred while loading the content.
 

Re: Image Insert window displays behind main window

Expand Messages
  • rogerwithnell
    Magic, Dav. Your re a star! Thank you. Roger ... main window ... http://developer.yahoo.com/yui/examples/editor/imagebrowser_editor.htm ... using ... operate
    Message 1 of 13 , Mar 5, 2008
      Magic, Dav. Your're a star!

      Thank you.

      Roger

      --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@...>
      wrote:
      >
      > Roger --
      >
      > Add this to the bottom of the popup window:
      > YAHOO.util.Event.on(window, 'load', function() {
      > window.focus();
      > });
      >
      > That will force IE to bring it to the front when the window loads..
      >
      > Dav
      >
      > Dav Glass
      > dav.glass@...
      > blog.davglass.com
      >
      >
      >
      > + Windows: n. - The most successful computer virus, ever. +
      > + A computer without a Microsoft operating system is like a dog
      > without bricks tied to its head +
      > + A Microsoft Certified Systems Engineer is to computing what a
      > McDonalds Certified Food Specialist is to fine cuisine +
      >
      > ----- Original Message ----
      > From: rogerwithnell <roger@...>
      > To: ydn-javascript@yahoogroups.com
      > Sent: Tuesday, March 4, 2008 3:43:31 PM
      > Subject: [ydn-javascript] Re: Image Insert window displays behind
      main window
      >
      > If I click Image Insert on
      >
      http://developer.yahoo.com/yui/examples/editor/imagebrowser_editor.htm
      > l the image browser window opens behind the editor window when
      using
      > IE7. IE6 same problem; Firefox 2 it opens in front.
      >
      > Cannot resolve this problem. Any help much appreciated.
      >
      > Roger
      >
      >
      > --- In ydn-javascript@yahoogroups.com, "rogerwithnell" <roger@>
      > wrote:
      > >
      > > Thanks, Dav, but the localhost demonstration machine has to
      operate
      > > off line.
      > >
      > > Your help much appreciated.
      > >
      > > Roger
      > >
      > >
      > >
      > > --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@>
      > > wrote:
      > > >
      > > > Why not have Yahoo! host the files:
      > > > http://developer.yahoo.com/yui/articles/hosting/
      > > >
      > > > Dav Glass
      > > > dav.glass@
      > > > blog.davglass.com
      > > >
      > > >
      > > >
      > > > + Windows: n. - The most successful computer virus, ever. +
      > > > + A computer without a Microsoft operating system is like a dog
      > > > without bricks tied to its head +
      > > > + A Microsoft Certified Systems Engineer is to computing what a
      > > > McDonalds Certified Food Specialist is to fine cuisine +
      > > >
      > > > ----- Original Message ----
      > > > From: rogerwithnell <roger@>
      > > > To: ydn-javascript@yahoogroups.com
      > > > Sent: Tuesday, March 4, 2008 2:10:42 AM
      > > > Subject: [ydn-javascript] Re: Image Insert window displays
      behind
      > > main window
      > > >
      > > > Dav
      > > >
      > > > I now remember a glitch when I was installing the yui folder,
      so
      > > I'm
      > > > going to re-install it from scratch.
      > > >
      > > > I would like to install the yui folder once on my operational
      > > server
      > > > and once on my localhost development and demonstration server
      so
      > > that
      > > > it can be accessed by several applications on both machines.
      > > >
      > > > Where do you recommend I install the yui folder and how do I
      set
      > up
      > > > the link tag href attribute and the script tag src attribute to
      > > > access the css and javascript files on either the operational
      or
      > > > localhost server?
      > > >
      > > > Many thanks
      > > >
      > > > Roger
      > > >
      > > > --- In ydn-javascript@yahoogroups.com, "rogerwithnell" <roger@>
      > > > wrote:
      > > > >
      > > > > Dav
      > > > >
      > > > > It goes behind with Windows XP/IE7 but stays on top with
      > Firefox
      > > > 2.
      > > > > It also goes behind on Win2K/IE6.
      > > > >
      > > > > Hope this helps.
      > > > >
      > > > > Roger
      > > > >
      > > > > --- In ydn-javascript@yahoogroups.com, Dav Glass <dav.glass@>
      > > > > wrote:
      > > > > >
      > > > > > It sounds like the Editor is maybe gaining focus after the
      > > window
      > > > > has popped up..
      > > > > >
      > > > > > What browser is it happening on? I can't get it to not
      popup
      > > > > properly?
      > > > > >
      > > > > > Dav
      > > > > >
      > > > > > Dav Glass
      > > > > > dav.glass@
      > > > > > blog.davglass.com
      > > > > >
      > > > > >
      > > > > >
      > > > > > + Windows: n. - The most successful computer virus, ever. +
      > > > > > + A computer without a Microsoft operating system is like a
      > dog
      > > > > > without bricks tied to its head +
      > > > > > + A Microsoft Certified Systems Engineer is to computing
      what
      > a
      > > > > > McDonalds Certified Food Specialist is to fine cuisine +
      > > > > >
      > > > > > ----- Original Message ----
      > > > > > From: rogerwithnell <roger@>
      > > > > > To: ydn-javascript@yahoogroups.com
      > > > > > Sent: Monday, March 3, 2008 8:08:48 AM
      > > > > > Subject: [ydn-javascript] Re: Image Insert window displays
      > > behind
      > > > > main window
      > > > > >
      > > > > > Dav,
      > > > > >
      > > > > > I had tried this (I've re-added focus() as you suggest) but
      > it
      > > > > does't
      > > > > > fix it.
      > > > > >
      > > > > > It appears that the image browser window has focus
      > momentarily
      > > as
      > > > > it
      > > > > > is rendered and then the main window grabs it back again.
      > > > > >
      > > > > > Any other ideas would be appreciated.
      > > > > >
      > > > > > Roger
      > > > > >
      > > > > > --- In ydn-javascript@yahoogroups.com, Dav Glass
      <dav.glass@>
      > > > > > wrote:
      > > > > > >
      > > > > > > Roger --
      > > > > > >
      > > > > > > Try adding a win.focus() like this:
      > > > > > > if (!win) {
      > > > > > > //Catch the popup blocker
      > > > > > > alert('Please disable your popup blocker!!');
      > > > > > > }
      > > > > > > win.focus();
      > > > > > > Hope that helps :)
      > > > > > > Dav
      > > > > > >
      > > > > > >
      > > > > > > Dav Glass
      > > > > > > dav.glass@
      > > > > > > blog.davglass.com
      > > > > > >
      > > > > > >
      > > > > > >
      > > > > > > + Windows: n. - The most successful computer virus, ever.
      +
      > > > > > > + A computer without a Microsoft operating system is like
      a
      > > dog
      > > > > > > without bricks tied to its head +
      > > > > > > + A Microsoft Certified Systems Engineer is to computing
      > what
      > > a
      > > > > > > McDonalds Certified Food Specialist is to fine
      cuisine +
      > > > > > >
      > > > > > > ----- Original Message ----
      > > > > > > From: rogerwithnell <roger@>
      > > > > > > To: ydn-javascript@yahoogroups.com
      > > > > > > Sent: Monday, March 3, 2008 7:25:26 AM
      > > > > > > Subject: [ydn-javascript] Re: Image Insert window
      displays
      > > > behind
      > > > > > main window
      > > > > > >
      > > > > > > A test link is http://www.upperbridge.co.uk/TestYui.asp.
      > > > > > >
      > > > > > > Many thanks.
      > > > > > >
      > > > > > > --- In ydn-javascript@yahoogroups.com, Dav Glass
      > <dav.glass@>
      > > > > > > wrote:
      > > > > > > >
      > > > > > > > Can you post a link to an example? The default Insert
      > > > > > > Image "window" is not a real window..
      > > > > > > >
      > > > > > > > Dav
      > > > > > > >
      > > > > > > > Dav Glass
      > > > > > > > dav.glass@
      > > > > > > > blog.davglass.com
      > > > > > > >
      > > > > > > >
      > > > > > > >
      > > > > > > > + Windows: n. - The most successful computer virus,
      ever.
      > +
      > > > > > > > + A computer without a Microsoft operating system is
      like
      > a
      > > > dog
      > > > > > > > without bricks tied to its head +
      > > > > > > > + A Microsoft Certified Systems Engineer is to
      computing
      > > what
      > > > a
      > > > > > > > McDonalds Certified Food Specialist is to fine
      > cuisine +
      > > > > > > >
      > > > > > > > ----- Original Message ----
      > > > > > > > From: rogerwithnell <roger@>
      > > > > > > > To: ydn-javascript@yahoogroups.com
      > > > > > > > Sent: Sunday, March 2, 2008 3:21:31 PM
      > > > > > > > Subject: [ydn-javascript] Image Insert window displays
      > > behind
      > > > > > main
      > > > > > > window
      > > > > > > >
      > > > > > > > When I click "Image Insert" the image window with the
      > > > > browser.asp
      > > > > > > page
      > > > > > > > momentarily opens on top but immediately goes behind
      the
      > > main
      > > > > > > window.
      > > > > > > >
      > > > > > > > Any help fixing this problem would be appreciated.
      > > > > > > >
      > > > > > > >
      > > > > > > >
      > > > > > > >
      > > > > > > > Yahoo! Groups Links
      > > > > > > >
      > > > > > >
      > > > > > >
      > > > > > >
      > > > > > >
      > > > > > >
      > > > > > > Yahoo! Groups Links
      > > > > > >
      > > > > >
      > > > > >
      > > > > >
      > > > > >
      > > > > >
      > > > > > Yahoo! Groups Links
      > > > > >
      > > > >
      > > >
      > > >
      > > >
      > > >
      > > >
      > > > Yahoo! Groups Links
      > > >
      > >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.