NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on June 23, 2014, 02:53:27 AM
-
How to set CSS class and remove or change icon for standard form buttons?
Djordje Radovanovic
-
you want to change them globally - or just on one procedure?
cheers
Bruce
-
If I may choose, both.
Regards,
Djole
-
Globally it's done via the Buttons list in the WebServer procedure, Buttons tab.
Locally it's done by setting the class for the button - just like you set the Text for the Save button on a login form. ie
p_web.site.whateverbutton.Class = 'something'
Cheers
Bruce
-
Bruce,
is there any possibilities to remove or change default icon?
Best regards,
Djordje Radovanovic
-
the following properties are in the group (not just Class).
NetWebButtonGroup Group,Type
Name String(40)
TextValue String(40)
Image String(256)
ImageWidth Long
ImageHeight Long
ImageAlt String(256)
Class String(StyleStringSize)
ToolTip String(256)
UseJavaScript Long
jsIcon String(40)
PopupHeader String(40)
Compact Long
MobileIcon String(40)
MobileText String(40)
End
These are all set on the web server procedure, or can be overridden locally, including the icon.
-
Done.
Thanx Bruce