Posted By

chendrix on 10/30/10


Tagged

quotes blockquote curly


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

chendrix
connorjackson
Tyster
dwenaus
finchitty
dubogii
nWidart
Abiotic


Add curly quotes with classes around blockquotes


 / Published in: jQuery
 

Adds the curly quotes along with the classes for Big Curly Blockquotes

Just need to write <blockquote>Quote Text Here</blockquote> in your HTML instead of the other markup necessary.

  1. $('blockquote').prepend(" <span class='bqstart'>&#8220;</span> ");
  2. $('blockquote').append(" <span>&nbsp;</span><span class='bqend'>&#8221;</span> ");

Report this snippet  

You need to login to post a comment.