![]() That way - the javascript can still identify and manipulate elements and your added class will remain untouched and thus, your css will continue to apply. Instead, you may wish to add another class to the button in addition to jscolor. Did you pick colors from a photo or from a solid rectangle If the sample area would affect picking colors from a solid color area, that would be a bug, but for. You can double-click on either swatch to access its respective Color Picker. At the bottom of the Tools panel, you'll see two colored swatches, which correspond to the current fill and stroke colors. When the user has pressed it, it's given the class jscolor-active instead of jscolor - therefore, your css no longer applies. Expand the Print dialog box by clicking the arrow next to the Printer pop-up menu. First, launch Illustrator and select an object on the artboard that needs a color adjustment.You're using an event handler to update the colour of the button.You've given the element a value - this is both printed and used as a background.At second- In the same screen (below the text 'meena') I clicked rose color from color picker and chose different shapes like rectangle and I wrote a word apple. In the class attribute, they also supply what appears to be json - you only supplied the jscolor class At first- if I draw triangle and write some text like 'meena', then applied blue color from color picker, it works fine.They used a button and you used an input type='button'. ![]() ![]() If you have a closer look at their examples page, here: and search for the "Linking to different elements" example, you'll find exactly what you need.įrom what I can tell, there are 3 differences between their code for a button and yours. Go to the colour panel, click the little down-arrow in the top right corner, and change there: Share Improve this answer Follow edited at 9:28 Arosha De Silva 103 5 answered at 15:50 benteh 10.8k 4 42 60 Yes this is my problem also, but I change it and after some time it keeps changing to Grayscale.
0 Comments
Leave a Reply. |