Is there a way to incorporate this line:
onclick='alert("There are a number of slides in our presentation, so please allow a few moments for the images to load"'
into this code:
Enjoy our <a onclick="return openInfo('HTML/slideshow.html');topWindow()"; href="slideshow.html">Slideshow</a>
What we have here is this: When the "Slideshow" link is clicked, a popup window loads which contains a slideshow script.
If I do this configuration:
onclick='alert("There are a number of slides in our presentation, so please allow a few moments for the images to load"';"return openInfo('HTML/slideshow.html');topWindow()";
then the alert does comes up, however when the alert box is dismissed, the slide show loads into the parent window, rather than the popup.
If I do this:
onclick="return openInfo('HTML/slideshow.html');topWindow()";'alert("There are a number of slides in our presentation, so please allow a few moments for the images to load"';
Then I get the popup fine, but no alert at all. What we'd like to have is first the alert, then the popup.
I suppose that it is likely a case of choosing one or the other, but wanted to check for some authoritative opinions...