I don't see how this went too far afield at all -- at least not nearly enough to bother to comment on it.
Richard had some Prototype-related code that wasn't doing what he wanted and he also mentioned the target attribute not being "standards" and so not wanting to use it. I told him how I do what he's doing (with Prototype) and asked in what way he thought `target` wasn't standard. He answered me. Hardly a digression worth commenting on. Sometimes discussions do start out related to Prototype and then branch a bit into general web development (much more than this one did), which I don't see as using the list incorrectly at all. A question that didn't involve Prototype or scripty *at all* would be off-topic. -- T.J. On Aug 17, 7:32 am, Lapis <petter.env...@gmail.com> wrote: > Oh hai ;) > > Interesting as it may be.. > does prototype.js or scriptaculous have anything to do Witherspoon > this? Or did I just subscribe to some random HTML/HTTP chat? > > Sorry, getting morning coffee now... > > /P > > On 13 Aug, 17:06, Richard Quadling <rquadl...@gmail.com> wrote: > > > > > Hi. > > > I want to press a button to open a new tab showing a PDF file. > > > Currently, I have ... > > > <a id="vsFax" target="_blank" href="/index.php" title="Jobsheet" > > class="formButtons"> > > <button id="vsViewJobsheetButton">View jobsheet</button> > > </a> > > > and each browser resulted in a different outcome (Chrome:new tab OK, > > Firefox:2 new tabs both OK, IE:nothing, Safari:new window) > > > I know that target is a no-no for standards (and it seems IE is the > > only one obeying it this time around!). > > > So. > > > How do I do this? The real url is supplied at runtime via an AJAX > > request. I can assign it to whatever is needed. > > > I could just style the <a> as a button ... is that possible? > > > Any suggestions? > > > Regards, > > > Richard Quadling. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.