::: در حال بارگیری لطفا صبر کنید :::Loading , please wait ...

انجمن کدستانMoisrex

MoisrexMoisrex.rozblog.com
زمان جاریtime : جمعه 22 تیر 1403 - 8:13 قبل از ظهر
نام کاربریusername : پسوردpassword : یاor عضویتregister | رمز عبور را فراموش کردمForgot your password?
شما در سایت ما ثبت نام نکرده اید و یا وارد اکانت کاربری خود نشده اید. از شما خواهشمند هستیم You are not log in to site. Please وارد شویدlogin یاor ثبت نام کنیدregister .
کد که با بردن موس روی نوشته تغییر می کند
تعداد بازدیدvisits : 235
ahmadreza آفلاین



ارسال هاAnswers : 138
عضویتRegistration date : 9 /6 /1391
حمایت کردهThanks : 13
حمایت شدهThanked : 39
کد که با بردن موس روی نوشته تغییر می کند

کد:
<script>

// CREDITS:

// Free JavaScript: Dynamic change of linktexts onMouseOver

// by Urs Dudli and Peter Gehrig

// Copyright (c) 2010 Peter Gehrig and Urs Dudli. All rights reserved.

// Permission given to use the script provided that this notice remains as is.

// Additional scripts can be found at http://www.fabulant.com/fast/index.html

// IMPORTANT:

// If you add this script to a script-library or a script-archive

// you have to insert a link to http://www.fabulant.com/fast/index.html

// right into the webpage where the script will be displayed.

var oldtext

var newtext

var newlink

function shownewtext(thislink,thistext) {

newlink=eval("document.getElementById('"+thislink+"')")

newtext=thistext

oldtext=newlink.childNodes[0].nodeValue

newlink.childNodes[0].nodeValue=thistext;

}

function showoldtext() {

newlink.childNodes[0].nodeValue=oldtext;

}

</script>

<a href="http://www.yourdomain.com" id="any_link_id" onMouseOver="shownewtext(this.id,'Thank you very much')" onMouseOut="showoldtext()">Change this text</a>

زندگی ، مثل سکه هست که یکبار خرجش می کنیم.
زندگی مثل دیکته هست ، غلط می نویسیم و پاک می کنم . امّاغافل از اینکه یدفعه می گن وقت تما م شد.
شنبه 18 شهریور 1391 - 09:07
ارسال پیامsend p.m. نقل قولReply سپاس گزارمThanks گزارشReport
حمایت شده حمایت شدهThanks : سپاس هاThanks (1) : ehsan6168 -
admin آفلاین


مدیریت

ارسال‌هاAsnwers : 7209
عضویتRegistration date : 18 /10 /1390
حمایت کردهthanks : 4361
حمایت شدهThanked : 3281
پاسخAnswer 1 : کد که با بردن موس روی نوشته تغییر می کند

بفرمایید این کدش هست.

کد:
<script>

// CREDITS:

// Free JavaScript: Dynamic change of linktexts onMouseOver

// by Urs Dudli and Peter Gehrig

// Copyright (c) 2010 Peter Gehrig and Urs Dudli. All rights reserved.

// Permission given to use the script provided that this notice remains as is.

// Additional scripts can be found at http://www.fabulant.com/fast/index.html

// IMPORTANT:

// If you add this script to a script-library or a script-archive

// you have to insert a link to http://www.fabulant.com/fast/index.html

// right into the webpage where the script will be displayed.

var oldtext

var newtext

var newlink

function shownewtext(thislink,thistext) {

newlink=eval("document.getElementById('"+thislink+"')")

newtext=thistext

oldtext=newlink.childNodes[0].nodeValue

newlink.childNodes[0].nodeValue=thistext;

}

function showoldtext() {

newlink.childNodes[0].nodeValue=oldtext;

}

</script>

<a href="http://www.yourdomain.com" id="any_link_id" onMouseOver="shownewtext(this.id,'Thank you very much')" onMouseOut="showoldtext()">Change this text</a>

می تونی برای گذاشتن کد اول همون دکمه کد رو بزنی بعد بری قسمت سورس و بین دو کلمه code ، کد خودتو بذاری تا اینجوری نشه.


!Whatever you DISRESPECT, you'll never have the ability to ACCESS
شنبه 18 شهریور 1391 - 09:10
وب کاربرUser's blog ارسال پیامSend p.m. نقل قولReply سپاس گزارمThanks گزارشReport
حمایت شده حمایت شده: سپاس هاThanks (2) : ehsan6168 - mohamad_77 -



moisrex
درباره ماAbout us لینک های ماOur links کلمات کلیدیKeywords
انجمن تخصصی کدستان ، ساخته شده توسط فردی با نام مستعار Moisrex می باشد.This forum designed by a person who called Moisrex.

ایمیلE-mail : Moisrex @ Gmail.com
کدستان,انجمن کدستان,کدنویسی,انجمن پشتیبانی,فروم,رزبلاگ,آموزش کدنویسی,درخواست کد
تمامی حقوق این انجمن مربوط به همین انجمن می باشد | طراحی قالبCopyright (c) By Moisrex , All rights reserved | Desiger : Moisrex