Welcome To Snipplr


Everyone's Recent Rails Snippets Tagged javascript



« Prev 1 Next »
  1. FAV

    ajax pagination links

    tag links with .click function
    Rails 7 views posted 9 years ago by insanedreamer
  2. FAV

    easy flash display with prototype

    Rails 7 views posted 9 years ago by insanedreamer
  3. FAV

    Display 'loading' icon for all ajax requests

    Put this in application layout for global use. Have a hidden div called 'loadicon' with a loading icon (or whatever) in it, which is shown/hidden on ajax calls.
    Rails 8 views posted 9 years ago by insanedreamer
  4. FAV

    Requiring javascript and CSS in Rails without directly injecting code into the HEAD element

    I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration"...
    Rails 6 views posted 10 years ago by sgtrock
  5. FAV

    Requiring javascript and CSS in Rails without directly injecting code into the HEAD element

    I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration"...
    Rails 8 views posted 10 years ago by sgtrock
« Prev 1 Next »