* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Well I'm learning JS and stuff  (Read 722 times)

0 Members and 1 Guest are viewing this topic.

Offline CKH4

  • Extravagant Sushi
  • Super User
  • Join Date: Jan 2015
  • Location:
  • Posts: 872
  • Post Rating Ratio: +3/-2
    • View Profile
  • Gender: Male
Well I'm learning JS and stuff
« on: August 29, 2015, 08:21:40 pm »
For my first real attempt at writing JS I've decided to generate a nav based on html h(1,2,3) elements. The code that isn't mine is from various stackoverflow questions but I think that there's only two functions that aren't mine. If you know any JS (jquery) and would like to propose suggestions that would be cool.

http://codepen.io/CKH4/pen/WQeJWw


  • Calculators owned: TI-83+, TI-84+


Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3151
  • Post Rating Ratio: +31/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • View Profile
    • quantuminfinity
  • Gender: Male
Re: Well I'm learning JS and stuff
« Reply #1 on: August 30, 2015, 08:30:58 am »
Looks nice :3. I like how it queue's positions when you rapidly click on different topics too.
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline CKH4

  • Extravagant Sushi
  • Super User
  • Join Date: Jan 2015
  • Location:
  • Posts: 872
  • Post Rating Ratio: +3/-2
    • View Profile
  • Gender: Male
Re: Well I'm learning JS and stuff
« Reply #2 on: August 30, 2015, 01:34:48 pm »
Yep, I'm pretty sure that was unintended though. It probably just worked out from the code I found.
  • Calculators owned: TI-83+, TI-84+


 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games