quote:
Originally posted by fluffy_lobster
quote:
Originally posted by CookieRevised
c) open in the same or new window according to their type. (gif, bmp, png, jpg, doc, txt, html, xml, php, asp -> new window)
It's actually a lot simpler than that: if the mime type is application/ then it needs to be opened in _blank, if it's text/ or image/ then it can stay in this window.
didn't think of that... but errr....a remark: Shouldn't it be the otherway around? If it is an 'application' you can leave it in the window cause that will trigger the download window in all browsers. And if it is 'image' or 'text' (or something else like .asp, .html ?) it should open in a new window because that will overwrite the current page...