Gönderen Konu: BlackPearl Menu  (Okunma sayısı 6522 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı •● FяiєdєKiηd™ ●•

  • SGT-Admin
  • *
  • İleti: 7670
  • PR ( Rep ) : 285
  • Cinsiyet: Bay
  • www.wtgrup.com
    • | HasTOSYALİ.Com | Tosya'nın Dünyaya Açılan Kapısı |
  • SMF Sürümü: 1.1.x
BlackPearl Menu
« : SmfGrup Saati : 31 Temmuz Cts 2010, 16:49 »
Evet Arkadaşlar sitemizde bir arkadaşımız bu menüyü istemişti bizde yaptık ve paylaşıyoruz.
Yaptık derken smfye uyarladık menüyü yanlış anlaşılmasın.iyi günlerde kullanın :)

Kurulum:

style.css en sona ekleyin
Kod: (en sona ekle) [Seç]
a.buttong {
    background-color:transparent;
    background-image: url( 'images/btn_right.png' );
    background-repeat:no-repeat ;
    background-position:top right;
    color: #fff;
display:block; /*opera*/
display:inline-block; /*ie*/
 /*ff*/    /*font: bold 12px arial, sans-serif;*/
    font: normal 13px tahoma, arial, sans-serif;
    height: 32px;
    margin-right: 8px;
    padding-right: 10px;
    text-decoration: none;
}

a.buttong span {
    background-color:transparent;
    background-image: url( 'images/btn.png' );
    background-repeat:no-repeat ;
    display: inline-block;
    line-height: 21px;
    padding: 3px 0 8px 10px;
}

a.buttong span img{
    margin-left:-5px;
    margin-top:-2px;
    padding-right:5px;
}

/*HOVER*/
a.buttong:hover {
    background-image: url( 'images/btn_hover_right.png' );
    color: #000000;
    outline: none;
}

a.buttong:hover span {
    background-image:url( 'images/btn_hover.png');
}

index.template.php'de bul

Kod: (bul) [Seç]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('downloads','search', 'downloads', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')));
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   // Are we using right-to-left orientation?
   if ($context['right_to_left'])
   {
      $first = 'last';
      $last = 'first';
   }
   else
   {
      $first = 'first';
      $last = 'last';
   }

   // Show the start of the tab section.
   echo '
         <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
            <tr>
               <td class="maintab_' , $first , '">&nbsp;</td>';

   // Show the [home] button.
   echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '">' , $txt[103] , '</a>
            </td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // Show the [help] button.
   echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
            </td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // How about the [search] button?
   if ($context['allow_search'])
      echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
            </td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
            </td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
            </td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
            </td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // The [calendar]
   if ($context['allow_calendar'])
      echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
            </td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
            </td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // the [Downloads System] button
   if ($context['allow_downloads_view'])
      echo ($current_action == 'downloads' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'downloads' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu']  , '</a>
            </td>' , $current_action == 'downloads' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

     

   // If the user is a guest, show [login] button.
   if ($context['user']['is_guest'])
      echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
            </td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


   // If the user is a guest, also show [register] button.
   if ($context['user']['is_guest'])
      echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
            </td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


   // Otherwise, they might want to [logout]...
   if ($context['user']['is_logged'])
      echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
            </td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

   // The end of tab section.
   echo '
            <td class="maintab_' , $last , '">&nbsp;</td>
         </tr>
      </table>';

}

Bununla Değiştir

Kod: (değiştir) [Seç]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

// Show the start of the tab section.

echo '
        <div align="center">   
   ';

// Show the [home] button.
echo '<a class="buttong" href="', $scripturl, '" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/star_full.png" align="top" />' , $txt[103] , '</span></a>';

// Show the [help] button.
echo '<a class="buttong" href="', $scripturl, '?action=help" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/help.png" align="top" /> ' , $txt[119] , '</span></a>';

// How about the [search] button?
if ($context['allow_search'])
echo '<a class="buttong" href="', $scripturl, '?action=search" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/target.png" align="top" />' , $txt[182] , '</span></a>';

// The [calendar]!
if ($context['allow_calendar'])
echo '<a class="buttong" href="', $scripturl, '?action=calendar" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/arsiv.png" align="top" />' , $txt['calendar24'] , '</span></a>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '<a class="buttong" href="', $scripturl, '?action=admin" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/dershane.png" align="top" />' , $txt[2] , '</span></a>';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<a class="buttong" href="', $scripturl, '?action=profile" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/kdf.png" align="top" />' , $txt[79] , '</span></a>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<a class="buttong" href="', $scripturl, '?action=pm" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/news.png" align="top" />' , $txt['pm_short'] , '</span></a>';

// the [member] list button
if ($context['allow_memberlist'])
echo '<a class="buttong" href="', $scripturl, '?action=mlist" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/kdf.png" align="top" />' , $txt[331] , '</span></a>';

// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo '<a class="buttong" href="', $scripturl, '?action=login" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/artwork.png" align="top" />' , $txt[34] , '</span></a>';

// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo '<a class="buttong" href="', $scripturl, '?action=register" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/iletisim.png" align="top" />' , $txt[97] , '</span></a>';

// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo '<a class="buttong" href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '" onclick="this.blur(); return true;"><span style="cursor:pointer;"><img src="', $settings['images_url'], '/menu_images/cikis.png" align="top" />' , $txt[108] , '</span></a>';

echo '</div>
';

}

son olarakta ekte vermiş olduğum menu_images.zip dosyasını zip çıkartın ve zipten çıkan dosyayıda images içinde atın.
images.zip yazan dosyayıda zipten çıkarıp içindeki resimleri images klasörüne atın.

Menünün Görünümü Ektedir.

2.0...

İndex.template.php dosyasına bunu ekle


Kod: [Seç]
// Menü 2.0 ..
function template_menu() {   
global $context, $settings, $options, $scripturl, $txt;

echo '
<div align="center">';

foreach ($context['menu_buttons'] as $act => $button)   {   
     
echo '                     
<a class="buttong" href="', $button['href'], '" onclick="this.blur(); return true;"><span style="cursor:pointer;">
<img src="', $settings['images_url'], '/',$act,'.png" align="top" />',$button['title'],'</span>                         
</a>';   
}   
echo '
</div>';


}

index.css Dosyasına Ekle
Kod: [Seç]
a.buttong {
    background-color:transparent;
    background-image: url( '../images/btn_right.png' );
    background-repeat:no-repeat ;
    background-position:top right;
    color: #fff;
      display:block; /*opera*/
      display:inline-block; /*ie*/
 /*ff*/    /*font: bold 12px arial, sans-serif;*/
    font: normal 13px tahoma, arial, sans-serif;
    height: 32px;
    margin-right: 8px;
    padding-right: 10px;
    text-decoration: none;
}

a.buttong span {
    background-color:transparent;
    background-image: url( '../images/btn.png' );
    background-repeat:no-repeat ;
    display: inline-block;
    line-height: 21px;
    padding: 3px 0 8px 10px;
}

a.buttong span img{
    margin-left:-5px;
    margin-top:-2px;
    padding-right:5px;
}

/*HOVER*/
a.buttong:hover {
    background-image: url( '../images/btn_hover_right.png' );
    color: #000000;
    outline: none;
}

a.buttong:hover span {
    background-image:url( '../images/btn_hover.png');
}
İlk Mesajda Ekte
images.zip dosyası var ondaki images klasörüne at


İmages Klasörüne Atman Gereken Başka Resimlerde var
Kesinlikle Bu İsimlerde Resimler Atmalısın..


Alıntı
home.png
help.png
search.png
admin.png
moderate.png
profile.png
pm.png
calendar.png
mlist.png
logout.png
register.png
login.png

Yani İlk Mesaj daki menu_images.zip 'in içindeki resimleri bunlarla değiştirmelisin
eksik resimlere yeni resim eklemelisin ve images klasörüne atmalısın ..


..

SGT

« Son Düzenleme: SmfGrup Saati : 03 Ağustos Sal 2010, 18:36 Gönderen: Cado »

Çevrimiçi EmirCan

  • SGT-Admin
  • *
  • İleti: 14053
  • PR ( Rep ) : 247
  • Cinsiyet: Bay
  • EmirCan ( İST )
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #1 : SmfGrup Saati : 31 Temmuz Cts 2010, 16:54 »
Adamım ya =D
Emirkuzu.com

Çevrimdışı •● FяiєdєKiηd™ ●•

  • SGT-Admin
  • *
  • İleti: 7670
  • PR ( Rep ) : 285
  • Cinsiyet: Bay
  • www.wtgrup.com
    • | HasTOSYALİ.Com | Tosya'nın Dünyaya Açılan Kapısı |
  • SMF Sürümü: 1.1.x
Ynt: BlackPearl Menu
« Yanıtla #2 : SmfGrup Saati : 31 Temmuz Cts 2010, 16:56 »
ya ne yapıyım abi evde pc yok kafam şişti o diğer konuda isteyenden pcde geldi hemen yaptım :D

Çevrimdışı Vitaminsiz.Com

  • Yeni Üye
  • *
  • İleti: 86
  • PR ( Rep ) : 0
  • Cinsiyet: Bay
  • Kendinize İmza Seciniz
    • Vitaminsiz FORUM
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #3 : SmfGrup Saati : 02 Ağustos Pzt 2010, 11:47 »
ya ne yapıyım abi evde pc yok kafam şişti o diğer konuda isteyenden pcde geldi hemen yaptım :D

Bayağıda saydırdın da diğer konuda neyse :) Emeğine sağlık index.template de sorun çıkartıyor. Ekte veriyorum bi bakarsanız sevinirim.
Ağlasa derd-i derûnum çeşm-i giryânım sana
Âşikâr olurdu gâlib râz-ı pinhânım sana

Türkçe

(Sevgili!) İçimdeki dertler ile yaş dolu gözlerim senin için ağlayacak olsa (gönlümdeki) gizli sırlarım (gözyaşlarıma) gâlip gelir ve (sırlar) sana aşikâr olurdu.

Çevrimdışı •● FяiєdєKiηd™ ●•

  • SGT-Admin
  • *
  • İleti: 7670
  • PR ( Rep ) : 285
  • Cinsiyet: Bay
  • www.wtgrup.com
    • | HasTOSYALİ.Com | Tosya'nın Dünyaya Açılan Kapısı |
  • SMF Sürümü: 1.1.x
Ynt: BlackPearl Menu
« Yanıtla #4 : SmfGrup Saati : 02 Ağustos Pzt 2010, 11:49 »
saydırılılmayacak gibi değilki kardeşim acele etme diyoruz hala mesaj atıyorsun konuya valla kodları verdim kardeşim index.template.php de ne sorunu diyor hata mesajını söyle sen bana

Çevrimdışı Vitaminsiz.Com

  • Yeni Üye
  • *
  • İleti: 86
  • PR ( Rep ) : 0
  • Cinsiyet: Bay
  • Kendinize İmza Seciniz
    • Vitaminsiz FORUM
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #5 : SmfGrup Saati : 02 Ağustos Pzt 2010, 11:52 »
saydırılılmayacak gibi değilki kardeşim acele etme diyoruz hala mesaj atıyorsun konuya valla kodları verdim kardeşim index.template.php de ne sorunu diyor hata mesajını söyle sen bana

Tamam sakin ol ne biliyim açıkcası biraz üfürüyor gibi geldi :d tema ayrıştırma hatası diyor normal olarak editliyorum fakat bir yerde sorun çıkartıyor daha önceki mesajımda ekte verdim bi baksana ona

Edit : Oldu teşekkürler
« Son Düzenleme: SmfGrup Saati : 02 Ağustos Pzt 2010, 12:00 Gönderen: Vitaminsiz.Com »
Ağlasa derd-i derûnum çeşm-i giryânım sana
Âşikâr olurdu gâlib râz-ı pinhânım sana

Türkçe

(Sevgili!) İçimdeki dertler ile yaş dolu gözlerim senin için ağlayacak olsa (gönlümdeki) gizli sırlarım (gözyaşlarıma) gâlip gelir ve (sırlar) sana aşikâr olurdu.

Çevrimdışı •● FяiєdєKiηd™ ●•

  • SGT-Admin
  • *
  • İleti: 7670
  • PR ( Rep ) : 285
  • Cinsiyet: Bay
  • www.wtgrup.com
    • | HasTOSYALİ.Com | Tosya'nın Dünyaya Açılan Kapısı |
  • SMF Sürümü: 1.1.x
Ynt: BlackPearl Menu
« Yanıtla #6 : SmfGrup Saati : 02 Ağustos Pzt 2010, 13:41 »
kodlamada sorun yok sen hata yapıyorsun eklerkene adresini versene bi

Çevrimdışı Vitaminsiz.Com

  • Yeni Üye
  • *
  • İleti: 86
  • PR ( Rep ) : 0
  • Cinsiyet: Bay
  • Kendinize İmza Seciniz
    • Vitaminsiz FORUM
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #7 : SmfGrup Saati : 02 Ağustos Pzt 2010, 15:23 »
kodlamada sorun yok sen hata yapıyorsun eklerkene adresini versene bi

Tamam üstad hallettim, menü bar titlebg2 ye çok birleşik menüyü nasıl aşağı indiririm biraz ? Web site : vitaminsiz.com
Ağlasa derd-i derûnum çeşm-i giryânım sana
Âşikâr olurdu gâlib râz-ı pinhânım sana

Türkçe

(Sevgili!) İçimdeki dertler ile yaş dolu gözlerim senin için ağlayacak olsa (gönlümdeki) gizli sırlarım (gözyaşlarıma) gâlip gelir ve (sırlar) sana aşikâr olurdu.

Çevrimdışı gecitli

  • Yeni Üye
  • *
  • İleti: 42
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
    • gecitli.de
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #8 : SmfGrup Saati : 02 Ağustos Pzt 2010, 16:40 »
merhaba bu kodlari rc3 icin cevirme imkani varmi baya ugrastim olmadi steyle cs de tanimlama hatasi var


Çevrimdışı gecitli

  • Yeni Üye
  • *
  • İleti: 42
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
    • gecitli.de
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #9 : SmfGrup Saati : 02 Ağustos Pzt 2010, 17:25 »
Benim duzenledigim kodlar boyle bir turlu oturmadi

../index.template. php dosyasında

Kod: [Seç]
echo '
      <div id="multi-level">
         <ul class="menu">';

   foreach ($context['menu_buttons'] as $act => $button)
   {
      echo '
            <li class="top">
               <a href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', ' id="', $act, '" class="top_link"><b class="b_top"></b><span class="span_top">', $button['title'], '</span></a>';

../css/index.css

Kod: [Seç]
#multi-level {height:30px; position:relative; z-index:100; background:#fff url(../images/yeniler/image_drop_back.gif) repeat-x; padding-left:20px;border:1px solid #000; border-width:0 1px;}
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family:arial, sans-serif; font-size:11px;}
.menu li.top {display:block; float:left; position:relative;}
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
.menu li.top a.top_link {display:block; float:left; height:30px; line-height:30px; text-decoration:none; color:#fff; background: url(../images/yeniler/image_drop_1a.gif); padding:0;}
.menu li.top a.top_link span.span_top {display:block; float:left; height:30px; background: url(../images/yeniler/image_drop_1a.gif) right top; padding:0 15px 0 0;}
.menu li.top a.top_link b.b_top {display:block; float:left; height:30px; width:26px;}
.menu li.top a.top_link span.drop {background: url(../images/yeniler/image_drop_0a.gif) right top; padding:0 25px 0 0;}
.menu li a#home b.b_top {background:transparent url(../images/yeniler/home.gif) no-repeat center center;}
.menu li a#search b.b_top {background:transparent url(../images/yeniler/world.gif) no-repeat center center;}
.menu li a#help b.b_top {background:transparent url(../images/yeniler/book.gif) no-repeat center center;}
.menu li a#pm b.b_top {background:transparent url(../images/yeniler/info.gif) no-repeat center center;}
.menu li a#admin b.b_top {background:transparent url(../images/yeniler/key.gif) no-repeat center center;}
.menu li a#profile b.b_top {background:transparent url(../images/yeniler/people.gif) no-repeat center center;}
.menu li a#mlist b.b_top {background:transparent url(../images/yeniler/links.gif) no-repeat center center;}
.menu li a#logout b.b_top {background:transparent url(../images/yeniler/stop.gif) no-repeat center center;}
.menu li a#calendar b.b_top {background:transparent url(../images/yeniler/text.gif) no-repeat center center;}
.menu a:hover {visibility:visible; cursor:pointer; position:relative;}
.menu li:hover {position:relative; z-index:300;}
.menu li.top a.top_link:hover,
.menu li.top:hover a.top_link {background: url(../images/yeniler/image_drop_1b.gif);}
.menu li.top a.top_link:hover span.span_top,
.menu li.top:hover a.top_link span.span_top {background: url(../images/yeniler/image_drop_1b.gif) right top;}
.menu li.top a.top_link:hover span.drop,
.menu li.top:hover a.top_link span.drop {background: url(../images/yeniler/image_drop_0b.gif) right top;}
.menu ul,
.menu ul ul,
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}
.menu :hover ul.sub {left:0; top:30px; background: transparent url(../images/yeniler/transparent.gif); padding:3px 0 0 0; white-space:nowrap; width:135px; height:auto;}
.menu :hover ul.sub li {display:block; float:left;}
.menu :hover ul.sub li a {display:block; float:left; height:25px; width:135px; line-height:25px; color:#000; text-decoration:none; padding:0; background: url(../images/yeniler/dropa_0.gif) no-repeat;}
.menu :hover ul.sub li a span,
.menu :hover ul.sub li a.fly:hover ul li a span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a span
{display:block; float:left; background: url(../images/yeniler/drop_0.gif) right top; height:25px; width:92px; padding:0 10px 0 5px; font-weight:normal; color:#000;}
.menu :hover ul.sub li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly span
{background: url(../images/yeniler/dropb_0.gif) right top; color:#000;}
.menu :hover ul.sub li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover ul li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover ul li a:hover ul li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover ul li a:hover ul li a:hover ul li a:hover
{background: url(../images/yeniler/dropba_1.gif) no-repeat; color:#fff;}
.menu :hover ul.sub li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a:hover span
{background: url(../images/yeniler/drop_1.gif) right top; color:#fff;}
.menu :hover ul.sub li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover span
{background:url(../images/yeniler/dropb_1.gif) right top; color:#fff;}
.menu :hover ul li:hover > a.fly {background:url(../images/yeniler/dropba_1.gif) no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly span {background:url(../images/yeniler/dropb_1.gif) right top; color:#fff;}
.menu ul.sub b {display:block; float:left; background:transparent url(../images/yeniler/book.gif) no-repeat center center; height:25px; width:25px;}
.menu ul.sub b.bos{background:transparent url(../images/yeniler/transparent.gif) no-repeat center center;}
.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{left:107px; top:0; background:transparent url(../images/yeniler/transparent.gif); padding:5px 5px 5px 0; white-space:nowrap; width:120px; z-index:200; height:auto;}
Acaba hata nerde

Çevrimdışı •● FяiєdєKiηd™ ●•

  • SGT-Admin
  • *
  • İleti: 7670
  • PR ( Rep ) : 285
  • Cinsiyet: Bay
  • www.wtgrup.com
    • | HasTOSYALİ.Com | Tosya'nın Dünyaya Açılan Kapısı |
  • SMF Sürümü: 1.1.x
Ynt: BlackPearl Menu
« Yanıtla #10 : SmfGrup Saati : 02 Ağustos Pzt 2010, 18:55 »
kardeşim senin bu kodlar benim verdiklerimle aynı değil ki sen benim verdiğim şekilde uygulayacaksın

Çevrimdışı SkyGhostAir

  • Yeni Üye
  • *
  • İleti: 131
  • PR ( Rep ) : 0
  • Cinsiyet: Bay
  • Tam Bir Manyaq
    • FrmZeytinDali.Com Genel Paylaşım Platformu.
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #11 : SmfGrup Saati : 02 Ağustos Pzt 2010, 19:09 »
eline saglık super olmuş ilerde bunu kullanırım diye düşünüyorum :)

Çevrimdışı gecitli

  • Yeni Üye
  • *
  • İleti: 42
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
    • gecitli.de
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #12 : SmfGrup Saati : 02 Ağustos Pzt 2010, 19:23 »
hocam ben rc3 kulaniyorum sizin verdiklerinizi nasil kulanayim gordugünüz kodlari cevirmeye calistim sorun orda mecbur kodlamayi cs de editlemem lazim index.template. php de olmaz her halde

Çevrimdışı •● FяiєdєKiηd™ ●•

  • SGT-Admin
  • *
  • İleti: 7670
  • PR ( Rep ) : 285
  • Cinsiyet: Bay
  • www.wtgrup.com
    • | HasTOSYALİ.Com | Tosya'nın Dünyaya Açılan Kapısı |
  • SMF Sürümü: 1.1.x
Ynt: BlackPearl Menu
« Yanıtla #13 : SmfGrup Saati : 02 Ağustos Pzt 2010, 20:12 »
müsait olduğum bir zamanda rc3e uyarlarmayı denerim kardeşim

Çevrimdışı gecitli

  • Yeni Üye
  • *
  • İleti: 42
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
    • gecitli.de
  • SMF Sürümü: 2.0
Ynt: BlackPearl Menu
« Yanıtla #14 : SmfGrup Saati : 02 Ağustos Pzt 2010, 20:32 »
teşekkür ederim cevirebilirsem bende paylasirim
« Son Düzenleme: SmfGrup Saati : 02 Ağustos Pzt 2010, 20:35 Gönderen: gecitli »