I'm building a frontpage web site and I'm testing it in http://frontpage.sobrenatural.net
) that will allow my visitors to click on a link an see and print a new document with just the text that I have included between <div id="printReady"> and </div> tags. In my computer it works perfectly, it opens a new document and writes the contents of those tags. But now that I've published using MS FrontPage 2003, it doesn't seem to work. In fact, when I click on the print script link it opens a new windows and my browser freezes. I also tried it on two other computers here and it freezes the Internet Explorer Browser and the Avant Browser in them.
At firs, I thought the problem was the Frontpage Web Bot counter that I put in them (to check how many times each of my articles have been read), but I move one of them outside of the <div> tag in this page (http://frontpage.sobrenatural.net/contenido/secciones/curanderismo/articulo-1.htm
) and the problem persists.
Since my web site is in spanish language, I'm giving you the urls you may visit to reproduce the error. If you navigate to (http://frontpage.sobrenatural.net/contenido/secciones/index.htm
), you should see some text that reads "Lista de Todos los Artículos disponibles:", under it, you should see a list of several pages. Please click on any of them and when it opens, you'll see the article. Now please scroll down and on the left margin you should see a box that reads "Opciones" and then an icon with a printer with the label "Imprime este artículo". That's the link to the script, but the actual script is in a separate file that you may download here (http://frontpage.sobrenatural.net/js/printready.js
So, as you may see, the problem is that I can't seem to figure out why this script does not work after it has been published, but it do work on my local hard drive.
A word of CAUTION: If you click on the "Imprime este artículo" link, your browser will open a new window that may freeze all of your browser's windows. You may have to shut down your browser enterely and reload it again.
By the way, I'm not a professional web developer, I'm just a humble studio photographer with a lot of spare time ;-)
I will appreciate any help on this. Thanks in advance.