با گذاشتن این کد , وقتی کاربر وارد وبلاگ بشه اول باید اسمش یا پرسش شما را جواب بده.
کد بیشتر جنبه ی سرگرمی داره.
جوابیم که میده , برای شما ثبت نمیشه
بیشتر به درد وبلاگ های سرگرمی یا عاشقونه میخوره
خودتونم میتونید از داخل کد پرسشش رو عوض کنید
کد:
<!-- Start of Hello Visitor JavaScript--><!-- DESCRIPTION: This will ask the user for his/her name, then tell them WELCOME. INSTRUCTIONS: Place this script below the BODY tag, before you start the content of your page. FUNCTIONALITY: Works in both Netscape and IE.--><SCRIPT LANGUAGE="JavaScript">//Modified by CoffeeCup Software //This code is Copyright (c) 1998 CoffeeCup Software //All rights reserved. License is granted to a single user to //reuse this code on a personal or business Web Site. <!-- {var name = prompt ('نام شما چیست','');document.write("<CENTER><FONT FACE=ARIAdL,VERDANA COLOR="+color+" SIZE=5>Welcome To Web Designer "+name+".</FONT><HR NOSHADE WIDTH=450></CENTER><P>")}//--></SCRIPT><!-- End of Hello Visitor JavaScript -->