Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- $(".box1").click(function () {
- if ($("#aboutRed").is(":hidden") === true) {
- $(".info").fadeOut(250);
- $("#aboutRed").delay(250).fadeIn(250);
- } else {
- $("#aboutRed").fadeOut(250);
- }
- });
- $(".box2").click(function () {
- if ($("#aboutYellow").is(":hidden") === true) {
- $(".info").fadeOut(250);
- $("#aboutYellow").delay(250).fadeIn(250);
- } else {
- $("#aboutYellow").fadeOut(250);
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement