I’m working on a simple program that allows the user to enter one of three genres using a prompt box, confirm it with with another pop-up, and then receive a URL relating to their subject.
When I get to the final step, though, the program displays the text that introduces the link, and then stalls. The pointer turns into an hourglass and never changes back, and the link never shows up.
The program works as long as I use placeholder text instead of a link.
Here’s the relevant code (I think):
[code]
if (genre==”Zelda”)
{
document.write(zeldaLink.link(“http://www.zreomusic.com”))
}
else if (genre==”Steampunk”)
{
document.write(“Testing2″)
}
else if (genre==”Harry Potter”)
{
document.write(zeldaLink.link(“http://www.zreomusic.com”))
}