diff --git a/jquery.js b/jquery.js new file mode 100644 index 0000000..1bf832e --- /dev/null +++ b/jquery.js @@ -0,0 +1,27 @@ +$("h1").append("VAC, is that you? It's me, the people."); + +$(".info-box").append("
  1. Funny functions
  2. Terrible traversals
  3. Massive manipulations
  4. Admirable alterations
"); + +$(document).ready(function(){ + $('.sad').removeClass('sad').addClass('happy'); +}); + +$("a[href='http://www.evilwebsite.com/']").attr('href', 'http://www.cashcats.biz/') + +$("a").attr("href", "http://www.cashcats.biz/") + +$(document).ready(function(){ + $("#annoying-popup").css({ + "position": "absolute", + "top": "40px", + "right": "16px"}); +}); + +$(document).ready(function(){ + $("li").last().prev().replaceWith('
  • Content of your choice
  • '); +}); + +$(document).ready(function(){ + $("input").first().replaceWith(''); + $("input").last().remove(); +}); diff --git a/styles.css b/styles.css index e24bd33..17fd154 100644 --- a/styles.css +++ b/styles.css @@ -41,4 +41,32 @@ form{ } #annoying-popup a{ color: white; -} \ No newline at end of file +} + +$("h1").append("VAC, is that you? It's me, the people."); + +$(".info-box").append("
    1. Funny functions
    2. Terrible traversals
    3. Massive manipulations
    4. Admirable alterations
    "); + +$(document).ready(function(){ + $('.sad').removeClass('sad').addClass('happy'); +}); + +$("a[href='http://www.evilwebsite.com/']").attr('href', 'http://www.cashcats.biz/') + +$("a").attr("href", "http://www.cashcats.biz/") + +$(document).ready(function(){ + $("#annoying-popup").css({ + "position": "absolute", + "top": "40px", + "right": "16px"}); +}); + +$(document).ready(function(){ + $("li").last().prev().replaceWith('
  • Content of your choice
  • '); +}); + +$(document).ready(function(){ + $("input").first().replaceWith(''); + $("input").last().remove(); +});