[CLOSED] How can I add a customer image to a toolbar?

  1. #1

    [CLOSED] How can I add a customer image to a toolbar?



    I would like to add some branding to my sites with a company logo in the toolbar header in the "North" section of my viewport... I add the code dynamically like this:

    Dim LogoButton As New ToolbarButton
    LogoButton.IconCls = "MyIcon"
    LogoButton.Width = 500
    ToolBarHeader.Items.Add(LogoButton)
    <style type="text/css">
      button.MyIcon { background-image: url(/intranet/images/mmlogo_final.gif); width:100; }
    </style>
    The button appears but it is only a small square (20x20 pixels). Is there a better way to do this than adding a button? What is the ToolbarHTMLElement, would that be useful?
  2. #2

    RE: [CLOSED] How can I add a customer image to a toolbar?

    Nevermind, I can just do this... please mark as [CLOSED]

    Dim Logo As New Coolite.Ext.Web.Image
    Logo.ImageUrl = "/intranet/images/mmlogo_final.gif"
    ToolBarHeader.Items.Add(Logo)

Similar Threads

  1. [CLOSED] ext:Image - How I can show a menu when click in ext:Image?
    By supera in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:56 PM
  2. [CLOSED] Error occurss in customer with triggerfield
    By supera in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Mar 28, 2012, 1:28 PM
  3. Replies: 6
    Last Post: Mar 28, 2012, 11:05 AM
  4. Replies: 1
    Last Post: Jan 04, 2010, 5:05 PM
  5. Flat Toolbar/button - stop hover image
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Jun 17, 2009, 6:03 PM

Posting Permissions