Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Error in IE during page load

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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".

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000