|
About IMAO Giving money to Frank J. makes you happy! ![]() Buy funniest book ever! ![]() IMAO Podcasts IMAO Merchandise and Newsletter
![]() Cool shirts, mugs, stickers, and what-not!
About IMAO
If you want to send something by snail mail, e-mail with subject "P.O. Box" to get mail information for Frank J. and SarahK. About Frank J. Bloggers: Frank J. Harvey RightWingDuck Cadet Happy spacemonkey Laurence Simon SarahK Popular Categories
Fred Thompson FactsJohn Edwards Fabulous Facts lolterizt IMAO Condensed Know Thy Enemy Editorials Frank the Artist In My World Other Content
Ode to ViolenceBrief Histories IMAO Audio Bits ![]() Read the Essay Own the Shirt Peace Gallery Search IMAO
Testimonials
"All quotes attributed to me on IMAO are made up... including this one."
-Glenn Reynolds "Unfunny treasonous ronin!" -Lou Tulio* "You, sir, are a natural born killer." -E. Harrington "You'll never get my job! Never!!!" -Jonah Goldberg "In the beginning, God created the heavens and the earth. And He did despair, for in His omniscience, He did know that His creations had but three-fifths of the splendor of that which would be IMAO." -No One of Consequence "A blogger with a sense of humor." -Some Woman on MSNBC Blogroll
Ace of Spades HQThe Anti-Idiotarian Rottweiler Blackfive Captain's Quarters Classical Values Conservative Grapevine The Corner The Daily Gut (with Jim Treacher!) Dave in Texas Eject! Eject! Eject! Electric Venom Hot Air Puppy Blender La Shawn Barber's Corner Michelle Malkin Pereiraville Protein Wisdom Rachel Lucas Right Wing News Scrappleface Serenity's Journal Townhall Blog IMAO Blogroll Bad Example Cadet Happy The Flying Space Monkey Chronicles mountaineer musings Right Wing Duck ![]() This Blog Is Full of Crap Fred Thompson Links Fred File Blogs for Fred Fred Thompson Facts Awards
|
September 22, 2003
Random Quotes!
I was going through my quotes trying to come up with idea for the next t-shirt, when I had the idea to put them in a list with a link to the post they came from. So now, at the top of the page, there will be random quotes from my posts. Since I just thought of it last night, I only have 28 right now, but, as soon as I have time, I'll add so many that you'll never be able to see them all, no matter how much you reload. Muh ha ha ha! I have a few problems, though. I don't know how to put regular quotes (") in those quotes and have to use single quotes instead. Also, as has been a problem with my page for a long time, the color for links is just to dark to go against the blackground. I just don't know how to use one color for in the post and another for on the sidebar. Anyone know a line I can add to this part to separately set the link color for my sidebar? .side { Anyhoo, if you want quotes on your site you can add this to your template: <script type="text/javascript" src="http://imao.us/docs/quotes.txt"></script> UPDATE: Got answers to most my questions, but I really need to find out how to change the link color for just my sidebar; that's a problem that plagued my website for sometime now. 23 Responses To "Random Quotes!"
Yeah I noticed this last night while you were still working on it and made a few adjustments to it, but by the time I had finished and emailed it to you, you had updated and fixed the script so that you didn't need my fix. Luckily the email bounced due to the attachment being a .js file (the default javascript format) so I didn't embarrass myself. If you're interested I can make you one which is easier to update than the one you have now. To use quotation marks inside of a string you have to escape them. var text = "He said, \"Hello.\""; You could probably get double-quotes into your random quotes by using " Like this: text[1] = "My friend Charlie O'Toole said "Hello"."; But a better solution is to probably put the entire text block into single-quotes (instead of double-quotes), then just precede a single-quote with a backslash whenever you need an actual single-quote character. Like this: text[1] = 'My friend Charlie O\'Toole said "Hello".'; #3 - Posted by: George Adams on September 22, 2003 01:05 PMThanks for those answers. Now I just need to figure out the link color problem. #4 - Posted by: Frank J. on September 22, 2003 01:11 PMYou're welcome. I'm sure you'll repay the kindness someday. #5 - Posted by: Jennifer on September 22, 2003 01:14 PMI believe if you change color: to font-color: that should do it. #7 - Posted by: Dana on September 22, 2003 01:22 PMIkkonoIshi, This is probably completely unrelated, but my daughter told me today was "Nerd Day" at school. #9 - Posted by: LittleA on September 22, 2003 01:58 PMIf you are still trying to solve the link problem, I think you need some link-specific elements in your CSS. It might look something like this .side{ I pulled this off of this website, so if it doesn't work, blame them. :) #10 - Posted by: No one of consequence on September 22, 2003 02:10 PMChack your email - I sent you something like this: Use your .side class to further specify your anchor tag attributes. You may have to include a class="side" in your a tags but something like this should work: a.side Wow - I thought I was taking a BREAK from work to read Frank's site, but all I got was a bunch of escaped tags and CSS discussion. I think I'll go back to work now, sigh. :) hln #12 - Posted by: hln on September 22, 2003 02:22 PMWell you can make the number of quotes self counting for instance. That way you can just drop them in cookie cutter like.
text[i++] = "Guns Are Like Art, Except Not Useless"; document.write(text[Math.floor((text.length-1) * Math.random())]); See that set creates its own set of numbers so you don't have to keep writing text[28], text[29], text[30], ect... for each entry. This will work all the way up till 1.79E+308 entries. So... don't put too many funny quotes in there. #13 - Posted by: IkkonoIshi on September 22, 2003 02:31 PMThe CSS .side attribute should work the best (assuming you have control over the html and can output <a href="blah blah" class="side">..... #14 - Posted by: Robb on September 22, 2003 03:50 PMJust put this at the bottom of your CSS file.
Replace silver with whatever color you want. #15 - Posted by: IkkonoIshi on September 22, 2003 04:52 PMI just noticed that you use A tags to format your plain text in your side bar. So instead of ".side A" you want ".side A:link" to just cover the links. #16 - Posted by: IkkonoIshi on September 22, 2003 05:35 PMUsing your quotes at Http://www.virtualdoom.com YEA i'm a link whore!! Check it out :) #17 - Posted by: John on September 22, 2003 09:28 PMI think the quote looks a bit odd above the IMAO graphic. I'd put it just underneath the Unfair. Unbalanced. Unmedicated spiel. hln #18 - Posted by: hln on September 22, 2003 11:42 PMDo I have to stop posting pictures of you now? Do you really need a black background? Why not change this to something that will reduce the contrast...it'll be softer on the eyes that way. #20 - Posted by: Philip on September 23, 2003 03:01 AMBah. Light text on a dark background is easy on the eyes. #21 - Posted by: IkkonoIshi on September 23, 2003 07:32 AMWhatever The right background might improve the visibility of the links #22 - Posted by: Philip on September 23, 2003 01:24 PM6708 How can this all be right? Check out my site http://www.pai-gow-keno.com #23 - Posted by: pai gow on October 5, 2004 08:21 AMPost a comment
|
Buy IMAO T-Shirts
![]()
![]()
IMAO T-Shirts
The IMAO T-Shirt Babe (winning picture) YOU BUY NEW SHIRTS NOW!!! Yay! Books!
Capitalism
Archives
By Category
24American Idol Aqua-Adventures Barackalypse Now Best of IMAO 2002 Best of IMAO 2006 Bite-Sized Wisdom Editorials Election 2008 Filthy Lies Frank Answers Frank Discussions Frank on Guns Frank Reads the Bible Frank the Artist Fred Thompson Facts Friday Cat-Blogging Fun Trivia Hellbender Hellbender Take Two Hillary Clinton Terrible Truths Humor I Hate Frank If I Were President ignis fatuous IMAO Condensed IMAO Exclusives IMAO for the Non-Deaf IMAO Reviews IMAO Think Tank In My World In My World - Fan Fiction John Edwards Fabulous Facts Know Thy Enemy lolterizt Michael Moore Mitt Romney Ads News Round-Up Newsish Fakery No, McCain't Our Military Permalink Contest Precision Guided Humor Assignments Ron Paul, Ron Paul, Ron Paul Ronin Profiles Ronin Thought of the Day SarahK's TV stuff Scary Evil Monkey Simpsons Trivia Songs & Poems State of the Frank Report Superego Totally True Tidbits WEsistance Is Facile Why Me Laugh? Yvonne's Ashes By Month
December 2008September 2008 August 2008 July 2008 June 2008 May 2008 April 2008 March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 September 2007 August 2007 July 2007 June 2007 May 2007 April 2007 March 2007 February 2007 January 2007 December 2006 November 2006 October 2006 September 2006 August 2006 July 2006 June 2006 May 2006 April 2006 March 2006 February 2006 January 2006 December 2005 November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003 November 2003 October 2003 September 2003 August 2003 July 2003 June 2003 May 2003 April 2003 March 2003 February 2003 January 2003 December 2002 November 2002 October 2002 September 2002 August 2002 July 2002 March 1933
|