ekran cozunurlugu html
2 posters
:: Webmaster :: Web Dizayn
1 sayfadaki 1 sayfası
ekran cozunurlugu html
Ekran cözünürlülügü
<script LANGUAGE="JavaScript">
<!-- Begin
function redirectPage() {
var url640x480 = "http://www.isim.com/640x480.html";
var url800x600 = "http://www.isim.com/800x600.html";
var url1024x768 ="http://www.isim.com/1024x768.html";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}
// End -->
</script>
Kaynagı görüntüle
<SCRIPT language="JavaScript">
<!--
function getsource()
{
var thesource= "view-source:" + window.location;
window.location= thesource;
}
//-->
</SCRIPT>
<FORM>
<INPUT TYPE="button" value="Kaynağı Görüntüle!" onClick="getsource()">
</FORM>
Otamatik ekran kapa
<script language="JavaScript1.2">
<!--
/*
Otomatik Ekrani Kapla Scripti
Nick Lowe (nicklowe@ukonline.co.uk) Tarafindan yazildi
*/
window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.avail Height);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.wi ndow.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
Açılır menü
<style>
BODY { font-family:verdana, arial, helvetica; font-size:70%; }
H1 { font-size:120%; font-style:italic; }
DIV#divMenuBar { background-color:#6699CC; }
TABLE#tblMenuBar TD { font-size:60%; color:white; padding:0px 5px 0px 5px; cursor:default; }
TABLE#tblMenuBar TD.MenuMadde { font-weight:bold; cursor:hand; }
DIV.clsMenu {
font-size:90%; background-color:#6699CC;
position:absolute; visibility:hidden; width:130px;
padding:5px 5px 5px 8px; border-top:1 white solid;
}
DIV.clsMenu A { text-decoration:none; color:white; font-weight:bold; }
DIV.clsMenu A:hover { color:moccasin; }
BUTTON { font-family:tahoma; font-size:100%; }
</style>
<SCRIPT LANGUAGE="Javascript">
var eOpenMenu = null;
function OpenMenu(eSrc,eMenu)
{
eMenu.style.left = eSrc.offsetLeft + divMenuBar.offsetLeft;
eMenu.style.top = divMenuBar.offsetHeight + divMenuBar.offsetTop;
eMenu.style.visibility = "visible";
eOpenMenu = eMenu;
}
function CloseMenu(eMenu)
{
eMenu.style.visibility = "hidden";
eOpenMenu = null;
}
function document.onmouseover()
{
var eSrc = window.event.srcElement;
if ("MenuMadde" == eSrc.className)
{
eSrc.style.color = "moccasin";
var eMenu = document.all[eSrc.id.replace("tdMenuBarItem","divMenu")];
if (eOpenMenu && eOpenMenu != eMenu)
{
CloseMenu(eOpenMenu);
}
if (eMenu)
{
OpenMenu(eSrc,eMenu);
}
}
else if (eOpenMenu && !eOpenMenu.contains(eSrc) && !divMenuBar.contains(eSrc))
{
CloseMenu(eOpenMenu);
}
}
function document.onmouseout()
{
var eSrc = window.event.srcElement;
if ("MenuMadde" == eSrc.className)
{
eSrc.style.color = "";
}
}
</SCRIPT>
Aşağısı Body Kısmına Eklenecek-------------------------
<DIV ID="divMenuBar">
<TABLE ID="tblMenuBar" BORDER="0">
<TR>
<TD CLASS="MenuMadde" ID="tdMenuBarItem01">MENÜ MADDE 01</TD>
<TD>|</TD>
<TD CLASS="MenuMadde" ID="tdMenuBarItem02">MENÜ MADDE 02</TD>
<TD>|</TD>
<TD CLASS="MenuMadde" ID="tdMenuBarItem03">MENÜ MADDE 03</TD>
</TR>
</TABLE>
</DIV>
<DIV CLASS="clsMenu" ID="divMenu01">
<DIV CLASS="clsMenuAra"></DIV>
<DIV><A TARGET="_new" HREF="01.asp">Madde 01</A></DIV>
<DIV><A TARGET="_new" HREF="02.asp">Madde 02</A></DIV>
<DIV><A TARGET="_new" HREF="03.asp">Madde 03</A></DIV>
<DIV><A TARGET="_new" HREF="04.asp">Madde 04</A></DIV>
<DIV><A TARGET="_new" HREF="05.asp">Madde 05</A></DIV>
</DIV>
<DIV CLASS="clsMenu" ID="divMenu02">
<DIV CLASS="clsMenuAra"></DIV>
<DIV><A TARGET="_new" HREF="11.asp">Madde 01</A></DIV>
<DIV><A TARGET="_new" HREF="12.asp">Madde 02</A></DIV>
<DIV><A TARGET="_new" HREF="13.asp">Madde 03</A></DIV>
<DIV><A TARGET="_new" HREF="14.asp">Madde 04</A></DIV>
<DIV><A TARGET="_new" HREF="15.asp">Madde 05</A></DIV>
</DIV>
<DIV CLASS="clsMenu" ID="divMenu03">
<DIV CLASS="clsMenuAra"></DIV>
<DIV><A TARGET="_new" HREF="21.asp">Madde 01</A></DIV>
<DIV><A TARGET="_new" HREF="22.asp">Madde 02</A></DIV>
<DIV><A TARGET="_new" HREF="23.asp">Madde 03</A></DIV>
<DIV><A TARGET="_new" HREF="24.asp">Madde 04</A></DIV>
<DIV><A TARGET="_new" HREF="25.asp">Madde 05</A></DIV>
</DIV>
<script LANGUAGE="JavaScript">
<!-- Begin
function redirectPage() {
var url640x480 = "http://www.isim.com/640x480.html";
var url800x600 = "http://www.isim.com/800x600.html";
var url1024x768 ="http://www.isim.com/1024x768.html";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}
// End -->
</script>
Kaynagı görüntüle
<SCRIPT language="JavaScript">
<!--
function getsource()
{
var thesource= "view-source:" + window.location;
window.location= thesource;
}
//-->
</SCRIPT>
<FORM>
<INPUT TYPE="button" value="Kaynağı Görüntüle!" onClick="getsource()">
</FORM>
Otamatik ekran kapa
<script language="JavaScript1.2">
<!--
/*
Otomatik Ekrani Kapla Scripti
Nick Lowe (nicklowe@ukonline.co.uk) Tarafindan yazildi
*/
window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.avail Height);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.wi ndow.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
Açılır menü
<style>
BODY { font-family:verdana, arial, helvetica; font-size:70%; }
H1 { font-size:120%; font-style:italic; }
DIV#divMenuBar { background-color:#6699CC; }
TABLE#tblMenuBar TD { font-size:60%; color:white; padding:0px 5px 0px 5px; cursor:default; }
TABLE#tblMenuBar TD.MenuMadde { font-weight:bold; cursor:hand; }
DIV.clsMenu {
font-size:90%; background-color:#6699CC;
position:absolute; visibility:hidden; width:130px;
padding:5px 5px 5px 8px; border-top:1 white solid;
}
DIV.clsMenu A { text-decoration:none; color:white; font-weight:bold; }
DIV.clsMenu A:hover { color:moccasin; }
BUTTON { font-family:tahoma; font-size:100%; }
</style>
<SCRIPT LANGUAGE="Javascript">
var eOpenMenu = null;
function OpenMenu(eSrc,eMenu)
{
eMenu.style.left = eSrc.offsetLeft + divMenuBar.offsetLeft;
eMenu.style.top = divMenuBar.offsetHeight + divMenuBar.offsetTop;
eMenu.style.visibility = "visible";
eOpenMenu = eMenu;
}
function CloseMenu(eMenu)
{
eMenu.style.visibility = "hidden";
eOpenMenu = null;
}
function document.onmouseover()
{
var eSrc = window.event.srcElement;
if ("MenuMadde" == eSrc.className)
{
eSrc.style.color = "moccasin";
var eMenu = document.all[eSrc.id.replace("tdMenuBarItem","divMenu")];
if (eOpenMenu && eOpenMenu != eMenu)
{
CloseMenu(eOpenMenu);
}
if (eMenu)
{
OpenMenu(eSrc,eMenu);
}
}
else if (eOpenMenu && !eOpenMenu.contains(eSrc) && !divMenuBar.contains(eSrc))
{
CloseMenu(eOpenMenu);
}
}
function document.onmouseout()
{
var eSrc = window.event.srcElement;
if ("MenuMadde" == eSrc.className)
{
eSrc.style.color = "";
}
}
</SCRIPT>
Aşağısı Body Kısmına Eklenecek-------------------------
<DIV ID="divMenuBar">
<TABLE ID="tblMenuBar" BORDER="0">
<TR>
<TD CLASS="MenuMadde" ID="tdMenuBarItem01">MENÜ MADDE 01</TD>
<TD>|</TD>
<TD CLASS="MenuMadde" ID="tdMenuBarItem02">MENÜ MADDE 02</TD>
<TD>|</TD>
<TD CLASS="MenuMadde" ID="tdMenuBarItem03">MENÜ MADDE 03</TD>
</TR>
</TABLE>
</DIV>
<DIV CLASS="clsMenu" ID="divMenu01">
<DIV CLASS="clsMenuAra"></DIV>
<DIV><A TARGET="_new" HREF="01.asp">Madde 01</A></DIV>
<DIV><A TARGET="_new" HREF="02.asp">Madde 02</A></DIV>
<DIV><A TARGET="_new" HREF="03.asp">Madde 03</A></DIV>
<DIV><A TARGET="_new" HREF="04.asp">Madde 04</A></DIV>
<DIV><A TARGET="_new" HREF="05.asp">Madde 05</A></DIV>
</DIV>
<DIV CLASS="clsMenu" ID="divMenu02">
<DIV CLASS="clsMenuAra"></DIV>
<DIV><A TARGET="_new" HREF="11.asp">Madde 01</A></DIV>
<DIV><A TARGET="_new" HREF="12.asp">Madde 02</A></DIV>
<DIV><A TARGET="_new" HREF="13.asp">Madde 03</A></DIV>
<DIV><A TARGET="_new" HREF="14.asp">Madde 04</A></DIV>
<DIV><A TARGET="_new" HREF="15.asp">Madde 05</A></DIV>
</DIV>
<DIV CLASS="clsMenu" ID="divMenu03">
<DIV CLASS="clsMenuAra"></DIV>
<DIV><A TARGET="_new" HREF="21.asp">Madde 01</A></DIV>
<DIV><A TARGET="_new" HREF="22.asp">Madde 02</A></DIV>
<DIV><A TARGET="_new" HREF="23.asp">Madde 03</A></DIV>
<DIV><A TARGET="_new" HREF="24.asp">Madde 04</A></DIV>
<DIV><A TARGET="_new" HREF="25.asp">Madde 05</A></DIV>
</DIV>
streetboy- System Root
- Mesaj Sayısı : 595
Yaş : 32
Nerden : askısının kalbiden
Humor : RAPPİSTER
Güç :
Aktiflik :
Ruh Hali :
Takımı :
Kayıt tarihi : 16/02/08
:: Webmaster :: Web Dizayn
1 sayfadaki 1 sayfası
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz