Forum Moderators: travelin cat
It is our "Printer Friendly Version" and "Email Story to a Friend" links. When the user clicks on them, nothing happens.
I've searched all over for known issues like this with no luck. Any ideas?
[edited by: jhubb at 4:40 pm (utc) on Nov. 9, 2004]
Firstly, you might want to consult the Terms of service [webmasterworld.com] for the forum which does not permit the posting of personal URLs. If you can, edit your post the remove the link, otherwise a moderator will do it for you.
It's an interesting conundrum: as CGI scripts run server-side, there is nothing with the browser which would affect their operation. However, if the link doesn't function in one particular browser, it may be something in the surrounding markup which is affecting the link operation. Is the problem on one particular page, or on every page of the site?
Also, have you tried validating your HTML [validator.w3.org]?
I haven't validated the page, to be honest, because the whole dang thing would be invalid! I just took over as the webmaster for this newspaper and the previous person wasn't too clean with his code. I'm not even going to attempt to clean it up except where problems present themselves because the site is too huge and I have too many daily duties. We will be redesigning in early 2006, so I'll start with a clean slate then.
Good point about the code surrounding the link, but I can't see an issue with it:
<A href="/cgi-bin/printstory.cgi">Printer Friendly Version</A>
unless one browser doesn't like the way the path is called...
Thanks again!
If you build a test page locally with the original markup, does the link work? If not, try removing chunks of markup one at a time until you can try to identify the culprit. Also, does the mouse cursor change when you hover over the link (with the page name showing in the status bar), or does the link appear to be "inactive"?
Incidentally, the same thing happens to him when he tries to use the "Print This" and "Email This" features on a sister website which uses different scripts. However, he says that the same features on the New York Times website works for him... And I can't tell any difference between the three's markup.
There could also be javascripts as part of the returned page which are incompatible with Mac IE 5... If you'd care to sticky me a link, I'm up for helping. :)
<added>
Or change CGI scripts! :)
</added>