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

About example 2 #3

Open
cengbozo opened this issue Nov 2, 2015 · 2 comments
Open

About example 2 #3

cengbozo opened this issue Nov 2, 2015 · 2 comments

Comments

@cengbozo
Copy link

cengbozo commented Nov 2, 2015

Hi @crnacura ,
i follow tympanus few years first thanks for everything really good content!
About this grid effects i play with 2nd example i added to head modernizr.js and style2.css for body added other jss and script exaclty like example. and run it. But it didnt works error was at :
main.js :80
Uncaught TypeError: Cannot read property 'querySelector' of null
What do you think about this?
ekran resmi 2015-11-02 15 09 39

@botelho
Copy link
Member

botelho commented Nov 2, 2015

Hi, please make sure the HTML structure is identical to the original code. It looks like the previewEl is not the next sibling of the gridEl in your case.

@mattkrupnik
Copy link

mattkrupnik commented Mar 2, 2017

Hi,

Just add below code under close grid div tag.

<div class="preview">
  <button class="action action--close"><i class="fa fa-times"></i><span class="text-hidden">Close</span></button>
  <div class="description description--preview"></div>
</div>

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

No branches or pull requests

3 participants