Detox Weekend: This weekend, all quotes will temporarily have their formatting removed. Why do this? Some Witty members thought it would be fun to have the top quotes be based on the content of the quote, not the formatting. If you submit a quote with formatting during Detox Weekend, the quote will appear without formatting until Monday. Have fun!
'); $("#account_settings_link").click(function(event) { $("#categories_links").hide(); offset = $(this).position(); $("#account_settings_links").css("top",(offset.top+45)+"px").css("left",offset.left+"px").toggle(); event.preventDefault(); }); // pop up a chat window $("#chatcat_link").click( function(e) { e.preventDefault(); window.open ("/chatcat", "chatcat","status=0,toolbar=0,location=0,menubar=0,resizable=1,scrollbars=0,height=500,width=809"); }); $(".favheart").click(function(){ var quote_id = $(this).attr('id').split("_"); quote_id = quote_id[quote_id.length - 1]; if ($(this).hasClass("favheartOff")) { favs.addToFavs(quote_id); } if ($(this).hasClass("favheartOn")) { favs.removeFromFavs(quote_id); } }); // prevent accidental quote deletions $(".delete-a-quote").live("click", function() { $("#deletequoteform-"+this.id.split("-")[1]).show(); }); $(".delete-a-quote-cancel").live("click", function() { $("#deletequoteform-"+this.id.split("-")[1]).hide(); }); // prevent accidental quote deletions $(".undelete-a-quote").live("click", function() { $("#undeletequoteform-"+this.id.split("-")[1]).show(); }); $(".undelete-a-quote-cancel").live("click", function() { $("#undeletequoteform-"+this.id.split("-")[1]).hide(); }); // exclude a quote from the feeds $(".exclude_quote_btn").live("click", function() { var quote_id = this.id.split("-")[1]; $.ajax({ type:"POST", url: '/api.php', data: 'a=exclude_quote"e_id=' + quote_id, success: function(msg) { alert(msg); }, error: function(msg) { alert('error ' + msg); } }); }); // unexclude a quote from the feeds $(".unexclude_quote_btn").live("click", function() { var quote_id = this.id.split("-")[1]; $.ajax({ type:"POST", url: '/api.php', data: 'a=unexclude_quote"e_id=' + quote_id, success: function(msg) { alert(msg); }, error: function(msg) { alert('error ' + msg); } }); }); // report quote $(".report_quote_btn").live("click", function() { $("#report_quote_section_" + this.id.split("_")[1]).toggle(); var quote_id = this.id.split("_")[1]; $("#report_quote_section_" + this.id.split("_")[1]).load('/api.php', {a:'get_report_quote_form', quote_id:quote_id}); }); $(".report_quote_confirm_btn").live("click", function() { var btn_id = this.id; $(this).attr('disabled', 'disabled'); var quote_id = this.id.split("_")[1]; var flag = $("input:radio[name=flagquote_" + quote_id + "]:checked").val(); $.ajax({ type: "POST", url: '/api.php', data: 'a=report_quote"e_id=' + quote_id + '&flag=' + flag, success: function(msg) { if (msg == 'ok') { $('#report_quote_section_' + quote_id).html('Thank you for bringing this quote to our attention. You are helping to make Witty a better place.
'); } else { if (msg == 'noselection') { $('#report_quote_section_' + quote_id).append('please select a reason.
'); $("#"+btn_id).removeAttr('disabled'); } else { alert('Please sign in to report this quote.'); } } }, error: function() { alert('uh oh, something went wrong. Please try reporting that quote again.'); } }); }); // report / flag a quote as being NOT A QUOTE $(".not_a_quote_btn").live("click", function() { $("#not_a_quote_section_" + this.id.split("_")[1]).toggle(); var quote_id = this.id.split("_")[1]; $("#not_a_quote_section_" + this.id.split("_")[1]).load('/api.php', {a:'get_not_a_quote_form', quote_id:quote_id}); }); $(".not_a_quote_confirm_btn").live("click", function() { var btn_id = this.id; $(this).attr('disabled', 'disabled'); var quote_id = this.id.split("_")[1]; $.ajax({ type: "POST", url: '/api.php', data: 'a=report_not_a_quote"e_id=' + quote_id, success: function(msg) { if (msg == 'ok') { $('#not_a_quote_section_' + quote_id).html('Thank you for bringing this quote to our attention. You are helping to make Witty a better place.
'); } else { alert('Please sign in to report this quote.'); } }, error: function() { alert('uh oh, there was an error reporting the quote. please try again.'); } }); }); // close the report not a quote form $(".not_a_quote_cancel_btn").live("click", function() { $("#not_a_quote_section_"+this.id.split("_")[1]).hide(); }); // report user $(".report_user_btn").live("click", function() { $("#report_user_section_" + this.id.split("_")[1]).toggle(); var user_id = this.id.split("_")[1]; $("#report_user_section_" + this.id.split("_")[1]).load('/api.php', {a:'get_report_user_form', user_id:user_id}); }); $("button.report_user_confirm_btn").live("click", function() { var btn_id = this.id; $(this).attr('disabled', 'disabled'); var user_id = this.id.split("_")[1]; var flag = $("input:radio[name=flaguser_" + user_id + "]:checked").val(); $.ajax({ type: "POST", url: '/api.php', data: 'a=report_user&user_id=' + user_id + '&flag=' + flag, success: function(msg) { if (msg == 'ok') { $('#report_user_section_' + user_id).html('Thank you for bringing this user to our attention. You are helping to make Witty a better place.
'); } else { if (msg == 'noselection') { $('#report_user_section_' + user_id).append('please select a reason.
'); $("#"+btn_id).removeAttr('disabled'); } else { alert('Please sign in to report this user.'); } } }, error: function() { alert('uh oh, something went wrong. Please try reporting that user again.'); } }); }); // report user comment $(".report_user_comment_btn").live("click", function() { $("#report_user_comment_section_" + this.id.split("_")[1]).toggle(); var user_comment_id = this.id.split("_")[1]; $("#report_user_comment_section_" + this.id.split("_")[1]).load('/api.php', {a:'get_report_user_comment_form', user_comment_id:user_comment_id}); }); $("button.report_user_comment_confirm_btn").live("click", function() { var btn_id = this.id; $(this).attr('disabled', 'disabled'); var user_comment_id = this.id.split("_")[1]; var flag = $("input:radio[name=flagusercomment_" + user_comment_id + "]:checked").val(); $.ajax({ type: "POST", url: '/api.php', data: 'a=report_user_comment&user_comment_id=' + user_comment_id + '&flag=' + flag, success: function(msg) { if (msg == 'ok') { $('#report_user_comment_section_' + user_comment_id).html('Thank you for bringing this comment to our attention. You are helping to make Witty a better place.
'); } else { if (msg == 'noselection') { $('#report_user_comment_section_' + user_comment_id).append('please select a reason.
'); $("#"+btn_id).removeAttr('disabled'); } else { alert('Please sign in to report this comment.'); } } }, error: function() { alert('uh oh, something went wrong. Please try reporting that comment again.'); } }); }); // report quote comment $(".report_quote_comment_btn").live("click", function() { $("#report_quote_comment_section_" + this.id.split("_")[1]).toggle(); var quote_comment_id = this.id.split("_")[1]; $("#report_quote_comment_section_" + this.id.split("_")[1]).load('/api.php', {a:'get_report_quote_comment_form', quote_comment_id:quote_comment_id}); }); $("button.report_quote_comment_confirm_btn").live("click", function() { var btn_id = this.id; $(this).attr('disabled', 'disabled'); var quote_comment_id = this.id.split("_")[1]; var flag = $("input:radio[name=flagquotecomment_" + quote_comment_id + "]:checked").val(); $.ajax({ type: "POST", url: '/api.php', data: 'a=report_quote_comment"e_comment_id=' + quote_comment_id + '&flag=' + flag, success: function(msg) { if (msg == 'ok') { $('#report_quote_comment_section_' + quote_comment_id).html('Thank you for bringing this comment to our attention. You are helping to make Witty a better place.
'); } else { if (msg == 'noselection') { $('#report_quote_comment_section_' + quote_comment_id).append('please select a reason.
'); $("#"+btn_id).removeAttr('disabled'); } else { alert('Please sign in to report this comment.'); } } }, error: function() { alert('uh oh, something went wrong. Please try reporting that comment again.'); } }); }); // toggle quote source $("a.get_quote_code").live("click", function(e) { e.preventDefault(); $("#code_" + this.id.split("_")[1]).toggle(); var quote_id = this.id.split("_")[1]; $("#code_" + this.id.split("_")[1]).load('/api.php', {a:'get_quote_code', quote_id:quote_id}); }); }); var favs = { addToFavs : function ( quote_id ) { var url = '/api.php'; var action = 'add_quote_to_faves'; var params = 'a=' + action + '"e_id=' + quote_id; $.ajax({ type: "POST", url: url, data: params, success: function(msg) { if (msg == 'ok') { $('#fav_btn_' + quote_id).addClass('favheartOn'); $('#fav_btn_' + quote_id).removeClass('favheartOff'); $('#fav_btn_' + quote_id).attr({alt:'Unfave', title:'Unfave'}); var new_score = parseInt($('#score_' + quote_id).html(),10) + 1; var new_label = 'Unfave'; $('#score_' + quote_id).text(new_score); $('#scorelabel_' + quote_id).text(new_label); } else { alert('Please sign in to add this quote to your faves'); } }, error: function() { alert('uh oh, something went wrong. Please try adding that quote to your favorites again.'); } }); }, removeFromFavs : function ( quote_id ) { var url = '/api.php'; var action = 'remove_quote_from_faves'; var params = 'a=' + action + '"e_id=' + quote_id; $.ajax({ type: "POST", url: url, data: params, success: function(msg) { if (msg == 'ok') { $('#fav_btn_' + quote_id).addClass('favheartOff'); $('#fav_btn_' + quote_id).removeClass('favheartOn'); $('#fav_btn_' + quote_id).attr({alt:'Add to Faves', title:'Add to Faves'}); var new_score = parseInt($('#score_' + quote_id).html(),10) - 1; var new_label = 'Add to Faves'; $('#score_' + quote_id).text(new_score); $('#scorelabel_' + quote_id).text(new_label); } else { alert('uh oh'); } }, error: function() { alert('uh oh, something went wrong. Please try removing that quote from your favorites again.'); } }); } }; var quote = { reportQuote : function ( quote_id ) { var url = '/ajax/quote.php'; var action = 'report'; var params = 'action=' + action + '"e_id=' + quote_id; $.ajax({ type: "GET", url: url, data: params, success: function(msg) { if (msg == 'ok') { alert('Thank you for telling us that this quote doesn\'t follow the rules.'); } else { alert('Please sign in to report this quote'); } }, error: function() { alert('uh oh. something went wrong. Please try reporting that quote again.'); } }); } }; // prevent accidental deletion var follow = { startfollowing : function ( user_id ) { var url = '/api.php'; var action = 'start_following'; var params = 'a=' + action + '&user_id=' + user_id; $.ajax({ type: "POST", url: url, data: params, success: function(msg) { if (msg == 'ok') { alert('ok'); } else { alert('Please sign in to follow this person.'); } }, error: function() { alert('uh oh, something went wrong. Please try following that person again.'); } }); }, stopfollowing : function ( user_id ) { var url = '/api.php'; var action = 'stop_following'; var params = 'a=' + action + '&user_id=' + user_id; $.ajax({ type: "POST", url: url, data: params, success: function(msg) { if (msg == 'ok') { alert('ok'); } else { alert('not ok'); } }, error: function() { alert('uh oh, something went wrong. Please try to stop following that person again.'); } }); } }; var block = { startblocking : function ( user_id ) { var url = '/api.php'; var action = 'start_blocking'; var params = 'a=' + action + '&user_id=' + user_id; $.ajax({ type: "POST", url: url, data: params, success: function(msg) { if (msg == 'ok') { alert('Ok. This person\'s comments will no longer show on your profile and your quotes.'); } else { alert('Please sign in to block this person.'); } }, error: function() { alert('uh oh, something went wrong. Please try blocking that person again.'); } }); }, stopblocking : function ( user_id ) { var url = '/api.php'; var action = 'stop_blocking'; var params = 'a=' + action + '&user_id=' + user_id; $.ajax({ type: "POST", url: url, data: params, success: function(msg) { if (msg == 'ok') { alert('ok. This person\'s comments will now show on your profile and your quotes.'); } else { alert('not ok'); } }, error: function() { alert('uh oh, something went wrong. Please try to stop blocking that person again.'); } }); } }; var votes = { // // vote up a quote // voteUp : function ( quote_id ) { var url = '/ajax/vote.php'; var action = 'voteup'; var params = 'action=' + action + '"e_id=' + quote_id; var intervalID = setInterval('drawrandomchar('+quote_id+')',100); $.ajax({ type: "GET", url: url, data: params, success: function(msg){ if (msg == 'ok') { $.get("/ajax/vote.php?action=getscore"e_id=" + quote_id, function(data){ clearInterval(intervalID); $("#score_" + quote_id).html(parseInt(data,10) + 1); }); } else { clearInterval(intervalID); $("#score_" + quote_id).html("signin").animate({opactiy:1},4000).load("/ajax/vote.php?action=getscore"e_id=" + quote_id); } }, error: function() { clearInterval(intervalID); alert('Uh oh, something went wrong. Please try voting up this quote again.'); } }); }, // // vote down a quote // voteDown : function ( quote_id ) { var url = '/ajax/vote.php'; var action = 'votedown'; var params = 'action=' + action + '"e_id=' + quote_id; var intervalID = setInterval('drawrandomchar('+quote_id+')',100); $.ajax({ type: "GET", url: url, data: params, success: function(msg){ if (msg == 'ok') { $.get("/ajax/vote.php?action=getscore"e_id=" + quote_id, function(data){ clearInterval(intervalID); $("#score_" + quote_id).html(parseInt(data,10) - 1); }); } else { clearInterval(intervalID); $("#score_" + quote_id).html("signin").animate({opactiy:1},4000).load("/ajax/vote.php?action=getscore"e_id=" + quote_id); } }, error: function() { clearInterval(intervalID); //$("#score_" + quote_id).html("?"); alert('Uh oh, something went wrong. Please try voting down this quote again.'); } }); }, // // vote up a quote RANDOM // voteUpRandom : function ( quote_id ) { var url = '/ajax/vote.php'; var action = 'voteup'; var params = 'action=' + action + '"e_id=' + quote_id; var intervalID = setInterval('drawrandomchar('+quote_id+')',100); $.ajax({ type: "GET", url: url, data: params, success: function(msg){ if (msg == 'ok') { $.get("/ajax/vote.php?action=getscore"e_id=" + quote_id, function(data){ clearInterval(intervalID); $("#score_" + quote_id).html(data); window.location = '/random-quote'; }); } else { clearInterval(intervalID); $("#score_" + quote_id).html("signin").animate({opactiy:1},4000).load("/ajax/vote.php?action=getscore"e_id=" + quote_id); } }, error: function() { clearInterval(intervalID); alert('Uh oh, something went wrong. Please try voting up this quote again.'); } }); }, // // vote down a quote RANDOM // voteDownRandom : function ( quote_id ) { var url = '/ajax/vote.php'; var action = 'votedown'; var params = 'action=' + action + '"e_id=' + quote_id; var intervalID = setInterval('drawrandomchar('+quote_id+')',100); $.ajax({ type: "GET", url: url, data: params, success: function(msg){ if (msg == 'ok') { $.get("/ajax/vote.php?action=getscore"e_id=" + quote_id, function(data){ clearInterval(intervalID); $("#score_" + quote_id).html(data); window.location = '/random-quote'; }); } else { clearInterval(intervalID); $("#score_" + quote_id).html("signin").animate({opactiy:1},4000).load("/ajax/vote.php?action=getscore"e_id=" + quote_id); } }, error: function() { clearInterval(intervalID); //$("#score_" + quote_id).html("?"); alert('Uh oh, something went wrong. Please try voting down this quote again.'); } }); } }; var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-427894-3']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
The Cover Up
Chapter
2
I decided
Trevor probably didn't glare at me. It was probably just the
shadows or something.
I shrugged and began walking up the drive to my new home. From
the looks of it, it was probably pretty nice.
"Skylar, you just have to see your room! It's to die
for!" my mother shouted.
"Okay mom," I said.
I followed my mother up the staircase (which had beautiful
designs on the handrails. My mother really loved this), and then
down the hall. My room was at the other end of the hallway,
oppisite from my parent's.
"Here we are," my mom said opening the door.
The first thing I saw when the door was open, was a window seat.
The room itself was pretty big, bigger than my old one.
"Now we'll put your bed in the middle right there, and
your desk across from it," my mom explained.
"Alright, thanks mom. If you don't mind, I'd just
like to be in here alone," I said.
"No problem! I'll call you down for dinner in a little
while, I just ordered a pizza," my mom smiled and closed the
door.
I sighed, then walked across my empty, new room to the window
seat. I laughed when I looked out it. There was a big elm tree
outside. One I could probably climb on, and use to sneak out. I
rolled my eyes. Corny.
I slid the window open and sat down on the window seat.
"Psst," came a voice from below.
I jumped up; the voice startled me. "Whose there...?" I
asked.
"Trevor. I need to talk to you."
--
Sorry, this chapter was really bad & kinda short.
I'm not really feeling good today, but tomorrow I'll put
up a much better chapter.
The Cover Up
Chapter
1
"Well,
here we are!" my mom smiled as we pulled up to our new
house. "You'll just love it."
It was your average looking house, nothing special. I wondered
why mom was so excited about it...
"Get your suitcases out of the trunk," my dad said,
slamming the door to our little toyota.
The first thing I noticed when I got out of the car was the
temperature. It was cold. Because I grew up in sunny California,
I was not used to this.
As I walked around to the back of the Toyota, I noticed a family
was walking towards us. It was a little early for a welcoming
committee, if you ask me.
"Hi, there!" the woman who looked to be the mom
exclaimed. "I'm Susan Waters, and this is my family.
We'll be your new neighbors!" The other family members-
a strange looking boy my age, a little girl, and the father- just
sort of waved at us.
My mom, always wanting to make new friends, smiled. "Hello!
I'm Diane McFern. This is my husband David, and our daughter
Skylar."
Susan looked at me, then at her son. "This is Trevor.
He's fifteen. How old are you Skylar?"
"Fifteen," I replied shortly.
"Oh, you guys will be the best of friends!" she clapped
her hands enthusiastically.
"Well," my mother said, "we had better start
unpacking. Maybe we can have some sort of dinner
later."
"Sounds good," Susan agreed. "Oh, by the way, we
made you some cookies!"
The little girl, whose name was Jade, shyly handed my mother a
plate of chocolate chip cookies.
"Oh, thank you," my mother smiled at Jade.
"Well, we'd better get going! See you later,
Diane!" Susan said as she began walking away. The rest of
her family followed her in suit.
My mom smiled. "Such nice people, don't you agree
Dave?" My father nodded. "Yeah. They seem like good
neighbors."
My father and mother began walking up the drive to our
house.
I guess they didn't see- and I question myself if I saw it at
all- Trevor look back at me, with a scowl on his face.
--
Thanks so much for all your feedback on the first part of this
story. I liked all of the name suggestions, and I'll try to
use them all throughout this story.
Chapter 2 will be up tomorrow.
Feedback is appriciated :)
Story Ideas;
Hi! After failing at attempting to write a
story, I've come back to write another. This time, I'll
actually finish it, if people read it. Here are a few
ideas:
1. A mystery where two best friends go away to a summer cabin in
a small town. They find creepy pictures of the town's past,
and the people who live in it. Also, there will be romance
between the the two girls and other characters I will later think
of.
2. A girl (who's name will be decided soon) moves from sunny
California, to Washington. She meets this guy, who threatens her
with her past secrets he somehow knows about. She accidentally
kills him, then tries to cover up his death. People find out,
rumors spread.
3. A girl finds out she has a twin sister that she never knew
about, along with a past she never knew about.
4. A story where a girl goes to visit her dad in California for
the summer. She meets a guy, and soon finds herself not wanting
to go back home.
Please comment one of these story ideas for me to write,
or comment a story of your
own.