Re: [pmwiki-users] Including an Accordion widget

2011-02-15 Thread Harald C.
Hi Hans, Hans schrieb am / wrote on 15.02.2011 19:20: Here is a fix: change in the script in function HideDivs(obj) line var d = el.getElementsByTagName(\"DIV\"); to var d = el.getElementsByClassName(\"acc\"); With this fix the class name of the section divs becomes important, so yo

[pmwiki-users] Which Calendar recipe do you recommend?

2011-02-15 Thread Aditya Mandayam
Browsing through the cookbook has me confused. I need a calendar recipe that shows upcoming events, that can be used to set recurring events, and one that has a central calendar page to browse through the days and months. Thank you, Adi ___ pmwiki-use

Re: [pmwiki-users] Including an Accordion widget

2011-02-15 Thread Hans
Tuesday, February 15, 2011, 5:46:45 PM, Harald C. wrote: > If there is an empty line between the >><< and the following e.g. > !!![[##2 Section 2]] the section 2 content in this example will not be > shown if one clicks on the section 2 header, but on the section 3 header > etc. okay, thanks, I

Re: [pmwiki-users] Including an Accordion widget

2011-02-15 Thread Harald C.
Thank you, V.Krishn for helping, but as I wrote before, I opted for Hans' alternative solution without using jQuery as I would only have needed it for the 'Accordion' on this site. Harald ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http:/

Re: [pmwiki-users] Including an Accordion widget

2011-02-15 Thread Harald C.
Hans schrieb am / wrote on 15.02.2011 16:33: Tuesday, February 15, 2011, 11:20:14 AM, Harald C. wrote: With the script as is one has to start the numbering in the custom link markup at '0' instead of '1' my mistake! change the Accordion function to read like this, d[n-1] instead of d[n]:

Re: [pmwiki-users] Including an Accordion widget

2011-02-15 Thread Hans
Tuesday, February 15, 2011, 11:20:14 AM, Harald C. wrote: > Hello Hans, > Thank you for your quick answer. > I tried your alternative recipe, and it does work, but: > With the script as is one has to start the numbering in the custom link > markup at '0' instead of '1' like this: > (:di

[pmwiki-users] multi-line variables

2011-02-15 Thread Peter Bowers
How does one use (:if equal "{$var}" "":) or the like when {$var} might contain multi-line contents? The (:if ...:) markup doesn't seem to accept its arguments being on multiple lines. I thought to {(substring ...)} the variable or {(strlen ...)} it but then I remembered that markup expressions d

Re: [pmwiki-users] Including an Accordion widget

2011-02-15 Thread V.Krishn
On Monday 14 Feb 2011 8:06:22 pm Harald C. wrote: > Hi, > > I would like to include a jQuery (or similar) Accordion widget in one of > the pages of a PMWiki. > This would require > (1) to insert a call to one or two JavaScript files for that page only > (2) include a css file in the head section fo

[pmwiki-users] PmWiki 2.2.24 released

2011-02-15 Thread Petko Yotov
Hello. PmWiki version 2.2.24 was published today, and is available at : http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.24.tgz http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.24.zip svn://www.pmwiki.org/pmwiki/tags/latest This version reverts the way existing PageVariables are processed, lik

Re: [pmwiki-users] Including an Accordion widget

2011-02-15 Thread Harald C.
Hello Hans, Thank you for your quick answer. I tried your alternative recipe, and it does work, but: With the script as is one has to start the numbering in the custom link markup at '0' instead of '1' like this: (:div0 id=accordion:) !!![[##0 Section 1]]<-