Skip to content

JS library with helper procedures for extra effects in Genially pages.

License

Notifications You must be signed in to change notification settings

mkub/genially_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Genially Helpers

This is a simple library of helper functions in JS to manipulate objects on web pages generated by Genially.

Objects on which the helpers can operate have to be grouped together with the following code ''inserted'':

<div id="some unique id"></div>
<script></script>

Grouped objects can be then identified by these unique ids, called here ''labels''.

hide_by_label(label) -- hides an object containing a given label.

hide_on_overlap(label1, label2, hide) -- hides object containing label hide when the objects containing labels label1 and label2 mostly overlap.

show_on_overlap(label1, label2, hide) -- shows object containing label hide when the objects containing labels label1 and label2 mostly overlap.

show_when_all_hidden(label1, labels) -- shows the object containing label label1 when all the objects identified by the array of labels labels are hidden.

About

JS library with helper procedures for extra effects in Genially pages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published