Skip to content

Instantly share code, notes, and snippets.

@srobbin
Created March 4, 2012 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srobbin/1974010 to your computer and use it in GitHub Desktop.
Save srobbin/1974010 to your computer and use it in GitHub Desktop.
Intelligist: Init Demo
/*
Using Intelligist is easy.
Just select the container, and pass in an object of gists that you'd like to display.
The object is made of keys (the gist ID) and values (titles for the drop-down menu).
Note: In this example, we are setting the "exec" option to true.
This instructs Intelligist to execute the code after the gist is displayed.
It is optional, and disabled by default.
Important: If you are using the "exec" option, your Gist must be set
to the correct language. Intelligist uses a Gist's language to determine
how it should execute the code.
*/
$("#demo").intelligist({
"1973984": "Welcome to Intelligist"
, "1973990": "Live CSS preview"
, "1973575": "Live JS preview"
}, { exec: true });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment