View Full Version : how to hide one div based on php file name?
drew82
07-29-2009, 12:07 PM
how to hide one div based on php file name?
--------------- Added 1248874937 at 1248874937 ---------------
how to hide one div based on php file name?
for example :
suppose my page name is blog.php.i need to hide latest blogs div
testbot
07-29-2009, 02:59 PM
not exactly sure what you're trying to do but you can use css style to hide divs...
<div style="display: none; visibility: invisible;">hidden text</div>
drew82
07-30-2009, 06:57 AM
How to check condition for hidding div?
suppose if we are using hand code we can check like this :
$curpage = $_SERVER['PHP_SELF'];
same variable i need to take in vbulletin.how do to this?
testbot
07-30-2009, 01:08 PM
do you mind if i ask what variable or what page? there might be something already available.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.