Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview not clickable #5

Open
mbujes opened this issue Nov 5, 2012 · 1 comment
Open

Preview not clickable #5

mbujes opened this issue Nov 5, 2012 · 1 comment

Comments

@mbujes
Copy link

mbujes commented Nov 5, 2012

No se puede clickar en la preview, al menos en chrome, te dejo como he dejado el código, adjuntando la última librería de jquery

        var toggle = function () {

            if ( element.style.display === '' ) {

                buttonHide.textContent = 'show code';

                element.style.display = 'none';
                buttonUpdate.style.display = 'none';
                buttonShare.display = 'none';
                    $("#editor").fadeOut();  <---------------


            } else {

                buttonHide.textContent = 'hide code';

                element.style.display = '';
                buttonUpdate.style.display = '';
                buttonShare.display = '';

            $("#editor").fadeIn(); <---------------------
            }

        };

te dejo mi ejemplo en el que no se pódia hacer click y ya sí. pincha sobre el cubo

http://kif.arkasoftware.com/threejs/htmleditor/#B/tRtrc9NI8rPzK+bM7UYBW5ITsgtOTBWPsLt3ZKEIeyy1RaXG0tgWyJJPkhM7bP77dfc8JctJgLpQxNZMv6anu6e7R9k5/seL18/ffXhzwmbVPH2yc4wfLOXZdNQVWRcHBI+f7HSOq6RKxZNqVgjhfyrZpRhPU9ZnvPjMy3xSXfJC+FE+Z2K1EEUyF1l1HEgcQJ6LirNoxotSVKPuspr0H3XNeMbnYtS9SMTlIi+qLovyrAL0UfcyiavZKBYXSST69NBjy1IU/TLiKR+nYpTlPTZPsmS+nNOgGA38EIb4qj5EzMpqTdKM83jNvux0OhNg1J/weZKuh+w0z/JywSNxBDNjHn2eFvkyi/tRnubFkN2bhPivMZnM+VQM2bJIvWQ+DeyMP00mewg858U0yYYsXKzwMb8QxSTNL4dslsSxyGDsGkQLtGxGyh343rmXZJOcRO10FnmZVEkOpPi4zNNlRYJ2OlW+kNQZaWjIBmH4g5xa8DhOsumQHUrmN61YzZXJFaxncKARK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peb0x0C/4XK1ixgndnekdVqS5PC+yvrNBTO9lYJZzK9i5UknKiCPzefSU9V9gL3mktcrho9mQ2/DwlgSpfX3fd6oQc9MnzrX0hpdz7mtzKbk9MdDLSj6Bm/EGkO4x48sgnOvZyQ1Iri3SvTT/gZr2+kDE9cmSqqs977Oftkb/CNUBgk3vcwy4RB55ZztbiXY3XJMximFXB0koAPEN3sn1XLHDfwbvj4K5Y9bJ9GHSq3lk/sHCPgk/8yFvso/2v0f

@mrdoob
Copy link
Owner

mrdoob commented Nov 5, 2012

Ok, le echare un vistazo :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants