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

Documentation for event with example code #63

Closed
drublic opened this issue Aug 28, 2013 · 4 comments
Closed

Documentation for event with example code #63

drublic opened this issue Aug 28, 2013 · 4 comments
Labels
Milestone

Comments

@drublic
Copy link
Owner

drublic commented Aug 28, 2013

It is necessary to add more documentation on how the events work and how they get fired.

Please see #62.

@SergeySnegirev
Copy link

I'm really new to GitHub but I'd like to help. What should I do to help document the events? Unless, of course, directing me is a bigger liability than actually documenting the issue :)

@jimzarkadas
Copy link

@drublic Is there anyway to show the modal with javascript ?

I have a posts table and want to show in modal the details for each post. Here are the steps:

  • Click on post title
  • Add hash to the url (#post?id=1 or #post1)
  • AJAX call
  • render modal template
  • show modal

@anselmh
Copy link
Contributor

anselmh commented Sep 26, 2013

Hi @jimzar you can simply call the modal by targeting the id of the html element by the hash:

window.location.hash = 'modal';

@jimzarkadas
Copy link

Ok i' ll check it out thanks! :)

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

No branches or pull requests

4 participants