Click to See Complete Forum and Search --> : Sentence rows in Alerts


tijnes
01-08-2008, 07:25 AM
Hey

I didn't knew how to make a proper thread title so sorry ;)
I have a little HTML question about alert boxxes.

I Have the following alert code on my webpage:
Click (http://tijnes.eu/pics/script.jpg)

But, it'll show the message like this:

The picture area is deleted!<br>For picture please visit my myspace profile -> myspace.com/mvtijnes

And I want it to get like this:
The picture area is deleted!
For picture please visit my myspace profile.
myspace.com/mvtijnes

Is that possible? And how?

thnx!

scragar
01-08-2008, 07:31 AM
use \n for a new line.


http://html.megalink.com/programmer/jstut/jsTabChars.html has a nice list of what you can do using the leftslash, good things to know.