Re: Email links open in nocat renewal popup?
"Scott Tully" <[email protected]>
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
If you are using IE - I think it's a browser setting. Go to Internet Options -> Advanced. Uncheck "Reuse windows for launching shortcuts" Scott ----- Original Message ----- From: "Brendan Miller" <[email protected]> To: <[email protected]> Sent: Monday, January 10, 2005 2:30 PM Subject: [NoCat] Email links open in nocat renewal popup? > I've had a couple of emails from users saying that whilst they have the NoCat > renewal popup open doing its thing, links in email open in the renewal window > instead of a new window, and trashing the NoCat session. (Theses users are > reading mail in Outlook or another mail program that is capable of launching > html content or web links in a browser window.) > > Since the NoCat renewal window is so small (and I've made it non-resizable), > the opened link is useless in there as well. > > I looked at my code to open the window and found that the second parameter to > window.open() (still using Javascript) was "", and thus an unnamed window. > I thought naming it might help (I substituted "renewal" for ""), but > apparently some users are still having the problem. > > Here is my code that creates the renewal window... > > <script language="JavaScript"> > function LaunchRenewal() > { > var windowW = 100; > var windowH = 584; > var windowX = (screen.width - windowW - 10); > var windowY = 0; > > var framedoc = '<html>\n' > + '<frameset rows="100%,*" border="0" frameborder="0" framespacing="0">\n' > + '<frame name="main" src="$popup" scrolling="auto">\n' > + '<noframes><body>You need to upgrade to a newer browser that supports frames to view this > +site. Sorry!</body></noframes>\n' > + '</frameset>\n' > + '</html>\n'; > // create the renewal popup > renewal = window.open("", "renewal", > +"width="+windowW+",height="+windowH+",top="+windowY+",left="+windowX+",scrollbars=no,resizable=no"); > // write the frameset > renewal.document.open(); > renewal.document.write(framedoc); > renewal.document.close(); > > // move/resize mainwin to available space not obscuring renewal poopup > self.moveTo(0,0); > self.resizeTo(windowX-1, screen.availHeight-5); > } > </script> > > I have a few other things in there (like a frameset, which I can explain if necessary), > but for the most part I think most folks are doing something similar. A lot of the code > has to do with sizes and positioning. > > Has anyone else experienced email links opening in the renewal window? What did you do > about it? Any suggestions? > > Brendan > > _______________________________________________ > NoCat mailing list > [email protected] > http://lists.nocat.net/mailman/listinfo/nocat > >