isEditMode for sliding div

Permalink
I have a sliding div that is triggered by jquery. However, it is naturally hidden (via css) even when in edit mode. What does the isEditMode need to say for the div to be visible when editing?

thanks

trixiemay
 
hutman replied on at Permalink Best Answer Reply
hutman
You should be able to add something into your head section of the site like this

<head>
\\other stuff in the head
<?php if($c->isEditMode) { ?>
<style type="text/css">
//styles to make your hidden div show
</style>
<?php } ?>
</head>

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.