Sunday, May 4, 2008

How to add a Message Box

This is a guide on how you can be able to add an alert message the moment your blog loaded. This is very useful if you want to greet your readers before they proceed in reading your blog contents, provide information, or warn the readers before they view the full contents of your site.


► Under the Layout tab select Page Elements and add a HTML/JavaScript page element
► Copy and paste the code below
► Change the line "Enter your message here" with the your own set of message just like in my example output I've change it to "You are about to enter Blogging tips for Starters". feel free to experiment.


<script type="text/javascript">
alert('Enter your message here')
</script>
<noscript>Enable javascript in your browser to view an important message.</noscript>

0 comments: