Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 09:07:03 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
Change cursor for readonly input
Pages: [
1
]
« previous
next »
Print
Author
Topic: Change cursor for readonly input (Read 791 times)
Subudayj
Newbie
Posts: 2
Change cursor for readonly input
«
on:
September 05, 2011, 03:05:44 AM »
Hello.
I would like to know if it's possible to change cursor (pointer) for readonly input element?
I've tried to use .setCustomStyle('KEY-readonly','cursor:default'), but it doesn't seems to work.
Thanks in advance.
append( (new linb.UI.Input) .setHost(host,"ctl_input1") .setReadonly(true) .setLeft(500) .setTop(200) .setLabelCaption("ctl_input1") .setCustomStyle({"KEY-readonly":"cursor:default"}) );
Logged
linb
Administrator
Hero Member
Posts: 435
Re: Change cursor for readonly input
«
Reply #1 on:
September 05, 2011, 03:25:24 AM »
Update code from svn first:
1.for just one:
append( (new linb.UI.Input) .setHost(host,"ctl_input1") .setReadonly(true) .setLeft(500) .setTop(200) .setLabelCaption("ctl_input1") .setCustomStyle({"INPUT":"cursor:default"}) );
2. for all -> add css style:
linb.CSS.addStyleSheet(".linb-input-readonly input{cursor:default;}", "mycss");
3.for all -> add a css file:
.linb-input-readonly input{
cursor:default
}
Logged
Subudayj
Newbie
Posts: 2
Re: Change cursor for readonly input
«
Reply #2 on:
September 05, 2011, 04:23:53 AM »
Thanks a lot, it works (version from svn has helped)!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...