On 13 Nov 2006, at 21:45:07, Christian Montoya wrote:
On 11/13/06, Chris Price <[EMAIL PROTECTED]> wrote:
I don't suppose there's any reason why I shouldn't keep coding to
xhtml
1.0 but specify html 4.01 when I need to use the target attribute.
That might be a good idea; on the *one* page
On 11/13/06, Chris Price <[EMAIL PROTECTED]> wrote:
I don't suppose there's any reason why I shouldn't keep coding to xhtml
1.0 but specify html 4.01 when I need to use the target attribute.
That might be a good idea; on the *one* page that uses the target
attribute, use the HTML 4.01 doctype
Indeed, probably so. It was just a suggestion.
A
-
Andy Woznica
Actofdesign
http://www.actofdesign.com
On 11/13/06 10:17 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> What is the point of leaving out the 'target' attribute if you are then
> going to put it
Chris Price wrote:
> I don't want to start a rerun of the javascript fudging standards
> argument but does anyone have the url of a favourite article on the
> subject?
That's my favourite one, but I'm a little bit biased :)
http://www.tjkdesign.com/articles/popup_window_with_no_extra_markup.asp
-
What is the point of leaving out the 'target' attribute if you are then
going to put it in via JavaScript? If it shouldn't be there then don't
use it - sneaking it in via a script seems rather pointless to me.
Mike
> -Original Message-
> From: listdad@webstandardsgroup.org
> [mailto:[EM
On Mon, Nov 13, 2006 at 10:57:19AM +, Chris Price wrote:
> I don't suppose there's any reason why I shouldn't keep coding to xhtml
> 1.0 but specify html 4.01 when I need to use the target attribute.
You seem to be confusing HTML/XHTML with Strict/Transitional.
XHTML 1.0 and HTML 4.01 are id
On Monday, November 13, 2006, at 08:02 am, Donna Jones wrote:
Hi - i've been looking at PayPal lately and thought i haven't done a
cart I've seen that PayPal automatically sets the target in the form.
If I was setting one up, I would just take that out (test to make sure
it still worked, I wo
I have a little online store paying through Paypal, using their shopping
cart. So the buy button opens up a new window and you're into Paypal.
Hi - i've been looking at PayPal lately and thought i haven't done a
cart I've seen that PayPal automatically sets the target in the form.
If I was set
Chris, I had exactly the same issue and this was the solution I found.
Essentially it's a script to open all external links in a new window with a
slight modification to recognise a substring in a form tag and do likewise.
Anyway, here's the JavaScript:
// JavaScript Document
function externalLi
On 11/12/06, Lachlan Hunt <[EMAIL PROTECTED]> wrote:
Christian Montoya wrote:
> Otherwise, a great solution is to stop trying to fake the standards
> and just use HTML 4.01... it's clean, well-supported, and it allows
> targets.
XHTML 1.0 allows the target attribute too in the Transitional DOCTY
Christian Montoya wrote:
Otherwise, a great solution is to stop trying to fake the standards
and just use HTML 4.01... it's clean, well-supported, and it allows
targets.
XHTML 1.0 allows the target attribute too in the Transitional DOCTYPE.
Don't confuse the syntax of HTML and XHTML with the d
On 11/12/06, Kepler Gelotte <[EMAIL PROTECTED]> wrote:
> I'm looking for a simple bit of javascript to do the same for the form,
> something like form.target = window.open()
...
My other question would be do you really need to open a separate window to
go to PayPal? I haven't used this feature,
Robin @ Xplore.net wrote:
http://google.com/"; onclick="window.open(this.href); return
false;">
A Test Link
Doesn't answer the actual question about how to do it in forms, though...
P
--
Patrick H. Lauke
__
re·dux (adj.): brought back
e
Sent: Monday, 13 November 2006 6:58 a.m.
To: wsg@webstandardsgroup.org
Subject: [WSG] Replacing target attribute in form
Hi
I have a little online store paying through Paypal, using their
shopping cart. So the buy button opens up a new window and you're into
Paypal.
Unfortunately the b
> I'm looking for a simple bit of javascript to do the same for the form,
> something like form.target = window.open()
Hi Chris,
You could create a javascript function and then call it from within the
action attribute of the form tag:
function test()
{
window.open(...);
}
...
My
Hi
I have a little online store paying through Paypal, using their
shopping cart. So the buy button opens up a new window and you're into
Paypal.
Unfortunately the bit of html for the form uses 'target' to open up the
window and I'm coding in xhtml strict.
I'm using onclick="newWindow() re
16 matches
Mail list logo