html code for a pop up message box

Here is the html code for a pop up message box which opens on a click. In fact , this is a Click Here Text Link

If u want a pop up message box with 2 lines like the below one

Click Here

Then below is the html code for pop up message box with 2 lines.

==========================================
<a href="javascript:alert('Place your Text Here' + '\n' + 'Place your Text Here')">Pop Up for 2 lines Click Here</a>
==========================================


If u want a pop up message box with multiple lines like the below one

Click Here


Then below is the html code for pop up message box with multiple lines. Just u need to replace "Place your Text Here" with your text.

 ==========================================

<a href="javascript:alert('Place your Text Here' + '\n' + 'Place your Text Here' + '\n' + 'Place your Text Here' + '\n' + 'Place your Text Here')">Pop Up for multiple lines Click Here</a>

 ==========================================

6 comments:

Anonymous said...

thanks . help a lot buddy .

best regards .

-- megabyt9 --

Bangla Choti said...

Thanks. I'm using it successfully. Helping me to show notifications.

Anonymous said...

is there a way to change the size and shape of box?

Anonymous said...

Is there a way to change the shape and size as well as other aspects?

Anonymous said...

Is there a way to change the shape and size as well as other aspects?

Anonymous said...

Is there a way to change the shape and size as well as other aspects?