Skip to content

Instantly share code, notes, and snippets.

@tokapeb
Created August 22, 2012 11:06
Show Gist options
  • Save tokapeb/3424453 to your computer and use it in GitHub Desktop.
Save tokapeb/3424453 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
$(function() {
JCSDL.onLoad(function() {
$('#jcsdl-edit').jcsdlGui({
...
animate : 2000,
hideTargets : ['interaction', 'facebook', 'myspace', 'digg', '2channel', 'video', 'youtube', 'reddit', 'imdb', 'flickr', 'amazon', 'blog', 'board', 'dailymotion', 'newscred', 'topix', 'augmentation',
'twitter.domains', 'twitter.in_reply_to_screen_name', 'twitter.links', 'twitter.mentions', 'twitter.source', 'twitter.text', 'twitter.place', 'twitter.retweet', 'twitter.retweeted',
'twitter.user.description', 'twitter.user.followers_count', 'twitter.user.follower_ratio', 'twitter.user.friends_count', 'twitter.user.id', 'twitter.user.listed_count', 'twitter.user.location', 'twitter.user.name', 'twitter.user.screen_name', 'twitter.user.statuses_count', 'twitter.user.time_zone', 'twitter.user.url'],
definition : {
inputs : {
select : {
sets : {
language2 : {'nl': 'Hollands', 'de': 'Deutsch', 'hu': 'Magyar'}
}
}
},
targets : {
twitter : {
fields : {
user : {
fields : {
profile_age : {
max : 100,
'default' : 40,
step : 1
},
lang : {
optionsSet: 'language2'
}
}
}
}
}
}
},
mapsOverlay : {
strokeWeight : 1,
fillColor : '#FF0000',
fillOpacity : 0.3
}
...
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment