On Friday 20 December 2002 03:55 pm, Matthew Toseland wrote:
> On Fri, Dec 20, 2002 at 12:37:34PM -0800, Ian Clarke wrote:
> > On Fri, Dec 20, 2002 at 08:31:46PM +0000, Matthew Toseland wrote:
> > > At what point are we making the window? It would seem to me that we
> > > will have to do this on the freenet page with the link to the file,
> > > which means accepting a specific javascript in freesites...
> >
> > Perhaps, but not necessarily.  All it need to is redirect to a page we
> > create which (depending on the user's preference) either creates the
> > popup window and hits the browsers "back" button (javascript can do
> > that), or displays the interface in the browser window itself.
>
> Or we could have the link on the freesite open a new window using the
> TARGET attribute on A HREF. And then have the javascript in the new
> window, if it is executed, resize the window and remove the browser
> controls. This seems more elegant to me.

Seems much cleaner to me. If the user doesn't have javascript enabled, then 
all they get is a window that's probably not the size they wanted, and 
there's no need to "detect" whether js is enabled. Failure is silent and 
harmless.


_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to