Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-15 03:46:35

juliane
Member
Registered: 2009-02-08
Posts: 33

preview and submit buttons

hi,

for my comments preview and submit buttons.. they are not showing the mouse hand when over them… like when you go mouseover a link or any other button. how and where can I change this.. so these can look like buttons?

thanks.

Last edited by juliane (2009-03-15 03:47:24)

Offline

#2 2009-03-15 07:27:53

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: preview and submit buttons

Hi juliane

Css solves this. Use something like

#txpCommentPreview, #txpCommentSubmit {cursor:pointer}

you can also have the disabled “submit button” disappear from the screen by using

.disabled {display:none}


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2009-03-15 19:04:46

juliane
Member
Registered: 2009-02-08
Posts: 33

Re: preview and submit buttons

it worked nicely. :)

and how can I change the label on the submit button from “submit” to “ok”?

tried <txp:comment_submit value=“ok” /> but didn’t work..

Offline

#4 2009-03-15 19:44:40

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: preview and submit buttons

You’ll need to hard code that one. Something like <input type="submit" name="submit" value="ΟΚ" <txp:if_comments_preview>class="button"<txp:else />class="button disabled" disabled="disabled"</txp:if_comments_preview> id="txpCommentSubmit" /> should work


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB