CssClassTop
string CssClass
Set custom css class for button.
Show/Hide Code
<?php
$socialshare = new KoolSocialShare("socialshare");
$button = new SocialButton("Facebook");
$button->CssClass = "my_facebook_cssclass";
$socialshare->Add($button);
?>
...
<style>
.my_facebook_cssclass
{
border:solid 1px blue;
}
</style>
Supported from version: 1.0.0.0
HeightTop
string Height
Set height of social button.
Show/Hide Code
<?php
$socialshare = new KoolSocialShare("socialshare");
$button = new SocialButton("Facebook");
$button->Height = "24px";
$socialshare->Add($button);
?>
Supported from version: 1.0.0.0
ImageSrcTop
string ImageSrc
Set the custom image for social button.
Show/Hide Code
<?php
$socialshare = new KoolSocialShare("socialshare");
$button = new SocialButton("Facebook");
$button->ImageSrc = "images/my_facebook_image.jpg";
$socialshare->Add($button);
?>
Supported from version: 1.0.0.0
TextTop
string Text
Set text of social button.
Show/Hide Code
<?php
$socialshare = new KoolSocialShare("socialshare");
$button = new SocialButton("Facebook");
$button->Text = "Share on Facebook";
$socialshare->Add($button);
?>
Supported from version: 1.0.0.0
WidthTop
string Width
Set width of social button.
Show/Hide Code
<?php
$socialshare = new KoolSocialShare("socialshare");
$button = new SocialButton("Facebook");
$button->Width = "24px";
$socialshare->Add($button);
?>
Supported from version: 1.0.0.0