MORAD الكابتن المتألق
| موضوع: كود عبارات مشعه الخميس يناير 21, 2010 4:31 pm | |
| الكود : <</SPAN> p</SPAN> ><</SPAN> span id</SPAN> =</SPAN> "theText" </SPAN> style</SPAN> =</SPAN> "width:100%"</SPAN> > </</SPAN> p</SPAN> >
<</SPAN> p align</SPAN> =</SPAN> "center"</SPAN> ><</SPAN> font color</SPAN> =</SPAN> "#FFF9F2" </SPAN> size</SPAN> =</SPAN> "5" </SPAN>face</SPAN> =</SPAN> "Monotype Koufi"</SPAN> ><</SPAN> strong</SPAN> ></SPAN> جافا الفنان</SPAN> </</SPAN> strong</SPAN> ></</SPAN> font</SPAN> ><</SPAN> font color</SPAN> =</SPAN> "#FFF9F2" </SPAN> size</SPAN> =</SPAN> "4" </SPAN>face</SPAN> =</SPAN> "Tahoma"</SPAN> ><</SPAN> strong</SPAN> > </</SPAN> strong</SPAN> ></</SPAN> font</SPAN> ><</SPAN> font color</SPAN> =</SPAN> "#FFF9F2" </SPAN>size</SPAN> =</SPAN> "6"</SPAN> ><</SPAN> strong</SPAN> > </</SPAN> span</SPAN> ><****** </SPAN> language</SPAN> =</SPAN> "Java******"</SPAN> ><!--
</SPAN>/* جافا الفنان www.alfnnan.net */
//range of glowing </SPAN>var </SPAN> from </SPAN> = </SPAN> 3</SPAN> ; var </SPAN> to </SPAN> = </SPAN> 7</SPAN> ;
</SPAN>//speed of pulsing </SPAN>var </SPAN> delay </SPAN> = </SPAN> 85</SPAN> ;
</SPAN>//color of glow, name or RGB value (example:'#') </SPAN>var </SPAN> glowColor </SPAN> = </SPAN> "#FFBC6A"</SPAN> ;
</SPAN>//NO MORE EDITING!!! </SPAN>var </SPAN> i </SPAN> = </SPAN> to</SPAN> ; var </SPAN> j </SPAN> = </SPAN> 0</SPAN> ;
</SPAN>//can be called here or whenever you want the text to start pulsing </SPAN>textPulseDown</SPAN> ();
function </SPAN> textPulseUp</SPAN> () { if (!********.</SPAN> all</SPAN> ) return if (</SPAN> i </SPAN> < </SPAN> to</SPAN> ) { </SPAN>theText</SPAN> .</SPAN> style</SPAN> .</SPAN> filter </SPAN> = </SPAN> "Glow(Color=" </SPAN> + </SPAN> glowColor </SPAN> + </SPAN> ", Strength=" </SPAN> + </SPAN> i </SPAN> + </SPAN> ")"</SPAN> ; </SPAN>i</SPAN> ++; </SPAN>theTimeout </SPAN> = </SPAN> setTimeout</SPAN> (</SPAN> 'textPulseUp()'</SPAN> ,</SPAN> delay</SPAN> ); return </SPAN> 0</SPAN> ; }
if (</SPAN> i </SPAN> = </SPAN> to</SPAN> ) { </SPAN>theTimeout </SPAN> = </SPAN> setTimeout</SPAN> (</SPAN> 'textPulseDown()'</SPAN> ,</SPAN> delay</SPAN> ); return </SPAN> 0</SPAN> ; }
}
function </SPAN> textPulseDown</SPAN> () { if (!********.</SPAN> all</SPAN> ) return if (</SPAN> i </SPAN> > </SPAN> from</SPAN> ) { </SPAN>theText</SPAN> .</SPAN> style</SPAN> .</SPAN> filter </SPAN> = </SPAN> "Glow(Color=" </SPAN> + </SPAN> glowColor </SPAN> + </SPAN> ", Strength=" </SPAN> + </SPAN> i </SPAN> + </SPAN> ")"</SPAN> ; </SPAN>i</SPAN> --; </SPAN>theTimeout </SPAN> = </SPAN> setTimeout</SPAN> (</SPAN> 'textPulseDown()'</SPAN> ,</SPAN> delay</SPAN> ); return </SPAN> 0</SPAN> ; }
if (</SPAN> i </SPAN> = </SPAN> from</SPAN> ) { </SPAN>theTimeout </SPAN> = </SPAN> setTimeout</SPAN> (</SPAN> 'textPulseUp()'</SPAN> ,</SPAN> delay</SPAN> ); return </SPAN> 0</SPAN> ; } }
</SPAN>// --></******> </strong></font></p> | |
|
Waseem نائب المدير
| موضوع: رد: كود عبارات مشعه الثلاثاء يناير 26, 2010 3:02 am | |
| شـكــ وبارك الله فيك ـــراً لك | |
|