Menu
I have just added the following script to a page, and it makes all the animated gifs freeze every time it is called. I think this indicates I need ‘return false’ and ‘return true’ statements in there, but I don’t know where to put them. There is another Javascript (from an online library) on the page which runs successfully and causes me no problems.
Thanks for your help.
The Script:
function acceptTerms(URL)
{
var r=confirm(“I have read and understood the website Copyright Notice.”)
if (r==true)
{
window.location=(URL)
}
else
{
alert(“No dice.”)
}
}