We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Pulling value from color picker

Home Forums Puzzles Pulling value from color picker

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #29898

    I’ve never worked with code before but I got this color picker into my Webflow project along with my Verge app. I’m trying to take the hex output from the picker and use it for a color value in my material however, I’m not sure how to go about setting up the puzzles.

    Attachments:
    You must be logged in to view attached files.
    #29976
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    The picker color value can be obtained by get attr puzzle.

    Then you can check ‘CSS color’ in the set color puzzle and use the obtained color value with it.

    Attachments:
    You must be logged in to view attached files.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #30065

    Hi,
    The picker color value can be obtained by get attr puzzle.
    Then you can check ‘CSS color’ in the set color puzzle and use the obtained color value with it.

    I tried “myID” in the element slot and had no luck. I tried “Picker” because that’s what I believe it’s named in webflow but no luck either.

    #30090
    Yuri KovelenovYuri Kovelenov
    Developer

    from your screenshot I can see that the id is “hex”

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #30110

    Still nothing. Am I missing something like an ‘On Event Of’ puzzle?

    Attachments:
    You must be logged in to view attached files.
    #30112

    Not sure if this will help but here’s the webflow project:
    https://camerons-awesome-project-f4e770.webflow.io/

    #30113

    Here’s the link if that helps:
    https://camerons-awesome-project-f4e770.webflow(.)io

    #30132
    Yuri KovelenovYuri Kovelenov
    Developer

    it looks like your main html page is hosted on Webflow, while the 3d app is hosted on Verge3D network.
    due to security policy, such the setup won’t work.
    please consider hosting everything on the same domain

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #30159

    I exported the code from webflow into my project and when I launch my app the color picker works but it still won’t affect my materials. Here is a link to the zipped project file (the puzzles will be incorrect, I was messing around trying different things):
    https://www.dropbox.com/sh/jrqrcu7tdm0tdoy/AAAxFU4ozml8jGMn3QyTJRAMa?dl=0

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.