phpBB Türkiye - phpBB3 Türkçe destek ve geliştirme

İçeriği atla

profesyonel phpBB3 hizmetleri

Sitemiz sadece phpBB 3.0 sürümüne destek vermektedir. Konu açmadan, ileti yazmadan önce lütfen site kuralları sayfamıza göz atınız.

javascript Kod Ekleme Yardım

javascript Kod Ekleme Yardım

İleti perfectman 13 Haz 2007 09:45

Kod: Tümünü seç
<script type="text/javascript">
//<![CDATA[
  <!-- Hide from old browsers

  // All you have to do is put another text in the variable message.
  // Don't forget to break all lines with a ^
  // When you do not place a ^ at the end of all the message, the
  // message will not repeat

  message     = "phpbb Türkiye^" +
                "Sitemize Hos Geldiniz.^" +
                "Türkiyenin Tek^" +
                "Paylasim Platformu^" +
                "by Canver Software, ^" +
                "^"
  scrollSpeed = 75
  lineDelay   = 2500

  // Do not change the text below //

  txt         = ""

  function scrollText(pos) {
    if (message.charAt(pos) != '^') {
      txt    = txt + message.charAt(pos)
      status = txt
      pauze  = scrollSpeed
    }
    else {
      pauze = lineDelay
      txt   = ""
      if (pos == message.length-1) pos = -1
    }
    pos++
    setTimeout("scrollText('"+pos+"')",pauze)
  }

  // Unhide -->
scrollText(0)
//]]>
</script><!-- END OF SCRIPT -->

Bu Gibi javascript kodlarını RC1 Nasıl Uygalarız Yardımcı Olursanız sevinirim...

ÖRNEK SAYFA
PHPbb 3 RC5 Release Candidate Duyuruldu,Vatana Millete Hayırlı Olsun...Not: Son sürüme çok yakşaltık.:)Sanırım...
perfectman
kullanıcı
kullanıcı

İleti: 25
Kayıt: 04 Haz 2007 13:20
İsim: serkandiker
HTML: İyi
CSS: Orta
PHP: Başlangıç
phpBB3: Orta
Sürüm: phpBB3.RC5

 

Re: javascript Kod Ekleme Yardım

İleti ALEXIS 13 Haz 2007 13:17

styles/prosilver/template/overall_header.html
ALEXIS
kullanıcı
kullanıcı

Kullanıcı avatarı

İleti: 2867
Kayıt: 03 Arl 2006 08:57
Konum: İstanbul
İsim: Sevdin Filiz
HTML: Çok iyi
CSS: Çok iyi
PHP: İyi
phpBB3: Çok iyi
Sürüm: phpBB 3.0.3-RC1

Re: javascript Kod Ekleme Yardım

İleti perfectman 13 Haz 2007 14:06

Kod: Tümünü seç
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!--
   phpBB style name: prosilver
   Based on style:   prosilver (this is the default phpBB3 style)
   Original author:  Tom Beddard ( http://www.subBlue.com/ )
   Modified by:     
   
   NOTE: This page was generated by phpBB, the free open-source bulletin board package.
         The phpBB Group is not responsible for the content of this page and forum. For more information
         about phpBB please visit http://www.phpbb.com
-->

<script type="text/javascript">
// <![CDATA[
   var jump_page = '{L_JUMP_PAGE}:';
   var on_page = '{ON_PAGE}';
   var per_page = '{PER_PAGE}';
   var base_url = '{BASE_URL}';
   var style_cookie = 'phpBBstyle';
   var onload_functions = new Array();
   var onunload_functions = new Array();

   <!-- IF S_USER_PM_POPUP -->
      if ({S_NEW_PM})
      {
         window.open('{UA_POPUP_PM}', '_phpbbprivmsg', 'height=225,resizable=yes,width=400');
      }
   <!-- ENDIF -->

   /**
   * Find a member
   */
   function find_username()
   {
      <!-- IF UA_FIND_USERNAME -->
      window.open('{UA_FIND_USERNAME}', '_usersearch', 'height=500, resizable=yes, scrollbars=yes, width=740');
      <!-- ENDIF -->
      return false;
   }

   /**
   * New function for handling multiple calls to window.onload and window.unload by pentapenguin
   */
   window.onload = function()
   {
      for (i = 0; i <= onload_functions.length; i++)
      {
         eval(onload_functions[i]);
      }
   }

   window.onunload = function()
   {
      for (i = 0; i <= onunload_functions.length; i++)
      {
         eval(onunload_functions[i]);
      }
   }

// ]]>
//<![CDATA[
  <!-- Hide from old browsers

  // All you have to do is put another text in the variable message.
  // Don't forget to break all lines with a ^
  // When you do not place a ^ at the end of all the message, the
  // message will not repeat

  message     = " ^" +
                "^" +
                "^" +
                "^" +
                " ^" +
                "^" +
            "^"
  scrollSpeed = 75
  lineDelay   = 2500

  // Do not change the text below //

  txt         = ""

  function scrollText(pos) {
    if (message.charAt(pos) != '^') {
      txt    = txt + message.charAt(pos)
      status = txt
      pauze  = scrollSpeed
    }
    else {
      pauze = lineDelay
      txt   = ""
      if (pos == message.length-1) pos = -1
    }
    pos++
    setTimeout("scrollText('"+pos+"')",pauze)
  }

  // Unhide -->
scrollText(0)
//]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

Sağol Abi teşekkür ederim ...
PHPbb 3 RC5 Release Candidate Duyuruldu,Vatana Millete Hayırlı Olsun...Not: Son sürüme çok yakşaltık.:)Sanırım...
perfectman
kullanıcı
kullanıcı

İleti: 25
Kayıt: 04 Haz 2007 13:20
İsim: serkandiker
HTML: İyi
CSS: Orta
PHP: Başlangıç
phpBB3: Orta
Sürüm: phpBB3.RC5

Re: javascript Kod Ekleme Yardım

İleti endemik.tr.cx 16 Haz 2007 13:09

styles/prosilver/template/overall_header.html ye ekleyip kaydetsemde hiç bir değişiklik olmuyor.nedeni ne olabilir acaba.
endemik.tr.cx
kullanıcı
kullanıcı

İleti: 6
Kayıt: 16 Haz 2007 12:44
İsim: muzaffer
HTML: Orta
PHP: Orta
phpBB3: İyi
Sürüm: phpBB3.RC1

Re: javascript Kod Ekleme Yardım

İleti perfectman 16 Haz 2007 13:25

Web tarayıcısı olarak firefox appy safari ve türevi bir tarayıcı kullanıyorsan bu tarayıcılar sayfayı hızlı açmak için sayfadaki java kodlarını çalıştırmayabilir.Microsoft Internet Explorer Kullanıyorsan Cookies,Prefetch Klasöründeki Dosyalardan dolayı Olabilir.
F:\Documents and Settings\??????\Cookies
F:\WINDOWS\Prefetch
Veya
cache dosyasını sıfırlanmamasından dolayı Olur.
İyi Çalışmalar.
PHPbb 3 RC5 Release Candidate Duyuruldu,Vatana Millete Hayırlı Olsun...Not: Son sürüme çok yakşaltık.:)Sanırım...
perfectman
kullanıcı
kullanıcı

İleti: 25
Kayıt: 04 Haz 2007 13:20
İsim: serkandiker
HTML: İyi
CSS: Orta
PHP: Başlangıç
phpBB3: Orta
Sürüm: phpBB3.RC5

Re: javascript Kod Ekleme Yardım

İleti endemik.tr.cx 16 Haz 2007 13:56

çok teşekkürler.sorunum çözüldü
endemik.tr.cx
kullanıcı
kullanıcı

İleti: 6
Kayıt: 16 Haz 2007 12:44
İsim: muzaffer
HTML: Orta
PHP: Orta
phpBB3: İyi
Sürüm: phpBB3.RC1


Tema Sorunlar & Yardım


Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir