Tagged: HTML

Page 2 of 2

Dropdown Button - Twitter Bootstrap

Hey everyone, Just a quick post on how to create a dropdown button using Twitter Bootstrap. It’s pretty straight forward, once you’ve included all your CSS etc just…

Read post

How to Reset ID of an Element - jQuery

Hey All, Just a quick post on how to set the ID of an element (in this case a div) with jQuery. I needed to use this to dynamically clone elements. The script above…

Read post

Modal Popup - Twitter Bootstrap

Just a quick post on how to create a modal popup using twitter bootstrap: Step #1: Add the following to a page element such as a link or button in order to open the…

Read post

Allow HTML String - Ruby on Rails

Just a quick post on how to prevent escaping for HTML within a string. Simply use html_safe?. i.e. The following will show the bold tags as text: <b>GOOOOOOOGLE</b>…

Read post

PaperClip Issues - Ruby on Rails

I finally decided to replace all my existing code to handle images with Paperclip. I was following the screencast by Emerson Lackey, #134 Paperclip, however I ran…

Read post