main_page=page&id=20
If you want to control display on specific ez-pages, you might do best to install the Smart Backgrounds mod. It will give a page body class that indicates the current ez-page (among other features); you can then use this class as a prefix for a rule in your stylesheet to set display: none; on that graphic on that ez-page. Something like
.smartBG_p20 .linkGraphic1 {display: none;}
You would need to make a dummy image file named according to the specific ez-page in order to get the class tag. Alternatively, the Smart BG code could be tweaked to ignore image file checking and just set the class tag in all cases.
Another option, if you want to control this in the PHP code, is to use a test like
PHP Code:
if ($current_page_base != 'page' or $_GET['id'] != 20) {
<a href="index.php?main_page=page&id=20"><img src="/images/imagename.png" alt="Image Description" width="200" height="50" hspace="5" vspace="5" border="0"></a>
}
Bookmarks