Dear visitors and members, with the staff having moved on to other life interests and as a result of changes in people's internet usage habits, the CodeWalrus community have migrated almost entirely to Discord, IRC and WalrusIRC and is now essentially a place where to hang out, chat about gaming, programming, music, anime, and chill. As a result, even though the CW forums will remain open for posting, for faster TI, Casio or HP calculator help and news we recommend using the bilingual TI-Planet forums instead.

We encourage everyone to join our Discord server now.

* 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 1194 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
  • 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
  • Super User
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3165
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • 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
  • 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