I wanted the slideshow pages to look very simple and clean, but the way displayimage.php works right now, it would have been a little difficult (or at least complicated) to change what gets put on the page during a slideshow.
Instead I figured out a slick & easy way to hide a lot of the page elements. I attached css classes to them and then in the slideshow() function css gets added into the page to hide them. In-line css overrides all other css, so the elements are there but hidden.
I put the code just after the line
pageheader($lang_display_image_php['slideshow']);
echo <<<EOTH
<style type="text/css">
<!--
.topmenu, .sitenavbar, .footer, .sitelogo, .swooshy {
visibility: hidden;
height: 0px;
display: none;
}
-->
</style>
EOTH;
Thanks, I've been trying to figure that one out. ;D
I can't find that bit of text in my displayimage.php file (v1.48) - guess this is out of date?
I did this to hide most of the stuff with 1.4.10
in include/slideshow.inc.php
just before the first :
<script language="JavaScript" type="text/JavaScript">
insert :
<style type="text/css">
<!--
.footer, .top_panel, .comments, #MENUS, .admin_menu {
visibility: hidden;
height: 0px;
display: none;
}
-->
</style>
Unfortunatelly none of the solutions worked for me :( Only the admin menu was hidden, nothing else, even when I was playing around with differnet css classes. I was trying to hide the system menu, the logo field and the navigation bar, but without success...