Latest topics
» [GAME] What are you thinking right now?
by universecat Yesterday at 21:46

» [GAME] Animal Game
by universecat Yesterday at 21:43

» [GAME] Count to 1000 using even numbers Van-Helsing Edition
by universecat Yesterday at 21:40

» [GAME] Count to One Million!
by universecat Yesterday at 21:40

» [GAME] Last Letter Game
by universecat Yesterday at 21:39

» [GAME] Post a random picture
by SLGray Yesterday at 16:28

» Dark Mode + Another Question
by Ace 1 Yesterday at 13:31

» Hi everyone!
by skouliki Yesterday at 02:01

» Hai Guys~
by skouliki Yesterday at 01:59

» Add a login popup for the toolbar
by Ape Sun 15 Oct 2017, 13:51

» Mobile Usability Test
by Ange Tuteur Sat 14 Oct 2017, 11:20

» Chit Chat Thread
by Ange Tuteur Sat 14 Oct 2017, 11:20

» [GAME] World Snake
by SLGray Thu 12 Oct 2017, 16:12

» [GAME] Never have I ever..
by Valoish Thu 12 Oct 2017, 13:01

» Browsers & Updates
by SLGray Mon 09 Oct 2017, 12:11

Recent Tutorials
Who is online?
In total there are 6 users online :: 1 Registered, 0 Hidden and 5 Guests :: 1 Bot

jlmic

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Scary face

View previous topic View next topic Go down

avatar
Bigtuber

Title :
Gender : Male
Posts : 124
Points : 824
Reputation : 50
Location : Germany
Language : German, English
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

PostBigtuber on Mon 31 Oct 2016, 15:11

You got me, Ange. Humor
Wow, this was unexpected. Héhé..

--------

avatar
Valoish
Graphic Designer
Title :
Gender : Female
Age : 21
Posts : 3652
Points : 4743
Reputation : 357
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Opera Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.canvasforums.com https://twitter.com/Valoishx3

PostValoish on Mon 31 Oct 2016, 15:13

Gave me a heart attack at school ; A;
Listening to instrumental music while studying and then I check this forum and bam
Rip my life x_x

--------

"I was afraid. And my own insecurity crushed him." - Youku x Boku SS
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9534
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 31 Oct 2016, 15:18

I see you two met our other worldly friends ! No worries they wont bite ( I think >.> ), might scare the crap outta you though. Naughty

Anyone know a good exorcist ?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9534
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 31 Oct 2016, 16:50

If anyone is up for scaring their members, here's the script. Twisted Evil

Go to Admin Panel > Modules > JS Codes management > Create a new script

Title : Jump Scare
Placement : In all the pages
Code:
$(function() {
  'JUMP SCARE - Happy Halloween';
  'Script by : https://github.com/SethClydesdale';
  'Images from : http://designurge.com/scary-pictures/';

  // list of images for scaring poor souls
  var list = [
    'https://i97.servimg.com/u/f97/18/45/41/65/evil_d10.jpg',
    'https://i97.servimg.com/u/f97/18/45/41/65/evilde10.jpg',
    'https://i97.servimg.com/u/f97/18/45/41/65/hallow10.jpg',
    'https://i97.servimg.com/u/f97/18/45/41/65/scary-10.jpg',
    'https://i97.servimg.com/u/f97/18/45/41/65/scream10.jpg',
    'https://i97.servimg.com/u/f97/18/45/41/65/evil-d10.jpg',
    'https://i97.servimg.com/u/f97/18/45/41/65/10051110.jpg',
    'https://i97.servimg.com/u/f97/18/45/41/65/17662710.gif'
  ],

  img = document.createElement('DIV'); // div instead of an img so we can use backgroundSize

  // set CSS styles
  $(img).css({
    background : 'url(' + list[ Math.floor(Math.random() * list.length) ] + ') no-repeat',
    backgroundSize : '100% 100%',
    position : 'fixed',
    top : 0,
    left : 0,
    right : 0,
    bottom : 0,
    opacity : 1,
    visibility : 'hidden',
    zIndex : 1000000
  });

  document.body.appendChild(img); // add the div to the document
  window.jump_scare = img; // cache the div to a global var

  // bind click event to all links
  $('a').click(function() {
    if (Math.floor(Math.random() * 10) == 0) { // 1 in 10 chance of jump scare triggering
      jump_scare.style.visibility = ''; // show image

      // fade the image out
      $(jump_scare).animate({
        opacity : 0
      }, 400, function() {
        jump_scare.style.visibility = 'hidden'; // hide the image again
      });
    }
  });
});
Once the script is installed there's a 1 in 10 chance that a scary image will pop up when you click on links.

P.S. It uses jQuery since this was a quickie.

Happy Halloween !


Last edited by Ange Tuteur on Mon 31 Oct 2016, 17:04; edited 1 time in total
avatar
Ace 1
Valued Member
Title :

Beta Tester
Gender : Unspecified
Age : 18
Posts : 2142
Points : 2906
Reputation : 87
Location : USA
Language : English ?
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Mon 31 Oct 2016, 16:59

Whoa kinda twisted but I may use this to intimidate the users on my forum (evil)
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9534
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 31 Oct 2016, 17:03

Ace 1 wrote:Whoa kinda twisted but I may use this to intimidate the users on my forum (evil)
YEEEAAAH JOIN TO EVIL CLUB ! Twisted Evil

Forgot to mention ; There's a 1 in 10 chance that a scary image will pop up when you click on links.
avatar
Ace 1
Valued Member
Title :

Beta Tester
Gender : Unspecified
Age : 18
Posts : 2142
Points : 2906
Reputation : 87
Location : USA
Language : English ?
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Mon 31 Oct 2016, 17:13

Yep. Line 39.

And line 45 the
Code:
400
is how long the image will remain on screen. right?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9534
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 31 Oct 2016, 17:22

Yep, it stays on screen for 400ms. It uses jQuery's animate() for the smooth transition. Probably could've used fadeOut() instead. Been awhile since I used it that I forgot lol.
avatar
Ace 1
Valued Member
Title :

Beta Tester
Gender : Unspecified
Age : 18
Posts : 2142
Points : 2906
Reputation : 87
Location : USA
Language : English ?
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Mon 31 Oct 2016, 17:24

You ever heard of Velocity.js?
avatar
Valoish
Graphic Designer
Title :
Gender : Female
Age : 21
Posts : 3652
Points : 4743
Reputation : 357
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Opera Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.canvasforums.com https://twitter.com/Valoishx3

PostValoish on Mon 31 Oct 2016, 17:59

Saving for next year for sure :'3

--------

"I was afraid. And my own insecurity crushed him." - Youku x Boku SS
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9534
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 01 Nov 2016, 10:52

Ace 1 wrote:You ever heard of Velocity.js?
Nope, never heard of it before, looks useful though ! Surprised

Valoish wrote:Saving for next year for sure :'3
YEEEESSSS SCARE EVERYONE NEXT YEAR ! Razz
avatar
Valoish
Graphic Designer
Title :
Gender : Female
Age : 21
Posts : 3652
Points : 4743
Reputation : 357
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Opera Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.canvasforums.com https://twitter.com/Valoishx3

PostValoish on Tue 01 Nov 2016, 11:28

For sure ;3 Keeping it a secret from the other admins too Razz
/PrayingHaeDoesntLogOn

--------

"I was afraid. And my own insecurity crushed him." - Youku x Boku SS
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4698
Points : 9534
Reputation : 2337
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 01 Nov 2016, 12:03

She's lucky she wasn't here on Halloween. Razz
avatar
Valoish
Graphic Designer
Title :
Gender : Female
Age : 21
Posts : 3652
Points : 4743
Reputation : 357
Location : NYC
Language : English, Russian, Hebrew
Browser : Browser : Opera Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.canvasforums.com https://twitter.com/Valoishx3

PostValoish on Tue 01 Nov 2016, 13:29

LOL. I KNOW. She would have died cuz she gets scared easily 
Rip her next year on Canvas though LOLOL. c;<

--------

"I was afraid. And my own insecurity crushed him." - Youku x Boku SS

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum