Have a look at [url=http://cmsimple_xh_164.cmsimple.sk/]this template[/url]. Mz intention was not the template but the modified function submenu. It was discussed here some days ago.
The template is downloadable incl. the tlpfuncs.php file.
Any comments are welcome.
Expandable submenu
Expandable submenu
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Expandable submenu
I have found very simple sollution. Hopefully it will work for you. It works for me on my iPad at least. See on http://www.codehaven.co.uk/fix-css-hove ... hone-ipad/.
The change is actualized in Download.
If you want to use the hower trick elswhere, just add into the div where the hower shall be applied
In my example it shall go in tplfuncs.php. Look forand extend it to
That's all
The change is actualized in Download.
If you want to use the hower trick elswhere, just add into the div where the hower shall be applied
Code: Select all
onclick=""
Code: Select all
...
if (count($ta) != 0) {
return '<h4>' . $tx['submenu']['heading'] . '</h4>'
. li($ta, 'submenu');
...
Code: Select all
...
return '<div class="submenu" onclick=""><a><h4>' .$tx['submenu']['heading'] . '</a></h4>'
. li($ta, 'submenu').'</div>';
...
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Expandable submenu
This is it!
Re: Expandable submenu
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Expandable submenu
Very interesting! A while ago maeg reported a similar issue, and it could be resolved by changing the element for which :hover should be applied to an <a>. I assume, that the onclick trick would also have worked.Tata wrote:If you want to use the hower trick elswhere, just add into the div where the hower shall be appliedCode: Select all
onclick=""
Christoph M. Becker – Plugins for CMSimple_XH
Re: Expandable submenu
it works for me and I see the advantage in using this trick because if wrapping in <a></a>, there occure problems with further styling.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.