Thursday, 22 December 2011

bUaT AlErT mEssAgE

Harikato dan assalamualaikum...
hehe...now,i want to show you all to make an alert message that can make on opening blog,on closer blog or both of that..it is very easy as easy as an ABC...like this below pictures..okey!!!

      
LOG IN-DESIGN-ADD GADGET-HTML/JAVA SCRIPT

 Just for opening blog...copy paste this code below this code....find this code first <head>:

          <SCRIPT language='JavaScript'>alert(&quot;Welcome To My Blog&quot;);</SCRIPT>


just for closer blog....copy paste this code below this code....find this code first <head>:


          <script type='text/javascript'>
          // goodbye alert
          function goodbye(){
          alert(&#39;Thanks For Visit&#39;);
          }
         parent.window.onunload=goodbye;
         </script>

if you want both of that you have to copy paste both of that code below this code <head>...ok

*the word that blue in colour change with your own word okey...


No comments :

Post a Comment