randomize quote display and thickbox
hi, i am bringing in quotes from an html page randomly using this code:
-
$(document).ready(function(){
$('#quotesContainer').load('quotes.htm',function(){
var $quotes = $(this).find('blockquote.text');
var n = $quotes.length;
var random = Math.floor( Math.random()*n );
$quotes.hide().eq(random).fadeIn();
});
});
works fine.
problem is i want some of the quotes to have a link from the author to read the rest of the quote when its too long. i have thickbox running fine and when i put the thickbox instructions inside the quote it doesnt work. i thought maybe the ampersand was getting translated or not translated, but that doesnt appear to be it. the link looks perfectly fine. just doesnt work.
any help would be really appreciated
