• Resolved webkocken

    (@webkocken)


    I want to add a color picker that I have found: Color picker into a page or a post.

    Been trying for a while now, but I just can’t get it to work.

    How should I get it working?

    Create a template that I add into a post?
    Paste each code into every file necessary?

    Really in need of some help here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter webkocken

    (@webkocken)

    I hve found a other color picker, that i’ve gotten working half the way: Other color picker

    I have this code in my header.php:

    [192 lines of code moderated as per the Forum Rules. Please use the pastebin]

    But I only get the box with the color code showing. Not the sliders or the circle where I can choose the color.

    Thread Starter webkocken

    (@webkocken)

    This is the code in the header.php:

    https://pastebin.com/=mPMb9bG1

    And this is the code I add in a new Page:

    <div id = "sliders">
    		<div id="colorpicker"></div>
    		<div id="swatch" class="ui-widget-content ui-corner-all">
    			<div id="innerswatch">#000000</div>
    	</div>
    		<div style = "clear:both"></div>
    		<div id="red"></div>
    		<div id="green"></div>
    		<div id="blue"></div>
    	</div>

    Sorry bout the mishap with the code…

    Thread Starter webkocken

    (@webkocken)

    Ok, if I out it this way…

    If I want to implement this Color Picker in a page, how can I do that?

    Thread Starter webkocken

    (@webkocken)

    Problem solved… I just added the code in a iframe.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding a color picker to a page or post?’ is closed to new replies.