Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 714
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 Blok yapiminda nasil incl..
(6349 okuma, 3 yanıt)
 Orta Block Resim Ekleme..
(7370 okuma, 3 yanıt)
 yeni flashmanset haber bl..
(12590 okuma, 9 yanıt)
 Ramazan Yaklaştı Block,Mo..
(6357 okuma, 2 yanıt)
 php Nuke Jquery Accessibl..
(9499 okuma, 6 yanıt)
 Dernek Modulü için Block..
(4676 okuma, 1 yanıt)
 Adtech Reklam Bloku..
(5581 okuma, 2 yanıt)
 Manşet Blok..
(5598 okuma, 2 yanıt)
 Flash Atatürk Vecizeleri ..
(5579 okuma, 2 yanıt)
 TRT Haber orta bloğu..
(10000 okuma, 9 yanıt)
 Yeni Manşet Haber Bloklar..
(19203 okuma, 23 yanıt)
 New haber flash band news..
(7439 okuma, 3 yanıt)
 new flash nsn news block..
(17497 okuma, 23 yanıt)
 ATS haber blogu kurdum am..
(7565 okuma, 6 yanıt)
 Akordiyon Blok hatası..
(5696 okuma, 2 yanıt)
 Youtube videolari site de..
(6302 okuma, 3 yanıt)
 bugun girenler blogu..
(9371 okuma, 8 yanıt)
 3 haber yeni block..
(10504 okuma, 13 yanıt)
 nice manset haber block..
(8931 okuma, 8 yanıt)
 Bytasarım Slide Kayan Hab..
(23623 okuma, 30 yanıt)
 need help to make this ha..
(3480 okuma, 0 yanıt)
 new flash block preheadli..
(5376 okuma, 2 yanıt)
 Facebookta Paylaşım....
(8507 okuma, 7 yanıt)
 Blok nasıl eklenir Yardım..
(9045 okuma, 7 yanıt)
 Super mansetler flash blo..
(4613 okuma, 2 yanıt)
 yeni block flash haberler..
(4855 okuma, 2 yanıt)
 yeni block flash accordio..
(3421 okuma, 0 yanıt)
 block flash haber accordi..
(4504 okuma, 2 yanıt)
 İstediğiniz bir bloğu baş..
(4039 okuma, 0 yanıt)
 Bugün Doğan Üyeler Bloğu..
(7333 okuma, 6 yanıt)
 Bizim Yazarlar Modülüne b..
(3944 okuma, 0 yanıt)
 Sonvideostream flash blco..
(7909 okuma, 8 yanıt)
 Yenilikler Orta Blok ist..
(7573 okuma, 6 yanıt)
 Akordiyon Flash Blok+Xml..
(7015 okuma, 5 yanıt)
 blocks nsn news flash cu..
(3606 okuma, 0 yanıt)
 new flash bizim yazarlar ..
(3995 okuma, 1 yanıt)
 haber flash block send al..
(5492 okuma, 4 yanıt)
 userinfo bloğu çalışmıyor..
(4878 okuma, 2 yanıt)
 Total hits block..
(3955 okuma, 1 yanıt)
 katagorili haber blogu..
(11210 okuma, 13 yanıt)
 Dolar-Tl Dönüştürücü Blok..
(7049 okuma, 5 yanıt)
 Flash Haber Sistemi Çok ..
(10220 okuma, 9 yanıt)
 Video Stream Orta Blok..
(6226 okuma, 4 yanıt)
 new flash block..
(5256 okuma, 3 yanıt)
 flash haber blogu..
(6227 okuma, 4 yanıt)
 Döviz ve Haber Durumu Blo..
(10391 okuma, 10 yanıt)
 Blokta karakter sınırlama..
(5473 okuma, 2 yanıt)
 Yeni Hava Durumu Block'u..
(3700 okuma, 0 yanıt)
 yeni flash haber block..
(4465 okuma, 2 yanıt)
 yeni haber flash block..
(6157 okuma, 5 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Dhtml Menüyü Blok yapmak
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


Dhtml Menüyü Blok yapmak

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Blocklar
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
iso233
Mesaj: 100+
Mesaj: 100+





Kayıt: Mar 07, 2007
Mesajlar: 194

MesajTarih: 2009-02-08, 13:12:59    Mesaj konusu: Dhtml Menüyü Blok yapmak Alıntıyla Cevap Gönder

arkadaşlar ben menüyü blok olarak kullanmak istiyorum fakat yapamadım bi türlü.. yardımcı olursanız sevinirim..
Alıntı:
<KAYNAK>

<!---<head> Başlangıcı --->
<style type="text/css">

#dhtmlgoodies_menu{ /* Menu object */
margin:0px;
padding:0px;
width:150px; /* Width of menu */
}
#dhtmlgoodies_menu li{
margin-top:2px; /* Space between each menu item */


/* Don't change these four values */
list-style-type:none;
clear:both;
display:block;
overflow:auto;
}

#dhtmlgoodies_menu li a{ /* Text rules for the menu items */
color:#000; /* Black text color */
text-decoration:none; /* No underline */
font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif; /* Font to use */
letter-spacing:1px; /* Extra space between each letter of the menu items */
font-size:0.7em; /* Fixed font size */
font-weight:bold; /* Bold font */
float:left;
background-color:#F1F1F1;
padding-left:3px;
line-height:25px; /* Height of menu links */

}
#dhtmlgoodies_menu li div{
float:left;

}
</style>

<s></s>
<s>
/************************************************************************************************************
(C) www.dhtmlgoodies.com, October 2005

This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.

Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.

Thank you!

www.dhtmlgoodies.com
Alf Magne Kalleland

************************************************************************************************************/

/*

HOW TO DEAL WITH THE ARRAYS BELOW

You can have more than one color in your menu. You define which color a menu item belongs to by specifying a class for the <a> tag
Example: <a class="menuGroup1"> which means that this element uses color number 2 (0 = first color). btw: You don't have to specify
<a class="menugroup0"> if a menu item uses the first color. This color is the default choice if nothing else is defined.

*/

var initActiveMenuItem = -1; // If one of the menu items should be initially highlighted.(-1 = none, 0 = first item, 1 = second...)
var activeSmallSquareColor = ['#D60808','#08D608']; // Color of small square at the left of each menu item - only one item in the array if you only have one color
var colorSquareWidth = 2; // Width of small square;
var marginSquare = 1;


var bgColorLinks = ["#E2EBED",'#EDE3E3']; // Background color for menu links - one element for each menu color
var degreesToDarkenOrLighten = [15,15]; // How many percent point to darken/lighten,or change saturation of the color above on mouse over (10-15 percent point is usually enough).
var changeBrightnessOrSaturation = ['saturation','saturation']; // Possible values: "saturation" and "brightness" - which one to adjust on mouseover

var textColorMenuItems = ['#000000','#000000']; /* Text color of links - one array item for each group of colors */
/*
You can use the color schemer at www.dhtmlgoodies.com to find your colors

We use the HSB color system here, The HSB color system is based on three values

* Hue = Which color, i.e. degree on color wheel
* Saturation = Intensity of the color to use
* Brightness = Brightness of the color


When you use the color schemer at the site, pick a color from the palett or type it into the RGB text box(format #RRGGBB, example #E2EBED)
Then adjust the value of brightness by typing in a new value in that text box(label "B").

*/


var darkenOnMouseOver = [false,false]; // Darken or Lighten on mouse over (true = darken, false = lighten)
// One element for each menu color.
// (Or more or less saturation if that is chosen in changeBrightnessOrSaturation


var timeStepOpacitySquare = 15; // Microseconds between each opacity change -> Lower value = faster
var opacityChangePerStep = 10; // Steps - change in opacity - on mouse out = Higher = faster
var timeStepSwitchBgColor = 10; // Microseconds between each text background change(darken or lighten) -> Lower value = faster
var bgColorStep = [2,2]; // lower value = slower bg color fading. This value should usually be about 10 percent of the degrees to lighten/darken
/************************************************************************************************************
/* Don't change anything below here
************************************************************************************************************/
var activeMenuItem = false;
var activeMenuLink = false;
var menuObj;
var brightnessLink = new Array();
var saturationLink = new Array();
var brightnessLinkMin = new Array();
var saturationLinkMin = new Array();
var darkenBrightnessCounter = new Array(); // Darken or lighten - this variable is set manually
var startHue = new Array();
var startSat = new Array();
var startBri = new Array();



function showMenuItem()
{
var hsb = toHSV(this.getAttribute('bgColorItem'));
currentIndex = this.className.replace(/[^\d]/g,'');
if(changeBrightnessOrSaturation[currentIndex]=='saturation'){
if(darkenOnMouseOver[currentIndex]){
var saturation = hsb[1] - (degreesToDarkenOrLighten[currentIndex]/100);
}else{
var saturation = hsb[1] + (degreesToDarkenOrLighten[currentIndex]/100);
}
if(saturation<0>1)saturation=1;
var rgb = toRgb(hsb[0],saturation,hsb[2]);
}else{
if(darkenOnMouseOver[currentIndex]){
var brightness = hsb[2] - (degreesToDarkenOrLighten[currentIndex]/100);
}else{
var brightness = hsb[2] + (degreesToDarkenOrLighten[currentIndex]/100);
}
if(brightness<0>1)brightness=1;
var rgb = toRgb(hsb[0],hsb[1],brightness);
}
this.style.backgroundColor = rgb;
this.currentBgColorItem = rgb;
this.setAttribute('currentBgColorItem',rgb);

var obj = this.parentNode.getElementsByTagName('DIV')[0];
obj.setAttribute('okToHide','0');
obj.okToHide = 0;
this.setAttribute('okToHide','0');
this.okToHide = 0;
obj.style.visibility = 'visible';

obj.style.opacity = 0.98;
obj.style.filter = 'alpha(opacity=98)';


}

function hideMenuItem()
{
if(this.getAttribute('initActive')=='1')return;
if(this.initActive=='1')return;
var obj = this.parentNode.getElementsByTagName('DIV')[0];
obj.setAttribute('okToHide','1');
obj.okToHide = 1;
this.setAttribute('okToHide','1');
this.okToHide = 1;
obj.style.visibility = 'visible';
if(navigator.userAgent.indexOf('Opera')>=0){
obj.style.visibility = 'hidden';
}else{
progressHideSquare(obj.id,(opacityChangePerStep*-1));
}
progressShowHideBgColor(this.id);
}


function progressShowHideBgColor(inputId)
{

var obj = document.getElementById(inputId);
var currentBgColor = obj.getAttribute('currentBgColorItem');
if(obj.getAttribute('okToHide')=='0')return;
if(!currentBgColor)currentBgColor = obj.currentBgColorItem;
if(currentBgColor){
var index = obj.className.replace(/[^\d]/g,'');
var hsb = toHSV(currentBgColor);
if(changeBrightnessOrSaturation[index]=='saturation'){
var saturation = hsb[1];
saturation+=darkenBrightnessCounter[index];
if((saturation>saturationLink[index] && darkenOnMouseOver[index]) || (saturation<saturationLink[index] && !darkenOnMouseOver[index]))saturation = saturationLink[index];
var rgb = toRgb(startHue[index],saturation,startBri[index]);

obj.style.backgroundColor = rgb;
obj.currentBgColorItem = rgb;
obj.setAttribute('currentBgColorItem',rgb);
if((hsb[1]<saturation>saturation && !darkenOnMouseOver[index])){
setTimeout('progressShowHideBgColor(\'' + inputId + '\')',timeStepSwitchBgColor);
}else{
var index = obj.className.replace(/[^\d]/g,'');
obj.style.backgroundColor = bgColorLinks[index];
}

}else{
var brightness = hsb[2];
brightness+=darkenBrightnessCounter[index];
if((brightness>brightnessLink[index] && darkenOnMouseOver[index]) || (brightness<brightnessLink[index] && !darkenOnMouseOver[index]))brightness = brightnessLink[index];
var rgb = toRgb(startHue[index],startSat[index],brightness);
obj.style.backgroundColor = rgb;
obj.currentBgColorItem = rgb;
obj.setAttribute('currentBgColorItem',rgb);
if((hsb[2]<brightness>brightness && !darkenOnMouseOver[index])){
setTimeout('progressShowHideBgColor(\'' + inputId + '\')',timeStepSwitchBgColor);
}else{
var index = obj.className.replace(/[^\d]/g,'');
obj.style.backgroundColor = bgColorLinks[index];
}

}

}
}

function progressHideSquare(inputId,step)
{

var obj = document.getElementById(inputId);

if(obj.getAttribute('okToHide')=='0' && step<0>=99){

}
else if(currentOpacity==11){
obj.style.visibility='hidden';
}else{
currentOpacity = currentOpacity + step;
if(currentOpacity<1>99)currentOpacity=9;
obj.style.filter = 'alpha(opacity=' + currentOpacity + ')';
setTimeout('progressHideSquare("' + inputId + '",' + (step) + ')',timeStepOpacitySquare);
}
}else{
step = step / 100;
var currentOpacity = obj.style.opacity/1;

if(currentOpacity>=0.99){

}
else if(currentOpacity==0.01){
obj.style.visibility='hidden';
}else{
currentOpacity = currentOpacity + step;

if(currentOpacity<0>0.99)currentOpacity=0.99;
obj.style.opacity = currentOpacity;
setTimeout('progressHideSquare("' + inputId + '",' + (step*100) + ')',timeStepOpacitySquare);
}
}
}


function dhtmlgoodies_initMenu()
{
menuObj = document.getElementById('dhtmlgoodies_menu');
for(var no=0;no<bgColorLinks.length;no++){
var hsbArray = toHSV(bgColorLinks[no]);
brightnessLink.push(hsbArray[2]);
saturationLink.push(hsbArray[1]);
startHue.push(hsbArray[0]);
startSat.push(hsbArray[1]);
startBri.push(hsbArray[2]);
if(darkenOnMouseOver[no]){
brightnessLinkMin.push(Math.max(hsbArray[2] - (degreesToDarkenOrLighten[no]/100),0));
saturationLinkMin.push(Math.max(hsbArray[1] - (degreesToDarkenOrLighten[no]/100),0));
darkenBrightnessCounter.push(bgColorStep[no]/100);
}else{
brightnessLinkMin.push(Math.min(hsbArray[2] + (degreesToDarkenOrLighten[no]/100),1));
saturationLinkMin.push(Math.min(hsbArray[1] + (degreesToDarkenOrLighten[no]/100),1));
darkenBrightnessCounter.push((bgColorStep[no]/100)*-1);
}
}
var listItems = menuObj.getElementsByTagName('LI');
for(var no=0;no</span>=(menuLink.offsetHeight*2)){
currentWidth--;
menuLink.style.width = currentWidth + 'px';

}
}
}
}
window.onload = dhtmlgoodies_initMenu;

</s>
<!---<head> Sonu --->
<ul id="dhtmlgoodies_menu">
<li><a href="index.php">Ana Sayfa</a></li>
<li><a href="modules.php?name=Your_Account">Bayi Hesabı</a></li>
<li><a href="modules.php?name=Your_Account">Kömür Fiyatlarımız</a></li>
<li><a href="modules.php?name=Your_Account">Online MSN</a></li>
<li><a href="modules.php?name=Your_Account">Resimler</a></li>
<li><a class="menuGroup1" href="modules.php?name=Your_Account">Tavsiye Et</a></li>
<li><a class="menuGroup1" href="modules.php?name=Your_Account">İletişim</a></li>


</ul>

<s>
/******(C) www.dhtmlgoodies.com***************************/

function numberBaseConverter (number,oldBase,newBase) {
number = number + "";
number = number.toUpperCase();
var characters = "0123456789ABCDEF";
var dec = 0;
for (var no = 0; no <number>= 0; no--) {
var amount = Math.floor(dec/Math.pow(newBase,no));
number = number + characters.charAt(amount);
dec -= amount*(Math.pow(newBase,no));
}
if(number.length==0)number=0;
return number;
}

// Converts a RGB color to HSV
function toHSV(rgbColor){
rgbColor = rgbColor.replace('#','');

red = numberBaseConverter(rgbColor.substr(0,2),16,10);
green = numberBaseConverter(rgbColor.substr(2,2),16,10);
blue = numberBaseConverter(rgbColor.substr(4,2),16,10);
if(red.length==0)red=0;
if(green.length==0)green=0;
if(blue.length==0)blue=0;
red = red/255;
green = green/255;
blue = blue/255;

maxValue = Math.max(red,green,blue);
minValue = Math.min(red,green,blue);

var hue = 0;

if(maxValue==minValue){
hue = 0;
saturation=0;
}else{
if(red == maxValue){
hue = (green - blue) / (maxValue-minValue)/1;
}else if(green == maxValue){
hue = 2 + (blue - red)/1 / (maxValue-minValue)/1;
}else if(blue == maxValue){
hue = 4 + (red - green) / (maxValue-minValue)/1;
}
saturation = (maxValue-minValue) / maxValue;
}
hue = hue * 60;
valueBrightness = maxValue;

if(valueBrightness/1<0>= 0.5){
//saturation = (maxValue - minValue) / (2 - maxValue - minValue);
}


returnArray = [hue,saturation,valueBrightness];
return returnArray;
}

function toRgb(hue,saturation,valueBrightness){
Hi = Math.floor(hue / 60);
if(hue==360)Hi=0;
f = hue/60 - Hi;
p = (valueBrightness * (1- saturation)).toPrecision(2);
q = (valueBrightness * (1 - (f * saturation))).toPrecision(2);
t = (valueBrightness * (1 - ((1-f)*saturation))).toPrecision(2);

switch(Hi){
case 0:
red = valueBrightness;
green = t;
blue = p;
break;
case 1:
red = q;
green = valueBrightness;
blue = p;
break;
case 2:
red = q;
green = valueBrightness;
blue = t;
break;
case 3:
red = p;
green = q;;
blue = valueBrightness;
break;
case 4:
red = t;
green = p;
blue = valueBrightness;
break;
case 5:
red = valueBrightness;
green = p;
blue = q;
break;
}

if(saturation==0){
red = valueBrightness;
green = valueBrightness;
blue = valueBrightness;
}

red*=255;
green*=255;
blue*=255;

red = Math.round(red);
green = Math.round(green);
blue = Math.round(blue);

red = numberBaseConverter(red,10,16);
green = numberBaseConverter(green,10,16);
blue = numberBaseConverter(blue,10,16);

red = red + "";
green = green + "";
blue = blue + "";

while(red.length<2){
red = "0" + red;
}
while(green.length<2){
green = "0" + green;
}
while(blue.length<2>=360)myArray[0]-=360;
if(myArray[0]<0>1)myArray[2]=1;
if(myArray[2]<0>1)myArray[1]=1;
if(myArray[1]<0)myArray[1]=0;

return toRgb(myArray[0],myArray[1],myArray[2]);

}</s>
<KAYNAK>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-08, 18:18:43    Mesaj konusu: Forum Arası Reklamlar


Başa dön
asilimy
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Jan 25, 2007
Mesajlar: 1745
Konum: İstanbul

MesajTarih: 2009-02-08, 16:34:14    Mesaj konusu: Alıntıyla Cevap Gönder

bu şekilde denermisin bi

Kod:
<?php
#### eski.netopsiyon.com # http://www.netopsiyon.net # Block_Adi yerine bloğu kaydettiğiniz adı yazmanız gerekmektedir.##
if (eregi("block-Block_Adi.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "<KAYNAK> ";
$content  .= "<!---<head> Başlangıcı ---> ";
$content  .= "style type=\"text/css\"> ";
$content  .= "#dhtmlgoodies_menu{   /* Menu object */ ";
$content  .= "argin:0px; ";
$content  .= "adding:0px; ";
$content  .= "idth:150px;   /* Width of menu */ ";
$content  .= " ";
$content  .= "dhtmlgoodies_menu li{ ";
$content  .= "argin-top:2px;   /* Space between each menu item */ ";
$content  .= "";
$content  .= "* Don't change these four values */ ";
$content  .= "ist-style-type:none;   ";
$content  .= "lear:both; ";
$content  .= "isplay:block;   ";
$content  .= "verflow:auto; ";
$content  .= " ";
$content  .= "#dhtmlgoodies_menu li a{   /* Text rules for the menu items */ ";
$content  .= "olor:#000;   /* Black text color */ ";
$content  .= "ext-decoration:none;   /* No underline */ ";
$content  .= "ont-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;   /* Font to use */ ";
$content  .= "etter-spacing:1px;   /* Extra space between each letter of the menu items */ ";
$content  .= "ont-size:0.7em;   /* Fixed font size */ ";
$content  .= "ont-weight:bold;   /* Bold font */ ";
$content  .= "loat:left; ";
$content  .= "ackground-color:#F1F1F1; ";
$content  .= "adding-left:3px; ";
$content  .= "ine-height:25px;   /* Height of menu links */ ";
$content  .= "} ";
$content  .= "dhtmlgoodies_menu li div{ ";
$content  .= "loat:left; ";
$content  .= "} ";
$content  .= "/style> ";
$content  .= "<s></s> ";
$content  .= "s> ";
$content  .= "************************************************************************************************************";
$content  .= "C) www.dhtmlgoodies.com, October 2005 ";
$content  .= "This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.   ";
$content  .= "Terms of use: ";
$content  .= "ou are free to use this script as long as the copyright message is kept intact. However, you may not ";
$content  .= "edistribute, sell or repost it without our permission. ";
$content  .= "Thank you! ";
$content  .= "www.dhtmlgoodies.com ";
$content  .= "lf Magne Kalleland ";
$content  .= "************************************************************************************************************/";
$content  .= "/* ";
$content  .= "HOW TO DEAL WITH THE ARRAYS BELOW ";
$content  .= "You can have more than one color in your menu. You define which color a menu item belongs to by specifying a class for the tag ";
$content  .= "xample: which means that this element uses color number 2 (0 = first color). btw: You don't have to specify ";
$content  .= "f a menu item uses the first color. This color is the default choice if nothing else is defined. ";
$content  .= "*/ ";
$content  .= "var initActiveMenuItem = -1; // If one of the menu items should be initially highlighted.(-1 = none, 0 = first item, 1 = second...) ";
$content  .= "ar activeSmallSquareColor = ['#D60808','#08D608']; // Color of small square at the left of each menu item - only one item in the array if you only have one color ";
$content  .= "ar colorSquareWidth = 2; // Width of small square; ";
$content  .= "ar marginSquare = 1; ";
$content  .= "";
$content  .= "ar bgColorLinks = [\"#E2EBED\",'#EDE3E3'];   // Background color for menu links - one element for each menu color ";
$content  .= "ar degreesToDarkenOrLighten = [15,15]; // How many percent point to darken/lighten,or change saturation of the color above on mouse over (10-15 percent point is usually enough). ";
$content  .= "ar changeBrightnessOrSaturation = ['saturation','saturation'];   // Possible values: \"saturation\" and \"brightness\" - which one to adjust on mouseover ";
$content  .= "var textColorMenuItems = ['#000000','#000000'];   /* Text color of links - one array item for each group of colors */ ";
$content  .= "* ";
$content  .= "ou can use the color schemer at www.dhtmlgoodies.com to find your colors ";
$content  .= "We use the HSB color system here, The HSB color system is based on three values ";
$content  .= "* Hue = Which color, i.e. degree on color wheel ";
$content  .= " Saturation = Intensity of the color to use ";
$content  .= " Brightness = Brightness of the color ";
$content  .= "";
$content  .= "hen you use the color schemer at the site, pick a color from the palett or type it into the RGB text box(format #RRGGBB, example #E2EBED) ";
$content  .= "hen adjust the value of brightness by typing in a new value in that text box(label \"B\"). ";
$content  .= "*/ ";
$content  .= "";
$content  .= "ar darkenOnMouseOver = [false,false];   // Darken or Lighten on mouse over (true = darken, false = lighten) ";
$content  .= "/ One element for each menu color. ";
$content  .= "/ (Or more or less saturation if that is chosen in changeBrightnessOrSaturation ";
$content  .= "";
$content  .= "ar timeStepOpacitySquare = 15;   // Microseconds between each opacity change   -> Lower value = faster ";
$content  .= "ar opacityChangePerStep = 10;   // Steps - change in opacity - on mouse out   = Higher = faster   ";
$content  .= "ar timeStepSwitchBgColor = 10;   // Microseconds between each text background change(darken or lighten)   -> Lower value = faster ";
$content  .= "ar bgColorStep = [2,2];   // lower value = slower bg color fading. This value should usually be about 10 percent of the degrees to lighten/darken ";
$content  .= "************************************************************************************************************";
$content  .= "* Don't change anything below here ";
$content  .= "***********************************************************************************************************/";
$content  .= "ar activeMenuItem = false; ";
$content  .= "ar activeMenuLink = false;   ";
$content  .= "ar menuObj; ";
$content  .= "ar brightnessLink = new Array(); ";
$content  .= "ar saturationLink = new Array(); ";
$content  .= "ar brightnessLinkMin = new Array(); ";
$content  .= "ar saturationLinkMin = new Array(); ";
$content  .= "ar darkenBrightnessCounter = new Array(); // Darken or lighten - this variable is set manually ";
$content  .= "ar startHue = new Array(); ";
$content  .= "ar startSat = new Array(); ";
$content  .= "ar startBri = new Array(); ";
$content  .= "";
$content  .= "function showMenuItem() ";
$content  .= " ";
$content  .= "ar hsb = toHSV(this.getAttribute('bgColorItem')); ";
$content  .= "urrentIndex = this.className.replace(/[^\\d]/g,''); ";
$content  .= "f(changeBrightnessOrSaturation[currentIndex]=='saturation'){ ";
$content  .= "f(darkenOnMouseOver[currentIndex]){ ";
$content  .= "ar saturation = hsb[1] - (degreesToDarkenOrLighten[currentIndex]/100); ";
$content  .= "else{ ";
$content  .= "ar saturation = hsb[1] + (degreesToDarkenOrLighten[currentIndex]/100); ";
$content  .= " ";
$content  .= "f(saturation<0>1)saturation=1; ";
$content  .= "ar rgb = toRgb(hsb[0],saturation,hsb[2]); ";
$content  .= "else{ ";
$content  .= "f(darkenOnMouseOver[currentIndex]){ ";
$content  .= "ar brightness = hsb[2] - (degreesToDarkenOrLighten[currentIndex]/100); ";
$content  .= "else{ ";
$content  .= "ar brightness = hsb[2] + (degreesToDarkenOrLighten[currentIndex]/100); ";
$content  .= " ";
$content  .= "f(brightness<0>1)brightness=1; ";
$content  .= "ar rgb = toRgb(hsb[0],hsb[1],brightness); ";
$content  .= " ";
$content  .= "his.style.backgroundColor = rgb; ";
$content  .= "his.currentBgColorItem = rgb; ";
$content  .= "his.setAttribute('currentBgColorItem',rgb); ";
$content  .= "var obj = this.parentNode.getElementsByTagName('DIV')[0]; ";
$content  .= "bj.setAttribute('okToHide','0'); ";
$content  .= "bj.okToHide = 0; ";
$content  .= "his.setAttribute('okToHide','0'); ";
$content  .= "his.okToHide = 0; ";
$content  .= "bj.style.visibility = 'visible'; ";
$content  .= "obj.style.opacity = 0.98;   ";
$content  .= "bj.style.filter = 'alpha(opacity=98)'; ";
$content  .= "";
$content  .= " ";
$content  .= "function hideMenuItem() ";
$content  .= " ";
$content  .= "f(this.getAttribute('initActive')=='1')return; ";
$content  .= "f(this.initActive=='1')return; ";
$content  .= "ar obj = this.parentNode.getElementsByTagName('DIV')[0]; ";
$content  .= "bj.setAttribute('okToHide','1'); ";
$content  .= "bj.okToHide = 1; ";
$content  .= "his.setAttribute('okToHide','1'); ";
$content  .= "his.okToHide = 1; ";
$content  .= "bj.style.visibility = 'visible';   ";
$content  .= "f(navigator.userAgent.indexOf('Opera')>=0){ ";
$content  .= "bj.style.visibility = 'hidden'; ";
$content  .= "else{ ";
$content  .= "rogressHideSquare(obj.id,(opacityChangePerStep*-1));   ";
$content  .= "   ";
$content  .= "rogressShowHideBgColor(this.id);   ";
$content  .= " ";
$content  .= "";
$content  .= "unction progressShowHideBgColor(inputId) ";
$content  .= " ";
$content  .= "var obj = document.getElementById(inputId); ";
$content  .= "ar currentBgColor = obj.getAttribute('currentBgColorItem'); ";
$content  .= "f(obj.getAttribute('okToHide')=='0')return; ";
$content  .= "f(!currentBgColor)currentBgColor = obj.currentBgColorItem; ";
$content  .= "f(currentBgColor){ ";
$content  .= "ar index = obj.className.replace(/[^\\d]/g,''); ";
$content  .= "ar hsb = toHSV(currentBgColor); ";
$content  .= "f(changeBrightnessOrSaturation[index]=='saturation'){ ";
$content  .= "ar saturation = hsb[1];   ";
$content  .= "aturation+=darkenBrightnessCounter[index]; ";
$content  .= "f((saturation>saturationLink[index] && darkenOnMouseOver[index]) || (saturation<saturationLink[index] && !darkenOnMouseOver[index]))saturation = saturationLink[index]; ";
$content  .= "ar rgb = toRgb(startHue[index],saturation,startBri[index]);   ";
$content  .= "obj.style.backgroundColor = rgb; ";
$content  .= "bj.currentBgColorItem = rgb; ";
$content  .= "bj.setAttribute('currentBgColorItem',rgb);   ";
$content  .= "f((hsb[1]<saturation>saturation && !darkenOnMouseOver[index])){ ";
$content  .= "etTimeout('progressShowHideBgColor(\\'' + inputId + '\\')',timeStepSwitchBgColor);   ";
$content  .= "else{ ";
$content  .= "ar index = obj.className.replace(/[^\\d]/g,'');   ";
$content  .= "bj.style.backgroundColor = bgColorLinks[index]; ";
$content  .= " ";
$content  .= "}else{ ";
$content  .= "ar brightness = hsb[2];   ";
$content  .= "rightness+=darkenBrightnessCounter[index]; ";
$content  .= "f((brightness>brightnessLink[index] && darkenOnMouseOver[index]) || (brightness<brightnessLink[index] && !darkenOnMouseOver[index]))brightness = brightnessLink[index]; ";
$content  .= "ar rgb = toRgb(startHue[index],startSat[index],brightness); ";
$content  .= "bj.style.backgroundColor = rgb; ";
$content  .= "bj.currentBgColorItem = rgb; ";
$content  .= "bj.setAttribute('currentBgColorItem',rgb);   ";
$content  .= "f((hsb[2]<brightness>brightness && !darkenOnMouseOver[index])){ ";
$content  .= "etTimeout('progressShowHideBgColor(\\'' + inputId + '\\')',timeStepSwitchBgColor);   ";
$content  .= "else{ ";
$content  .= "ar index = obj.className.replace(/[^\\d]/g,'');   ";
$content  .= "bj.style.backgroundColor = bgColorLinks[index]; ";
$content  .= " ";
$content  .= "} ";
$content  .= "}   ";
$content  .= "   ";
$content  .= "function progressHideSquare(inputId,step) ";
$content  .= " ";
$content  .= "var obj = document.getElementById(inputId); ";
$content  .= "if(obj.getAttribute('okToHide')=='0' && step<0>=99){ ";
$content  .= "} ";
$content  .= "lse if(currentOpacity==11){ ";
$content  .= "bj.style.visibility='hidden'; ";
$content  .= "else{ ";
$content  .= "urrentOpacity = currentOpacity + step; ";
$content  .= "f(currentOpacity<1>99)currentOpacity=9; ";
$content  .= "bj.style.filter = 'alpha(opacity=' + currentOpacity + ')'; ";
$content  .= "etTimeout('progressHideSquare(\"' + inputId + '\",' + (step) + ')',timeStepOpacitySquare); ";
$content  .= "   ";
$content  .= "else{ ";
$content  .= "tep = step / 100; ";
$content  .= "ar currentOpacity = obj.style.opacity/1; ";
$content  .= "if(currentOpacity>=0.99){ ";
$content  .= "} ";
$content  .= "lse if(currentOpacity==0.01){ ";
$content  .= "bj.style.visibility='hidden'; ";
$content  .= "else{ ";
$content  .= "urrentOpacity = currentOpacity + step; ";
$content  .= "if(currentOpacity<0>0.99)currentOpacity=0.99; ";
$content  .= "bj.style.opacity = currentOpacity; ";
$content  .= "etTimeout('progressHideSquare(\"' + inputId + '\",' + (step*100) + ')',timeStepOpacitySquare); ";
$content  .= "   ";
$content  .= "   ";
$content  .= " ";
$content  .= "";
$content  .= "unction dhtmlgoodies_initMenu() ";
$content  .= " ";
$content  .= "enuObj = document.getElementById('dhtmlgoodies_menu'); ";
$content  .= "or(var no=0;no<bgColorLinks.length;no++){ ";
$content  .= "ar hsbArray = toHSV(bgColorLinks[no]); ";
$content  .= "rightnessLink.push(hsbArray[2]); ";
$content  .= "aturationLink.push(hsbArray[1]); ";
$content  .= "tartHue.push(hsbArray[0]); ";
$content  .= "tartSat.push(hsbArray[1]); ";
$content  .= "tartBri.push(hsbArray[2]); ";
$content  .= "f(darkenOnMouseOver[no]){ ";
$content  .= "rightnessLinkMin.push(Math.max(hsbArray[2] - (degreesToDarkenOrLighten[no]/100),0)); ";
$content  .= "aturationLinkMin.push(Math.max(hsbArray[1] - (degreesToDarkenOrLighten[no]/100),0)); ";
$content  .= "arkenBrightnessCounter.push(bgColorStep[no]/100); ";
$content  .= "else{ ";
$content  .= "rightnessLinkMin.push(Math.min(hsbArray[2] + (degreesToDarkenOrLighten[no]/100),1)); ";
$content  .= "aturationLinkMin.push(Math.min(hsbArray[1] + (degreesToDarkenOrLighten[no]/100),1)); ";
$content  .= "arkenBrightnessCounter.push((bgColorStep[no]/100)*-1); ";
$content  .= " ";
$content  .= " ";
$content  .= "ar listItems = menuObj.getElementsByTagName('LI'); ";
$content  .= "or(var no=0;no</span>=(menuLink.offsetHeight*2)){   ";
$content  .= "urrentWidth--;   ";
$content  .= "enuLink.style.width = currentWidth + 'px'; ";
$content  .= "} ";
$content  .= " ";
$content  .= "   ";
$content  .= " ";
$content  .= "indow.onload = dhtmlgoodies_initMenu; ";
$content  .= "</s> ";
$content  .= "!---<head> Sonu ---> ";
$content  .= "Ana Sayfa";
$content  .= "Bayi Hesabı";
$content  .= "Kömür Fiyatlarımız";
$content  .= "Online MSN";
$content  .= "Resimler";
$content  .= "Tavsiye Et";
$content  .= "İletişim";
$content  .= "";
$content  .= "";
$content  .= "<s> ";
$content  .= "******(C) www.dhtmlgoodies.com***************************/ ";
$content  .= "function numberBaseConverter (number,oldBase,newBase) { ";
$content  .= "umber = number + \"\"; ";
$content  .= "umber = number.toUpperCase(); ";
$content  .= "ar characters = \"0123456789ABCDEF\"; ";
$content  .= "ar dec = 0; ";
$content  .= "or (var no = 0; no <number>= 0; no--) { ";
$content  .= "ar amount = Math.floor(dec/Math.pow(newBase,no)); ";
$content  .= "umber = number + characters.charAt(amount); ";
$content  .= "ec -= amount*(Math.pow(newBase,no)); ";
$content  .= " ";
$content  .= "f(number.length==0)number=0; ";
$content  .= "eturn number; ";
$content  .= " ";
$content  .= "// Converts a RGB color to HSV ";
$content  .= "unction toHSV(rgbColor){ ";
$content  .= "gbColor = rgbColor.replace('#',''); ";
$content  .= "red = numberBaseConverter(rgbColor.substr(0,2),16,10); ";
$content  .= "reen = numberBaseConverter(rgbColor.substr(2,2),16,10); ";
$content  .= "lue = numberBaseConverter(rgbColor.substr(4,2),16,10); ";
$content  .= "f(red.length==0)red=0; ";
$content  .= "f(green.length==0)green=0; ";
$content  .= "f(blue.length==0)blue=0; ";
$content  .= "ed = red/255; ";
$content  .= "reen = green/255; ";
$content  .= "lue = blue/255; ";
$content  .= "maxValue = Math.max(red,green,blue); ";
$content  .= "inValue = Math.min(red,green,blue); ";
$content  .= "var hue = 0; ";
$content  .= "if(maxValue==minValue){ ";
$content  .= "ue = 0; ";
$content  .= "aturation=0; ";
$content  .= "else{ ";
$content  .= "f(red == maxValue){ ";
$content  .= "ue = (green - blue) / (maxValue-minValue)/1; ";
$content  .= "else if(green == maxValue){ ";
$content  .= "ue = 2 + (blue - red)/1 / (maxValue-minValue)/1; ";
$content  .= "else if(blue == maxValue){ ";
$content  .= "ue = 4 + (red - green) / (maxValue-minValue)/1; ";
$content  .= " ";
$content  .= "aturation = (maxValue-minValue) / maxValue; ";
$content  .= " ";
$content  .= "ue = hue * 60; ";
$content  .= "alueBrightness = maxValue; ";
$content  .= "if(valueBrightness/1<0>= 0.5){ ";
$content  .= "/saturation = (maxValue - minValue) / (2 - maxValue - minValue); ";
$content  .= " ";
$content  .= "";
$content  .= "eturnArray = [hue,saturation,valueBrightness]; ";
$content  .= "eturn returnArray; ";
$content  .= " ";
$content  .= "function toRgb(hue,saturation,valueBrightness){ ";
$content  .= "i = Math.floor(hue / 60); ";
$content  .= "f(hue==360)Hi=0; ";
$content  .= " = hue/60 - Hi; ";
$content  .= " = (valueBrightness * (1- saturation)).toPrecision(2); ";
$content  .= " = (valueBrightness * (1 - (f * saturation))).toPrecision(2); ";
$content  .= " = (valueBrightness * (1 - ((1-f)*saturation))).toPrecision(2); ";
$content  .= "switch(Hi){ ";
$content  .= "ase 0: ";
$content  .= "ed = valueBrightness; ";
$content  .= "reen = t; ";
$content  .= "lue = p; ";
$content  .= "reak; ";
$content  .= "ase 1: ";
$content  .= "ed = q; ";
$content  .= "reen = valueBrightness; ";
$content  .= "lue = p; ";
$content  .= "reak; ";
$content  .= "ase 2: ";
$content  .= "ed = q; ";
$content  .= "reen = valueBrightness; ";
$content  .= "lue = t; ";
$content  .= "reak; ";
$content  .= "ase 3: ";
$content  .= "ed = p; ";
$content  .= "reen = q;; ";
$content  .= "lue = valueBrightness; ";
$content  .= "reak; ";
$content  .= "ase 4: ";
$content  .= "ed = t; ";
$content  .= "reen = p; ";
$content  .= "lue = valueBrightness; ";
$content  .= "reak; ";
$content  .= "ase 5: ";
$content  .= "ed = valueBrightness; ";
$content  .= "reen = p; ";
$content  .= "lue = q; ";
$content  .= "reak; ";
$content  .= " ";
$content  .= "if(saturation==0){ ";
$content  .= "ed = valueBrightness; ";
$content  .= "reen = valueBrightness; ";
$content  .= "lue = valueBrightness; ";
$content  .= " ";
$content  .= "red*=255; ";
$content  .= "reen*=255; ";
$content  .= "lue*=255; ";
$content  .= "red = Math.round(red); ";
$content  .= "reen = Math.round(green); ";
$content  .= "lue = Math.round(blue); ";
$content  .= "red = numberBaseConverter(red,10,16); ";
$content  .= "reen = numberBaseConverter(green,10,16); ";
$content  .= "lue = numberBaseConverter(blue,10,16); ";
$content  .= "red = red + \"\"; ";
$content  .= "reen = green + \"\"; ";
$content  .= "lue = blue + \"\"; ";
$content  .= "while(red.length<2){ ";
$content  .= "ed = \"0\" + red; ";
$content  .= " ";
$content  .= "hile(green.length<2){ ";
$content  .= "reen = \"0\" + green; ";
$content  .= " ";
$content  .= "hile(blue.length<2>=360)myArray[0]-=360; ";
$content  .= "f(myArray[0]<0>1)myArray[2]=1; ";
$content  .= "f(myArray[2]<0>1)myArray[1]=1; ";
$content  .= "f(myArray[1]<0)myArray[1]=0; ";
$content  .= "return toRgb(myArray[0],myArray[1],myArray[2]); ";
$content  .= "}</s> ";
$content  .= "KAYNAK>";
?>


olmazsa bide bu var:

Kod:
<?php

$content .= "<KAYNAK>"
  . "<!---<head> Başlangıcı ---> "
  . "style type=\"text/css\"> "
  . "#dhtmlgoodies_menu{   /* Menu object */ "
  . "argin:0px; "
  . "adding:0px; "
  . "idth:150px;   /* Width of menu */ "
  . " "
  . "dhtmlgoodies_menu li{ "
  . "argin-top:2px;   /* Space between each menu item */ "
  . ""
  . "* Don't change these four values */ "
  . "ist-style-type:none;   "
  . "lear:both; "
  . "isplay:block;   "
  . "verflow:auto; "
  . " "
  . "#dhtmlgoodies_menu li a{   /* Text rules for the menu items */ "
  . "olor:#000;   /* Black text color */ "
  . "ext-decoration:none;   /* No underline */ "
  . "ont-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;   /* Font to use */ "
  . "etter-spacing:1px;   /* Extra space between each letter of the menu items */ "
  . "ont-size:0.7em;   /* Fixed font size */ "
  . "ont-weight:bold;   /* Bold font */ "
  . "loat:left; "
  . "ackground-color:#F1F1F1; "
  . "adding-left:3px; "
  . "ine-height:25px;   /* Height of menu links */ "
  . "} "
  . "dhtmlgoodies_menu li div{ "
  . "loat:left; "
  . "} "
  . "/style> "
  . "<s></s> "
  . "s> "
  . "************************************************************************************************************"
  . "C) www.dhtmlgoodies.com, October 2005 "
  . "This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.   "
  . "Terms of use: "
  . "ou are free to use this script as long as the copyright message is kept intact. However, you may not "
  . "edistribute, sell or repost it without our permission. "
  . "Thank you! "
  . "www.dhtmlgoodies.com "
  . "lf Magne Kalleland "
  . "************************************************************************************************************/"
  . "/* "
  . "HOW TO DEAL WITH THE ARRAYS BELOW "
  . "You can have more than one color in your menu. You define which color a menu item belongs to by specifying a class for the tag "
  . "xample: which means that this element uses color number 2 (0 = first color). btw: You don't have to specify "
  . "f a menu item uses the first color. This color is the default choice if nothing else is defined. "
  . "*/ "
  . "var initActiveMenuItem = -1; // If one of the menu items should be initially highlighted.(-1 = none, 0 = first item, 1 = second...) "
  . "ar activeSmallSquareColor = ['#D60808','#08D608']; // Color of small square at the left of each menu item - only one item in the array if you only have one color "
  . "ar colorSquareWidth = 2; // Width of small square; "
  . "ar marginSquare = 1; "
  . ""
  . "ar bgColorLinks = [\"#E2EBED\",'#EDE3E3'];   // Background color for menu links - one element for each menu color "
  . "ar degreesToDarkenOrLighten = [15,15]; // How many percent point to darken/lighten,or change saturation of the color above on mouse over (10-15 percent point is usually enough). "
  . "ar changeBrightnessOrSaturation = ['saturation','saturation'];   // Possible values: \"saturation\" and \"brightness\" - which one to adjust on mouseover "
  . "var textColorMenuItems = ['#000000','#000000'];   /* Text color of links - one array item for each group of colors */ "
  . "* "
  . "ou can use the color schemer at www.dhtmlgoodies.com to find your colors "
  . "We use the HSB color system here, The HSB color system is based on three values "
  . "* Hue = Which color, i.e. degree on color wheel "
  . " Saturation = Intensity of the color to use "
  . " Brightness = Brightness of the color "
  . ""
  . "hen you use the color schemer at the site, pick a color from the palett or type it into the RGB text box(format #RRGGBB, example #E2EBED) "
  . "hen adjust the value of brightness by typing in a new value in that text box(label \"B\"). "
  . "*/ "
  . ""
  . "ar darkenOnMouseOver = [false,false];   // Darken or Lighten on mouse over (true = darken, false = lighten) "
  . "/ One element for each menu color. "
  . "/ (Or more or less saturation if that is chosen in changeBrightnessOrSaturation "
  . ""
  . "ar timeStepOpacitySquare = 15;   // Microseconds between each opacity change   -> Lower value = faster "
  . "ar opacityChangePerStep = 10;   // Steps - change in opacity - on mouse out   = Higher = faster   "
  . "ar timeStepSwitchBgColor = 10;   // Microseconds between each text background change(darken or lighten)   -> Lower value = faster"
  . "ar bgColorStep = [2,2];   // lower value = slower bg color fading. This value should usually be about 10 percent of the degrees to lighten/darken "
  . "************************************************************************************************************"
  . "* Don't change anything below here "
  . "***********************************************************************************************************/"
  . "ar activeMenuItem = false; "
  . "ar activeMenuLink = false;   "
  . "ar menuObj; "
  . "ar brightnessLink = new Array(); "
  . "ar saturationLink = new Array(); "
  . "ar brightnessLinkMin = new Array(); "
  . "ar saturationLinkMin = new Array(); "
  . "ar darkenBrightnessCounter = new Array(); // Darken or lighten - this variable is set manually "
  . "ar startHue = new Array(); "
  . "ar startSat = new Array(); "
  . "ar startBri = new Array(); "
  . ""
  . "function showMenuItem() "
  . " "
  . "ar hsb = toHSV(this.getAttribute('bgColorItem')); "
  . "urrentIndex = this.className.replace(/[^\\d]/g,''); "
  . "f(changeBrightnessOrSaturation[currentIndex]=='saturation'){ "
  . "f(darkenOnMouseOver[currentIndex]){ "
  . "ar saturation = hsb[1] - (degreesToDarkenOrLighten[currentIndex]/100); "
  . "else{ "
  . "ar saturation = hsb[1] + (degreesToDarkenOrLighten[currentIndex]/100); "
  . " "
  . "f(saturation<0>1)saturation=1; "
  . "ar rgb = toRgb(hsb[0],saturation,hsb[2]); "
  . "else{ "
  . "f(darkenOnMouseOver[currentIndex]){ "
  . "ar brightness = hsb[2] - (degreesToDarkenOrLighten[currentIndex]/100); "
  . "else{ "
  . "ar brightness = hsb[2] + (degreesToDarkenOrLighten[currentIndex]/100); "
  . " "
  . "f(brightness<0>1)brightness=1; "
  . "ar rgb = toRgb(hsb[0],hsb[1],brightness); "
  . " "
  . "his.style.backgroundColor = rgb; "
  . "his.currentBgColorItem = rgb; "
  . "his.setAttribute('currentBgColorItem',rgb); "
  . "var obj = this.parentNode.getElementsByTagName('DIV')[0]; "
  . "bj.setAttribute('okToHide','0'); "
  . "bj.okToHide = 0; "
  . "his.setAttribute('okToHide','0'); "
  . "his.okToHide = 0; "
  . "bj.style.visibility = 'visible'; "
  . "obj.style.opacity = 0.98;   "
  . "bj.style.filter = 'alpha(opacity=98)'; "
  . ""
  . " "
  . "function hideMenuItem() "
  . " "
  . "f(this.getAttribute('initActive')=='1')return; "
  . "f(this.initActive=='1')return; "
  . "ar obj = this.parentNode.getElementsByTagName('DIV')[0]; "
  . "bj.setAttribute('okToHide','1'); "
  . "bj.okToHide = 1; "
  . "his.setAttribute('okToHide','1'); "
  . "his.okToHide = 1; "
  . "bj.style.visibility = 'visible';   "
  . "f(navigator.userAgent.indexOf('Opera')>=0){ "
  . "bj.style.visibility = 'hidden'; "
  . "else{ "
  . "rogressHideSquare(obj.id,(opacityChangePerStep*-1));   "
  . "   "
  . "rogressShowHideBgColor(this.id);   "
  . " "
  . ""
  . "unction progressShowHideBgColor(inputId) "
  . " "
  . "var obj = document.getElementById(inputId); "
  . "ar currentBgColor = obj.getAttribute('currentBgColorItem'); "
  . "f(obj.getAttribute('okToHide')=='0')return; "
  . "f(!currentBgColor)currentBgColor = obj.currentBgColorItem; "
  . "f(currentBgColor){ "
  . "ar index = obj.className.replace(/[^\\d]/g,''); "
  . "ar hsb = toHSV(currentBgColor); "
  . "f(changeBrightnessOrSaturation[index]=='saturation'){ "
  . "ar saturation = hsb[1];   "
  . "aturation+=darkenBrightnessCounter[index]; "
  . "f((saturation>saturationLink[index] && darkenOnMouseOver[index]) || (saturation<saturationLink[index] && !darkenOnMouseOver[index]))saturation = saturationLink[index]; "
  . "ar rgb = toRgb(startHue[index],saturation,startBri[index]);   "
  . "obj.style.backgroundColor = rgb; "
  . "bj.currentBgColorItem = rgb; "
  . "bj.setAttribute('currentBgColorItem',rgb);   "
  . "f((hsb[1]<saturation>saturation && !darkenOnMouseOver[index])){ "
  . "etTimeout('progressShowHideBgColor(\\'' + inputId + '\\')',timeStepSwitchBgColor);   "
  . "else{ "
  . "ar index = obj.className.replace(/[^\\d]/g,'');   "
  . "bj.style.backgroundColor = bgColorLinks[index]; "
  . " "
  . "}else{ "
  . "ar brightness = hsb[2];   "
  . "rightness+=darkenBrightnessCounter[index]; "
  . "f((brightness>brightnessLink[index] && darkenOnMouseOver[index]) || (brightness<brightnessLink[index] && !darkenOnMouseOver[index]))brightness = brightnessLink[index]; "
  . "ar rgb = toRgb(startHue[index],startSat[index],brightness); "
  . "bj.style.backgroundColor = rgb; "
  . "bj.currentBgColorItem = rgb; "
  . "bj.setAttribute('currentBgColorItem',rgb);   "
  . "f((hsb[2]<brightness>brightness && !darkenOnMouseOver[index])){ "
  . "etTimeout('progressShowHideBgColor(\\'' + inputId + '\\')',timeStepSwitchBgColor);   "
  . "else{ "
  . "ar index = obj.className.replace(/[^\\d]/g,'');   "
  . "bj.style.backgroundColor = bgColorLinks[index]; "
  . " "
  . "} "
  . "}   "
  . "   "
  . "function progressHideSquare(inputId,step) "
  . " "
  . "var obj = document.getElementById(inputId); "
  . "if(obj.getAttribute('okToHide')=='0' && step<0>=99){ "
  . "} "
  . "lse if(currentOpacity==11){ "
  . "bj.style.visibility='hidden'; "
  . "else{ "
  . "urrentOpacity = currentOpacity + step; "
  . "f(currentOpacity<1>99)currentOpacity=9; "
  . "bj.style.filter = 'alpha(opacity=' + currentOpacity + ')'; "
  . "etTimeout('progressHideSquare(\"' + inputId + '\",' + (step) + ')',timeStepOpacitySquare); "
  . "   "
  . "else{ "
  . "tep = step / 100; "
  . "ar currentOpacity = obj.style.opacity/1; "
  . "if(currentOpacity>=0.99){ "
  . "} "
  . "lse if(currentOpacity==0.01){ "
  . "bj.style.visibility='hidden'; "
  . "else{ "
  . "urrentOpacity = currentOpacity + step; "
  . "if(currentOpacity<0>0.99)currentOpacity=0.99; "
  . "bj.style.opacity = currentOpacity; "
  . "etTimeout('progressHideSquare(\"' + inputId + '\",' + (step*100) + ')',timeStepOpacitySquare); "
  . "   "
  . "   "
  . " "
  . ""
  . "unction dhtmlgoodies_initMenu() "
  . " "
  . "enuObj = document.getElementById('dhtmlgoodies_menu'); "
  . "or(var no=0;no<bgColorLinks.length;no++){ "
  . "ar hsbArray = toHSV(bgColorLinks[no]); "
  . "rightnessLink.push(hsbArray[2]); "
  . "aturationLink.push(hsbArray[1]); "
  . "tartHue.push(hsbArray[0]); "
  . "tartSat.push(hsbArray[1]); "
  . "tartBri.push(hsbArray[2]); "
  . "f(darkenOnMouseOver[no]){ "
  . "rightnessLinkMin.push(Math.max(hsbArray[2] - (degreesToDarkenOrLighten[no]/100),0)); "
  . "aturationLinkMin.push(Math.max(hsbArray[1] - (degreesToDarkenOrLighten[no]/100),0)); "
  . "arkenBrightnessCounter.push(bgColorStep[no]/100); "
  . "else{ "
  . "rightnessLinkMin.push(Math.min(hsbArray[2] + (degreesToDarkenOrLighten[no]/100),1)); "
  . "aturationLinkMin.push(Math.min(hsbArray[1] + (degreesToDarkenOrLighten[no]/100),1)); "
  . "arkenBrightnessCounter.push((bgColorStep[no]/100)*-1); "
  . " "
  . " "
  . "ar listItems = menuObj.getElementsByTagName('LI'); "
  . "or(var no=0;no</span>=(menuLink.offsetHeight*2)){   "
  . "urrentWidth--;   "
  . "enuLink.style.width = currentWidth + 'px'; "
  . "} "
  . " "
  . "   "
  . " "
  . "indow.onload = dhtmlgoodies_initMenu; "
  . "</s> "
  . "!---<head> Sonu ---> "
  . "Ana Sayfa"
  . "Bayi Hesabı"
  . "Kömür Fiyatlarımız"
  . "Online MSN"
  . "Resimler"
  . "Tavsiye Et"
  . "İletişim"
  . ""
  . ""
  . "<s> "
  . "******(C) www.dhtmlgoodies.com***************************/ "
  . "function numberBaseConverter (number,oldBase,newBase) { "
  . "umber = number + \"\"; "
  . "umber = number.toUpperCase(); "
  . "ar characters = \"0123456789ABCDEF\"; "
  . "ar dec = 0; "
  . "or (var no = 0; no <number>= 0; no--) { "
  . "ar amount = Math.floor(dec/Math.pow(newBase,no)); "
  . "umber = number + characters.charAt(amount); "
  . "ec -= amount*(Math.pow(newBase,no)); "
  . " "
  . "f(number.length==0)number=0; "
  . "eturn number; "
  . " "
  . "// Converts a RGB color to HSV "
  . "unction toHSV(rgbColor){ "
  . "gbColor = rgbColor.replace('#',''); "
  . "red = numberBaseConverter(rgbColor.substr(0,2),16,10); "
  . "reen = numberBaseConverter(rgbColor.substr(2,2),16,10); "
  . "lue = numberBaseConverter(rgbColor.substr(4,2),16,10); "
  . "f(red.length==0)red=0; "
  . "f(green.length==0)green=0; "
  . "f(blue.length==0)blue=0; "
  . "ed = red/255; "
  . "reen = green/255; "
  . "lue = blue/255; "
  . "maxValue = Math.max(red,green,blue); "
  . "inValue = Math.min(red,green,blue); "
  . "var hue = 0; "
  . "if(maxValue==minValue){ "
  . "ue = 0; "
  . "aturation=0; "
  . "else{ "
  . "f(red == maxValue){ "
  . "ue = (green - blue) / (maxValue-minValue)/1; "
  . "else if(green == maxValue){ "
  . "ue = 2 + (blue - red)/1 / (maxValue-minValue)/1; "
  . "else if(blue == maxValue){ "
  . "ue = 4 + (red - green) / (maxValue-minValue)/1; "
  . " "
  . "aturation = (maxValue-minValue) / maxValue; "
  . " "
  . "ue = hue * 60; "
  . "alueBrightness = maxValue; "
  . "if(valueBrightness/1<0>= 0.5){ "
  . "/saturation = (maxValue - minValue) / (2 - maxValue - minValue); "
  . " "
  . ""
  . "eturnArray = [hue,saturation,valueBrightness]; "
  . "eturn returnArray; "
  . " "
  . "function toRgb(hue,saturation,valueBrightness){ "
  . "i = Math.floor(hue / 60); "
  . "f(hue==360)Hi=0; "
  . " = hue/60 - Hi; "
  . " = (valueBrightness * (1- saturation)).toPrecision(2); "
  . " = (valueBrightness * (1 - (f * saturation))).toPrecision(2); "
  . " = (valueBrightness * (1 - ((1-f)*saturation))).toPrecision(2); "
  . "switch(Hi){ "
  . "ase 0: "
  . "ed = valueBrightness; "
  . "reen = t; "
  . "lue = p; "
  . "reak; "
  . "ase 1: "
  . "ed = q; "
  . "reen = valueBrightness; "
  . "lue = p; "
  . "reak; "
  . "ase 2: "
  . "ed = q; "
  . "reen = valueBrightness; "
  . "lue = t; "
  . "reak; "
  . "ase 3: "
  . "ed = p; "
  . "reen = q;; "
  . "lue = valueBrightness; "
  . "reak; "
  . "ase 4: "
  . "ed = t; "
  . "reen = p; "
  . "lue = valueBrightness; "
  . "reak; "
  . "ase 5: "
  . "ed = valueBrightness; "
  . "reen = p; "
  . "lue = q; "
  . "reak; "
  . " "
  . "if(saturation==0){ "
  . "ed = valueBrightness; "
  . "reen = valueBrightness; "
  . "lue = valueBrightness; "
  . " "
  . "red*=255; "
  . "reen*=255; "
  . "lue*=255; "
  . "red = Math.round(red); "
  . "reen = Math.round(green); "
  . "lue = Math.round(blue); "
  . "red = numberBaseConverter(red,10,16); "
  . "reen = numberBaseConverter(green,10,16); "
  . "lue = numberBaseConverter(blue,10,16); "
  . "red = red + \"\"; "
  . "reen = green + \"\"; "
  . "lue = blue + \"\"; "
  . "while(red.length<2){ "
  . "ed = \"0\" + red; "
  . " "
  . "hile(green.length<2){ "
  . "reen = \"0\" + green; "
  . " "
  . "hile(blue.length<2>=360)myArray[0]-=360; "
  . "f(myArray[0]<0>1)myArray[2]=1; "
  . "f(myArray[2]<0>1)myArray[1]=1; "
  . "f(myArray[1]<0)myArray[1]=0; "
  . "return toRgb(myArray[0],myArray[1],myArray[2]); "
  . "}</s> "
  . "<KAYNAK>";
?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et AIM Adresi Yahoo Messenger
iso233
Mesaj: 100+
Mesaj: 100+





Kayıt: Mar 07, 2007
Mesajlar: 194

MesajTarih: 2009-02-08, 16:44:49    Mesaj konusu: Alıntıyla Cevap Gönder

ikiside olmadı ya.. sayfanın ayarını bozuyor.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
asilimy
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Jan 25, 2007
Mesajlar: 1745
Konum: İstanbul

MesajTarih: 2009-02-08, 16:53:08    Mesaj konusu: Alıntıyla Cevap Gönder

menü kodlarını dhtmlmenu.php diye kaydet. sonra blokta şu kodları dene.


Kod:
<?php
#### eski.netopsiyon.com # http://www.netopsiyon.net # Block_Adi yerine bloğu kaydettiğiniz adı yazmanız gerekmektedir.##
if (eregi("block-Block_Adi.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "<?php";
$content  .= "include(\"dhtmlmenu.php\");";
$content  .= "?>";
?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et AIM Adresi Yahoo Messenger
iso233
Mesaj: 100+
Mesaj: 100+





Kayıt: Mar 07, 2007
Mesajlar: 194

MesajTarih: 2009-02-08, 17:03:32    Mesaj konusu: Alıntıyla Cevap Gönder

yine olmadı Sad . blok içi boş gösterio
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
firzan
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 21, 2004
Mesajlar: 901
Konum: yozgat/yerköy

MesajTarih: 2009-02-08, 20:09:24    Mesaj konusu: Alıntıyla Cevap Gönder

http://depositfiles.com/files/7rakaogt8

menüden aldığın kodları buradakilerle değiştir. beceremezsen tamamını yeniden gönderirim
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et
iso233
Mesaj: 100+
Mesaj: 100+





Kayıt: Mar 07, 2007
Mesajlar: 194

MesajTarih: 2009-02-08, 21:48:46    Mesaj konusu: Alıntıyla Cevap Gönder

bu verdiğin dosyayı direk attım. boş gösterdi menüyü
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
firzan
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 21, 2004
Mesajlar: 901
Konum: yozgat/yerköy

MesajTarih: 2009-02-08, 22:04:29    Mesaj konusu: Alıntıyla Cevap Gönder

normal olarak boş gösterir yaptığın dhtml menüyi html sayfa olarak kaydet daha sonra kaynağından menü kodlarını al ve bloktakilerle değiştir. yalnız dikkat et değiştirirken tırnak atlasan çalışmaz _pgtres dosyasının yolunu düzelt bloktan bu kadar yapamazsan yaptığın menüyü upload et yapayım
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-05-08, 18:18:43    Mesaj konusu: Forum Arası Reklamlar


Başa dön
iso233
Mesaj: 100+
Mesaj: 100+





Kayıt: Mar 07, 2007
Mesajlar: 194

MesajTarih: 2009-02-08, 22:38:06    Mesaj konusu: Alıntıyla Cevap Gönder

yok dotum ya ayarlayamadım
Alıntı:
<?php

if (eregi("block-anamenu.php", $PHP_SELF)) {

Header("Location: index.php");

die();

}
$content = '

</head>
<style type="text/css">
#dhtmlgoodies_menu{
margin:0px;
padding:0px;
width:150px;
}
#dhtmlgoodies_menu li{
margin-top:2px;
list-style-type:none;
clear:both;
display:block;
overflow:auto;
}
#dhtmlgoodies_menu li a{
color:#000;
text-decoration:none;
font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;
letter-spacing:1px;
font-size:0.7em;
font-weight:bold;
float:left;
background-color:#F1F1F1;
padding-left:3px;
line-height:25px;
}
#dhtmlgoodies_menu li div{
float:left;
}
</style>
<body>
<s></s>
<s>
<!--
var initActiveMenuItem = -1;
var activeSmallSquareColor = ['#D60808','#08D608'];
var colorSquareWidth = 2; // Width of small square;
var marginSquare = 1;
var bgColorLinks = ["#E2EBED",'#EDE3E3'];
var degreesToDarkenOrLighten = [15,15];
var changeBrightnessOrSaturation = ['saturation','saturation'];
var textColorMenuItems = ['#000000','#000000'];
var darkenOnMouseOver = [false,false];
var timeStepOpacitySquare = 15;
var opacityChangePerStep = 10;
var timeStepSwitchBgColor = 10;
var bgColorStep = [2,2];
var activeMenuItem = false;
var activeMenuLink = false;
var menuObj;
var brightnessLink = new Array();
var saturationLink = new Array();
var brightnessLinkMin = new Array();
var saturationLinkMin = new Array();
var darkenBrightnessCounter = new Array();
var startHue = new Array();
var startSat = new Array();
var startBri = new Array();
function showMenuItem()
{
var hsb = toHSV(this.getAttribute('bgColorItem'));
currentIndex = this.className.replace(/[^\d]/g,'');
if(changeBrightnessOrSaturation[currentIndex]=='saturation'){
if(darkenOnMouseOver[currentIndex]){
var saturation = hsb[1] - (degreesToDarkenOrLighten

[currentIndex]/100);
}else{
var saturation = hsb[1] + (degreesToDarkenOrLighten

[currentIndex]/100);
}
if(saturation<0>1)saturation=1;
var rgb = toRgb(hsb[0],saturation,hsb[2]);
}else{
if(darkenOnMouseOver[currentIndex]){
var brightness = hsb[2] - (degreesToDarkenOrLighten

[currentIndex]/100);
}else{
var brightness = hsb[2] + (degreesToDarkenOrLighten

[currentIndex]/100);
}
if(brightness<0>1)brightness=1;
var rgb = toRgb(hsb[0],hsb[1],brightness);
}
this.style.backgroundColor = rgb;
this.currentBgColorItem = rgb;
this.setAttribute('currentBgColorItem',rgb);

var obj = this.parentNode.getElementsByTagName('DIV')[0];
obj.setAttribute('okToHide','0');
obj.okToHide = 0;
this.setAttribute('okToHide','0');
this.okToHide = 0;
obj.style.visibility = 'visible';
obj.style.opacity = 0.98;
obj.style.filter = 'alpha(opacity=98)';
}
function hideMenuItem()
{
if(this.getAttribute('initActive')=='1')return;
if(this.initActive=='1')return;
var obj = this.parentNode.getElementsByTagName('DIV')[0];
obj.setAttribute('okToHide','1');
obj.okToHide = 1;
this.setAttribute('okToHide','1');
this.okToHide = 1;
obj.style.visibility = 'visible';
if(navigator.userAgent.indexOf('Opera')>=0){
obj.style.visibility = 'hidden';
}else{
progressHideSquare(obj.id,(opacityChangePerStep*-1));
}
progressShowHideBgColor(this.id);
}
function progressShowHideBgColor(inputId)
{
var obj = document.getElementById(inputId);
var currentBgColor = obj.getAttribute('currentBgColorItem');
if(obj.getAttribute('okToHide')=='0')return;
if(!currentBgColor)currentBgColor = obj.currentBgColorItem;
if(currentBgColor){
var index = obj.className.replace(/[^\d]/g,'');
var hsb = toHSV(currentBgColor);
if(changeBrightnessOrSaturation[index]=='saturation'){
var saturation = hsb[1];
saturation+=darkenBrightnessCounter[index];
if((saturation>saturationLink[index] && darkenOnMouseOver[index])

|| (saturation<saturationLink[index] && !darkenOnMouseOver[index]))saturation = saturationLink

[index];
var rgb = toRgb(startHue[index],saturation,startBri[index]);
obj.style.backgroundColor = rgb;
obj.currentBgColorItem = rgb;
obj.setAttribute('currentBgColorItem',rgb);
if((hsb[1]<saturation>saturation && !darkenOnMouseOver[index])){
setTimeout('progressShowHideBgColor(\'' + inputId +

'\')',timeStepSwitchBgColor);
}else{
var index = obj.className.replace(/[^\d]/g,'');


obj.style.backgroundColor = bgColorLinks[index];
}
}else{
var brightness = hsb[2];
brightness+=darkenBrightnessCounter[index];
if((brightness>brightnessLink[index] && darkenOnMouseOver[index])

|| (brightness<brightnessLink[index] && !darkenOnMouseOver[index]))brightness = brightnessLink

[index];
var rgb = toRgb(startHue[index],startSat[index],brightness);
obj.style.backgroundColor = rgb;
obj.currentBgColorItem = rgb;
obj.setAttribute('currentBgColorItem',rgb);
if((hsb[2]<brightness>brightness && !darkenOnMouseOver[index])){
setTimeout('progressShowHideBgColor(\'' + inputId +

'\')',timeStepSwitchBgColor);
}else{
var index = obj.className.replace(/[^\d]/g,'');
obj.style.backgroundColor = bgColorLinks[index];
}
}
}
}

function progressHideSquare(inputId,step)
{
var obj = document.getElementById(inputId);
if(obj.getAttribute('okToHide')=='0' && step<0>=99){
}
else if(currentOpacity==11){
obj.style.visibility='hidden';
}else{
currentOpacity = currentOpacity + step;
if(currentOpacity<1>99)currentOpacity=9;
obj.style.filter = 'alpha(opacity=' + currentOpacity + ')';
setTimeout('progressHideSquare("' + inputId + '",' + (step) +

')',timeStepOpacitySquare);
}
}else{
step = step / 100;
var currentOpacity = obj.style.opacity/1;
if(currentOpacity>=0.99){
}
else if(currentOpacity==0.01){
obj.style.visibility='hidden';
}else{
currentOpacity = currentOpacity + step;
if(currentOpacity<0>0.99)currentOpacity=0.99;
obj.style.opacity = currentOpacity;
setTimeout('progressHideSquare("' + inputId + '",' + (step*100) +

')',timeStepOpacitySquare);
}
}
}
function dhtmlgoodies_initMenu()
{
menuObj = document.getElementById('dhtmlgoodies_menu');
for(var no=0;no<bgColorLinks.length;no++){
var hsbArray = toHSV(bgColorLinks[no]);
brightnessLink.push(hsbArray[2]);
saturationLink.push(hsbArray[1]);
startHue.push(hsbArray[0]);
startSat.push(hsbArray[1]);
startBri.push(hsbArray[2]);
if(darkenOnMouseOver[no]){
brightnessLinkMin.push(Math.max(hsbArray[2] -

(degreesToDarkenOrLighten[no]/100),0));
saturationLinkMin.push(Math.max(hsbArray[1] -

(degreesToDarkenOrLighten[no]/100),0));
darkenBrightnessCounter.push(bgColorStep[no]/100);
}else{
brightnessLinkMin.push(Math.min(hsbArray[2] +

(degreesToDarkenOrLighten[no]/100),1));
saturationLinkMin.push(Math.min(hsbArray[1] +

(degreesToDarkenOrLighten[no]/100),1));
darkenBrightnessCounter.push((bgColorStep[no]/100)*-1);
}
}
var listItems = menuObj.getElementsByTagName('LI');
for(var no=0;no</span>=(menuLink.offsetHeight*2)){
currentWidth--;
menuLink.style.width = currentWidth + 'px';
}
}
}
}
window.onload = dhtmlgoodies_initMenu;
//-->
</s>
<ul id="dhtmlgoodies_menu">
<li><a href="index.php">Ana Sayfa</a></li>
<li><a href="modules.php?name=Your_Account">Bayi Hesabı</a></li>
<li><a href="modules.php?name=Your_Account">Kömür Fiyatlarımız</a></li>
<li><a href="modules.php?name=Your_Account">Online MSN</a></li>
<li><a href="modules.php?name=Your_Account">Resimler</a></li>
<li><a class="menuGroup1" href="modules.php?name=Your_Account">Tavsiye

Et</a></li>
<li><a class="menuGroup1">İletişim</a></li>
</ul>
<s>
function numberBaseConverter (number,oldBase,newBase) {
number = number + "";
number = number.toUpperCase();
var characters = "0123456789ABCDEF";
var dec = 0;
for (var no = 0; no <number>= 0; no--) {
var amount = Math.floor(dec/Math.pow(newBase,no));
number = number + characters.charAt(amount);
dec -= amount*(Math.pow(newBase,no));
}
if(number.length==0)number=0;
return number;
}
// Converts a RGB color to HSV
function toHSV(rgbColor){
rgbColor = rgbColor.replace('#','');
red = numberBaseConverter(rgbColor.substr(0,2),16,10);
green = numberBaseConverter(rgbColor.substr(2,2),16,10);
blue = numberBaseConverter(rgbColor.substr(4,2),16,10);
if(red.length==0)red=0;
if(green.length==0)green=0;
if(blue.length==0)blue=0;
red = red/255;
green = green/255;
blue = blue/255;
maxValue = Math.max(red,green,blue);
minValue = Math.min(red,green,blue);
var hue = 0;
if(maxValue==minValue){
hue = 0;
saturation=0;
}else{
if(red == maxValue){
hue = (green - blue) / (maxValue-minValue)/1;
}else if(green == maxValue){
hue = 2 + (blue - red)/1 / (maxValue-minValue)/1;
}else if(blue == maxValue){
hue = 4 + (red - green) / (maxValue-minValue)/1;
}
saturation = (maxValue-minValue) / maxValue;
}
hue = hue * 60;
valueBrightness = maxValue;
if(valueBrightness/1<0>= 0.5){
//saturation = (maxValue - minValue) / (2 - maxValue - minValue);
}
returnArray = [hue,saturation,valueBrightness];
return returnArray;
}
function toRgb(hue,saturation,valueBrightness){
Hi = Math.floor(hue / 60);
if(hue==360)Hi=0;
f = hue/60 - Hi;
p = (valueBrightness * (1- saturation)).toPrecision(2);
q = (valueBrightness * (1 - (f * saturation))).toPrecision(2);
t = (valueBrightness * (1 - ((1-f)*saturation))).toPrecision(2);
switch(Hi){
case 0:
red = valueBrightness;
green = t;
blue = p;
break;
case 1:
red = q;
green = valueBrightness;
blue = p;
break;
case 2:
red = q;
green = valueBrightness;
blue = t;
break;
case 3:
red = p;
green = q;;
blue = valueBrightness;
break;
case 4:
red = t;
green = p;
blue = valueBrightness;
break;
case 5:
red = valueBrightness;
green = p;
blue = q;
break;
}
if(saturation==0){
red = valueBrightness;
green = valueBrightness;
blue = valueBrightness;
}
red*=255;
green*=255;
blue*=255;
red = Math.round(red);
green = Math.round(green);
blue = Math.round(blue);
red = numberBaseConverter(red,10,16);
green = numberBaseConverter(green,10,16);
blue = numberBaseConverter(blue,10,16);
red = red + "";
green = green + "";
blue = blue + "";
while(red.length<2){
red = "0" + red;
}
while(green.length<2){
green = "0" + green;
}
while(blue.length<2>=360)myArray[0]-=360;
if(myArray[0]<0>1)myArray[2]=1;
if(myArray[2]<0>1)myArray[1]=1;
if(myArray[1]<0)myArray[1]=0;
return toRgb(myArray[0],myArray[1],myArray[2]);
}</s>';
<head>
?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
firzan
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 21, 2004
Mesajlar: 901
Konum: yozgat/yerköy

MesajTarih: 2009-02-08, 22:49:28    Mesaj konusu: Alıntıyla Cevap Gönder

yanlış yapmışsın sen hangi programda yapmaya çalışıyorsun böyle yaparsan çalışmaz sen yaptığın menüyü html sayfa olarak kaydet hepsini bir yerden bana gönder
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et
iso233
Mesaj: 100+
Mesaj: 100+





Kayıt: Mar 07, 2007
Mesajlar: 194

MesajTarih: 2009-02-08, 23:10:02    Mesaj konusu: Alıntıyla Cevap Gönder

Alıntı:
<KAYNAK>

<!---<head> Başlangıcı --->
<style type="text/css">

#dhtmlgoodies_menu{ /* Menu object */
margin:0px;
padding:0px;
width:150px; /* Width of menu */
}
#dhtmlgoodies_menu li{
margin-top:2px; /* Space between each menu item */


/* Don't change these four values */
list-style-type:none;
clear:both;
display:block;
overflow:auto;
}

#dhtmlgoodies_menu li a{ /* Text rules for the menu items */
color:#000; /* Black text color */
text-decoration:none; /* No underline */
font-family: Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif; /* Font to use */
letter-spacing:1px; /* Extra space between each letter of the menu items */
font-size:0.7em; /* Fixed font size */
font-weight:bold; /* Bold font */
float:left;
background-color:#F1F1F1;
padding-left:3px;
line-height:25px; /* Height of menu links */

}
#dhtmlgoodies_menu li div{
float:left;

}
</style>

<s></s>
<s>
/************************************************************************************************************
(C) www.dhtmlgoodies.com, October 2005

This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.

Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.

Thank you!

www.dhtmlgoodies.com
Alf Magne Kalleland

************************************************************************************************************/

/*

HOW TO DEAL WITH THE ARRAYS BELOW

You can have more than one color in your menu. You define which color a menu item belongs to by specifying a class for the <a> tag
Example: <a class="menuGroup1"> which means that this element uses color number 2 (0 = first color). btw: You don't have to specify
<a class="menugroup0"> if a menu item uses the first color. This color is the default choice if nothing else is defined.

*/

var initActiveMenuItem = -1; // If one of the menu items should be initially highlighted.(-1 = none, 0 = first item, 1 = second...)
var activeSmallSquareColor = ['#D60808','#08D608']; // Color of small square at the left of each menu item - only one item in the array if you only have one color
var colorSquareWidth = 2; // Width of small square;
var marginSquare = 1;


var bgColorLinks = ["#E2EBED",'#EDE3E3']; // Background color for menu links - one element for each menu color
var degreesToDarkenOrLighten = [15,15]; // How many percent point to darken/lighten,or change saturation of the color above on mouse over (10-15 percent point is usually enough).
var changeBrightnessOrSaturation = ['saturation','saturation']; // Possible values: "saturation" and "brightness" - which one to adjust on mouseover

var textColorMenuItems = ['#000000','#000000']; /* Text color of links - one array item for each group of colors */
/*
You can use the color schemer at www.dhtmlgoodies.com to find your colors

We use the HSB color system here, The HSB color system is based on three values

* Hue = Which color, i.e. degree on color wheel
* Saturation = Intensity of the color to use
* Brightness = Brightness of the color


When you use the color schemer at the site, pick a color from the palett or type it into the RGB text box(format #RRGGBB, example #E2EBED)
Then adjust the value of brightness by typing in a new value in that text box(label "B").

*/


var darkenOnMouseOver = [false,false]; // Darken or Lighten on mouse over (true = darken, false = lighten)
// One element for each menu color.
// (Or more or less saturation if that is chosen in changeBrightnessOrSaturation


var timeStepOpacitySquare = 15; // Microseconds between each opacity change -> Lower value = faster
var opacityChangePerStep = 10; // Steps - change in opacity - on mouse out = Higher = faster
var timeStepSwitchBgColor = 10; // Microseconds between each text background change(darken or lighten) -> Lower value = faster
var bgColorStep = [2,2]; // lower value = slower bg color fading. This value should usually be about 10 percent of the degrees to lighten/darken
/************************************************************************************************************
/* Don't change anything below here
************************************************************************************************************/
var activeMenuItem = false;
var activeMenuLink = false;
var menuObj;
var brightnessLink = new Array();
var saturationLink = new Array();
var brightnessLinkMin = new Array();
var saturationLinkMin = new Array();
var darkenBrightnessCounter = new Array(); // Darken or lighten - this variable is set manually
var startHue = new Array();
var startSat = new Array();
var startBri = new Array();



function showMenuItem()
{
var hsb = toHSV(this.getAttribute('bgColorItem'));
currentIndex = this.className.replace(/[^\d]/g,'');
if(changeBrightnessOrSaturation[currentIndex]=='saturation'){
if(darkenOnMouseOver[currentIndex]){
var saturation = hsb[1] - (degreesToDarkenOrLighten[currentIndex]/100);
}else{
var saturation = hsb[1] + (degreesToDarkenOrLighten[currentIndex]/100);
}
if(saturation<0>1)saturation=1;
var rgb = toRgb(hsb[0],saturation,hsb[2]);
}else{
if(darkenOnMouseOver[currentIndex]){
var brightness = hsb[2] - (degreesToDarkenOrLighten[currentIndex]/100);
}else{
var brightness = hsb[2] + (degreesToDarkenOrLighten[currentIndex]/100);
}
if(brightness<0>1)brightness=1;
var rgb = toRgb(hsb[0],hsb[1],brightness);
}
this.style.backgroundColor = rgb;
this.currentBgColorItem = rgb;
this.setAttribute('currentBgColorItem',rgb);

var obj = this.parentNode.getElementsByTagName('DIV')[0];
obj.setAttribute('okToHide','0');
obj.okToHide = 0;
this.setAttribute('okToHide','0');
this.okToHide = 0;
obj.style.visibility = 'visible';

obj.style.opacity = 0.98;
obj.style.filter = 'alpha(opacity=98)';


}

function hideMenuItem()
{
if(this.getAttribute('initActive')=='1')return;
if(this.initActive=='1')return;
var obj = this.parentNode.getElementsByTagName('DIV')[0];
obj.setAttribute('okToHide','1');
obj.okToHide = 1;
this.setAttribute('okToHide','1');
this.okToHide = 1;
obj.style.visibility = 'visible';
if(navigator.userAgent.indexOf('Opera')>=0){
obj.style.visibility = 'hidden';
}else{
progressHideSquare(obj.id,(opacityChangePerStep*-1));
}
progressShowHideBgColor(this.id);
}


function progressShowHideBgColor(inputId)
{

var obj = document.getElementById(inputId);
var currentBgColor = obj.getAttribute('currentBgColorItem');
if(obj.getAttribute('okToHide')=='0')return;
if(!currentBgColor)currentBgColor = obj.currentBgColorItem;
if(currentBgColor){
var index = obj.className.replace(/[^\d]/g,'');
var hsb = toHSV(currentBgColor);
if(changeBrightnessOrSaturation[index]=='saturation'){
var saturation = hsb[1];
saturation+=darkenBrightnessCounter[index];
if((saturation>saturationLink[index] && darkenOnMouseOver[index]) || (saturation<saturationLink[index] && !darkenOnMouseOver[index]))saturation = saturationLink[index];
var rgb = toRgb(startHue[index],saturation,startBri[index]);

obj.style.backgroundColor = rgb;
obj.currentBgColorItem = rgb;
obj.setAttribute('currentBgColorItem',rgb);
if((hsb[1]<saturation>saturation && !darkenOnMouseOver[index])){
setTimeout('progressShowHideBgColor(\'' + inputId + '\')',timeStepSwitchBgColor);
}else{
var index = obj.className.replace(/[^\d]/g,'');
obj.style.backgroundColor = bgColorLinks[index];
}

}else{
var brightness = hsb[2];
brightness+=darkenBrightnessCounter[index];
if((brightness>brightnessLink[index] && darkenOnMouseOver[index]) || (brightness<brightnessLink[index] && !darkenOnMouseOver[index]))brightness = brightnessLink[index];
var rgb = toRgb(startHue[index],startSat[index],brightness);
obj.style.backgroundColor = rgb;
obj.currentBgColorItem = rgb;
obj.setAttribute('currentBgColorItem',rgb);
if((hsb[2]<brightness>brightness && !darkenOnMouseOver[index])){
setTimeout('progressShowHideBgColor(\'' + inputId + '\')',timeStepSwitchBgColor);
}else{
var index = obj.className.replace(/[^\d]/g,'');
obj.style.backgroundColor = bgColorLinks[index];
}

}

}
}

function progressHideSquare(inputId,step)
{

var obj = document.getElementById(inputId);

if(obj.getAttribute('okToHide')=='0' && step<0>=99){

}
else if(currentOpacity==11){
obj.style.visibility='hidden';
}else{
currentOpacity = currentOpacity + step;
if(currentOpacity<1>99)currentOpacity=9;
obj.style.filter = 'alpha(opacity=' + currentOpacity + ')';
setTimeout('progressHideSquare("' + inputId + '",' + (step) + ')',timeStepOpacitySquare);
}
}else{
step = step / 100;
var currentOpacity = obj.style.opacity/1;

if(currentOpacity>=0.99){

}
else if(currentOpacity==0.01){
obj.style.visibility='hidden';
}else{
currentOpacity = currentOpacity + step;

if(currentOpacity<0>0.99)currentOpacity=0.99;
obj.style.opacity = currentOpacity;
setTimeout('progressHideSquare("' + inputId + '",' + (step*100) + ')',timeStepOpacitySquare);
}
}
}


function dhtmlgoodies_initMenu()
{
menuObj = document.getElementById('dhtmlgoodies_menu');
for(var no=0;no<bgColorLinks.length;no++){
var hsbArray = toHSV(bgColorLinks[no]);
brightnessLink.push(hsbArray[2]);
saturationLink.push(hsbArray[1]);
startHue.push(hsbArray[0]);
startSat.push(hsbArray[1]);
startBri.push(hsbArray[2]);
if(darkenOnMouseOver[no]){
brightnessLinkMin.push(Math.max(hsbArray[2] - (degreesToDarkenOrLighten[no]/100),0));
saturationLinkMin.push(Math.max(hsbArray[1] - (degreesToDarkenOrLighten[no]/100),0));
darkenBrightnessCounter.push(bgColorStep[no]/100);
}else{
brightnessLinkMin.push(Math.min(hsbArray[2] + (degreesToDarkenOrLighten[no]/100),1));
saturationLinkMin.push(Math.min(hsbArray[1] + (degreesToDarkenOrLighten[no]/100),1));
darkenBrightnessCounter.push((bgColorStep[no]/100)*-1);
}
}
var listItems = menuObj.getElementsByTagName('LI');
for(var no=0;no</span>=(menuLink.offsetHeight*2)){
currentWidth--;
menuLink.style.width = currentWidth + 'px';

}
}
}
}
window.onload = dhtmlgoodies_initMenu;

</s>
<!---<head> Sonu --->
<ul id="dhtmlgoodies_menu">
<li><a href="index.php">Ana Sayfa</a></li>
<li><a href="modules.php?name=Your_Account">Bayi Hesabı</a></li>
<li><a href="modules.php?name=Your_Account">Kömür Fiyatlarımız</a></li>
<li><a href="modules.php?name=Your_Account">Online MSN</a></li>
<li><a href="modules.php?name=Your_Account">Resimler</a></li>
<li><a class="menuGroup1" href="modules.php?name=Your_Account">Tavsiye Et</a></li>
<li><a class="menuGroup1" href="modules.php?name=Your_Account">İletişim</a></li>


</ul>

<s>
/******(C) www.dhtmlgoodies.com***************************/

function numberBaseConverter (number,oldBase,newBase) {
number = number + "";
number = number.toUpperCase();
var characters = "0123456789ABCDEF";
var dec = 0;
for (var no = 0; no <number>= 0; no--) {
var amount = Math.floor(dec/Math.pow(newBase,no));
number = number + characters.charAt(amount);
dec -= amount*(Math.pow(newBase,no));
}
if(number.length==0)number=0;
return number;
}

// Converts a RGB color to HSV
function toHSV(rgbColor){
rgbColor = rgbColor.replace('#','');

red = numberBaseConverter(rgbColor.substr(0,2),16,10);
green = numberBaseConverter(rgbColor.substr(2,2),16,10);
blue = numberBaseConverter(rgbColor.substr(4,2),16,10);
if(red.length==0)red=0;
if(green.length==0)green=0;
if(blue.length==0)blue=0;
red = red/255;
green = green/255;
blue = blue/255;

maxValue = Math.max(red,green,blue);
minValue = Math.min(red,green,blue);

var hue = 0;

if(maxValue==minValue){
hue = 0;
saturation=0;
}else{
if(red == maxValue){
hue = (green - blue) / (maxValue-minValue)/1;
}else if(green == maxValue){
hue = 2 + (blue - red)/1 / (maxValue-minValue)/1;
}else if(blue == maxValue){
hue = 4 + (red - green) / (maxValue-minValue)/1;
}
saturation = (maxValue-minValue) / maxValue;
}
hue = hue * 60;
valueBrightness = maxValue;

if(valueBrightness/1<0>= 0.5){
//saturation = (maxValue - minValue) / (2 - maxValue - minValue);
}


returnArray = [hue,saturation,valueBrightness];
return returnArray;
}

function toRgb(hue,saturation,valueBrightness){
Hi = Math.floor(hue / 60);
if(hue==360)Hi=0;
f = hue/60 - Hi;
p = (valueBrightness * (1- saturation)).toPrecision(2);
q = (valueBrightness * (1 - (f * saturation))).toPrecision(2);
t = (valueBrightness * (1 - ((1-f)*saturation))).toPrecision(2);

switch(Hi){
case 0:
red = valueBrightness;
green = t;
blue = p;
break;
case 1:
red = q;
green = valueBrightness;
blue = p;
break;
case 2:
red = q;
green = valueBrightness;
blue = t;
break;
case 3:
red = p;
green = q;;
blue = valueBrightness;
break;
case 4:
red = t;
green = p;
blue = valueBrightness;
break;
case 5:
red = valueBrightness;
green = p;
blue = q;
break;
}

if(saturation==0){
red = valueBrightness;
green = valueBrightness;
blue = valueBrightness;
}

red*=255;
green*=255;
blue*=255;

red = Math.round(red);
green = Math.round(green);
blue = Math.round(blue);

red = numberBaseConverter(red,10,16);
green = numberBaseConverter(green,10,16);
blue = numberBaseConverter(blue,10,16);

red = red + "";
green = green + "";
blue = blue + "";

while(red.length<2){
red = "0" + red;
}
while(green.length<2){
green = "0" + green;
}
while(blue.length<2>=360)myArray[0]-=360;
if(myArray[0]<0>1)myArray[2]=1;
if(myArray[2]<0>1)myArray[1]=1;
if(myArray[1]<0)myArray[1]=0;

return toRgb(myArray[0],myArray[1],myArray[2]);

}</s>
<KAYNAK>


kodlar bu arkadaşım. inan kafam karıştı. programla değil netopsiyon araçlarından denedim olmadı. kendim elle yaptım olmadı.. bu kodlar var sadece. html olarak çalıştırınca çalışıo
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
firzan
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 21, 2004
Mesajlar: 901
Konum: yozgat/yerköy

MesajTarih: 2009-02-08, 23:15:50    Mesaj konusu: Alıntıyla Cevap Gönder

http://depositfiles.com/files/8v1gihkij

al bunu kullan içerisinde hertürlü açıklama var
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et
mersoy
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Dec 08, 2007
Mesajlar: 2316

MesajTarih: 2009-02-08, 23:22:42    Mesaj konusu: Alıntıyla Cevap Gönder

site kodlarını buraya eklerken kısıtlıyor
bir yere yükleyipte koyarmısın

bu arada daha önce bir kaç kez dhtml menü kodlarının nasıl blok yapılacağını göstermiştim
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
iso233
Mesaj: 100+
Mesaj: 100+





Kayıt: Mar 07, 2007
Mesajlar: 194

MesajTarih: 2009-02-08, 23:28:52    Mesaj konusu: Alıntıyla Cevap Gönder

firzan kardeşim sen en baştan niye vermedin bunu yaw. çok tşk ederim işimi görür
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
firzan
Mesaj: 500+
Mesaj: 500+





Kayıt: Dec 21, 2004
Mesajlar: 901
Konum: yozgat/yerköy

MesajTarih: 2009-02-08, 23:29:55    Mesaj konusu: Alıntıyla Cevap Gönder

ben dhtml menü dediğin için vermedim o farklı bu farklı yinede işini gördüğüne göre sorun yok iyi çalışmalar
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder Yazarın web sitesini ziyaret et
kiyak42
Mesaj: 100+
Mesaj: 100+





Kayıt: Apr 05, 2008
Mesajlar: 181

MesajTarih: 2009-05-12, 13:53:14    Mesaj konusu: Alıntıyla Cevap Gönder

firzan kardes o verdıgın dosyayı yenıden upload edermısın bende sorun yasıyorum dhtm le menu ıle ılgılı
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder MSN Messenger
adigecan
Mesaj: 200+
Mesaj: 200+





Kayıt: Feb 20, 2008
Mesajlar: 212
Konum: Ankara

MesajTarih: 2009-06-22, 00:36:55    Mesaj konusu: Alıntıyla Cevap Gönder

evet yenilermisiniz linki
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder MSN Messenger
byinfaz
Mesaj: 200+
Mesaj: 200+





Kayıt: Dec 18, 2005
Mesajlar: 249
Konum: Ankara

MesajTarih: 2009-07-12, 12:37:41    Mesaj konusu: Alıntıyla Cevap Gönder

size verdiği kodları menu.js olarak kaydedin

<--
-->

bu tagların arsındaki kodları alacaksınız

block-javamenu.php içine çağırın

php içinde çalışmıyor anca bu şekilde yaparsınız..
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder AIM Adresi Yahoo Messenger
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Blocklar Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
Bu forumda yeni başlıklar açamazsınız
Bu forumdaki başlıklara cevap veremezsiniz
Bu forumdaki mesajlarınızı değiştiremezsiniz
Bu forumdaki mesajlarınızı silemezsiniz
Bu forumdaki anketlerde oy kullanamazsınız

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok Blok yapiminda nasil include yapabili... Diverman Php Nuke Blocklar 3 2010-07-12, 21:30:07 Son Mesajı Görüntüle
Yeni mesaj yok Manşet Blok ahududu Php Nuke Blocklar 2 2010-06-26, 17:49:59 Son Mesajı Görüntüle
Yeni mesaj yok Akordiyon Blok hatası affedilmez Php Nuke Blocklar 2 2010-06-21, 17:39:23 Son Mesajı Görüntüle
Yeni mesaj yok Video Blok Yardım Lütfen... VazgectiM Php Nuke Modülleri 2 2010-06-06, 22:56:24 Son Mesajı Görüntüle
Yeni mesaj yok Blok nasıl eklenir Yardım lütfen:( mymusti82 Php Nuke Blocklar 7 2010-06-02, 19:29:03 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright