Posted 13 Sep 2009 19:25 by Ed Johnson
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.
The list below is pulled from the overLIB Command Reference. Some options were omitted since they probably wouldn't work well with Wikidot (i.e. embedding HTML in a popup). If implemented, the developers should go through all of the overLIB options to see which ones should and should not be permitted to make sure security holes are not opened.
[[overlib options…]]popup link text…[[/overlib]]
Options:
fixx="fixx-specifier"
[[html]]
<script>
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("domingo","lunes","martes","miércoles","jueves","viernes","sábado")
var montharray=new Array("enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre")
document.write("<large><font color='#800000' face='time'><b>"+dayarray[day]+", "+daym+" de "+montharray[month]+" de "+year+"</b></font></large>")
</script>
[[/html]]