Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have 4 links setup the same exact way, except for the obvious part that they each go to different websites. And instead of clicking on a hyperlink, it is an image. 3 of the 4 are working just fine, except for the 4th. When it is clicked on, the page loads up but then keeps refreshing over and over again. After a few attempts of clicking on stop, it will finally quit. The only other difference is that this link is to a website that we have internally, but was working before until we did a recent upgrade on our main host system. What would cause this and how can I fix it? Below is an example of the link, just changing the HREF for confidentiality purposes.

 PRINT "<TD BGCOLOR=#FFFFFF VALIGN=center HALIGN=BOTTOM>"
 NEWLINE
 PRINT "<A HREF='http://myserver/thetarget/' target='NEW_page4'>"
 NEWLINE
 PRINT "<img SRC='jmfa.jpg'"
 NEWLINE
 PRINT "border=0 alt='John Doe'></a></TD>"
 NEWLINE

Correction: I thought this was happening only after our update to our main host, but was able to go back into our old host database and duplicate the same problem.

share|improve this question
    
The HTML code looks fine. Can you visit http://myserver/thetarget/ directly from the address bar? If not, you probably have a redirect loop. –  sudo Oct 25 '12 at 20:20
    
@Dennis Yes, if I open a browser and manually type in the target link, it comes up just fine. –  C-dizzle Oct 25 '12 at 21:15
    
Still, I fail to see how the linking page could be at fault. There must be some redirect loop or auto-refresh, possibly referer-dependent. Without being able to visit the site and/or see the source code (if it's dynamically generated), it will be quite difficult to help you. –  sudo Oct 25 '12 at 23:10

1 Answer 1

up vote 0 down vote accepted

I was able to fix this by changing the target='NEW_page4' to target='_blank'

Not sure why it would have caused this problem since other links were setup the same way, but I was able to fix it!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.