Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj18.07.2010, 11:35 (UTC)    
Mesaj konusu: Bu Kodu Düzeltirmisiniz?

Kod:
<p><code>&lt;!---&lt;head&gt; aras&amp;#305;na&nbsp; ---&gt;&lt;script type=&quot;text/javascript&quot;&gt;<br />
&lt;!-- Begin<br />
/* This script and many more are available free online at<br />
The JavaScript Source!! http://javascript.internet.com <br />
Created by: Fang :: http://tinyurl.com/7v7l8 */</code></p>
<p><code>function toggle(obj) {<br />
// Moz. or IE<br />
var sibling=(obj.nextSibling.nodeType==3)? obj.nextSibling.nextSibling : obj.nextSibling;<br />
// hide or show<br />
if(sibling.style.display=='' || sibling.style.display=='block') {<br />
&nbsp;sibling.style.display='none';<br />
&nbsp;&nbsp;&nbsp; obj.firstChild.firstChild.data='+';<br />
&nbsp;&nbsp;&nbsp; }<br />
else {<br />
&nbsp;sibling.style.display='block';<br />
&nbsp;&nbsp;&nbsp; obj.firstChild.firstChild.data='-';<br />
&nbsp;&nbsp;&nbsp; }<br />
}<br />
//<br />
function initCollapse() {<br />
var oDT=document.getElementById('content').getElementsByTagName('dt');<br />
for (var i=0; i &lt; oDT.length; i++) {<br />
&nbsp;oDT[i].onclick=function() {toggle(this)};<br />
&nbsp;&nbsp;&nbsp; var oSpan=document.createElement('span');<br />
&nbsp;&nbsp;&nbsp; var sign=document.createTextNode('+');<br />
&nbsp;&nbsp;&nbsp; oSpan.appendChild(sign);<br />
&nbsp;&nbsp;&nbsp; oDT[i].insertBefore(oSpan, oDT[i].firstChild);<br />
&nbsp;&nbsp;&nbsp; oSpan.style.fontFamily='monospace';<br />
&nbsp;&nbsp;&nbsp; oSpan.style.paddingRight='0.5em';<br />
&nbsp;&nbsp;&nbsp; oDT[i].style.cursor='pointer';<br />
&nbsp;&nbsp;&nbsp; toggle(oDT[i]);<br />
&nbsp;}<br />
oDT=null;<br />
}<br />
window.onload=function() {if(document.getElementById &amp;&amp; document.createElement) {initCollapse();}}<br />
//--&gt;<br />
&lt;/script&gt;&lt;!---&lt;head&gt; aras&amp;#305;na&nbsp; ---&gt;&lt;!---&lt;body&gt; aras&amp;#305;na&nbsp; ---&gt;<br />
&lt;div align=&quot;center&quot;&gt;<br />
&lt;dl id=&quot;content&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;dt&gt;&lt;font color=&quot;#000080&quot;&gt;<span style="background-color: #99ccff">SIK&amp;Ccedil;A SORULAN SORULAR?</span>&lt;/font&gt; &lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;dd&gt;&lt;font color=&quot;#707070&quot;&gt;<span style="background-color: #99cc00">Bu kodu kullanarak sitenize sık sorulan sorular b&amp;ouml;l&amp;uuml;m&amp;uuml;(sss) ekleyebilirsiniz!</span>&lt;/font&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/dd&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;dt&gt;&lt;font color=&quot;#000080&quot;&gt;<span style="background-color: #99ccff">BU SİTE KİM TARAFINDAN YAPILDI?</span>&lt;/font&gt; &lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;dd&gt;&lt;font color=&quot;#707070&quot;&gt;<span style="background-color: #99cc00">NEW-YOUNG</span>&lt;/font&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/dd&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;dt&gt;&lt;font color=&quot;#000080&quot;&gt;<span style="background-color: #99ccff">SIK&amp;Ccedil;A SORULAN SORULAR?</span>&lt;/font&gt; &lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;dd&gt;<span style="background-color: #99cc00">SSS EKLEYEBİLİRSİNİZ</span> &lt;/dd&gt;<br />
&lt;/dl&gt;<br />
&lt;/div&gt;<br />
&lt;!---&lt;body&gt; aras&amp;#305;na&nbsp; ---&gt;</code></p>




bu kod bozuk arkadaşlar düzeltebilirmisiniz?
Mesaj18.07.2010, 13:44 (UTC)    
Mesaj konusu:

yardım eden-ilgilenen yok mu arkadaşlar?:SSad
Mesaj18.07.2010, 14:15 (UTC)    
Mesaj konusu:

Kod:
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /><script type="text/javascript">
<!--
 function toggle(obj) {
// Moz. or IE
var sibling=(obj.nextSibling.nodeType==3)? obj.nextSibling.nextSibling : obj.nextSibling;
// hide or show
if(sibling.style.display=='' || sibling.style.display=='block') {
   sibling.style.display='none';
    obj.firstChild.firstChild.data='+';
    }
else {
   sibling.style.display='block';
    obj.firstChild.firstChild.data='-';
    }
}
//
function initCollapse() {
var oDT=document.getElementById('content').getElementsByTagName('dt');
for (var i=0; i < oDT.length; i++) {
   oDT[i].onclick=function() {toggle(this)};
    var oSpan=document.createElement('span');
    var sign=document.createTextNode('+');
    oSpan.appendChild(sign);
    oDT[i].insertBefore(oSpan, oDT[i].firstChild);
    oSpan.style.fontFamily='monospace';
    oSpan.style.paddingRight='0.5em';
    oDT[i].style.cursor='pointer';
    toggle(oDT[i]);
   }
oDT=null;
}
window.onload=function() {if(document.getElementById && document.createElement) {initCollapse();}}
//-->
</script><style type="text/css">
<!--
body{
background:#ccc;
font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size:1em;
}
--></style>
<dl id="content">
    <dt>Headline 1 </dt>
    <dd>Content 1 </dd>
    <dt>Headline 2 </dt>
    <dd>Content 2 </dd>
</dl>


Bunu deneyin..
______________
IQRAMEDIA Yakında...
Mesaj18.07.2010, 14:22 (UTC)    
Mesaj konusu:

teşekkür ederim oldu..
______________




Mesaj18.07.2010, 21:25 (UTC)    
Mesaj konusu:

kod nereye yazılacaqk
Mesaj18.07.2010, 23:43 (UTC)    
Mesaj konusu:

smackdownraw123456 yazmış:
kod nereye yazılacaqk


Istediginiz Sayfa'nin editörüne girerek Kaynak tusuna basin ve kodu ekleyin Wink
______________
IQRAMEDIA Yakında...
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu