Assalamu'alaikum guys, Iam will Share for native programing in the html and or php function from Fixed
position in CSS will make an still element to its place although we do scroll. Fixed position can
be used to menu in application
or link to media social that will always still to its
place.
As example can be seen to coding followed this :
<!DOCTYPE
html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Position Fixed</title>
<style type="text/css">
#menuku
{
position: fixed;
top: 5px;
left: 10px;
background: #3c3c3c;
color: white;
padding: 5px;
}
#menuku a:link, #menuku a:visited
{
text-decoration: none;
color: white;
}
</style>
</head>
<body>
<div id="menuku"><a href="#lagu1">Close to Thee</a> | <a href="#lagu2">Be Thou my vision</a> | <a href="#lagu3">All the way my Savior leads me</a></div>
<div id="isi">
<a name="lagu1"></a>
<br/> 
<br/> 
<br/> 
<html>
<head>
<title>Position Fixed</title>
<style type="text/css">
#menuku
{
position: fixed;
top: 5px;
left: 10px;
background: #3c3c3c;
color: white;
padding: 5px;
}
#menuku a:link, #menuku a:visited
{
text-decoration: none;
color: white;
}
</style>
</head>
<body>
<div id="menuku"><a href="#lagu1">Close to Thee</a> | <a href="#lagu2">Be Thou my vision</a> | <a href="#lagu3">All the way my Savior leads me</a></div>
<div id="isi">
<a name="lagu1"></a>
<br/> 
<br/> 
<br/>