|
Posted by Gιrard Talbot on 05/23/07 18:30
Chet wrote :
> I basically agree with not opening a new window but this is a
> list of image previews from a thumbnail list. That's why I would
> like to provide the option - there's a link for opening in the
> same window plus the optional new_window link.
Then why not create js code that would recycle the secondary window for
all of the image previews? It does not make a lot of sense (from the
user's system resources perspective) to create a secondary window for
one single image preview, and that is, even if each image preview has
different sizes. Considering the system resources required to create a
secondary window and the time it takes to create the window and fetch
the resource, reusing it or recycling it does make sense.
> Being able to open the new window allows the user to close that
> window and return to the list quickly.
So the scenarized plan you have is to create a secondary window and then
close it after 1 single image preview. If the user wants to view "n"
image previews, then he will have to create and then close "n" unnamed
secondary windows. This kind of plan abuses the user system resources.
DOM:window.open
Section 7.2.5: Do not use target="_blank"
http://developer.mozilla.org/en/docs/DOM:window.open#Do_not_use_target.3D.22_blank.22
Yes, I know the Back
> button does exactly the same, but sometimes not as quickly, at
> least on the browsers/machines I've used. "Some" users like large
> preview images in a separate window/tab, I'll usually opt for the
> new window in this case.
>
>> Then they're the lucky ones because they don't have to worry
>> about you
>> spawning new windows on them.
>
> I'm not really spawning new windows, in my opinion. As I said,
> this is an optional link for a new window next to the same window
> link, How is that spawning? It'll be labeled as such, Opens in
> New Window - Opens in Same Window
Most browsers (Opera 9, Firefox 2, MSIE 7, etc) have now features to
force links to open in the same window or in a tab; what you are trying
to do is to customize what has already been customized in the browser
settings, preferences and most likely already set by the user... except
the reuse of secondary windows (requested ones).
GΓ©rard
--
Using Web Standards in your Web Pages (Updated Apr. 2007)
http://developer.mozilla.org/en/docs/Using_Web_Standards_in_your_Web_Pages
[Back to original message]
|