Problems with Chrome

Hi there,

I’m having serious problems with getting my web application to work in Chrome. It’s working fine in Firefox and I’m worked out all the bugs in IE, but in Chrome it’s like some of my pages are frozen and whereas the user should be able to click on a number of buttons and scroll down the page, they can’t do anything, the page is frozen! Any help would be great please as I’m totally stuck!! I’m a complete beginner so layman terms would be great!

Here’s my code:

[php]

<?php global $core; $topicId = $_GET['topic']; $filter = $_GET['filter']; $pageId = $_GET['id']; if (!isset($pageId)) { $pageId = $core->GetFirstPage($topicId, $filter); } ?>

<?php if (isset($topicId)) { if ($filter == "") { $filter = "0"; } $core->GetPersonalTopicList($topicId, $filter, $pageId); } else { echo "ERROR : Topic ID Not Set"; } ?>
    <div class="list_spacer"></div>

<?php if ($filter == 0) echo "
"; else echo "
      <?php	    if ($filter == 1)        echo "<div class='list_box_active_personal'>";		else		echo "<div class='list_box_personal'>";		 ?>
        <a href="?page=topic_personal&topic=<?php echo $topicId; ?>&id=<?php echo $pageId; ?>&filter=1">   Solution Finder    </a>
    </div>

     <?php	    if ($filter == 2)        echo "<div class='list_box_active_personal'>";  	else	echo "<div class='list_box_personal'>";	 ?>
        <a href="?page=topic_personal&topic=<?php echo $topicId; ?>&id=<?php echo $pageId; ?>&filter=2">       Test Yourself    </a>
    </div>


     <?php	    if ($filter == 3)        echo "<div class='list_box_active_personal'>";		else		echo "<div class='list_box_personal' >";  ?>
       <a href="?page=topic_audit_personal&amp;topic=<?php echo $topicId; ?>&filter=3">	Personal Topic Audit     &nbsp;&nbsp;<?php 	$overallRating = $core->GetTopicAuditOverallRating($topicId);	echo $overallRating;  ?>% </a>
    </div>	
  </div>
    
  </td>
<td width="700" valign="top">
<?php  if (isset($pageId))	  {	?>
<div id="topic_content_text_top_bar_personal"style="background-image: linear-gradient(bottom, rgb(0,12,87) 4%, rgb(56,75,161) 52%, rgb(0,0,79) 81%); background-image: -o-linear-gradient(bottom, rgb(0,12,87) 4%, rgb(56,75,161) 52%, rgb(0,0,79) 81%); background-image: -moz-linear-gradient(bottom, rgb(0,12,87) 4%, rgb(56,75,161) 52%, rgb(0,0,79) 81%); background-image: -webkit-linear-gradient(bottom, rgb(0,12,87) 4%, rgb(56,75,161) 52%, rgb(0,0,79) 81%); background-image: -ms-linear-gradient(bottom, rgb(0,12,87) 4%, rgb(56,75,161) 52%, rgb(0,0,79) 81%); <p>background-image: -webkit-gradient(<br> linear,<br> left bottom,<br> left top,<br> color-stop(0.04, rgb(0,12,87)),<br> color-stop(0.52, rgb(56,75,161)),<br> color-stop(0.81, rgb(0,0,79))<br> );"><br> <?php echo stripslashes($core->GetPageName($pageId)); ?><br> <?php echo "   Page Id: ".$pageId.""; ?>
<?php echo "Topic Id: ".$topicId.""; ?>
Notes - <?php $sql1 = "SELECT * FROM tbl_notes WHERE pageId='".$pageId."' AND clientId='".$core->currentClientId."'"; $result1 = mysql_query($sql1); $num = mysql_num_rows($result1); if ($num >0)
        {	$date1 = mysql_result($result1,$i,"dateCreated");  echo  "<a style= 'font-size:11px;'> Note made on: <strong>".$core->humanDate($date1)."</strong></a>";	}
			else	{	  echo "click to make notes  ";  }  ?>
          <?php		  global $core;
		  $sql1 = "SELECT * FROM tbl_notes WHERE pageId='".$pageId."' AND clientId='".$core->currentClientId."'";
		  $result1 = mysql_query($sql1);
		  $num = mysql_num_rows($result1);
		  if ($num == 0)
		  {    if (!isset($_POST['note_content']))		  {	?>
			
			<form name="form1" method="post" action="">
			  <label>   <p style='margin-bottom; -5px;'> Add or edit your notes/bookmark in the box below.	 </p>
			  <textarea style='resize:none;margin-top:-5px;' name="note_content" cols="55" rows="4" style="font-family:'Segoe UI'" ></textarea>
			  </label>
			   <div style='margin-left: 515px; margin-top: -30px;'>
				<input type="submit" name="Save" value="Save">
				</div>
			</form>
			
			<?php	}	else	{
			  $content = $_POST['note_content'];
			  $sql = "INSERT INTO tbl_notes (clientId,pageId,noteContent,dateCreated,topicId)
					  VALUES ('".$core->currentClientId."','".$pageId."','".nl2br($content)."','".date("Y-m-d")."','".$topicId."')";
			  $result = mysql_query($sql);	
			  if ($result)	  {	echo "  <form name='form1' method='post' action=''>
			  <label>
	                  <p>  Add or edit your notes in the box below. You can use this feature as a bookmark. </p>		
			  
			  <textarea style='resize:none;margin-top: -5px;' name='note_content' cols='60' rows='3' style='font-family:'Segoe UI'' >".$_POST['note_content']."</textarea>
			  </label>
                              <div style='margin-left: 515px; margin-top: -30px;'>	<input type='submit' name='Save' value='Save'>	</div>
			</form>";
			  }		}	}	else if ($num > 0)	{
			  $sql1 = "SELECT * FROM tbl_notes WHERE pageId='".$pageId."' AND clientId='".$core->currentClientId."'";
			  $result1 = mysql_query($sql1);
			  $num = mysql_num_rows($result1);
			  $note_content = mysql_result($result1,0,"noteContent");
			  $date = mysql_result($result1,0,"dateCreated");
			  if (!isset($_POST['note_content']))
			  {
			  
			  $note_content = strip_tags($note_content);
			  $note_content = trim($note_content);
			  echo "
			  				  
			  <form name='form1' method='post' action=''>
			  <label>           <p>  Add or edit your notes on this page in the box below. You can use this feature as a bookmark.	  </p>				  
			  <textarea style='resize:none;margin-top: -5px;' name='note_content' cols='60' rows='3' style='font-family:'Segoe UI'' >".stripslashes($note_content)."</textarea>		  </label>
			    <div style='margin-left: 515px; margin-top: -30px;'>
				<input type='submit' name='Save' value='Save'>
				</div>
			</form>";
			
			}
			else		{
			  $content = $_POST['note_content'];
			  $sql = "UPDATE tbl_notes 
			  		SET clientId='".$core->currentClientId."',pageId='".$pageId."',noteContent='".$core->ProcessTextBoxToParagraphs($content)."',dateCreated='".date("Y-m-d")."',topicId='".$topicId."'
					WHERE pageId='".$pageId."'";
			  $result = mysql_query($sql);	
			  if ($result)
			  {	echo "	  <form name='form1' method='post' action=''>
			  <label>
              <p>  Add or edit your notes in the box below. You can use this feature as a bookmark. </p>
			  
			  <textarea style='resize:none;margin-top: -5px;' name='note_content' cols='60' rows='3' style='font-family:'Segoe UI'' >".$_POST['note_content']."</textarea>
			  </label>
			  <div style='margin-left: 515px; margin-top: -30px;'>
				<input type='submit' name='Save' value='Save'>
				</div>
			</form>";
			  }
			  else
			  {	    echo mysql_error();	  }		}	}		?>
        <?php              }            ?>
  <div id="content_text_studied_panel" class="noprint" style="width:300px;text-align:right">
             <?php		  if (isset($_POST['unstudy']))
					{	$sql = "DELETE FROM tbl_studied WHERE clientId='".$core->currentClientId."' AND pageId='".$pageId."'";
						$result = mysql_query($sql);
						if (!$result) echo mysql_error();	}
				  
				  if ($core->HasPageBeenStudied($pageId))                                                                                              
				  {
					echo "<span style='font-weight: bold; font-size: 11px; font: #153375' >Studied on ".$core->GetStudiedDate($pageId)."
					<form style='display:inline;' id='studied' name='studied' method='post' action=''>
						  						 <input  style='cursor:pointer' type='submit' name='unstudy' id='unstudy' value='Unstudy' class='studied_button'/>
					</form>
					</span>"; 
				  }
				  else  {	if (isset($_POST['studied']))
					 {
					 $userId = $core->currentClientId;
					   $sql = "INSERT INTO tbl_studied (clientId,pageId,date)
							   VALUES ('".$userId."','".$pageId."','".date("Y-m-d H:i:s")."')";
					   $result = mysql_query($sql);
					   if (!$result)
					   {	 echo " | ERROR : Studied not set! Contact Us Immediately! (".mysql_error().")";   }
					   else   {
						 echo "<span style='font-size: 11px; font-weight: bold; font: #153375' >Studied on ".$core->GetStudiedDate($pageId)."
						<form style='display:inline;' id='studied' name='studied' method='post' action=''>
														  <input type='submit' name='unstudy' id='unstudy' value='Unstudy' class='studied_button'/>
						</form>
						</span>"; 
					   }	  }	 else
					  {	    echo "<span style='font-size: 11px; font-weight: bold; font: #153375'  >
						<form style=' font-weight:bold; display:inline;' id='studied' name='studied' method='post' action=''>
					<input style=' font-weight:bold; display:inline; cursor:pointer;' type='submit' name='studied' id='studied' value='Studied' class='studied_button'/>
						</form>
						</span>";
					  }  }       	?>
<?php if (isset($pageId)) { $core->GetPageContent($pageId); } else { echo "

Please Select a Page from the list on the left

"; } ?>

Back Search Solution Finder Top Tips Business Forms

[/php]

Sounds like you have some problems with your stylesheet/s layering elements improperly. are you using z-index anywhere to make sure any parts of the website that are containing accessable content are at the top layer?

Sponsor our Newsletter | Privacy Policy | Terms of Service