How to wrap the sidebar links with DIV.
P.S.
The purpose is to hide/show the links with JS
Many thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- iionly@iionly
iionly - 0 likes
- Reuven@reuven
Reuven - 0 likes
- iionly@iionly
iionly - 0 likes
- Reuven@reuven
Reuven - 0 likes
You must log in to post replies.The sidebar menu items are created within the views mod/tidypics/views/default/photos/sidebar_al.php and mod/tidypics/views/default/photos/sidebar_im.php. You would have to wrap the echo outputs (i.e. the switch statements) within a div.
The JS code to actually show/hide the menu entries would be something you need to come up on your own.
Thank yo iionly,
I tried a few options but nothing came out. It seems that I do not understand.
Could you please give me an example.
Thank yo very much
Sorry. My advice was really not very useful, i.e. it won't work that way and it's not that simple to achieve. I had been already on holiday mentally. Unfortunately, I currently don't have the time to think about it more and give you more detailed advice.
Thank you iionly.
I'll proceed with JS, but if a solution popups in your mind please post it here.
Thanks and a happy new year