Jump to content

Photo

How do I make a message box appear if on a website?


  • Please log in to reply
1 reply to this topic

#1 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Location:North America

Posted 24 March 2017 - 04:55 PM

I searched online alot for alot of stuff
but I still would like some programming help
please, thanks.
 
 

How do I code if on a particular part of
a website a message box with text shows
up that a person must click on OK to remove it?
 
 

^ You can use the text
''This message board's rules thread link''
or the link to this message board's rules
as an example in coding.
 
 

Thank you in advance - Jason


#2 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 24 March 2017 - 05:19 PM

You can make an alert box show up using Javascript with

alert("This is an alert!");

 

If you want it to show up immediately when you arrive at the page, you could do this:

<body onload="alert('Alert on load!')">

  • LikeLike888 likes this


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users