Tidypics - wrap the sidebar links with DIV

How to wrap the sidebar links with DIV.


The purpose is to hide/show the links with JS

Many thanks

  • 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