JavaScript Funky

Allows a player to compare their character with other characters

Moderator: Rihlsul

Character Compare addon

Postby Diska » Fri Sep 08, 2006 7:26 pm

Absolutely awesome! Worked right out of the box for me!

So far I've discovered one error: I can't use the tabs for talents, reputation etc. This is with Firefox and Konquerer (both Linux versions). Haven't tried with IE or Firefox/windows yet.

And one suggestion: When you select a name or profession for the right tab, it would be nice if the corresponding radio button would be automatically selected (saves a click, yes, I'm lazy :D )

If you're curious what it looks like on my site: http://www.unbridled.eu (or direct link without the iframe: http://www.unbridled.eu/roster )
Last edited by Diska on Fri Sep 08, 2006 7:29 pm, edited 1 time in total.
User avatar
Diska
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 179
Joined: Tue Jul 04, 2006 2:05 pm

Character Compare addon

Postby Rihlsul » Fri Sep 08, 2006 7:57 pm

Interesting... alrighty, I'll have to grill you on some JavaScript info. Since you're a Linux user, is it safe to assume you can get me any errors from your JavaScript console when trying to hit the various tabs?

I'll take a gander at defaulting the radio checks. :)
Rihlsul,
Guild Leader of The Dirty Hordes
User avatar
Rihlsul
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 125
Joined: Tue Jul 04, 2006 8:27 pm

JavaScript Funky

Postby Diska » Tue Sep 12, 2006 6:06 pm

Sure, no problem at all.

The errors I get with the following URL:
http://www.unbridled.eu/roster/addon.ph ... rofsearch=

are as follows:

Error: Unknown property 'Filter'. Declaration dropped.
Source File: http://www.unbridled.eu/roster/css/styles.css
Line: 2555

Error: Expected ',' or '{' but found '-->'. Ruleset ignored due to bad selector.
Source File: http://www.unbridled.eu/roster/addons/g ... efault.css
Line: 1

These errors appear at load time. When I try to click on the tabs I get the following error (btw, the mouse cursor does change as it should when I mouse over the tabs):

Error: hideElem is not defined
Source File: http://www.unbridled.eu/roster/addon.ph ... rofsearch=
Line: 264
User avatar
Diska
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 179
Joined: Tue Jul 04, 2006 2:05 pm

JavaScript Funky

Postby Rihlsul » Wed Sep 13, 2006 12:15 am

Ah, oki. 3 issues is a start. :)

The first, 'Filter' one is a Roster error brought to you via IE/Mozilla incompat's. That one luckily is not our culprit.

#2 is a CSS issue in GearBrowser I'll have to investigate.

#3 "hideElem is not defined" is more the issue. I'll check out what it isn't doing right.
Rihlsul,
Guild Leader of The Dirty Hordes
User avatar
Rihlsul
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 125
Joined: Tue Jul 04, 2006 8:27 pm

Re: JavaScript Funky

Postby Samadhi » Thu Oct 26, 2006 7:08 pm

I did some digging since I'm having the same issue and it appears that there's a missing bit of javascript on the index page.

The demo on your site makes a call to profile-script.js that I think must be missing in the uploaded addon.

I modified index.php to call the missing javascript and the tabs are now working
Image
User avatar
Samadhi
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Mon Jul 17, 2006 10:38 pm
Location: NJ, USA


Return to Gear Browser

Who is online

Users browsing this forum: No registered users and 0 guests

cron