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 am using some online reporting pages from my company's web site. After logging in the related pages, I cannot click on the links that produce the reports. The links seem just as plain texts, and non-clickable. When I open the same pages in IE8, there is no problem. The links work and reports are generated. I've looked at the security settings from options menu, but found nothing. How can I make Firefox trust this site and work properly?

Note: The web pages are in asp format, and the links are supposed to open the reports in Crystal Report Viewer. There are also some Flash graphs in some pages, and they don't work either.

Source code of one frame:

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    function go_there(url)
    {
        window.open(url + '&prompt0=1&prompt1=' +  [..]);
    }
</SCRIPT>

[..]

<td style="cursor:hand; [..]"
    onclick="go_there('/webreports/[..]/dpp_zmo_bayi_dd.rpt?apsuser=[..]');">
  <img [..] src="[..]">  Envanter inceleme linki (zmo_bayi_dd)
</td>

After logging into the site, Error Console displays the following errors:

Err1

Err2

Err3

After opening the problematic page, the following errors are displayed:

Err4

Err5

Finally, when I click on the links (although they don't look like links), these error messages are created:

Err6

share|improve this question
    
Could the problem come from this JavaScript? –  Mehper C. Palavuzlar Oct 26 '09 at 10:27
    
Do you have any FF addon installed like noScript or AdBlock ? which can block scripts or frames ? –  secureBadshah Oct 26 '09 at 10:42
    
Simple question, to be sure: how is Firefox behaving in general ? Do you use it on sites using javascript, frames, etc ? Typically, SuperUser would display a red "recommendation" on top, if your javascript was disabled, not working, or something. –  Gnoupi Oct 26 '09 at 10:49
    
I use Firefox all the time with lots of sites and I don't have a problem like this. –  Mehper C. Palavuzlar Oct 26 '09 at 11:22
    
I have AdBlock installed, but I disabled it for company's web site. I also have Greasemonkey and it is disabled as default. I enable it when necessary. –  Mehper C. Palavuzlar Oct 26 '09 at 11:24

4 Answers 4

up vote 4 down vote accepted
style="cursor:hand; [..]"

The standards for CSS cursor do not define "hand", and hence that value is only understood by some browsers (like Internet Explorer, and in Safari if no strict DOCTYPE is set). Firefox doesn't support it.

So: bad design by the creators of the site. However, the CSS only defines how things are shown; clicking in your source code sample should still work, even though the mouse pointer might not indicate something is clickable!

function go_there(url)
{
    window.open(url
      + '&prompt0=1&prompt1='
      + parent.detail.ust.form1.donem.value, [..]
    );
}
Error: parent.detail.ust.form1 is undefined  
Error: parent.ust.form1 is undefined

Too bad, this is caused by the way the web site tries to get information from the other frames. Maybe the things named "detail" and "ust" just don't exist and Internet Explorer ignores that. Or maybe this is just non-standard, IE-only. Bad implementation.

(I'm sure someone could create a Greasemonkey script to replace the CSS hand on the fly, as a workaround. Some script might also fix the bad JavaScript, but as IE works I guess that's a bit too much.)

share|improve this answer
    
This seems to be the correct answer. Thank you very much indeed, and thanks all friends who tried to help. –  Mehper C. Palavuzlar Oct 26 '09 at 19:20
    
Clicking is possible in IE, but in Firefox it's just plain text with no chance to click on. –  Mehper C. Palavuzlar Oct 26 '09 at 19:23
    
So, it's not solved then...? The CSS does not stop one from clicking. It's just that the mouse pointer does not indicate things are clickable. –  Arjan Oct 26 '09 at 19:24
    
Not solved but I strictly think that the problem comes from the code design. Sorry if I misunderstood as I am not a web design expert. –  Mehper C. Palavuzlar Oct 26 '09 at 19:35
    
The CSS only defines how things are shown; it should not have an effect on how things behave... So, maybe the wrong CSS is the reason why things are shown as non-clickable, but clicking itself is handled by "JavaScript", which looks all right to me. –  Arjan Oct 26 '09 at 19:37

Take a look at the Source (Right click -> View Source)

Search for the text of one of the links, and see if it has <a href='url'>The text goes here</a> sort of tagging. If it doesn't, firefox is not the problem here.

share|improve this answer
    
There is no sort of tagging as you stated above. What does it mean? –  Mehper C. Palavuzlar Oct 26 '09 at 11:25
    
I disagree: an image with an onclick javascript trigger can function equally well as a link. –  harrymc Oct 26 '09 at 17:55
    
Indeed it can, however it was clearly stated the link appears as plain text :P –  Phoshi Oct 26 '09 at 18:22
    
@Phoshi: but they should still be clickable. –  harrymc Oct 27 '09 at 9:09
    
Yes they should. –  Phoshi Oct 27 '09 at 10:53

I'd guess that the built in popup blocker is being fired. This is a pretty weird way to make a link, and I wouldn't be surprised if it's blocked.

Fx should show a message saying that the popup has been blocked, but you may have clicked a "never show this again" type message at some point... Check the settings to see if you can reset warnings.

share|improve this answer
    
I checked it but popups are allowed. I really don't understand why Firefox behaves like this. The only possibility I can think of is company's web pages are only compatible with IE. I am not, of course, sure of it. –  Mehper C. Palavuzlar Oct 26 '09 at 19:09

Im guessing this is a caching problem? How does the URL look like when your at a page where links doesnt work? Firefox will automatically turn the URL into wyciwyg://yourUrlHere.com

You can read more about What You Cache Is What You Get and find out how it may affect you.

share|improve this answer
    
The URL looks like normal, in http format. –  Mehper C. Palavuzlar Oct 27 '09 at 9:36

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.