Hello.
can you help me?
Scroll Jumps
Moderator: General Moderators
-
gracepinas
- Forum Newbie
- Posts: 15
- Joined: Sat Aug 15, 2009 1:04 am
Scroll Jumps
Last edited by gracepinas on Thu Oct 01, 2009 4:37 am, edited 2 times in total.
Re: Set Retrieve cookie
The cookie is set, then the browser sends it back in the headers for the request for each page thereafter.
So, by nature, you won't be able to see it until the next request.
So, by nature, you won't be able to see it until the next request.
-
gracepinas
- Forum Newbie
- Posts: 15
- Joined: Sat Aug 15, 2009 1:04 am
Scroll Jumps when row is clicked
Hello thanks for the reply I resolve now that issue by double clicking the table it will send the cookie value...but my problem is the scroll jumps everytime i click the table..posted is the image of my formjackpf wrote:The cookie is set, then the browser sends it back in the headers for the request for each page thereafter.
So, by nature, you won't be able to see it until the next request.
the scroll of the table is coded in css
pay.css
Code: Select all
#userlist
{
clear:both;
float:left;
margin-top:5px;
margin-left:30px;
width:200px;
overflow: auto;
border: #21538a 1px solid;
min-height: 400px!important;
max-height: 400px!important;
height:400px;
}Code: Select all
$TableName1 = "tblemployee";
$query1 = mysql_query("SELECT * from $TableName1");
$tabno=$_GET['tab'];
echo "<div id=\"lblUser\">Employee Code</div>";
echo "<div id=\"lblName\">Employee Name</div>";
echo "<div id=\"userlist\" > ";
echo "<table style=\"margin:0 auto;\" width:\"100%\" margin-top:\"-15px\">";
while ($Row = mysql_fetch_array($query1)) {
echo "<tr style=\"background:white;\">";
echo "<td onClick=\"javascript:showModule('MasterFile.php','tab=$tabno&id={$Row['empcode']}','get')\"><span id=\"liUser\">{$Row['empcode']}</span><span id=\"liName\">{$Row['ename']}</span></a></td>";
echo "</tr>";
}
echo "</table>";
echo "</div>";- Attachments
-
- MScroll.JPG (32.13 KiB) Viewed 62 times
Re: Scroll Jumps
I'm not entirely sure what you mean. Have you got a link to this page?
-
gracepinas
- Forum Newbie
- Posts: 15
- Joined: Sat Aug 15, 2009 1:04 am
Re: Scroll Jumps
no i dont have a link..my problem is when i click a row in left table the scroll moves below is the code when i click the rowjackpf wrote:I'm not entirely sure what you mean. Have you got a link to this page?
Code: Select all
echo "<td onClick=\"javascript:showModule('MasterFile.php','tab=$tabno&id={$Row['empcode']}','get')\"><span id=\"liUser\">{$Row['empcode']}</span><span id=\"liName\">{$Row['ename']}</span></a></td>";why is it like that?