X
Tap here to go to the mobile version of the site.

Support Forum

a href is not working in firefox, the text is not clickable. It only becomes clickable and works when i inspect the element.

Posted

So in this segment of code:

<table style="width:100%">
<tr>
<td> <div class="projectsLink"> 	<p class="one"><a href="undergraduate.html"  onclick="location.href='undergraduate.html'" > Undergraduate Studies </a> </p> </td>  
<td> 							<p class="one"><a href="postgraduate.html" onclick="location.href='postgraduate.html'" > Postgraduate Studies </a></p> </td>  
 <td>							<p class="one"><a href="research.html" onclick="location.href='research.html'"> Research </a> </p> </td> 
</div>
</tr> 

the href are not working. The text is not made clickable when i hover and does nothing when i click. I've tried resetting Firefox, checked there are no proxies but nothing's changed. In Google chrome they work fine.

Can anyone suggest a solution?

So in this segment of code: <pre><nowiki><table style="width:100%"> <tr> <td> <div class="projectsLink"> <p class="one"><a href="undergraduate.html" onclick="location.href='undergraduate.html'" > Undergraduate Studies </a> </p> </td> <td> <p class="one"><a href="postgraduate.html" onclick="location.href='postgraduate.html'" > Postgraduate Studies </a></p> </td> <td> <p class="one"><a href="research.html" onclick="location.href='research.html'"> Research </a> </p> </td> </div> </tr> </nowiki></pre> the href are not working. The text is not made clickable when i hover and does nothing when i click. I've tried resetting Firefox, checked there are no proxies but nothing's changed. In Google chrome they work fine. Can anyone suggest a solution?

Modified by cor-el

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

More Information

FredMcD
  • Top 10 Contributor
4254 solutions 59574 answers

In order for a link to be click-able, the program has to recognize it as a link. Most links start with WWW, HTTP, HTTPS.

In order for a link to be click-able, the program has to recognize it as a link. Most links start with WWW, HTTP, HTTPS.
jscher2000
  • Top 10 Contributor
8757 solutions 71650 answers

Helpful Reply

This site doesn't do well with HTML code. I think you posted:

<p class="one"><a href="undergraduate.html" onclick="location.href='undergraduate.html'" > Undergraduate Studies </a> </p> <p class="one"><a href="postgraduate.html" onclick="location.href='postgraduate.html'" > Postgraduate Studies </a></p> <p class="one"><a href="research.html" onclick="location.href='research.html'"> Research </a> </p>

One common reason for this problem is that Firefox does not let you click through a transparent element to a link behind/below it. And for the same reason, hovering over that part of the transparent element doesn't show a pointer.

If you right-click the link > Inspect Element (Q) can you see whether a different element is highlighted in the Inspector? If so, that's the element blocking access to the link.

If you don't see any problem, is this a page you can provide a link to, i.e., one doesn't need an account to access it?

This site doesn't do well with HTML code. I think you posted: &lt;p class="one">&lt;a href="undergraduate.html" onclick="location.href='undergraduate.html'" > Undergraduate Studies &lt;/a> &lt;/p> &lt;p class="one">&lt;a href="postgraduate.html" onclick="location.href='postgraduate.html'" > Postgraduate Studies &lt;/a>&lt;/p> &lt;p class="one">&lt;a href="research.html" onclick="location.href='research.html'"> Research &lt;/a> &lt;/p> One common reason for this problem is that Firefox does not let you click through a transparent element to a link behind/below it. And for the same reason, hovering over that part of the transparent element doesn't show a pointer. If you right-click the link > Inspect Element (Q) can you see whether a different element is highlighted in the Inspector? If so, that's the element blocking access to the link. If you don't see any problem, is this a page you can provide a link to, i.e., one doesn't need an account to access it?
cor-el
  • Top 10 Contributor
  • Moderator
17516 solutions 158398 answers

Helpful Reply

Note that the page code includes raw code in a div.content-raw that you can use in cases like this.

Note that the page code includes raw code in a div.content-raw that you can use in cases like this.
jscher2000
  • Top 10 Contributor
8757 solutions 71650 answers

Hi cousma, you can ignore this reply.

cor-el said

Note that the page code includes raw code in a div.content-raw that you can use in cases like this.

Yes, I find it very handy for copying posts from locked threads in the original wikitext format.

Hi cousma, you can ignore this reply. ''cor-el [[#answer-739910|said]]'' <blockquote> Note that the page code includes raw code in a div.content-raw that you can use in cases like this. </blockquote> ''Yes, I find it very handy for copying posts from locked threads in the original wikitext format.''

Question owner

Hi jscher2000, when i right click the link for expample Undergraduate Studies and inspect the element, i see the <a onclick="location.href='undergraduate.html'" > Undergraduate Studies </a> so i guess this is the correct element.

I am not sure what do you mean by: "is this a page you can provide a link to, i.e., one doesn't need an account to access it?"
but if instead of the < a href="postgraduate.html" onclick="location.href='postgraduate.html'">  i try the <a href="https://www.google.com"  onclick="location.href='https://www.google.com'" >

It only works when i am in the "inspect element mode" and then the link Undergraduate Studies and the other two become clickable and hitting them direct me in the page requested.

I think it is a problem with the Firefox. Does anyone know another way of doing it? I just want to be directed in an .html page by clicking the links. Just so simple as that.

Hi jscher2000, when i right click the link for expample Undergraduate Studies and inspect the element, i see the <a onclick="location.href='undergraduate.html'" > Undergraduate Studies </a> so i guess this is the correct element. I am not sure what do you mean by: "is this a page you can provide a link to, i.e., one doesn't need an account to access it?" but if instead of the < a href="postgraduate.html" onclick="location.href='postgraduate.html'"> i try the <a href="https://www.google.com" onclick="location.href='https://www.google.com'" > It only works when i am in the "inspect element mode" and then the link Undergraduate Studies and the other two become clickable and hitting them direct me in the page requested. I think it is a problem with the Firefox. Does anyone know another way of doing it? I just want to be directed in an .html page by clicking the links. Just so simple as that.

Question owner

Just a continuation of the previous post: but if instead of the < a href="postgraduate.html" onclick="location.href='postgraduate.html'"> i try the <a href="https://www.google.com" onclick="location.href='https://www.google.com'" > it doesn't work either.

Just a continuation of the previous post: but if instead of the < a href="postgraduate.html" onclick="location.href='postgraduate.html'"> i try the <a href="https://www.google.com" onclick="location.href='https://www.google.com'" > it doesn't work either.
jscher2000
  • Top 10 Contributor
8757 solutions 71650 answers

cousma said

I am not sure what do you mean by: "is this a page you can provide a link to, i.e., one doesn't need an account to access it?"

I meant, if you want to post a link to the page that has this problem, feel free to do that, but if it is only accessible to a person with an account on the site, so volunteers here couldn't see it, then never mind.

cousma said

Just a continuation of the previous post: but if instead of the < a href="postgraduate.html" onclick="location.href='postgraduate.html'"> i try the <a href="https://www.google.com" onclick="location.href='https://www.google.com'" > it doesn't work either.

Maybe the script is the problem. How about eliminating that since it doesn't seem to add anything anyway:

<a href="postgraduate.html">Postgraduate</a>

''cousma [[#answer-740032|said]]'' <blockquote> I am not sure what do you mean by: "is this a page you can provide a link to, i.e., one doesn't need an account to access it?"</blockquote> I meant, if you want to post a link to the page that has this problem, feel free to do that, but if it is only accessible to a person with an account on the site, so volunteers here couldn't see it, then never mind. ''cousma [[#answer-740034|said]]'' <blockquote> Just a continuation of the previous post: but if instead of the < a href="postgraduate.html" onclick="location.href='postgraduate.html'"> i try the <a href="https://www.google.com" onclick="location.href='https://www.google.com'" > it doesn't work either. </blockquote> Maybe the script is the problem. How about eliminating that since it doesn't seem to add anything anyway: <code>&lt;a href="postgraduate.html">Postgraduate&lt;/a></code>