Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Mariya 11 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxButton tagImage #25086

    shardik
    Participant

    Hello

    How can I set a image in a jqxButton, or LinkButton?

    Shardik

    jqxButton tagImage #25093

    Mariya
    Participant

    Hi shardik,

    Please take a look at the provided example:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript" src="../../scripts/gettheme.js"></script>
    <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/jquery-1.10.1.min.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script>
    </head>
    <body>
    <div id='content'>
    <script type="text/javascript">
    $(document).ready(function () {
    $("#jqxButton").jqxButton();
    });
    </script>
    <div id="jqxButton" style='padding: 0px; margin: 0px; height: 95px; float: left;'><img width='60' style='float: left; margin-top: 4px; margin-right: 15px;' src='../../images/avatar.png'/><div style='margin-top: 10px; font-size: 13px;'><b>Title</b><div>Avatar</div><div style='margin-top: 10px;'><b>Year</b><div>2010</div></div></div>
    </div>
    </div>
    </body>
    </html>

    I hope it would be helpful in your case.

    Best Wishes,
    Mariya

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.