You are not logged in Log in Join
You are here: Home » Members » Ioan's Zope Documents » Overlib and Zope

Log in
Name

Password

 

Overlib and Zope

Use properties to control doc of your links with overlib.

Overlib is a JavaScript library created to enhance websites with small popup information boxes to help visitors around your website. Load overlib.js on your standard_html_header:
<DIV ID="overDiv" STYLE="position:absolute; visibility:hide; z-index: 1;"></DIV>
<SCRIPT LANGUAGE="JavaScript" SRC="/js/overlib.js"></SCRIPT>
Then add a properties let's say 'caption' on your objects (folders and DTML documents).

In SimpleSiteMap made by djay you may try to add :

<dtml-if caption>
 onMouseOver="overlib('<dtml-var caption>')" onMouseOut="nd()"
</dtml-if>

inside the link.

That is! After you create your SimpleSiteMap you add that js code.

(Tip: I put a link to home and map in my standard_html_header)