Skip to main content

Plugin that allows you to put javascript code evaluated by kss

Project description


If you want to use external js libraries with kss you may have to write a kss plugin (for example create a jQuery porting of some features). When it makes sense you can also use this package and put simple inline javascript code that will be executed.

You can call javascript code from the inlinejs kss command set or configure properly a kss configuration file.

Example usage

From python code:

element = ksscore.getHtmlIdSelector(‘selector’) inline = self.getCommandSet(“inlinejs”) inline.execJs(element, “alert(‘TEST’); alert(; jQuery(…)”)

From a kss configuration file:

img:click {
action-client: inlinejs-effect; inlinejs-effect-code: ‘alert(; alert(“done”); jQuery(…)’; inlinejs-effect-debug: ‘1’; }


  • Tests coverage


Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.kss.inlinejs, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size collective.kss.inlinejs-1.0-py2.4.egg (11.0 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size collective.kss.inlinejs-1.0.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page