Almost perfect Philippe, because I don't want to change all my buttons whether some of them or just one and the another have to stay in the
same
colour, I hope you can help me, is it possible to use conditions inside CSS??
Yes, just assign them classes (or id's).
How?? I'm newbie in CSS, so I don't know how to associate one button (or more) to a determined style. Remember that one button can change of colour more than one time in the execution of the application.
Anyway, somebody could explain me and put an example of submitButtonWithAction: image:, I tried all but I couldn't make it work
fine
This is the old and deprecated API, you should stop using it.
with the new API this is
html imageButton form: aFrom; callback: [ ... ]
where aFrom is an instance of Form. You can also do:
html imageButton url: aUrl; callback: [ ... ]
where aUrl is either a String for WAUrl that points to the image
But this shows the image when you submit the button??
Cheers Philippe
2007/5/29, RubÃ(c)n Parra Savall kenterish@hotmail.com:
Hi!
I was digging out how to change the appearance of a normal button to
another
colour or just put in that place a surface coloured. Best thing I found out was the method submitButtonWithAction: image:
,
but I
wondered if someone maybe knows a best way.
CSS
You can make all your buttons red with:
style ^ '.submit { background-color: red; }'
Cheers Philippe
Otherwise, if the method that I mentioned above is the more correct,
how
does it work? Because I know you have to put value to the attributes
'width'
and 'height' but how? How do you put the link to the image, both
local
host
and web?
Thanks very much,
Cheers, RubÃ(c)n
Acepta el reto MSN Premium: Correos más divertidos con fotos y
textos
increÃÂbles en MSN Premium. Descárgalo y pruÃ(c)balo 2 meses
gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_corre...
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
End of Seaside Digest, Vol 53, Issue 67
Acepta el reto MSN Premium: Protección para tus hijos en internet. Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_prote...
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
End of Seaside Digest, Vol 53, Issue 68
_________________________________________________________________ Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_corre...
Rubén,
this could help: http://www.tizag.com/cssT/ http://www.w3schools.com/css/default.asp
this is also a must: www.alistapart.com
enjoy,
Sebastian
-----Mensaje original----- De: seaside-bounces@lists.squeakfoundation.org [mailto:seaside-bounces@lists.squeakfoundation.org] En nombre de Rubén Parra Savall Enviado el: Miércoles, 30 de Mayo de 2007 14:10 Para: seaside@lists.squeakfoundation.org Asunto: RE: [Seaside] Change normal button for any colour
Almost perfect Philippe, because I don't want to change all my buttons whether some of them or just one and the another have to stay in the
same
colour, I hope you can help me, is it possible to use conditions inside CSS??
Yes, just assign them classes (or id's).
How?? I'm newbie in CSS, so I don't know how to associate one button (or more) to a determined style. Remember that one button can change of colour more than one time in the execution of the application.
Anyway, somebody could explain me and put an example of submitButtonWithAction: image:, I tried all but I
couldn't make it
work
fine
This is the old and deprecated API, you should stop using it.
with the new API this is
html imageButton form: aFrom; callback: [ ... ]
where aFrom is an instance of Form. You can also do:
html imageButton url: aUrl; callback: [ ... ]
where aUrl is either a String for WAUrl that points to the image
But this shows the image when you submit the button??
Cheers Philippe
2007/5/29, RubÃ(c)n Parra Savall kenterish@hotmail.com:
Hi!
I was digging out how to change the appearance of a normal button to
another
colour or just put in that place a surface coloured. Best thing I found out was the method
submitButtonWithAction: image:
,
but I
wondered if someone maybe knows a best way.
CSS
You can make all your buttons red with:
style ^ '.submit { background-color: red; }'
Cheers Philippe
Otherwise, if the method that I mentioned above is the more correct,
how
does it work? Because I know you have to put value to the attributes
'width'
and 'height' but how? How do you put the link to the
image, both
local
host
and web?
Thanks very much,
Cheers, RubÃ(c)n
_ Acepta el reto MSN Premium: Correos más divertidos con fotos y
textos
increÃÂbles en MSN Premium. Descárgalo y pruÃ(c)balo 2 meses
gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_corre...
smasdivertidos
Seaside mailing list Seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seasi
de
Seaside mailing list Seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
End of Seaside Digest, Vol 53, Issue 67
Acepta el reto MSN Premium: Protección para tus hijos en
internet.
Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviado
s_protecci
oninfantil
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
End of Seaside Digest, Vol 53, Issue 68
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados
_correosmasdivertidos
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
2007/5/30, Rubén Parra Savall kenterish@hotmail.com:
Almost perfect Philippe, because I don't want to change all my buttons whether some of them or just one and the another have to stay in the
same
colour, I hope you can help me, is it possible to use conditions inside CSS??
Yes, just assign them classes (or id's).
How?? I'm newbie in CSS, so I don't know how to associate one button (or more) to a determined style.
Give it a class with
html submitButton class: 'myClass'; with: [ ... ]
and then somewhere have a CSS with .myClass { background-color: red; }
Remember that one button can change of colour more than one time in the execution of the application.
That's no problem, you can give it a different class the next time you render it.
Anyway, somebody could explain me and put an example of submitButtonWithAction: image:, I tried all but I couldn't make it work
fine
This is the old and deprecated API, you should stop using it.
with the new API this is
html imageButton form: aFrom; callback: [ ... ]
where aFrom is an instance of Form. You can also do:
html imageButton url: aUrl; callback: [ ... ]
where aUrl is either a String for WAUrl that points to the image
But this shows the image when you submit the button??
No this shows an image and when you click on it, it submits the form.
Cheers Philippe
Cheers Philippe
2007/5/29, RubÃ(c)n Parra Savall kenterish@hotmail.com:
Hi!
I was digging out how to change the appearance of a normal button to
another
colour or just put in that place a surface coloured. Best thing I found out was the method submitButtonWithAction: image:
,
but I
wondered if someone maybe knows a best way.
CSS
You can make all your buttons red with:
style ^ '.submit { background-color: red; }'
Cheers Philippe
Otherwise, if the method that I mentioned above is the more correct,
how
does it work? Because I know you have to put value to the attributes
'width'
and 'height' but how? How do you put the link to the image, both
local
host
and web?
Thanks very much,
Cheers, RubÃ(c)n
Acepta el reto MSN Premium: Correos más divertidos con fotos y
textos
increÃÂbles en MSN Premium. Descárgalo y pruÃ(c)balo 2 meses
gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_corre...
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
End of Seaside Digest, Vol 53, Issue 67
Acepta el reto MSN Premium: Protección para tus hijos en internet. Descárgalo y pruÃ(c)balo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_prote...
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
End of Seaside Digest, Vol 53, Issue 68
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_corre...
Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
seaside@lists.squeakfoundation.org