Google video modu Ekleme

SMF 1.X.X 1 Comment »

source/Subs.php yi aç

BUL

?Download Download.txt
1
2
3
4
5
 array(
				'tag' => 'green',
				'before' => '<span style="color: green;">',
				'after' => '</span>',
			),

ÖNCESİNE EKLE

?Download Download.txt
1
2
3
4
5
6
7
8
9
10
11
12
 array(
				'tag' => 'google_video',
				'type' => 'unparsed_commas_content',
				'test' => '\d+,\d+\]',
				'content' => '<object width="$2" height="$3"><param name="movie" value="http://video.google.com/googleplayer.swf?docId=$1" ></param><embed src="http://video.google.com/googleplayer.swf?docId=$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
 
 
				'validate' => create_function('&$tag, &$data, $disabled', '
					if (isset($disabled[\'url\']))
						$tag[\'content\'] = \'$1\';'),
				'disabled_content' => '<a href="$1" target="_blank">$1</a>',
			),

Read the rest of this entry »

smf’ye Google video modu Ekleme

SMF 1.X.X No Comments »

source/Subs.php yi aç

BUL

?Download Download.txt
1
2
3
4
5
 array(
				'tag' => 'green',
				'before' => '<span style="color: green;">',
				'after' => '</span>',
			),

ÖNCESİNE EKLE

?Download Download.txt
1
2
3
4
5
6
7
8
9
10
11
12
 array(
				'tag' => 'google_video',
				'type' => 'unparsed_commas_content',
				'test' => '\d+,\d+\]',
				'content' => '<object width="$2" height="$3"><param name="movie" value="http://video.google.com/googleplayer.swf?docId=$1" ></param><embed src="http://video.google.com/googleplayer.swf?docId=$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
 
 
				'validate' => create_function('&$tag, &$data, $disabled', '
					if (isset($disabled[\'url\']))
						$tag[\'content\'] = \'$1\';'),
				'disabled_content' => '<a href="$1" target="_blank">$1</a>',
			),

Read the rest of this entry »

SMF’de Alıntı yaparken resimlere izin verme

SMF 1.X.X No Comments »

Alıntı yaparken resimlere izin verme işlemini yapmak için
Style.css‘de

BUL

?Download Download.txt
1
 /* A code block - maybe even PHP ;). */

Read the rest of this entry »

Mors alfabesi Kodları

JavaScript No Comments »

Mors alfabesi

<html>

 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
 <title>Mors Alfabe'si</title>
 </head>

 <body>

 <SCRIPT LANGUAGE="JAVASCRIPT">
 <!--

 var charCodes=new Array(36); charCodes["a"]=". _";
 charCodes["b"]="_ . . .";
 charCodes["c"]="_ . _ .";
 charCodes["d"]="_ . .";
 charCodes["e"]=".";
 charCodes["f"]=". . _ .";
 charCodes["g"]="_ _ .";
 charCodes["h"]=". . . .";
 charCodes["i"]=". .";
 charCodes["j"]=". _ _ _";
 charCodes["k"]="_ . _";
 charCodes["l"]=". _ . .";
 charCodes["m"]="_ _";
 charCodes["n"]="_ .";
 charCodes["o"]="_ _ _";
 charCodes["p"]=". _ _ .";
 charCodes["q"]="_ _ . _";
 charCodes["r"]=". _ .";
 charCodes["s"]=". . .";
 charCodes["t"]="_";
 charCodes["u"]=". . _";
 charCodes["v"]=". . . _";
 charCodes["w"]=". _ _";
 charCodes["x"]="_ . . _";
 charCodes["y"]="_ . _ _";
 charCodes["z"]="_ _ . .";
 charCodes["1"]=". _ _ _ _";
 charCodes["2"]=". . _ _ _";
 charCodes["3"]=". . . _ _";
 charCodes["4"]=". . . . _";
 charCodes["5"]=". . . . .";
 charCodes["6"]="_ . . . .";
 charCodes["7"]="_ _ . . .";
 charCodes["8"]="_ _ _ . .";
 charCodes["9"]="_ _ _ _ .";
 charCodes["0"]="_ _ _ _ _";
 var temp=''

 function encode() {
 document.morsecode.chars.value=document.morsecode.chars.value.toLowerCase();
 document.morsecode.codebox.value="Yazılan Metin   ";
 temp=''
 var chars=document.morsecode.chars.value.split("");

 for (a=0; a<chars.length; a++) {
 if (chars[a]!=" ") {
 if (window.charCodes[chars[a]]) {
 document.morsecode.codebox.value+=charCodes[chars[a]]+"    ";
 temp+=chars[a]+"="+charCodes[chars[a]]+"\n";
 }
 else
 temp+=chars[a]+"=(None)\n";
 }
 else temp+="\n";
 }
 document.morsecode.codebox.value+="\n\n\nAÇIKLAMA:\n\n"+temp

 }
 // -->
 </SCRIPT>

 <FORM NAME="morsecode">
 Herhangi bir metni <b>mors</b> alfabesine çevirin:&nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="TEXT" NAME="chars" size="28" value="İmdat">
 <INPUT TYPE="button" VALUE="Kod'la" onClick="encode()"><BR>Unutmayınız ki; mors
 alfabesinde <b>Türkçe</b> olmadığına dikkat edin. <BR>
 <TEXTAREA NAME="codebox" cols="50" rows="10" style="width:70%" wrap="virtual"> </TEXTAREA><br>
 <INPUT TYPE="button" VALUE="   Kopyala   " onClick="document.morsecode.codebox.select(); document.execCommand('Copy');alert('(CTRL), V ile yapıştırabilirsiniz'); ";>
 <input type="button" value="Bana Mail Atın" onclick="parent.location='mailto:kayahantemiz@gmail.com'">

 </FORM>

 </body>
 </html>
Toplam 3 sayfa, 1. sayfa gösteriliyor.123
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Giriş