Jump to content

Pop Up message


Caroline Worboys

Recommended Posts

Has anybody produced any code that creates a pop up word on a site such as a 'word of the week' or 'Tip of the week?' …. and if not, would anybody like to produce one :)

We would like a self-appearing/disappearing word or statement to pop up in a site or planner (via widget) and was thinking maybe it could take information from an excel file that has the words/tips plus the dates they need to be shown?

Apologies if this already exists. If it does, can somebody send me details

Thanks in advance

Caroline

Link to comment
Share on other sites

We actually have a modal preset, but i've not been able to find the code today to dig it out.  I'll look again tomorrow.  This should be quite simple - provided it's just text you want.

The more features (links, styling etc...) the hard it becomes, but still possible.

 

Link to comment
Share on other sites

A quick win would be to stick in a HTML widget and add something like....

 

<script>

alert("I am an alert box!");

// prompt, used if you want the user input

var person = prompt("Please enter your name", "Harry Potter");

// pops OK or Cancel to proceed

var r = confirm("Press a button");
    
</script>

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...