www.cakal.net Forumları YabadabaDuuuee

www.cakal.net Forumları YabadabaDuuuee (https://www.cakal.net/index.php)
-   Eskiler (Arşiv) (https://www.cakal.net/forumdisplay.php?f=188)
-   -   [JAVA]Yandan açılan menü (hareketli) (https://www.cakal.net/showthread.php?t=83435)

jockeя 08-22-2007 11:42 AM

[JAVA]Yandan açılan menü (hareketli)
 
<HTML>

<HEAD>

****** **********Soft Lite ScriptWorx 4.0" name=Generator>
<STYLE>#slidemenubar {
BACKGROUND-COLOR: lightblue; BORDER-BOTTOM: navy 1px solid; BORDER-LEFT: navy 1px solid; BORDER-RIGHT: navy 1px solid; BORDER-TOP: navy 1px solid; FONT: bold 12px/20px Verdana; LEFT: -155px; POSITION: absolute; TOP: 170px; WIDTH: 160px; layer-background-color: lightblue
}
#slidemenubar2 {
BACKGROUND-COLOR: lightblue; BORDER-BOTTOM: navy 1px solid; BORDER-LEFT: navy 1px solid; BORDER-RIGHT: navy 1px solid; BORDER-TOP: navy 1px solid; FONT: bold 12px/20px Verdana; LEFT: -155px; POSITION: absolute; TOP: 170px; WIDTH: 160px; layer-background-color: lightblue
}
</STYLE>




<!-- Type your text here //-->

<SCRIPT language=JavaScript1.2>

/*
Sliding Menu Bar Script-
© Dynamic Drive (Dynamic Drive DHTML(dynamic html) & JavaScript code library)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

if (document.all)
document.write('<div id="slidemenubar2" style="left:-150" onMouseover="pull()" onMouseout="draw()">')
</SCRIPT>
<LAYER id=slidemenubar onmouseout=draw() onmouseover=pull()>
<SCRIPT language=JavaScript1.2>
var sitems=new Array()
var sitemlinks=new Array()

//extend or shorten this list
sitems[0]="deneme"
sitems[1]="deneme2"
sitems[2]="deneme3"

//These are the links pertaining to the above text.
sitemlinks[0]="denemelink"
sitemlinks[1]="denemelink2"
sitemlinks[2]="denemelink3"

for (i=0;i<=sitems.length-1;i++)
document.write('<a href='+sitemlinks[i]+'>'+sitems[i]+'</a><br>')
</SCRIPT>
</LAYER>
<SCRIPT language=JavaScript1.2>
function regenerate(){
****************.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",400)
}
window.onload=regenerate2
if (document.all){
document.write('</div>')
themenu=document.all.slidemenubar2.style
rightboundary=0
leftboundary=-150
}
else{
themenu=document.layers.slidemenubar
rightboundary=150
leftboundary=10
}
function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",50)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",50)
}
function pullengine(){
if (document.all&&themenu.pixelLeft<rightboundary)
themenu.pixelLeft+=5
else if(document.layers&&themenu.left<rightboundary)
themenu.left+=5
else if (window.pullit)
clearInterval(pullit)
}
function drawengine(){
if (document.all&&themenu.pixelLeft>leftboundary)
themenu.pixelLeft-=5
else if(document.layers&&themenu.left>leftboundary)
themenu.left-=5
else if (window.drawit)
clearInterval(drawit)
}
</SCRIPT>


Forum saati GMT +3 olarak ayarlanmıştır. Şu an saat: 11:38 AM

Yazılım: vBulletin® - Sürüm: 3.8.11   Copyright ©2000 - 2025, vBulletin Solutions, Inc.