Would you like to react to this message? Create an account in a few clicks or log in to continue.



|Başlık Sayısı :1981| Mesaj Sayısı:3050|
 
PortalAnasayfaGaleriLatest imagesAramaKayıt OlGiriş yap

 

 Popup Url Modifikasyonu Manuel anlatım

Aşağa gitmek 
YazarMesaj
Misafir
Misafir
Anonymous



Popup Url Modifikasyonu Manuel anlatım Empty
MesajKonu: Popup Url Modifikasyonu Manuel anlatım   Popup Url Modifikasyonu Manuel anlatım Icon_minitimePaz Mart 02, 2008 4:47 pm

Popup Url Modifikasyonu Manuel anlatım 1fd5

Popup Url Modifikasyonu Manuel anlatım 2lu1

Popup Url Modifikasyonu Manuel anlatım 3gj4

Popup Url Modifikasyonu Manuel anlatım 4ro3

Popup Url Modifikasyonu Manuel anlatım 5sr6



Kurulum

themnız/Post.template.php'de bul

Kod:
      // Print a drop down list for all the colors we allow!

sonrasına ekle

Kod:
// Java script to handle URL input boxes ...
    echo '<script language="JavaScript" type="text/javascript">
          // <!' . '--
          function urlINPT(){
             // Enter URL .........................................
             var urlLINK = prompt("Lütfen URL Adresini Giriniz:","http://");
             if (urlLINK == null ){ //cancel pressed . . .
             }
             else if (urlLINK == "" || urlLINK == " "){ //ok pressed but with Notext . . .
                     alert("Sorry no text entered!");
             }
             else
             { //ok pressed and there is something :)
             // Enter Description ...................................
             var urlNAME = prompt("Lütfen URL Adi Giriniz:","");
             if (urlNAME == null ){ //cancel pressed . . .
             }
             else if (urlNAME == "" || urlNAME == " "){  //ok pressed but with notext so use URL only!
                    surroundText(\'[url]\'+urlLINK+\'\', \'[/url]\', document.', $context['post_form'], '.', $context['post_box_name'], ');
             }
             else //ok pressed with text so use URL and Name!
                    surroundText(\'[url=\'+urlLINK+\']\'+urlNAME+\'\', \'[/url]\', document.', $context['post_form'], '.', $context['post_box_name'], ');
             }
          }
          // --' . '>
          </script>';


bul

Kod:
      foreach ($context['bbc_tags'][1] as $image => $tag)
      {
         if (isset($tag['before']))
         {
            // Is this tag disabled?
            if (!empty($context['disabled_tags'][$tag['code']]))
               continue;

sonrasına ekle

Kod:
      // only replace the URL tag! . . . . . . . . . . .
      if (isset($tag['code']) && $tag['code'] == 'url')
   {
          echo '<a href="javascript:void(0);" onclick="urlINPT(); return false;"><img onmouseover="bbc_highlight(this, true);" onmouseout="if (window.bbc_highlight) bbc_highlight(this, false);" src="', $settings['images_url'], '/bbc/', $image, '.gif" align="bottom" width="23" height="22" alt="', $tag['description'], '" title="', $tag['description'], '" border="0" style="background-image: url(', $settings['images_url'], '/bbc/bbc_bg.gif); margin: 1px 2px 1px 1px;" /></a>';
      continue;
   }
Sayfa başına dön Aşağa gitmek
 
Popup Url Modifikasyonu Manuel anlatım
Sayfa başına dön 
1 sayfadaki 1 sayfası
 Similar topics
-

Bu forumun müsaadesi var:Bu forumdaki mesajlara cevap veremezsiniz
 :: Web Tasarımı :: SMF - Simple Machines Forum-
Buraya geçin:  
Powered by phpBB ©
© 2007, 2008 Forumzen
Powered ßy como TeaM
Yetkinforum.com | ©phpBB | Bedava yardımlaşma forumu | Suistimalı göstermek | Son tartışmalar