laaurenn

Status: no
Joined: April 16, 2012
Last Seen: 7 years
user id: 292939
Gender: F
$(document).ready(function() { //setTimeout(function(){ // Hide the address bar! // window.scrollTo(0, 1); //}, 0); // if the user is using an iphone or ipod, show link to mobile site at top of page //if(((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) && document.URL.substring(0,8) != 'http://m') { // $(".side_nav").prepend(''); //} // alert people about the new stuff //$("#side_nav").prepend(''); // delete a user comment (xhr) $("button.delete_user_comment_btn").live("click", function(e) { e.preventDefault(); var user_comment_id = this.id.split("_")[1]; $.ajax({ type:"POST", url:"/api.php", data: {a:"delete_user_comment", user_comment_id:user_comment_id}, success: function(html) { //$("#user_comment_status").html(html); $("#comment_"+user_comment_id).fadeTo('slow', 0, function() { $("#comment_"+user_comment_id).slideUp('slow', function() { $("#comment_"+user_comment_id).remove(); }); }); }, error: function(html) { alert('Something bad happened. Please try again.'); } }); }); // add a user comment (xhr) $(".add_user_comment_btn").click(function(e) { e.preventDefault(); var user_comment_meat = $("#user_comment_meat").val(); var recipient_user_id = $("#recipient_user_id").val(); $.ajax({ type:"POST", url:"/api.php", data: {a:"add_user_comment", recipient_user_id:recipient_user_id, user_comment_meat:user_comment_meat}, success: function(html) { // check for flooding message / error if (html.length > 200) { // insert the comment into the DOM // clear the comment form // $("#comments").prepend(html); $(html).hide().prependTo("#comments").fadeIn("slow"); $("#user_comment_meat").val(''); } else { // display error $(html).hide().prependTo("#comments").fadeIn("slow"); } }, error: function(html) { alert('Something bad happened. Please try again.'); } }); }); // toggle the quote comment reply form $(".reply_quote_comment_btn").live("click", function(e) { e.preventDefault(); var parent_id = this.id.split("_")[1]; $("#replybox_" + parent_id).toggle(); }); // toggle the user comment reply form $(".reply_user_comment_btn").live("click", function(e) { e.preventDefault(); var parent_id = this.id.split("_")[1]; $("#replybox_" + parent_id).toggle(); }); // add a quote comment REPLY (xhr) $(".add_quote_comment_reply_btn").live("click", function(e) { e.preventDefault(); var parent_id = this.id.split("_")[1]; var quote_id = this.id.split("_")[2]; var quote_comment_reply_meat = $("#quotecommentreplymeat_" + parent_id).val(); var page = parseInt($("#comments_page").val(), 10); var page_size = page * 10; $.ajax({ type:"POST", url:"/api.php", data: {a:"add_quote_comment", quote_comment_meat:quote_comment_reply_meat, parent_id:parent_id, quote_id:quote_id}, success: function(html) { if (html.length > 200) { $.ajax({ type:"GET", url:"/api.php", data: {a:"get_quote_comments", quote_id:quote_id, page:1, page_size:page_size}, success: function(html) { $("#comments").html(html); }, error: function(html) { alert('hmm, please try again.'); } }); } else { $("#replybox_" + parent_id).prepend(html); } } }); }); // add a user comment REPLY (xhr) $(".add_user_comment_reply_btn").live("click", function(e) { e.preventDefault(); var parent_id = this.id.split("_")[1]; var recipient_user_id = this.id.split("_")[2]; var user_comment_reply_meat = $("#usercommentreplymeat_" + parent_id).val(); var page = parseInt($("#comments_page").val(), 10); var page_size = page * 10; $.ajax({ type:"POST", url:"/api.php", data: {a:"add_user_comment", user_comment_meat:user_comment_reply_meat, parent_id:parent_id, recipient_user_id:recipient_user_id}, success: function(html) { if (html.length > 200) { $.ajax({ type:"GET", url:"/api.php", data: {a:"get_user_comments", user_id:recipient_user_id, page:1, page_size:page_size}, success: function(html) { $("#comments").html(html); }, error: function(html) { alert('hmm, please try again.'); } }); } else { $("#replybox_" + parent_id).prepend(html); } } }); }); // load more user comments $("#more_user_comments_btn").click(function(e) { e.preventDefault(); var user_id = $("#comments_user_id").val(); var page = parseInt($("#comments_page").val(), 10); $.ajax({ type:"GET", url:"/api.php", data: {a:"get_user_comments", user_id:user_id, page:page+1}, success: function(html) { $(html).appendTo("#comments"); $("#comments_page").val(page + 1); }, error: function (html) { alert('please try again.'); } }); }); // delete a quote comment (xhr) $("button.delete_quote_comment_btn").live("click", function(e) { e.preventDefault(); var quote_comment_id = this.id.split("_")[1]; $.ajax({ type:"POST", url:"/api.php", data: {a:"delete_quote_comment", quote_comment_id:quote_comment_id}, success: function(html) { $("#comment_"+quote_comment_id).fadeTo('slow', 0, function() { $("#comment_"+quote_comment_id).slideUp('slow', function() { $("#comment_"+quote_comment_id).remove(); }); }); }, error: function(html) { alert('Something bad happened. Please try again.'); } }); }); // add a quote comment (xhr) $(".add_quote_comment_btn").click(function(e) { e.preventDefault(); var quote_comment_meat = $("#quote_comment_meat").val(); var quote_id = $("#quote_id").val(); var parent_id = 0; if (this.id.split("_") > 1) { parent_id = this.id.split("_")[1]; } $.ajax({ type:"POST", url:"/api.php", data: {a:"add_quote_comment", quote_id:quote_id, quote_comment_meat:quote_comment_meat, parent_id:parent_id}, success: function(html) { // check for flooding message / error if (html.length > 200) { // insert the comment into the DOM // clear the comment form // $("#comments").prepend(html); $(html).hide().prependTo("#comments").fadeIn("slow"); $("#quote_comment_meat").val(''); } else { // display error $(html).hide().prependTo("#comments").fadeIn("slow"); } }, error: function(html) { alert('Something bad happened. Please try again.'); } }); }); // load more quote comments $("#more_quote_comments_btn").click(function(e) { e.preventDefault(); var quote_id = $("#comments_quote_id").val(); var page = parseInt($("#comments_page").val(), 10); $.ajax({ type:"GET", url:"/api.php", data: {a:"get_quote_comments", quote_id:quote_id, page:page+1}, success: function(html) { $(html).appendTo("#comments"); $("#comments_page").val(page + 1); }, error: function (html) { alert('please try again.'); } }); }); // load more comments on quotes by a user $("#more_user_quote_comments_btn").click(function(e) { e.preventDefault(); var page = parseInt($("#comments_page").val(), 10); var user_id = $("#comments_user_id").val(); $.ajax({ type:"GET", url:"/api.php", data: {a:"get_user_quote_comments", user_id:user_id, page:page+1}, success: function(html) { $(html).appendTo("#comments"); $("#comments_page").val(page + 1); }, error: function (html) { alert('please try again.'); } }); }); // make sure all the divs used in quotes are not fixed position $(".grid_11 div").each(function (i) { if (this.style.position == "fixed") { this.style.position = "inherit"; } }); // load more user comments by a user $("#more_user_comments_by_user_btn").click(function(e) { e.preventDefault(); var page = parseInt($("#comments_page").val(), 10); var user_id = $("#comments_by_user_id").val(); $.ajax({ type:"GET", url:"/api.php", data: {a:"get_user_comments_by_user", user_id:user_id, page:page+1}, success: function(html) { $(html).appendTo("#comments"); $("#comments_page").val(page + 1); }, error: function (html) { alert('please try again.'); } }); }); // load more quote comments by a user $("#more_quote_comments_by_user_btn").click(function(e) { e.preventDefault(); var page = parseInt($("#comments_page").val(), 10); var user_id = $("#quote_comments_by_user_id").val(); $.ajax({ type:"GET", url:"/api.php", data: {a:"get_quote_comments_by_user", user_id:user_id, page:page+1}, success: function(html) { $(html).appendTo("#comments"); $("#comments_page").val(page + 1); }, error: function (html) { alert('please try again.'); } }); }); // save feedback $("#send_feedback_btn").click(function(e) { e.preventDefault(); var feedback_meat = $("#feedback_meat").val(); var site_version = $("#site_version").val(); $.ajax({ type:"POST", url:"/api.php", data: {a:"send_feedback", feedback_meat:feedback_meat, site_version:site_version}, success: function(html) { $("#feedbackform").html(html); }, error: function (html) { alert('Uhoh, please try again.'); } }); }); // send invitation $("#send_invitation_btn").click(function(e) { e.preventDefault(); var email = $("#invitation_email").val(); $.ajax({ type:"POST", url:"/api.php", data: {a:"send_invitation", email:email}, success: function(html) { $("#invitation_email").val(''); $("#invitation_response").html(html); }, error: function (html) { alert('Uhoh, please try again.'); } }); }); // show the sign in form in mobile $("a.feedbacklink").live("click", function() { $("#feedbackform").show(); $("#feedback_meat").focus(); }); // show the feedback form in mobile $("a.signinlink").live("click", function() { $("#signinform").show(); $("#login_form_username").focus(); }); // follow a user when link is clicked $("span.followlink").live("click", function() { var user_id = this.id.split("_")[1]; 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.'); } }); }); // unfollow a user when link is clicked $("span.unfollowlink").live("click", function() { var user_id = this.id.split("_")[1]; 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.'); } }); }); // ignore a user $("span.ignorelink").live("click", function() { var user_id = this.id.split("_")[1]; var url = '/api.php'; var action = 'start_ignoring'; 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 ignore this person.'); } }, error: function() { alert('uh oh, something went wrong. Please try ignoring that person again.'); } }); }); // unignore a user $("span.stopignorelink").live("click", function() { var user_id = this.id.split("_")[1]; var url = '/api.php'; var action = 'stop_ignoring'; 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 stop ignoring this person.'); } }, error: function() { alert('uh oh, something went wrong. Please try to stop ignoring that person again.'); } }); });});$(document).ready(function(){ // insert an alert int othe top of the meat col //$(".meatcol").prepend('

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); })();
Witty Profiles
skinscent
Status:
Joined: June 26, 2012
Last Seen: 4 days ago
Gender: F

bye
Quotes by skinscent
I made some layouts
Just incase anyone wanted some layouts that were "decent" looking, I guess, I don't know. Anyway, the account is SkinscentLayouts, and the layout is there.
 
 
 
6060944 added by skinscent to advice quotes on 24 Jul 2012 at 3:08pm
 
 
Hey moon, please forget to fall down.
Hey moon, don't you go down.
 
 
 
6056567 added by skinscent to lyrics quotes on 23 Jul 2012 at 6:27pm
 
I feel like I haven't been on in forever hey whats up
 
 
 
6050435 added by skinscent to vent quotes on 22 Jul 2012 at 2:28pm
 
I'm trying to think of good usernames that include my name and so far I've thought of:

- Eireann (Gaelic for 'Erin')
- Erindavv (Combination of my first and last name.)

And I need help so tell me if those sound good/bad or if you have better ideas okay
 
 
 
6024244 added by skinscent to advice quotes on 17 Jul 2012 at 12:24am
 
My
body
is
a
dead
language
and
you
pronounce
each
word
perfectly.
 
 
 
6021241 added by skinscent to love quotes on 16 Jul 2012 at 3:24pm
 
I want to put my fingers on your palms and give you my words, and you could fix them; say them back to me as I meant them with your lips on mine, lending them a rhythm that I could never find.
 
 
 
6018866 added by skinscent to love quotes on 15 Jul 2012 at 11:58pm
 
The smell of her hair, the
taste of her mouth
, the feeling of her skin seemed to have got inside him, or into the air all around him. She had become a
physical necessity.
— 1984, George Orwell
 
 
 
6010348 added by skinscent to love quotes on 14 Jul 2012 at 4:30am
 
Super rich kids with nothing but loose ends,
Super rich kids with nothing but fake friends.
 
 
 
6010147 added by skinscent to lyrics quotes on 14 Jul 2012 at 2:02am
 
Hello Darling.
Sorry about that. Sorry about the bony elbows, sorry we lived here, sorry about the scene at the bottom of the stairwell and how I ruined everything by saying it out loud. Especially that, but I should have known. You see, I take the parts that I remember and stitch them back together to make a creature that will do what I say or love me back.
— Richard Siken, from "Litany in Which Certain Things are Crossed Out"
 
 
 
6010062 added by skinscent to love quotes on 14 Jul 2012 at 1:30am
 
I am
afraid
of getting older … I am afraid of getting married. Spare me from cooking three meals a day — spare me from the relentless cage of routine and rote. I want to be free…. I want, I want to think, to be omniscient…. I think I would like to call myself ‘The girl who wanted to be God.’
— Sylvia Plath, written in 1949 at age 17
 
 
 
5985444 added by skinscent to inspirational quotes on 09 Jul 2012 at 1:32pm
 
var sc_project=1156915;var sc_invisible=1;var sc_security="e53b642e";

Comments to laaurenn

Sign in to leave a comment.

skinscent 1 decade ago
show buttons

Please don't take my coding without permission.
reply
Pesadilla 1 decade ago
show buttons

omfg same
reply
laaurenn 1 decade ago
show buttons

lol so my computer isnt letting me comment back 2 u on ur profile?????????????????????so i;ll just comment this way ugh sigh life is hrd :((((
reply
Pesadilla 1 decade ago
show buttons

WAT WHERE R U
reply
Pesadilla 1 decade ago
show buttons

hello
reply
littleleftofthemiddle 1 decade ago
show buttons

you really dont know how much this means to me < 3
i've been going through some really tough times and i just need someone to vent to.
reply
mwittym 1 decade ago
show buttons

you are just great. and i agree with basicaly everything you post. especiALLY WHEN you said it physically pains you to hold back sarcasticremarks, i was just like, "this girl understands me." :)
reply
Pesadilla 1 decade ago
show buttons

hi. no
reply
ApplePieFlutterDashRariSparkle 1 decade ago
show buttons

omfg your quotes are hilarious and I love you be my best friend okay bye
reply
Pesadilla 1 decade ago
show buttons

what
even
stop





hru bb
reply
littleleftofthemiddle 1 decade ago
show buttons

as if i didnt know before
reply
nevercutyourbeautiful 1 decade ago
show buttons

Hello Beautiful!
If you ,
cut
have an eatting disorder
dealing with bullying
or a bully
suicidal thought
family issues
depression
or anxity.
Or even ANYTHING you wanna talk about or get off your chest
Im here for you.
thats what this account is for.
My goal in life is to save a life.
Stay Strong and Dream Big Beautiful!
reply
Pesadilla 1 decade ago
show buttons

smae 2 layz 2 maek a new layuto
reply
Pesadilla 1 decade ago
show buttons

lol yay gurlie
i hate all layout sites they suck
i wud make u one
if i was on the computer
which i never am
so
well

CUTE QUOTE
reply
maaddiissoonn 1 decade ago
show buttons

thanks to you i almost killed myself.
reply
Pesadilla 1 decade ago
show buttons

plz
pls
please
i slept it out u see
reply
Pesadilla 1 decade ago
show buttons

chabge it ew pukes
reply
redapplecandy 1 decade ago
show buttons

..?
reply
[deleted] 1 decade ago
show buttons

LOLLL OMGGGGGG PEASANT. I ALWAYS SAY THAT TOO.
BUT ERMAHGERD THANKS GUURLl!
you dont seem like a peasant either.
you seem like a leader, like me.
reply
Pesadilla 1 decade ago
show buttons

school
schoo
scho
sch
sc
s
st
stu
stup
stupi
stupid

omg the font on ur profile is so annoying kms
reply
Pesadilla 1 decade ago
show buttons

school
schoo
scho
sch
sc
s
se
reply
Pesadilla 1 decade ago
show buttons

eh i guess its fun
rlly tho
better thn school
reply