Jump to content

simple hyperlink not working in IE, but is working in Chrome


hedgehog90

Recommended Posts

Not really much else to explain.

Here's the site I own: www.gpstudios.com/index.php

Below the news blog is a Twitter feed.

There is a link in the twitter feed - http://bit.ly/7KuPKM, that when hovered over by the mouse is "http://www.gpstudios.com/%22http://bit.ly/7KuPKM%22" in internet explorer.

In google chrome however, it is simply http://bit.ly/7KuPKM.

 

So. what's going on? How do I fix it for internet explorer?

 

Any help much appreciated.

Link to comment
Share on other sites

It's happening in Firefox as well hedgehog.  I'm guessing you're running html_entities() or something on the values pulled from twitter?  As the browser is outputting this as the URL:

 

<a href="http://twitpic.com/xor4p">http://twitpic.com/xor4p</a>

 

When obviously that should be:

 

<a href="http://twitpic.com/xor4p">http://twitpic.com/xor4p</a>

Link to comment
Share on other sites

Worked it out.

if you view the source of where i extract the data on twitter (http://search.twitter.com/search.atom?q=from:gp_studios&rpp=1), you'll see it has used &quots, &gts and &lts.

My function extract the data was already replacing &lts and &gts, but not &quots.

I added it in and it now works perfectly.

Thanks for pointing me in the right direction :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.