Friday, 9 August 2013

code working in pc but not in laptop

code working in pc but not in laptop

This is my header page it works on my pc 21" screen but the page dosent
works on my mini laptop.. earlier was working but today i dont know wat
happened the toggle is not working
Please note. only the toggle is not working, div with id=aboutus(not
working in my laptop.) surprisingly working in my pc...
any help please ..
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<link rel="icon" type="image/JPG" href="2.JPG"/>
<link rel="stylesheet" type="text/css" href="style_header.css" />
<title>
Welcome <?=$_SESSION['name'];?> :)
</title>
</head>
<body style="overflow-x:hidden;">
<table id="header">
<tr>
<td>
<h1 style="margin-left:100px;">
<strong>ABC.com</strong>
</h1><form name="search" action="friends_searched.php"
method="post">
<input type="text" name="searched" value="Search by
Mobile,Email or Name of your friends..."
onfocus="javascript: if(this.value=='Search by
Mobile,Email or Name of your friends...') this.value= '';"
onblur="javascript: if (this.value== '') this.value
='Search by Mobile,Email or Name of your friends...';"
id="searchfrnds" />
</form>
<a title="profile page" href="profile_page.php"
id="profile"><img src="profile.jpg" style="width:19;
height:20;"></a>
<a title="logout" href="logout.php" id="logout"><img
src="logout.png" style="width:15px;height:15px;"/></a>
<a title="wat the f**k page" href="fk_page.php"
id="waf">Wtf</a>
<a title="home page" href="home.php" id="home"><img
src="home.jpeg"style="width:30;"></a>
<div id="aboutus" onclick="showLayer('aboutus-sub');">
<img src="more.png" id="more" title="more here.."
style="width:25px;height:25px;"/></div>
<div id="aboutus-sub" style="display:none;">
<ul><li><a href="chatroom.php">Chat Room</a></li>
<ul><li><a href="album.php">Album</a></li>
<ul><li><a href="studentsarea.php">Settings</a></li>
<ul><li><a href="studentsarea.php">i student</a></li>
</ul>
</div>
</td>
</tr>
</table>
<script>
function showLayer (){
$('#aboutus-sub').css('visibility','visible').slideToggle('slow','swing');
}
</script>
</body>

No comments:

Post a Comment