- LOVESuper PRO
- Tổng số bài gửi : 837
Điểm kinh nghiệm : 49
Điểm thưởng : 13
Đến từ : A3k43
Ngày tham gia : 02/12/2007
Tâm trạng :
Slide menu A3k43
06/06/08, 09:37 am
A3k43
Slide menu
Source code
Slide menu
Source code
- Code:
<script>
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<layer id="divStayTopLeft">
<!--EDIT BELOW CODE TO YOUR OWN MENU-->
<table border="1" width="140" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" bgcolor="#FFFFCC">
<p align="center"><b><font size="2">Forumotion Menu</font></b></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
<p align="left"><a href="http://help.forumotion.com/connection-problems-f42/"><span style="font-size: 13px; line-height: normal">Connection</span></a><br><a href="http://help.forumotion.com/script-code-problems-f43/"><span style="font-size: 13px; line-height: normal">Code problems</span></a><br>
<a href="http://help.forumotion.com/administration-panel-problems-f44/"><span style="font-size: 13px; line-height: normal">Admin problems</span></a><br>
<a href="http://help.forumotion.com/manage-the-appearance-of-your-forum-f45/"><span style="font-size: 13px; line-height: normal">Manage your Forum</span></a><br>
<a href="http://help.forumotion.com/other-problems-f46/"><span style="font-size: 13px; line-height: normal">Other problems</span></a><br><a href="http://help.forumotion.com/need-of-a-technician-f3/"><span style="font-size: 13px; line-height: normal">Need Technician</span></a><br><a href="http://help.forumotion.com/suggestion-section-f29/"><span style="font-size: 13px; line-height: normal">Suggestions</span></a><br><a href="http://help.forumotion.com/graphic-design-section-f6/"><span style="font-size: 13px; line-height: normal">Graphic Design</span></a><br><a href="http://help.forumotion.com/general-discussions-f7/"><span style="font-size: 13px; line-height: normal">General Discussions</span></a></td>
</tr>
</table>
<!--END OF EDIT-->
</layer>
<script type="text/javascript">
/*
Floating Menu script- Roy Whittle (http://www.javascript-fx.com/)
script featured on/available at http://www.dynamicdrive.com/
This notice must stay intact for use
*/
//Enter "frombottom" or "fromtop"
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 250;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
- LOVESuper PRO
- Tổng số bài gửi : 837
Điểm kinh nghiệm : 49
Điểm thưởng : 13
Đến từ : A3k43
Ngày tham gia : 02/12/2007
Tâm trạng :
Re: Slide menu A3k43
06/06/08, 09:40 am
- LOVESuper PRO
- Tổng số bài gửi : 837
Điểm kinh nghiệm : 49
Điểm thưởng : 13
Đến từ : A3k43
Ngày tham gia : 02/12/2007
Tâm trạng :
Re: Slide menu A3k43
06/06/08, 09:44 am
- Code:
<script>
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<layer id="divStayTopLeft">
<!--EDIT BELOW CODE TO YOUR OWN MENU-->
<table border="1" width="140" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" bgcolor="#FFFFCC">
<p align="center"><b><font size="2">Forumotion Menu</font></b></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
<p align="left">
<a href="http://help.forumotion.com/connection-problems-f42/"><span style="font-size: 13px; line-height: normal">Connection</span></a><br>
<a href="http://help.forumotion.com/script-code-problems-f43/"><span style="font-size: 13px; line-height: normal">Code problems</span></a><br>
<a href="http://help.forumotion.com/administration-panel-problems-f44/"><span style="font-size: 13px; line-height: normal">Admin problems</span></a><br>
<a href="http://help.forumotion.com/manage-the-appearance-of-your-forum-f45/"><span style="font-size: 13px; line-height: normal">Manage your Forum</span></a><br>
<a href="http://help.forumotion.com/other-problems-f46/"><span style="font-size: 13px; line-height: normal">Other problems</span></a><br>
<a href="http://help.forumotion.com/need-of-a-technician-f3/"><span style="font-size: 13px; line-height: normal">Need Technician</span></a><br>
<a href="http://help.forumotion.com/suggestion-section-f29/"><span style="font-size: 13px; line-height: normal">Suggestions</span></a><br>
<a href="http://help.forumotion.com/graphic-design-section-f6/"><span style="font-size: 13px; line-height: normal">Graphic Design</span></a><br>
<a href="http://help.forumotion.com/general-discussions-f7/"><span style="font-size: 13px; line-height: normal">General Discussions</span></a></td>
</tr>
</table>
<!--END OF EDIT-->
</layer>
<script type="text/javascript">
/*
Floating Menu script- Roy Whittle (http://www.javascript-fx.com/)
script featured on/available at http://www.dynamicdrive.com/
This notice must stay intact for use
*/
//Enter "frombottom" or "fromtop"
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX = 3,
startY = 250;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
Permissions in this forum:
Bạn không có quyền trả lời bài viết
|
|