كارت dvb , كارت دي وي بي , دی وی بی , رسيور , رسیور
| |
اين يك بخش از موضوع کدهای جاوا اسکریپت است كه در انجمن ساير سيستمها و اسكريپتها مطرح گرديده و اين انجمن نيز زير مجموعهي سیستم های مدیریت سایت و محتوا است: هنوز ادامه دارد ..............
| ثبت نام | پست جدید | All Albums | Blogs | راهنما | فهرست کاربران | تقویم | جستجو | ارسالهاي امروز | نشانه گذاري انجمن ها به عنوان خوانده شده |
| | ||||||||
| اطلاعيههاي سايت |
|
| LinkBack | ابزارهای موضوع |
| | #12 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 11 کد منوی کشویی لینک که با کلیک بلافاصله وارد لینک شودکد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'> <!-- ClickJump LinkBox Change the VALUES to your links! --> <!-- When the User selects an item, it will automatically jump to that link. --> <CENTER> <FONT FACE="VERDANA, ARIAL">Select an item:</FONT><BR> <FORM> <SELECT NAME="clicklist" onChange="top.location.href=this.form.clicklist.options[this.form.clicklist.selectedIndex].value"> <OPTION selected> Click Here <OPTION VALUE="http://www.khafankadeh.7p.com/">Webloger Website <OPTION VALUE="http://www.netscape.com">Netscape <OPTION VALUE="http://www.microsoft.com">Microsoft <OPTION VALUE="http://www.infoseek.com">Infoseek </SELECT><P> </FORM> </CENTER> | ||
| |
| | #13 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 12 کد منوی کشویی لینک که با اسکرول نیز وارد لینک می شودکد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
<!-- Start Of Drop Down Links ****** -->
<!-- Consolidate a bunch of links to a simple drop down menu -->
<!-- Instructions: Just put this in your page where you want to display links. -->
<!-- ****** supplied with CoffeeCup HTML Editor -->
<!-- www.khafankadeh.7p.com -->
<****** language="JavaScript">
function CC_go(form) {var myindex=form.dest.selectedIndex
window.open(form.dest.options[myindex].value, target="_parent", "toolbar=yes,scrollbars=yes,location=yes"); }
</******>
<form name="CC_LinkForm">
<select name="dest" SIZE=1>
<option selected value="">Places to go
<option value="http://www.webloger.5u.com/">Webloger Website
<option value="http://home.cnet.com/">CNET
<option value="http://www.tucows.com">Tucows
</select>
<P>
<input type="button" value="Link Me!" onClick="CC_go(this.form)">
</form>
<!-- End Of Drop Down Links ****** -->
| ||
| |
| | #14 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 13 کد منوی کشوی لینک پس از انتخاب و زدن دکمه وارد لینک شودکد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
<!-- Start Of Drop Down Box Scroll ****** -->
<!-- When you make a selection from the list, all the choices scroll -->
<!-- Instructions: Just put this ****** anywhere on your webpage where you want cool links. -->
<!-- Does not display in IE -->
<center>
<****** LANGUAGE="JavaScript">
<!--
var sid="mitnamdliw_wildmantim";
function selectaplace(form) {
var appname= navigator.appName;
var appversion=parseInt(navigator.appVersion);
if (appname == "Netscape" && appversion >= 3){
var formindex=form.select1.selectedIndex;
var storage=form.select1.options[formindex].text;
if (form.select1.options[formindex].value != "none") {
var msg=storage+" You are now being teleported to -> "+storage;
for (var spot=0;spot<msg.length-storage.length;spot++) {
var x=msg.substring(spot,msg.length);
form.select1.options[formindex].text=x;
for(var d=0;d<150;d++) { };
}
document.location=form.select1.options[formindex].value;
form.select1[formindex].text=storage;
} else {
form.select1[formindex].text="Not a real option!";
for(var d=0;d<1250;d++) { };
form.select1[formindex].text=storage;
}
}
else {
var formindex=form.select1.selectedIndex;
document.location=form.select1.options[formindex].value;
} }
function makeMyMenu() {
document.write ('<form><select name="select1" onChange="selectaplace(this.form)" size=1>');
document.write ('<option value=http://www.khafankadeh.7p.com>khafan Website');
document.write ('<option value=http://www.andyart.com>Andy Art');
document.write ('<option value=http://www.cnet.com>CNET');
document.write ('<option value=http://www.tucows.com>Tucows');
document.write ('<option value=http://www.winzip.com>WinZIP');
document.write ('</select>');
document.write ('</form>');
}
while(sid!="mitnamdliw_wildmantim"){};
makeMyMenu();
//-->
</******>
</center>
<!-- END OF ****** -->
<!/******>
| ||
| |
| | #15 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 14 کد یک منو بسیار زیباکد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
<!-- START OF Drop Down DHTML -->
<!-- SUMMARY BRIEFS
This DHTML ****** will create a drop down link box out of
an ordinary link. VERY COOL!!!!
The top portion of this ****** goes above the <BODY> tag.
The second portion goes where you want the drop down link
box to be.
-->
<style>
<!--
#wrapper{
position:relative;
height:30px
}
#wrapper2{
position:absolute
}
#coffeemenu03{
******:revealTrans(Duration=1.5,Transition=12)
visibility:hide
}
-->
</style></HEAD>
<BODY>
<ilayer id="coffeemenu01" height=35px>
<layer id="coffeemenu02" visibility=show>
<span id="wrapper">
<span id="wrapper2" onClick="dropit2();event.cancelBubble=true;return false">
<font face="Verdana"><b><a href="notthisbrowser.html">Click Here To Navigate</a></b></font>
</span>
</span>
</layer>
</ilayer>
<****** language="JavaScript1.2">
var enableeffect=true
var selection=new Array()
selection[0]='<font face="ARIAL BLACK"><a href="http://www.webloger.5u.com">Order Our Stuff</a><br>'
selection[1]='<a href="http://www.webloger.5u.com">Contact Us via E-mail</a><br>'
selection[2]='<a href="http://www.webloger.5u.com">Help With Our Items</a><br>'
selection[3]='<a href="http://www.webloger.5u.com">Products We Have</a><br>'
selection[4]='<a href="http://www.webloger.5u.com">Services We Offer</a><br></font>'
if (document.layers)
document.coffeemenu01.document.coffeemenu02.visibility='show'
function dropit2(){
if (document.all){
coffeemenu03.style.left=document.body.scrollLeft+event.clientX-event.offsetX
coffeemenu03.style.top=document.body.scrollTop+event.clientY-event.offsetY+18
if (coffeemenu03.style.visibility=="hidden"){
if (enableeffect)
coffeemenu03.filters.revealTrans.apply()
coffeemenu03.style.visibility="visible"
if (enableeffect)
coffeemenu03.filters.revealTrans.play()
}
else{
hidemenu()
}
}
}
function dropit(e){
if (document.coffeemenu03.visibility=="hide")
document.coffeemenu03.visibility="show"
else
document.coffeemenu03.visibility="hide"
document.coffeemenu03.left=e.pageX-e.layerX
document.coffeemenu03.top=e.pageY-e.layerY+19
return false
}
function hidemenu(){
if (enableeffect)
coffeemenu03.filters.revealTrans.stop()
coffeemenu03.style.visibility="hidden"
}
function hidemenu2(){
document.coffeemenu03.visibility="hide"
}
if (document.layers){
document.coffeemenu01.document.coffeemenu02.captureEvents(Event.CLICK)
document.coffeemenu01.document.coffeemenu02.onclick=dropit
}
else if (document.all)
document.body.onclick=hidemenu
</******>
<div id="coffeemenu03" style="position:absolute;left:0;top:0;layer-background-color:#C0C0C0;background-color:#C0C0C0;width:200;visibility:hidden;border:2px solid black;padding:0px">
<****** language="JavaScript1.2">
if (document.all)
coffeemenu03.style.padding='4px'
for (i=0;i<selection.length;i++)
document.write(selection[i])
</******>
</div>
<****** language="JavaScript1.2">
if (document.layers){
document.coffeemenu03.captureEvents(Event.CLICK)
document.coffeemenu03.onclick=hidemenu2
}
</******>
<!-- END OF Drop Down DHTML -->
| ||
| |
| | #16 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 15 کد نمایش پیام به صورت افکت کد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
<!-- START OF Message Reader DHTML -->
<!-- SUMMARY BRIEFS
This DHTML ****** will cycle through 4 different text links.
You can adjust the text and links below to meet your webpage.
IMPORTANT
Make suer that this body tag is included in your webpage. It
activates the Message Reader.
-->
<body onload="if (document.all||document.layers) {regenerate2();update()}">
<style>
<!--
#msgline{
position:relative;
layer-background-color:black;
width:400;
height:12;
}
#msgtext{
background-color:black;
position:absolute;
border: 1px solid black;
width:400;
height:12;
}
.msgtextfont{
font:bold 16px Arial;
postition:absolute;
left:5px;
text-decoration:none;
color:white;
}
.msgtextfont a{
color:white;
text-decoration:none;
}
-->
</style>
<div id="msgline">
<div id="msgtext" class="msgtextfont">Starting Messages...</div>
</div>
<****** language="JavaScript1.2">
var speed=4000
var news=new Array()
news[0]="<a href='http://www.khafankadeh.7p.com'>First line of text....</a>"
news[1]="<a href='http://www.mahmood.7p.com'>Second line of text....</a>"
news[2]="<a href='http://www.andisheh.7p.com'>Third line of text....</a>"
news[3]="<a href='http://www.javakhafan.7p.com'>Add as many as you want....</a>"
i=0
if (document.all)
tickerobject=document.all.msgtext.style
else
tickerobject=document.msgline.document
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}
function update(){
BgFade(0xff,0xff,0xff, 0x00,0x00,0x00,10);
if (document.layers){
document.msgline.document.msgtext.document.write('<span class="msgtextfont">'+news[i]+'</span>')
document.msgline.document.msgtext.document.close()
}
else
document.all.msgtext.innerHTML=news[i]
if (i<news.length-1)
i++
else
i=0
setTimeout("update()",speed)
}
function BgFade(red1, grn1, blu1, red2,
grn2, blu2, steps) {
sred = red1; sgrn = grn1; sblu = blu1;
ered = red2; egrn = grn2; eblu = blu2;
inc = steps;
step = 0;
MsgDither();
}
function MsgDither() {
var epct = step/inc;
var spct = 1 - epct;
if (document.layers)
tickerobject.bgColor =
Math.floor(sred * spct + ered *
epct)*256*256 +
Math.floor(sgrn * spct + egrn * epct)*256 +
Math.floor(sblu * spct + eblu * epct);
else
tickerobject.backgroundColor=
Math.floor(sred * spct + ered *
epct)*256*256 +
Math.floor(sgrn * spct + egrn * epct)*256 +
Math.floor(sblu * spct + eblu * epct);
if ( step < inc ) {
setTimeout('MsgDither()',50);
}
step++;
}
</******>
<!-- END OF Message Reader DHTML -->
| ||
| |
| | #17 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 16 کد به حرکت در آوردن اسکرول لاک از بالا به پایین کد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
<!-- START OF Rolling Credits DHTML -->
<!-- SUMMARY BRIEFS
This example shows how you can create a webpage
that scrolls up. The webpage must be long (vertically)
in order for the effect to work.
-->
<****** LANGUAGE="JavaScript">
<!--
var position = 0;
function scroller() {
if (position != 320) {
position++;
scroll(0,position);
clearTimeout(timer);
var timer = setTimeout("scroller()",3); timer;
}
else
{
location.replace("#");
}
}
// -->
</******>
</HEAD>
<BODY onload="scroller()">
<CENTER>
<font face="VERDANA, ARIAL" size="5" color=804040>Rolling Credits</font><p>
<font face="VERDANA, ARIAL" size="4">This ****** allows you to:
<HR WIDTH=350 NOSHADE>
<P>
www.khafankadeh.7p.com<P>
Place<P> text<P> descriptions<p>
of <P>any <P>sort<p>
and it will <P>scroll up<p>
the page <P>until its done.<p>
<P>
You can even<P>
make <A HREF="http://www.webloger.5u.com/">Links.</A><p>
Or<P>
use<P>
images.<p>
<p></font>
</CENTER>
<!-- END OF Rolling Credits DHTML -->
| ||
| |
| | #18 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 17 کدنمایش لینک به صورت منویی کد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
<!-- START OF Slide Out DHTML -->
<!-- SUMMARY BRIEFS
This DHTML ****** is an entire webpage by itself. Open it
up into a blank webpage and try it out. You can then add
your content around it. Basically, you can have 5 different
"layers" which switch when the user clicks on the appropriate
links. You can adjust the links, colors, and text below.
IMPORTANT
This example has an image. It is found in the CoffeeCup
Software folder on your hard drive.
-->
<****** LANGUAGE="JavaScript">
<!--
n = (document.layers) ? 1:0
ie = (document.all) ? 1:0
function init() {
slideoutActive = 0
if (n) {
slideout1 = document.slideoutInterface.document.slideoutContent.document.slideoutContent1
slideout2 = document.slideoutInterface.document.slideoutContent.document.slideoutContent2
slideout3 = document.slideoutInterface.document.slideoutContent.document.slideoutContent3
slideout4 = document.slideoutInterface.document.slideoutContent.document.slideoutContent4
slideout5 = document.slideoutInterface.document.slideoutContent.document.slideoutContent5
}
if (ie) {
slideout1 = slideoutContent1.style
slideout2 = slideoutContent2.style
slideout3 = slideoutContent3.style
slideout4 = slideoutContent4.style
slideout5 = slideoutContent5.style
}
slideoutShown = slideout1
slideoutShown.xpos = 0
slideoutNew = "none"
slideoutNew.xpos = -285
}
function slideout(which) {
if (!slideoutActive && slideoutShown != which) {
slideoutActive = 1
slideoutNew = which
slideoutNew.xpos = -285
slideoutLeft()
}
}
function slideoutLeft() {
if (slideoutShown.xpos > -285) {
slideoutShown.xpos -= 15
slideoutShown.left = slideoutShown.xpos
setTimeout("slideoutLeft()",30)
}
else {
hide(slideoutShown)
show(slideoutNew)
setTimeout("slideoutRight()",50)
}
}
function slideoutRight() {
if (slideoutNew.xpos < 0) {
slideoutNew.xpos += 15
slideoutNew.left = slideoutNew.xpos
setTimeout("slideoutRight()",30)
}
else {
slideoutShown = slideoutNew
slideoutActive = 0 // stops the sequence
}
}
function show(showobj) {
if (n) showobj.visibility = "show"
if (ie) showobj.visibility = "visible"
}
function hide(hideobj) {
if (n) hideobj.visibility = "hide"
if (ie) hideobj.visibility = "hidden"
}
//-->
</******>
<STYLE TYPE="text/css">
<!--
A {color:#000000; font-family:'Arial'; font-weight:bold; font-size:10pt; text-decoration:none; line-height:20pt;}
STRONG {font-family:'Arial'; font-size:15pt; font-weight:bold; line-height:25pt;}
P {font-family:'Arial'; font-size:10pt; line-height:13pt;}
TD {font-family:'Arial'; font-size:10pt; line-height:13pt;}
#slideoutInterface {position:absolute; left:50; top:50; width:400; height:250; clip:rect(0,400,250,0); background-color:#000000; layer-background-color:#000000; visibility:visible;}
#slideoutSidebar1 {position:absolute; left:5; top:5; width:100; height:30; clip:rect(0,100,30,0); background-color:#9797FF; layer-background-color:#9797FF;}
#slideoutSidebar2 {position:absolute; left:5; top:40; width:100; height:30; clip:rect(0,100,30,0); background-color:#FFFF00; layer-background-color:#FFFF00;}
#slideoutSidebar3 {position:absolute; left:5; top:75; width:100; height:30; clip:rect(0,100,30,0); background-color:#FF80C0; layer-background-color:#FF80C0;}
#slideoutSidebar4 {position:absolute; left:5; top:110; width:100; height:30; clip:rect(0,100,30,0); background-color:#00FF80; layer-background-color:#00FF80;}
#slideoutSidebar5 {position:absolute; left:5; top:145; width:100; height:30; clip:rect(0,100,30,0); background-color:#FF5353; layer-background-color:#FF5353;}
#slideoutContent {position:absolute; left:110; top:5; width:285; height:240; clip:rect(0,285,240,0); background-color:#000000; layer-background-color:#000000;}
#slideoutContent1 {position:absolute; left:0; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:visible;}
#slideoutContent2 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;}
#slideoutContent3 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;}
#slideoutContent4 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;}
#slideoutContent5 {position:absolute; left:-285; top:0; width:285; height:240; clip:rect(0,285,240,0); background-color:#DEDEDE; layer-background-color:#DEDEDE; visibility:hidden;}
//-->
</STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" onLoad="init()">
<DIV ID="slideoutInterface">
<DIV ID="slideoutSidebar1"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout1)">Contact Us</A></P></DIV>
<DIV ID="slideoutSidebar2"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout2)">Help</A></P></DIV>
<DIV ID="slideoutSidebar3"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout3)">Services</A></P></DIV>
<DIV ID="slideoutSidebar4"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout4)">Products</A></P></DIV>
<DIV ID="slideoutSidebar5"><P ALIGN=CENTER><A HREF="javascript:slideout(slideout5)">Order</A></P></DIV>
<DIV ID="slideoutContent">
<DIV ID="slideoutContent1">
<P ALIGN="CENTER"><STRONG>Contact Us</STRONG>
<P>
<TABLE BORDER=0 WIDTH=275><TD>
You can add <A HREF="http://www.webloger.5u.com"><FONT COLOR=BLUE>Links</FONT></A>.
<P>
Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11>
<P>
Or just use text to explain what you have or what you are doing.
</TD></TABLE>
</P>
</DIV>
<DIV ID="slideoutContent2">
<P ALIGN="CENTER"><STRONG>Help</STRONG>
<P>
<TABLE BORDER=0 WIDTH=275><TD>
You can add <A HREF="http://www.webloger.5u.com"><FONT COLOR=BLUE>Links</FONT></A>.
<P>
Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11>
<P>
Or just use text to explain what you have or what you are doing.
</TD></TABLE>
</P>
</DIV>
<DIV ID="slideoutContent3">
<P ALIGN="CENTER"><STRONG>Services</STRONG>
<P>
<TABLE BORDER=0 WIDTH=275><TD>
You can add <A HREF="http://www.webloger.5u.com"><FONT COLOR=BLUE>Links</FONT></A>.
<P>
Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11>
<P>
Or just use text to explain what you have or what you are doing.
</TD></TABLE>
</P>
</DIV>
<DIV ID="slideoutContent4">
<P ALIGN="CENTER"><STRONG>Products</STRONG>
<P>
<TABLE BORDER=0 WIDTH=275><TD>
You can add <A HREF="http://www.webloger.5u.com"><FONT COLOR=BLUE>Links</FONT></A>.
<P>
Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11>
<P>
Or just use text to explain what you have or what you are doing.
</TD></TABLE>
</P>
</DIV>
<DIV ID="slideoutContent5">
<P ALIGN="CENTER"><STRONG>Order</STRONG>
<P>
<TABLE BORDER=0 WIDTH=275><TD>
You can add <A HREF="http://www.webloger.5u.com"><FONT COLOR=BLUE>Links</FONT></A>.
<P>
Or images: <IMG SRC="smile.gif" BORDER=0 HEIGHT=11 WIDTH=11>
<P>
Or just use text to explain what you have or what you are doing.
</TD></TABLE>
</P>
</DIV>
</DIV>
</BODY>
</HTML>
<!-- END OF Slide Out DHTML -->
| ||
| |
| | #20 | ||
| اخراج شده | کد را در میان بادی سایت یا وبلاگ خود کپی کنید کد شماره ی 18 کد نمایش متن به صورت افکت کد: <a href='http://www.kkrcity.com' target='_blank' ><img src='http://www.kkrcity.com/logo.gif' alt='بزرگترین سایت جاوا اسکریپت ایران ' width='100' height='40' border='0'>
<!-- START OF Zoom Message DHTML -->
<!-- SUMMARY BRIEFS
This example shows how you can create a webpage
that displays lines of text that appear to be
flying out of the webpage. Our example has an image.
IMPORTANT
The image used in this example can be found in the
CoffeeCup Software folder. You do not need an image
for it to work.
-->
<!-- Style Sheet created with the CoffeeCup StyleSheet Maker++ -->
<!-- http://www.coffeecup.com -->
<style type="text/css">
body
{
background-color:#FFFFFF;
font-family: Arial;
font-size:10pt;
}
</style>
<******>
//<!--Change this text-->
text=new Array('www.','khafankade','.7p','.com','The Best Website')
//<!--This is the number of words in your message-->
var numText=5
//<!--These are the colors the last word will fade to. The first color is the main color.-->
color=new Array('#000000','#2F2F2F','#4F4F4F','#7F7F7F','#408080')
//<!--This is the total number of colors from above.-->
var numColors=5
//<!--This is the size you want the zoom to end at.-->
var endSize=70
//<!--This is the speed you want it to zoom in.-->
var Zspeed=30
//<!--This is the speed the colors will fade.-->
var Cspeed=200
//<!--This is the font of the fade in message.-->
var font='Arial Black'
//<!--This will allow you to have the message stay or go. True will make it go.
// False will make it stay.-->
var hide=false
var size=10
var gonum=0
var ie, n;
if (document.all) {
n=0
ie=1
zoomText='document.all.zoom.innerText=text[num]'
zoomSize='document.all.zoom.style.fontSize=size'
closeIt=""
fadeColor="document.all.zoom.style.color=color[num]"
}
if (document.layers) {
n=1;ie=0
zoomText=""
zoomSize="document.zoom.document.write('<p align=\"center\" style=\"font-family:'+font+'; font-size:'+size+'px; color:'+color[0]+'\">'+text[num]+'</p>')"
closeIt="document.zoom.document.close()"
fadeColor="document.zoom.document.write('<p align=\"center\" style=\"font-family:'+font+'; font-size:'+endSize+'px; color:'+color[num]+'\">'+text[numText-1]+'</p>')"
}
function zoom(num,fn){
if (size<endSize){
eval(zoomText)
eval(zoomSize)
eval(closeIt)
size+=5;
setTimeout("zoom("+num+",'"+fn+"')",Zspeed)
}else{
eval(fn);
}
}
function fadeIt(num){
if (num<numColors){
eval(fadeColor)
eval(closeIt)
num+=1;
setTimeout("fadeIt("+num+")",Cspeed)
}else{
hideIt()
}
}
function hideIt(){
if(hide){
if(ie)document.all.zoom.style.visibility="hidden"
if(n)document.layers.zoom.visibility="hidden"
}
}
function init(){
if(ie){
document.all.zoom.style.color=color[0]
document.all.zoom.style.fontFamily=font
}
if(ie || n) go(0)
}
function go(num){
gonum+=1
size=10
if(num<numText){
zoom(num,'go('+gonum+')')
}else{
fadeIt(0)
}
}
</******>
</head>
<body onload="init()" bgcolor="FFFFFF">
<CENTER> </CENTER><P>
<div id="zoom" align="center" style="position:absolute; top:150">
</DIV>
<!-- END OF Zoom Message DHTML -->
| ||
| |
| برچسب ها |
| کدهای , اسکریپت , جاوا |
| ابزارهای موضوع | |
| |
تمامي قوانين اين سايت از جمهوري اسلامي ايران پيروي مي کند و هرگونه مطالب مخالف قوانين ايران و بنر يا لينک مستهجن در اين سايت جايي ندارد