Js ile yapılmış bir uygulama.
biraz bilgin var ise kaynaklarının oldugu yerleri göstereyim uyarlama yapabilirsen.
<SCRIPT language="JavaScript">
function init() {
//==========================================================================================
// if supported, initialize TransMenus
//==========================================================================================
// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
// This is better than server-side checking because it will also catch browsers which would
// normally support the menus but have javascript disabled.
//
// If supported, call initialize() and then hook whatever image rollover code you need to do
// to the .onactivate and .ondeactivate events for each menu.
//==========================================================================================
if (TransMenu.isSupported()) {
TransMenu.initialize();
// hook all the highlight swapping of the main toolbar to menu activation/deactivation
// instead of simple rollover to get the effect where the button stays hightlit until
// the menu is closed.
menu1.onactivate = function() { document.getElementById("genbil").className = "hover"; };
menu1.ondeactivate = function() { document.getElementById("genbil").className = ""; };
menu2.onactivate = function() { document.getElementById("egtogt").className = "hover"; };
menu2.ondeactivate = function() { document.getElementById("egtogt").className = ""; };
menu3.onactivate = function() { document.getElementById("yerleske").className = "hover"; };
menu3.ondeactivate = function() { document.getElementById("yerleske").className = ""; };
menu4.onactivate = function() { document.getElementById("yayinlar").className = "hover"; };
menu4.ondeactivate = function() { document.getElementById("yayinlar").className = ""; };
menu5.onactivate = function() { document.getElementById("kuruluslar").className = "hover"; };
menu5.ondeactivate = function() { document.getElementById("kuruluslar").className = ""; };
}
}
function valilik()
{
var windowen=600;
var windowboy=450;
var ekrangenisligi=window.screen.width;
var ekranyuksekligi=window.screen.height;
var leftsize=(ekrangenisligi-windowen)/2;
var topsize =(ekranyuksekligi-windowboy)/2;
var features = "toolbar=no,status=no,menubar=no,scrollbars=yes,width="+ windowen +",height="+ windowboy +",left=" + leftsize + ",top="+ topsize;
window.open("valilik.htm", 'Valilik',features);
}
function openCv()
{
var windowen=540;
var windowboy=450;
var ekrangenisligi=window.screen.width;
var ekranyuksekligi=window.screen.height;
var leftsize=(ekrangenisligi-windowen)/2;
var topsize =(ekranyuksekligi-windowboy)/2;
var features = "toolbar=no,status=no,menubar=no,scrollbars=yes,width="+ windowen +",height="+ windowboy +",left=" + leftsize + ",top="+ topsize;
window.open("http://www.icisleri.gov.tr/_Icisleri/Web/cv_english.htm", 'Valilik',features);
}
function album()
{
var windowen=540;
var windowboy=450;
var ekrangenisligi=window.screen.width;
var ekranyuksekligi=window.screen.height;
var leftsize=(ekrangenisligi-windowen)/2;
var topsize =(ekranyuksekligi-windowboy)/2;
var features = "toolbar=no,status=no,menubar=no,scrollbars=yes,width="+ windowen +",height="+ windowboy +",left=" + leftsize + ",top="+ topsize;
window.open("http://www.icisleri.gov.tr/_Icisleri/Web/album/bakan.htm", 'Valilik',features);
}
function AnketSayfaAc()
{
window.open("/Anket/AnketPopup.aspx", "AnketPopup","width=500, height=250, toolbar=no, status=yes, titlebar=yes,location=relative, directories=no,menubar=no, resizable=yes, fullscreen=no, scrollbars=yes");
}
function SiteIciArama()
{
var windowen=420;
var windowboy=300;
//var aramaKriteri = document.getElementById("tbAramaKriteri").value;
var ekrangenisligi=window.screen.width;
var ekranyuksekligi=window.screen.height;
var leftsize=(ekrangenisligi-windowen)/2;
var topsize =(ekranyuksekligi-windowboy)/2;
var features = "toolbar=no,status=no,menubar=no,scrollbars=yes,width="+ windowen +",height="+ windowboy +",left=" + leftsize + ",top="+ topsize;
window.open("SiteIciArama.aspx", 'SiteIciArama',features);
}
</SCRIPT>
bu yukardaki sayfa icerisinde kullandıkları javascript kodu.
bide menu.js cekiyorlar
http://www.icisleri.gov.tr/_Icisleri/Web/menu/menu.js
bu linkten de onu down. edip düzenleyebilirsin sanırım.
<IFRAME id=ihale src="http://www.icisleri.gov.tr/_Icisleri/Link/Link.aspx" frameBorder=0 width="100%" height=830>
diger ortadaki sayfayıda iframe ile cekiyorlar. ben fazla anlamam ama böyle şeyler hoşuma gidiyor inceledim eğer işine yararsa.