Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: ShowInventoryTable conten colour

  1. #1
    snowy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    148

    Default ShowInventoryTable conten colour

    Hi please can someone please remind me on how the change the colour of the content in the ShowInventoryTable. I have done it once but now i forgot how I did it.

    Thank you

  2. #2
    Jao is offline Senior Member
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    If you have the source code, you can try the following:

    Project: AspDotNetStorefrontCore (for ML8010 and above)/ AspDotNetStorefrontCommon (older)
    Class: AppLogic.cs
    Method: GetInventoryTable

    Add the highlighted part:
    Code:
    tmpS.Append("<table id=\"inventorytable\" border=\"0\" align=\"center\" cellpadding=\"1\" cellspacing=\"1\" style=\"border-style: solid; border-color: #EEEEEE; border-width: " + CommonLogic.IIF(IncludeFrame, "1", "0") + "px;\">\n");
    Then add this CSS prototype on {root}/skins/Skin_#/style.css
    Code:
    #inventorytable
    {
        background-color:Aqua;
    }
    That's it...

  3. #3
    snowy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    148

    Default

    Thanks Jao it worked very well

    Ermes