Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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

more options

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?

Okulungisiwe ngu cor-el

All Replies (7)

more options

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.

more options

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?

more options

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

more options

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.

more options

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.

more options

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.

more options

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>