Add-ons › Widgets › Web Developer

Javascript Cheatsheet

by claudeb ·

A cheatsheet for javascript based on data from the Mozilla Developer Center

Description

A Javascript cheatsheet based on information from the Mozilla Developer Center. Lists the global objects with their properties and methods. Version 2.0 changes: * opens in application mode; * uses an accordion instead of the flaky ToC; * adds a JSON object section.

Screenshots

Javascript Cheatsheet
Javascript Cheatsheet

Comments (7 on the original page, latest shown)

  • KatzyOct 3, 2007
    Some comments about what this widget does would be kinda useful.
  • claudebOct 4, 2007
    It doesn't actually "do" much. The widget contains a list of all Javascript built-in classes, along with their properties and methods, so you can find them easily when programming. See the definition of "cheatsheet" in your favorite dictionary
  • kyleabakerOct 4, 2007
    Not bad. Although, I think an improved interface/appearance would help it a lot. Also, check the style guides . All widgets should have at the very least a close button visible at all times on them just to make them easier for the general public to use and exit. A minimize option would be nice, but it is optional. Also, one more suggestion..the Table of contents in my opinion should link to the appropriate section. Ex. clicking boolean should jump to the boolean section. I haven't looked at the source yet, but I noticed the list items are anchors (or at least styled to use the pointer cursor). If you've already designed it to jump to a section then it is not working in unix version of Opera. You might want to look into it. To be more useful, the properties could use a little more detail. For instance, maybe list the possible states for and status for XMLHttpRequests and what they mean. Things like that would make it a lot more useful. Currently this isn't a cheatsheet that would do me much good as it doesn't detail very much. Not bad though.
  • claudebOct 5, 2007
    I'll definitely look into it, since last time I checked the ToC worked I used a little Javascript to make it behave inside an Opera widget. I don't know what went wrong. The close button is there, the widget was not approved whitout it. Minimize is on the TODO list for v1.1, as for the looks... any suggestions would be welcome. Regarding detail: this particular cheasheet was inspired by the paper-based one at www.ilovejackdaniels.com. I added only what *I* was missing Any more, and it would become unwieldy, don't you think? Anyway, feel free to make an improved version.
  • DarkenOct 6, 2007
    Thanks.
  • GhostBearMar 2, 2008
    Nice, but visually it looks weird. More paddings!
  • arvindbhatejaJul 17, 2008
    Nice widget, but TOC didn't work for me in Opera 9.51 Replacing: window.location = "#" + this.href.split("#")[1]; with: document.getElementById(this.href.split('#')[1]).scrollIntoView(); should make it work for both 9.2x and 9.5x

Download

This file has not been recovered yet. Do you have a copy? Tell us.

About this widget

Downloads41,488
CategoryWeb Developer
Version3.0
Size10KB
Last updateNovember 17, 2011
Devicesdesktop
Original pageInternet Archive