T O P I C R E V I E W |
rmmarsh |
Posted - 20 Jun 2008 : 03:36:30 I have two pages (index.php and media.php)... the script to show a graphics label is exactly the same on both pages, as the id of the graphic label.
I am getting an error (the echo'd script) during the rendering on the index.php page...
I refer you to -> http://www.votemarkmays.com ... why the error?
The PHP script is as follows:
<?php
// Browser detection script using PHP Sniff // http://phpsniff.sourceforge.net
// Set this to the URL for your site $url='http://www.votemarkmays.com/'; // Trailing slash important!
// Include phpsniff code require_once ('phpSniff.core.php'); require_once ('phpSniff.class.php');
// Instantiate phpSniff $phpSniff=new phpSniff();
// Get the browser type and version //$browserCode=$phpSniff->property('browser'); //$browserVer=$phpSniff->property('maj_ver').$phpSniff->property('min_ver');
// Lookout for IE6 and below if($phpSniff->browser_is('ie6') || $phpSniff->browser_is('ie5')) { echo '<script type="text/javascript">document.getElementById("ldheGrLabel2").style.visibility="visible";</script>'; }
?>
|
2 L A T E S T R E P L I E S (Newest First) |
rmmarsh |
Posted - 20 Jun 2008 : 18:02:27 duh! thank you... the smallest thing turns out to be the problem...
Thanks again!
R |
jtarin |
Posted - 20 Jun 2008 : 15:26:10 Your "Home" link is "404". |