Re: [Proto-Scripty] 4 different browsers - 4 different responses
neglected to say in preceding post that you'll need to style link states for the class that inherit its properties On Fri, Aug 13, 2010 at 11:06 AM, Richard Quadling wrote: > Hi. > > I want to press a button to open a new tab showing a PDF file. > > Currently, I have ... > > class="formButtons"> >View jobsheet > > > 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 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. > > -- 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.
Re: [Proto-Scripty] 4 different browsers - 4 different responses
easy to make it look like a button, though it won't have button behavior (excepting cursor:whatever;). You'll need to put the View jobsheet between the tags.. just make a class or inline style with height, width, color, border, etc. On Fri, Aug 13, 2010 at 11:06 AM, Richard Quadling wrote: > Hi. > > I want to press a button to open a new tab showing a PDF file. > > Currently, I have ... > > class="formButtons"> >View jobsheet > > > 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 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. > > -- 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.