HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


ocPortal main page, javascript issues

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#24610 (In Topic #5851)
Avatar

Fan in training

Hi all.

Maybe the issue is on my end, but on the main page ( http://www.ocportal.com ), the "Just a few of ocPortal's features" section doesn't work.

I am using Firefox 1.5.0.7
I can get it to work if I switch to IE.

The section uses an image map, with javascript links.  Since many of the people that will be viewing any site I make will be using either Firefox or Safari (it's for an engineering student group), I need it to be as cross-platform compatible as possible.

So what's the issue?

If you can think of something on my end, let me know, but I already have all javascript turned on.

Thanks,

Graham
 
Back to the top
 
Posted
Rating:
#24611
Avatar

Honoured member

 Same here, i have everything fully updated..


*edit*

Seems to be FF specific… Internet exterminator works

:D  Dont shoot the messenger!!  :D

How many of you believe in telekinesis? Raise my hand.

Chris Graham said

I guess a warning in your line of work tends tomean 'run for cover'. Fortunately it's not so severe when it comes to computers ;).
Back to the top
 
Posted
Rating:
#24613
Avatar

Honoured member

 According to the Javascript console in FireFox:

"urchintracker is not defined"
http://www.ocportal.com     Line:103


(below is translated because my FF says it in dutch)
Unkown Setting "filter" Declaration ignored
http://www.ocportal.com   Line:0

:D  Dont shoot the messenger!!  :D

How many of you believe in telekinesis? Raise my hand.

Chris Graham said

I guess a warning in your line of work tends tomean 'run for cover'. Fortunately it's not so severe when it comes to computers ;).
Back to the top
 
Posted
Rating:
#24614
Avatar

Fan in training

 Yeah, I'm fully updated as well, including any extensions.

But yes, I tried IE, which worked.  That's what confuses me most.  If ocPortal is fully standards-compliant, and Firefox is fully standards-compliant, then what's the issue?

I figure it's because IE will occasionally "overlook" problems in code.  But that doesn't help me much, especially if these sort of javascript links are common in ocPortal.

EDIT:  Indeed?  Perhaps this javascript issue is causing FF to stop processing javascript on the page?
Back to the top
 
Posted
Rating:
#24616
Avatar

Thanks for pointing this out!

In fact, the problem here is actually Firefox is not standards compliant in this case. It requires the 'name' attribute to be used on the 'map' tag in place of the 'id' attribute, however 'name' is deprecated in favour of 'id'.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#24617
Avatar

Fan in training

 Gotcha.

You seem to know what the problem is, then.  That's good.  Hopefully it will get fixed on your end.
Back to the top
 
Posted
Rating:
#24618
Avatar

I just did some research. They have a whole discussion about it:

https://bugzilla.mozilla.org/show_bug.cgi?id=109445

Interesting reading, if you like to see pedants verses pragmatists battle it out ;).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#24619
Avatar

Fan in training

Sounds like Firefox fans, alright. :P
Back to the top
 
Posted
Rating:
#24644
Avatar

Well-settled

Personally I dislike FF, I rapidly grew tired of the 'tabs' thing and the fact many websites simply don't work with it properly.

It is somewhat ludicrous to build a browser then demand the web adjust to suit - they should just build the thing to work, on current websites. If they cannot do that, quite making browsers.

In addition I uninstalled the thing, then later decided to install it if only to check my own sites - and the thing won't reinstall, probably because it left register entries behind or something.

In a fit of pique I actually tried to set one site to flick to a screen saying "You have a pants browser, get a real one like IE"

Then found the page didn't work in FF! It goes loopy at trademark symbols.. Plus I wasn't quite sure how to get the thing to change upon browsers in real time rather than after, but no, I cannot recommend it.

By all means use it but quit complaining if some websites don't work with it. Blame your browser, not the website.

Harsh? Yeah.


D.

Back to the top
 
Posted
Rating:
#24664
Avatar

Community saint

How come I do not see this issue?

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#24665
Avatar

dateofbirth said

It is somewhat ludicrous to build a browser then demand the web adjust to suit - they should just build the thing to work, on current websites. If they cannot do that, quite making browsers.

That's like saying that teachers at schools should accept papers written in all dialects of all known languages and mark them perfectly. If you want the school to run well, you've got to lay down standards (for example, Queen's English) by which everybody can work.

IE does not conform to the standards set down by the W3C for web page markup, but since it has the majority market share, many websites have "fixes" applied to get them to work in IE. The solution is not for other browsers to support these "fixes", but for other browsers to set an example, and encourage proper use of the established standards.

Back to the top
 
Posted
Rating:
#24667
Avatar

Well-settled

When the peeps at WC3 produce the world's most popular computer operating system and the world's most popular internet browser I'll listen to em more closely.

(Target case notwithstanding)


D
Back to the top
 
Posted
Rating:
#24669
Avatar

dateofbirth said

When the peeps at WC3 produce the world's most popular computer operating system and the world's most popular internet browser I'll listen to em more closely.

Actually, Microsoft have cleaned up a lot of their IE bugs for IE7, and so when it comes out, many of the websites which are "broken" in Firefox will also be "broken" in IE.

Back to the top
 
Posted
Rating:
#24670
Avatar

Well-settled

It wouldn't suprise me it MS haven't covered that in some way, they're good at maintaining compatibility.

I'll bet you my remaining 23 points that compliant and non-compliant sites will work with IE7 :)

But right now I just want to fix my quiz

*looks pointedly at the quiz thread*

:D

D
Back to the top
 
Posted
Rating:
#24671
Avatar

Community saint

 

Philip said

dateofbirth said

It is somewhat ludicrous to build a browser then demand the web adjust to suit - they should just build the thing to work, on current websites. If they cannot do that, quite making browsers.
That's like saying that teachers at schools should accept papers written in all dialects of all known languages and mark them perfectly. If you want the school to run well, you've got to lay down standards (for example, Queen's English) by which everybody can work.

IE does not conform to the standards set down by the W3C for web page markup, but since it has the majority market share, many websites have "fixes" applied to get them to work in IE. The solution is not for other browsers to support these "fixes", but for other browsers to set an example, and encourage proper use of the established standards.
  Ya some of the mods I made for IPB I had to rewrite so they would look fine in IE.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#24673
Avatar

Honoured member

If yopu just use IE, i will continue to use FF.. IE is so targeted by scriptkiddie's and other malicious persons that i'll just stick with the tabs.. Rather then having pages links open in new instances…

:D  Dont shoot the messenger!!  :D

How many of you believe in telekinesis? Raise my hand.

Chris Graham said

I guess a warning in your line of work tends tomean 'run for cover'. Fortunately it's not so severe when it comes to computers ;).
Back to the top
 
Posted
Rating:
#24674
Avatar

Community saint

ya I only use Firefox. I hate IE. I only use it to make sure the page I am working on works in it.
For me when every I even open IE I feel as if I have to have the computer behind as many firewalls as I can get.
Infact when I am using windows with IE I have it behind 2 sonicwalls, 1 router with a built in fire wall and a software firewall.
On my linux box I only have it behind the router its built in firewall.
I remember when my bank opened up online banking and it was not Firefox compatible and I sent them a nice note, I was not happy though.

I have been using non IE browsers ever since I started using a computer.
The first PC I had, was not even a windows machine and it had os2 or some thing like it on it.
Second computer that did have windows I used either neoplanet or netscape.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#24692
Avatar

dateofbirth said

When the peeps at WC3 produce the world's most popular computer operating system and the world's most popular internet browser I'll listen to em more closely.

(Target case notwithstanding)


D

Tell that to the US Department Of Justice, who convicted Microsoft for using anti-competitive practices to make IE the most popular Internet Browser. I could accept the argument that Windows is the best OS today, but back in 95 it wasn't (OS/2 is widely considered to have been superior), and the only reason that became 'most popular' was due to business deals.
So establishing that Microsoft's product popularity is based on business dealings and not quality, leads this to purely be a matter of business deals, and thus any judgment must be placed within a framework of business, not quality or popularity.

Microsoft have left huge unambiguous bugs in Internet Explorer for 5 years, with no attempt to fix them. These aren't just concerns to standards advocates, they are very real problems that make it difficult to develop websites. They could easily have been fixed. Microsoft also made no effort to advance the Internet once they had beaten down the competition.

I declare that the only reason to favour Internet Explorer is the fact that it is a default for people. It has no other relative merit (IE7 has tabs by the way), and the fact that it is default has been demonstrated illegal in a court of law.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#24696
Avatar

Fan in training

 Thing is, most sites look just as good or better in FF than in IE.  The ones that don't are the ones using either IE-specific things (ActiveX) or badly-written code.

Sometimes the code is badly written because "that's how IE does it".  Sometimes the code is just plain badly written, but IE brushes over some things that would normally break the browser.

In any case, the improved security is the main reason I use it.  I also use tabbed browsing a lot.

But as for why I design for it, well, it and Opera are two of the only web browsers that are available on all major platforms (Linux, Mac, and PC).  And Opera is occasionally bad for standards as well.

But the two default browsers for mac and PC (Safari and IE) are the worst for supporting standards.

IE 7 should improve a lot of these issues.  I don't know a lot about it, but it should bring IE a lot further in line with the existing standards.  And yes, it probably will still display the incorrect code properly, but so what?  It'll still help standards evolve.

This is because once all browsers are compatible with the same set of standards, those standards will become the norm.  Professional sites will do things the proper way, as that now means it will work fine in all browsers.  By doing things to standards, it will mean less work for the web developer, who will no longer need to "patch" a site to work with different browsers (be they FF or IE).

Amichan: You don't see the problem because it has been fixed.

The issue was using the 'id' variable (which is xml syntax) in a file designated as html (which uses the 'name' variable).  Supposedly, FF handles this correctly when the mime type is correct, but I don't know.  In any case, it was fixed by including both the 'id' and 'name' variables in the expression.
Back to the top
 
Posted
Rating:
#24704
Avatar

Well-settled

Well I won't get into a law and economics debate - but it is my hobby to debate law and economics and as such this would rapidly become a slug-fest, not a support forum :)

(But I have to say, Number One undisputed champion of the the planet, does NOT equal "bad business practises"! Microsoft's 'crime' was not paying enough in "lobbying expenses")

But I digress…


D
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Expand