Re: [WSG] Triggering POSTs with links?

2007-06-25 Thread Paul Novitski

At 6/20/2007 07:52 AM, Richard Ishida wrote:
I put together a box that expands to accommodate larger text in 
translation, but I forgot that text on a submit button doesn't wrap :O


Original: 
http://www.w3.org/International/questions/qa-css-charset.en.php#endlinks 
(see the box to the right)
First problematic translation: 
http://www.w3.org/International/questions/qa-css-charset.fr.php#endlinks


I want the text "Send us a comment" to look like a link, but trigger 
a POST, so I put the text in a submit button and styled it. 
Unfortunately the longer translations won't wrap that way.



Richard,

Another method is to create a transparent button image and place it 
on top of the text (i.e. in a layer between the text and the viewer), 
something like this:




Envoyez-nous un commentaire
name="sendcomment" />




/* make all three elements the same size & resizable */
div,
div p,
div input
{
font-size: 1em;
width: 10em;
height: 3em;
}
/* the div constrains the text & button */
div
{
position: relative;
}
/* superimpose the text & button within the div */
div p,
div input
{
position: absolute;
top: 0;
left: 0;
margin: 0;
}

http://juniperwebcraft.com/test/transparent-button.html

Warm regards,

Paul
__

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com
+1-250-355-2541
skype juniperpaul 




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Triggering POSTs with links?

2007-06-21 Thread Sander Aarts

Why do need a POST anyway if I may ask?

cheers,
Sander


Richard Ishida schreef:
I put together a box that expands to accommodate larger text in translation, but I forgot that text on a submit button doesn't wrap :O 


Original: 
http://www.w3.org/International/questions/qa-css-charset.en.php#endlinks (see 
the box to the right)
First problematic translation: 
http://www.w3.org/International/questions/qa-css-charset.fr.php#endlinks

I want the text "Send us a comment" to look like a link, but trigger a POST, so 
I put the text in a submit button and styled it. Unfortunately the longer translations 
won't wrap that way.




http://www.w3.org/International/questions/qa-css-charset.fr.php"; type="hidden">
 



Does anyone know a better way to do this?  I was hoping to avoid using 
JavaScript, if possible.

Cheers,
RI



Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
 
http://www.w3.org/People/Ishida/

http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
 




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


  



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] Triggering POSTs with links?

2007-06-21 Thread Sander Aarts


Richard Ishida schreef:

It's annoying that it doesn't work so well in Opera, but I'd rather give the
problem to Opera users than IE users.

Ouch! That hurts man...


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Triggering POSTs with links?

2007-06-21 Thread Mike at Green-Beast.com
Richard Ishida wrote:
> It's annoying that it doesn't work so well in Opera,
> but I'd rather give the problem to Opera users than
> IE users.  This also seems a much more sensible
> approach. I guess I should contact Opera and see if
> we can't get this 'fixed'.

I'm bummed it doesn't work as well in Opera. I just realized that last night 
before I sent it (hence the after thought disclaimer). It's a usability 
issue because Opera users will think they can click something when they 
can't. Can't rely on a title attribute of course thus I think the best 
option is to make the visible text more clear -- temporary solution, anyway.

What I just did on my daughter's blog (http://sarahcherim.com/) is change 
the label text

From:

"Use PayPal to give Sarah some college money as a way of saying thanks 
and good luck!"

To:

"Click the dancing cow to give Sarah some college money with PayPal as a 
way of saying thanks and good luck! "

And that way at least the what to do clue is visible to Opera users, and 
everyone else can get away with missing the cow and clicking the text so 
it's more like an enhancement. I had to do something. Still didn't add the 
legend, but I'll do that when I have more time to fool with it so it doesn't 
change the look.

Just a thought.

Cheers.
Mike Cherim


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***<>

RE: [WSG] Triggering POSTs with links?

2007-06-21 Thread Richard Ishida
Ah, that makes a lot more sense, Mike.  Thanks. 

It's annoying that it doesn't work so well in Opera, but I'd rather give the
problem to Opera users than IE users.  This also seems a much more sensible
approach. I guess I should contact Opera and see if we can't get this
'fixed'.

So now my code looks like this:

.container label.interaction {
  font-size: 130%;
  color: #e70;
  background-color: #ff; 
  border: 0; 
  margin: 0; 
  padding: 0;
  cursor: pointer;
  }



 Envoyez-nous un commentaire


 


I'm wondering whether to add a title attribute telling Opera users to click
the icon, or whether they'll figure it out.

Thanks all for the help.

RI


Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
 
http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
 
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike at 
> Green-Beast.com
> Sent: 21 June 2007 05:18
> To: wsg@webstandardsgroup.org
> Subject: Re: [WSG] Triggering POSTs with links?
> 
> Thierry Koblentz wrote:
> > I came up with this:
> > http://www.tjkdesign.com/lab/button.asp
> > But it requires to move the text out of the button :(
> 
> I'm sort of just catching the end of this, but are you guys 
> talking about something like what I did on my daughter's blog [1]?
> 
> [1] http://sarahcherim.com/ (look at the "Contribution Cow" 
> on the sidebar)
> 
> I didn't use button (not sure if that's was the point or just 
> making clickable image/text form posting).
> 
> Cheers.
> Mike Cherim
> 
> PS. Just a little disclaimer, looking at the image/text form 
> on that site I realized I should have used a legend instead 
> of the heading. It's not clickable in Opera either, by the 
> way -- just the image.
>  
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
> 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-21 Thread Chris Taylor
Cheers, I thought that when I went back to it as well. I'll get that done
very soon.

Chris


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Thierry Koblentz
Sent: 20 June 2007 17:49
To: wsg@webstandardsgroup.org
Subject: RE: [WSG] Triggering POSTs with links?

> On Behalf Of Chris Taylor
> Have you tried the  element? As far as I know that can be
> styled
> pretty much how you want. I used it on this page:
> http://www.searchandgo.com/weather/United-States/New-York-City/ - the
> "New
> York City exchange rates" text on the left is a button.

Clever...
I'd add a "cursor:pointer" declaration to give pointing device users a clue
that this text is "clickable".

---
Regards,
Thierry | www.TJKDesign.com





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Thierry Koblentz
> On Behalf Of Mike at Green-Beast.com
> I'm sort of just catching the end of this, but are you guys talking
> about
> something like what I did on my daughter's blog [1]?
> 
> [1] http://sarahcherim.com/ (look at the "Contribution Cow" on the
> sidebar)
> 
> I didn't use button (not sure if that's was the point or just making
> clickable image/text form posting).

Hi Mike,
That's a nice trick. As a side note, I think you could drop the "for"
attribute as you have the input element inside the label.

---
Regards,
Thierry | www.TJKDesign.com






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Triggering POSTs with links?

2007-06-20 Thread Mike at Green-Beast.com
Thierry Koblentz wrote:
> I came up with this:
> http://www.tjkdesign.com/lab/button.asp
> But it requires to move the text out of the button :(

I'm sort of just catching the end of this, but are you guys talking about 
something like what I did on my daughter's blog [1]?

[1] http://sarahcherim.com/ (look at the "Contribution Cow" on the sidebar)

I didn't use button (not sure if that's was the point or just making 
clickable image/text form posting).

Cheers.
Mike Cherim

PS. Just a little disclaimer, looking at the image/text form on that site I 
realized I should have used a legend instead of the heading. It's not 
clickable in Opera either, by the way -- just the image.
 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Thierry Koblentz
> On Behalf Of Sander Aarts
> Thierry Koblentz schreef:
> > I came up with this:
> > http://www.tjkdesign.com/lab/button.asp
> > But it requires to move the text out of the button :(
> >
> 
> In Opera (9.21) not all of the text is clickable.

Hi Sander, thanks for the feedback. 
I just checked in Opera 8.5 and it is even worst, the whole button area is
clickable, which means much more than just the text. It seems that from v8.5
to v9.21 they went from one extreme to the other :)

---
Regards,
Thierry | www.TJKDesign.com






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Triggering POSTs with links?

2007-06-20 Thread Sander Aarts


Thierry Koblentz schreef:

I came up with this:
http://www.tjkdesign.com/lab/button.asp
But it requires to move the text out of the button :(
  


In Opera (9.21) not all of the text is clickable.


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Thierry Koblentz
> On Behalf Of Richard Ishida
 
> Thanks, Thierry.  Yes, I'm beginning to conclude that that's the only
> thing
> that I can do, too.  It doesn't really solve the problem though, when
> you
> have flexibility wrt box size or fonts, accessibility zooming, etc.  Oh
> well...

I came up with this:
http://www.tjkdesign.com/lab/button.asp
But it requires to move the text out of the button :(

---
Regards,
Thierry | www.TJKDesign.com






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Richard Ishida
Thanks, Thierry.  Yes, I'm beginning to conclude that that's the only thing
that I can do, too.  It doesn't really solve the problem though, when you
have flexibility wrt box size or fonts, accessibility zooming, etc.  Oh
well...

Glad you enjoyed the talk.

Cheers, RI


Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
 
http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
 
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Thierry Koblentz
> Sent: 20 June 2007 18:46
> To: wsg@webstandardsgroup.org
> Subject: RE: [WSG] Triggering POSTs with links?
> 
> > On Behalf Of Richard Ishida
> > Hmm. On the other hand..
> > 
> > It works fine in Firefox, Opera, Safari (Win), but not in IE :((
> > 
> > Grr.
> 
> AFAIK, the only thing that works in IE is to use a  
> within the string...
> 
> OT: really enjoyed your presentation at @media in San 
> Francisco the other week :-)
> 
> ---
> Regards,
> Thierry | www.TJKDesign.com
> 
> 
> 
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
> 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Richard Ishida
Thanks, Nick.

I did have the attribute set already, but it doesn't seem to help.  Here is
my code now:


 Envianos un
comentario


 


And my CSS:

.container button.interaction {
  font-size: 130%;
  color: #e70;
  background-color: #ff; 
  border: 0; 
  margin: 0; 
  padding: 0;
  text-align: left; /* for IE */
  cursor: pointer;
  max-width: 100%;
  }

IE still truncates the French, rather than wrapping it.  I will probably
have to resort to using , but that's far from ideal for boxes with
some flex to them or when users may have different fonts etc.

RI


Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
 
http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
 
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Nick Fitzsimons
> Sent: 20 June 2007 18:17
> To: wsg@webstandardsgroup.org
> Subject: Re: [WSG] Triggering POSTs with links?
> 
> On 20 Jun 2007, at 17:37:59, Richard Ishida wrote:
> 
> > Hmm. On the other hand..
> >
> > It works fine in Firefox, Opera, Safari (Win), but not in IE :((
> >
> > Grr.
> 
> Have you specified the "type" attribute with value "submit"? 
> Although the spec states that this is the default, IE 
> defaults to the value "button" instead. Specifying the 
> attribute should get it working in IE.
> 
> OT: really enjoyed your presentation at @media in London the 
> other week :-)
> 
> HTH,
> 
> Nick.
> --
> Nick Fitzsimons
> http://www.nickfitz.co.uk/
> 
> 
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
> 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Thierry Koblentz
> On Behalf Of Richard Ishida
> Hmm. On the other hand..
> 
> It works fine in Firefox, Opera, Safari (Win), but not in IE :((
> 
> Grr.

AFAIK, the only thing that works in IE is to use a  within the
string...

OT: really enjoyed your presentation at @media in San Francisco the other
week :-)

---
Regards,
Thierry | www.TJKDesign.com






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Triggering POSTs with links?

2007-06-20 Thread Nick Fitzsimons

On 20 Jun 2007, at 17:37:59, Richard Ishida wrote:


Hmm. On the other hand..

It works fine in Firefox, Opera, Safari (Win), but not in IE :((

Grr.


Have you specified the "type" attribute with value "submit"? Although  
the spec states that this is the default, IE defaults to the value  
"button" instead. Specifying the attribute should get it working in IE.


OT: really enjoyed your presentation at @media in London the other  
week :-)


HTH,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Triggering POSTs with links?

2007-06-20 Thread Alan Trick
I don't know if this is important to you, but you should really use GET,
not POST. POST is supposed to be used when you're actually doing
something to a page like submitting data. There, you're just getting a
form. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

Alan Trick

Richard Ishida wrote:
> I put together a box that expands to accommodate larger text in translation, 
> but I forgot that text on a submit button doesn't wrap :O 
> 
> Original: 
> http://www.w3.org/International/questions/qa-css-charset.en.php#endlinks (see 
> the box to the right)
> First problematic translation: 
> http://www.w3.org/International/questions/qa-css-charset.fr.php#endlinks
> 
> I want the text "Send us a comment" to look like a link, but trigger a POST, 
> so I put the text in a submit button and styled it. Unfortunately the longer 
> translations won't wrap that way.
> 
> 
> 
>  type="hidden">
>  value="http://www.w3.org/International/questions/qa-css-charset.fr.php"; 
> type="hidden">
>  
> 
> 
> Does anyone know a better way to do this?  I was hoping to avoid using 
> JavaScript, if possible.
> 
> Cheers,
> RI
> 
> 
> 
> Richard Ishida
> Internationalization Lead
> W3C (World Wide Web Consortium)



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


signature.asc
Description: OpenPGP digital signature


RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Thierry Koblentz
> On Behalf Of Chris Taylor
> Have you tried the  element? As far as I know that can be
> styled
> pretty much how you want. I used it on this page:
> http://www.searchandgo.com/weather/United-States/New-York-City/ - the
> "New
> York City exchange rates" text on the left is a button.

Clever...
I'd add a "cursor:pointer" declaration to give pointing device users a clue
that this text is "clickable".

---
Regards,
Thierry | www.TJKDesign.com





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Richard Ishida
Hmm. On the other hand..

It works fine in Firefox, Opera, Safari (Win), but not in IE :((

Grr.

RI


Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
 
http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
 
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Richard Ishida
> Sent: 20 June 2007 17:08
> To: wsg@webstandardsgroup.org
> Subject: RE: [WSG] Triggering POSTs with links?
> 
> Aha!  Yes, that seems to do the job, if I set an appropriate 
> width.  Many thanks, Chris.
> 
> What a great list this is.
> 
> RI
> 
> 
> Richard Ishida
> Internationalization Lead
> W3C (World Wide Web Consortium)
>  
> http://www.w3.org/People/Ishida/
> http://www.w3.org/International/
> http://people.w3.org/rishida/blog/
> http://www.flickr.com/photos/ishida/
>  
>  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Chris Taylor
> > Sent: 20 June 2007 16:11
> > To: wsg@webstandardsgroup.org
> > Subject: RE: [WSG] Triggering POSTs with links?
> > 
> > Have you tried the  element? As far as I know that can be 
> > styled pretty much how you want. I used it on this page:
> > http://www.searchandgo.com/weather/United-States/New-York-City
> / - the "New York City exchange rates" text on the left is a > button.
> > 
> > I may have missed the point of your question, of course. It happens 
> > regularly with me.
> > 
> > Chris
> > 
> > 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Richard Ishida
> > Sent: 20 June 2007 15:52
> > To: wsg@webstandardsgroup.org
> > Subject: [WSG] Triggering POSTs with links?
> > 
> > I put together a box that expands to accommodate larger text in 
> > translation, but I forgot that text on a submit button 
> doesn't wrap :O
> > 
> > Original:
> > http://www.w3.org/International/questions/qa-css-charset.en.ph
> p#endlinks
> > (see the box to the right)
> > First problematic translation:
> > http://www.w3.org/International/questions/qa-css-charset.fr.ph
> p#endlinks
> > 
> > I want the text "Send us a comment" to look like a link, 
> but trigger a 
> > POST, so I put the text in a submit button and styled it. 
> > Unfortunately the longer translations won't wrap that way.
> > 
> >  > method="post">  > type="submit">  > value="/International/questions/qa-css-charset.en.php"
> > type="hidden">
> >  > value="http://www.w3.org/International/questions/qa-css-charse
> t.fr.php"
> > type="hidden">
> >  
> > 
> > Does anyone know a better way to do this?  I was hoping to 
> avoid using 
> > JavaScript, if possible.
> > 
> > Cheers,
> > RI
> > 
> > 
> > 
> > Richard Ishida
> > Internationalization Lead
> > W3C (World Wide Web Consortium)
> >  
> > http://www.w3.org/People/Ishida/
> > http://www.w3.org/International/
> > http://people.w3.org/rishida/blog/
> > http://www.flickr.com/photos/ishida/
> >  
> > 
> > 
> > 
> > ***
> > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> > Help: [EMAIL PROTECTED]
> > ***
> > 
> > 
> > 
> > 
> > ***
> > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> > Help: [EMAIL PROTECTED]
> > ***
> > 
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
> 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Richard Ishida
Aha!  Yes, that seems to do the job, if I set an appropriate width.  Many
thanks, Chris.

What a great list this is.

RI


Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
 
http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
 
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris Taylor
> Sent: 20 June 2007 16:11
> To: wsg@webstandardsgroup.org
> Subject: RE: [WSG] Triggering POSTs with links?
> 
> Have you tried the  element? As far as I know that 
> can be styled pretty much how you want. I used it on this page:
> http://www.searchandgo.com/weather/United-States/New-York-City
/ - the "New York City exchange rates" text on the left is a > button.
> 
> I may have missed the point of your question, of course. It 
> happens regularly with me.
> 
> Chris
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Richard Ishida
> Sent: 20 June 2007 15:52
> To: wsg@webstandardsgroup.org
> Subject: [WSG] Triggering POSTs with links?
> 
> I put together a box that expands to accommodate larger text 
> in translation, but I forgot that text on a submit button 
> doesn't wrap :O 
> 
> Original:
> http://www.w3.org/International/questions/qa-css-charset.en.ph
p#endlinks
> (see the box to the right)
> First problematic translation:
> http://www.w3.org/International/questions/qa-css-charset.fr.ph
p#endlinks
> 
> I want the text "Send us a comment" to look like a link, but 
> trigger a POST, so I put the text in a submit button and 
> styled it. Unfortunately the longer translations won't wrap that way.
> 
>  method="post">   value="/International/questions/qa-css-charset.en.php"
> type="hidden">
>  value="http://www.w3.org/International/questions/qa-css-charse
t.fr.php"
> type="hidden">
>  
> 
> Does anyone know a better way to do this?  I was hoping to 
> avoid using JavaScript, if possible.
> 
> Cheers,
> RI
> 
> 
> 
> Richard Ishida
> Internationalization Lead
> W3C (World Wide Web Consortium)
>  
> http://www.w3.org/People/Ishida/
> http://www.w3.org/International/
> http://people.w3.org/rishida/blog/
> http://www.flickr.com/photos/ishida/
>  
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
> 
> 
> 
> 
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
> 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



RE: [WSG] Triggering POSTs with links?

2007-06-20 Thread Chris Taylor
Have you tried the  element? As far as I know that can be styled
pretty much how you want. I used it on this page:
http://www.searchandgo.com/weather/United-States/New-York-City/ - the "New
York City exchange rates" text on the left is a button.

I may have missed the point of your question, of course. It happens
regularly with me.

Chris



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Ishida
Sent: 20 June 2007 15:52
To: wsg@webstandardsgroup.org
Subject: [WSG] Triggering POSTs with links?

I put together a box that expands to accommodate larger text in translation,
but I forgot that text on a submit button doesn't wrap :O 

Original:
http://www.w3.org/International/questions/qa-css-charset.en.php#endlinks
(see the box to the right)
First problematic translation:
http://www.w3.org/International/questions/qa-css-charset.fr.php#endlinks

I want the text "Send us a comment" to look like a link, but trigger a POST,
so I put the text in a submit button and styled it. Unfortunately the longer
translations won't wrap that way.




http://www.w3.org/International/questions/qa-css-charset.fr.php";
type="hidden">
 


Does anyone know a better way to do this?  I was hoping to avoid using
JavaScript, if possible.

Cheers,
RI



Richard Ishida
Internationalization Lead
W3C (World Wide Web Consortium)
 
http://www.w3.org/People/Ishida/
http://www.w3.org/International/
http://people.w3.org/rishida/blog/
http://www.flickr.com/photos/ishida/
 



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***