overLIB Demo

Ed JohnsonEd Johnson
1252793335|%e %B %Y, %H:%M


I propose Wikidot consider adding the free overLIB javascript library and creating a module to use it's features. overLIB is for creating popups and tooltips and has many, many, many configurable options.

I created a small demo and even wrote up a rough draft of the documentation:





Discuss

tsangktsangk 1252841878|%e %b %Y, %H:%M %Z|agohover

Excellent Stuff! :)

EDIT: is there a way to implement this to a custom installation of Wikidot? I was trying to create my own modules and failed.


First Wikidot Wiki with a Chinese Domain! -> http://曾勁驊.info.tm/ or http://kenneth.wikidot.com

Out of your site limit? I've got 996 sites left. Ask me and I'll create one for you! Just PM me and let me know.^

^If you require an Iron Giant Template cloned site, please tell me that too!

last edited on 1252841926|%e %b %Y, %H:%M %Z|agohover by tsangk + show more
unfold by tsangktsangk, 1252841878|%e %b %Y, %H:%M %Z|agohover
Ed JohnsonEd Johnson 1252873681|%e %b %Y, %H:%M %Z|agohover

My php skills are pretty basic. If we ask Gabrys really nicely, maybe he would write a tutorial on how to create a module for WDOS.

-Ed

last edited on 1252880967|%e %b %Y, %H:%M %Z|agohover by Ed Johnson + show more
unfold by Ed JohnsonEd Johnson, 1252873681|%e %b %Y, %H:%M %Z|agohover
pieterhpieterh 1252851064|%e %b %Y, %H:%M %Z|agohover

A nice idea, Ed. Would you please create a wiki page on the design section of the blog, with your proposed documentation? Then I can move that to the design section and we can discuss it. That always helps a lot to turn ideas into actual code.

unfold by pieterhpieterh, 1252851064|%e %b %Y, %H:%M %Z|agohover
How are you doing this now?
leigerleiger 1252922786|%e %b %Y, %H:%M %Z|agohover

My understanding is that you're asking for something to be implemented that you can (and have) easily added to this website inside a code block?

  • Can you explain how to do this? :P This looks cool…
  • What advantages are there of having it built-in as a module? Easier for new users I can think of… anything else? :/
unfold How are you doing this now? by leigerleiger, 1252922786|%e %b %Y, %H:%M %Z|agohover
Re: How are you doing this now?
Ed JohnsonEd Johnson 1252932414|%e %b %Y, %H:%M %Z|agohover

Can you explain how to do this?

If you view source on this page and examine the code block, you'll see how I did it. I actually uploaded the overlib.js files on another page and referenced them inside the html code block.

What advantages are there of having it built-in as a module?

  1. As you say, it's way easier for new users.
  2. It's easier for all users.
  3. You can make a popup work on the normal Wikidot syntax part of your page. Currently, it has to be used in an iframe only.
  4. It's a hassle using code blocks and iframes.
  5. If it works out, we could include Wikidot syntax inside the popup so something like this might actually work well.

-Ed

unfold Re: How are you doing this now? by Ed JohnsonEd Johnson, 1252932414|%e %b %Y, %H:%M %Z|agohover
Re: How are you doing this now?
leigerleiger 1253110131|%e %b %Y, %H:%M %Z|agohover

If you view source on this page and examine the code block, you'll see how I did it.

Oops, should've thought of that :)

unfold Re: How are you doing this now? by leigerleiger, 1253110131|%e %b %Y, %H:%M %Z|agohover
Add a new comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License