Announcement

Collapse
No announcement yet.

Colorpicker Integration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Colorpicker Integration

    Needed to implement a colorpicker in conjunction with Norman's Multi Other Info Prompt and Norman has kindly produced a very elegant colorpicker plugin that works beautifully.

    It is not on his website but you can email him on info@drillpine.biz

    Here is a test site: http://www.graphicz.solutions/colorp...Colour-47.html

    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    I've made it into a general purpose add-on. Only needs a single line added to Standard Javascript Header Functions and it activates automatically if the Other Info prompt contains an asterisk '*' character. Or follow the '*' with 6 hex digits to preset a colour.

    It can also set the background colour of any page element when a colour selection is made. Here's an example where you can design a flag online.



    The above used a Multi Other Info prompt like:
    Code:
    4Top*dd0000 |4Middle*ffffff |4Bottom*0000dd
    And I pasted this into the Product Description to show the flag.
    Code:
    !!<
    	<div class="dpcp_1_<actinic:variable name="ProductID" />" style="width:150px; height:35px; border:1px solid silver;"></div>
    	<div class="dpcp_2_<actinic:variable name="ProductID" />" style="width:150px; height:35px; border:1px solid silver; border-top:0;"></div>
    	<div class="dpcp_3_<actinic:variable name="ProductID" />" style="width:150px; height:35px; border:1px solid silver; border-top:0;"></div>
    >!!
    The flagpole was extra!
    Attached Files
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      I like that a lot.

      I have no use for it, but wish I did.

      Good work Norman.
      Regards

      Jason

      Titan Jewellery (Swift Design)
      Zirconium Rings
      Damascus Steel Rings

      Comment


        #4
        Live demo on http://www.drillpine.biz/v16-magiczo...ur-Picker.html
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X