[pmwiki-users] Toggle not hiding

Simon nzskiwi at gmail.com
Wed Nov 1 04:19:47 CDT 2017


I've dug into this further, the skin doesn't seem to matter,
and you are right, HTMLStylesFmt and HTMLFooterFmt aren't getting set, even
though the recipe itself runs
http://kiwiwiki.nz/pmwiki/pmwiki.php/Test/Toggle?skin=pmwiki&action=diag

____
http://kiwiwiki.nz

On 31 October 2017 at 22:03, Simon <nzskiwi at gmail.com> wrote:

> Thanks, I'm using the previous version of the adapt skin.
> I'll try to figure out what is happening.
> I'm also having similar issues at http://kiwiwiki.co.nz/
> pmwiki/pmwiki.php/Test/Toggle,
> different skin, different server, same recipes.
>
> When I look at the TTC page source (view-source:http://ttc.org.
> nz/pmwiki/pmwiki.php/TTC/Search) I do see in the head
> <script type="text/javascript">
> function toggle(obj, hide, show) {
>   var elstyle = document.getElementById(obj).style;
>   var text = document.getElementById(obj + "tog");
>   if(!hide) { var hide = "hide"; }
>   if(!show) { var show = "show"; }
>   if (elstyle.display == 'none') {
>     elstyle.display = 'block';
>     text.innerHTML = hide;
>   } else {
>     elstyle.display = 'none';
>     text.innerHTML = show;
>   }
> }
> </script>
>
> but thats all
> I'm thinking my skin may be missing some markup tag.
> I'll do some more digging
>
>
> ____
> http://kiwiwiki.nz
>
> On 30 October 2017 at 23:46, Hans <design at bracker.uk> wrote:
>
>> PS:
>> the toggle script code is also not injected at the end of the <body>
>> element, plus the button specific <script> code is also not injected,
>> (following the button)
>>
>> So something is seriously interfering with Toggle script even being
>> put into HTML.
>>
>>
>> Hans
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20171101/ae376d17/attachment.html>


More information about the pmwiki-users mailing list