SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
-
Jan 10, 2007, 10:45 #1
- Join Date
- Sep 2005
- Posts
- 28
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Javascript Anthology - table sorting doesn't work in opera
Hey gang,
I was just wondering if anyone knows why the sort_tables_by_columns.js code from the Javascript Anthology does not work in Opera (tested v 9.10). It seems to work fine in every other browser i throw it at.
I would post code excerpts, but i don't want to step on the authors' toes. What i can say is that the problem seems to be related to adding the anchor tag to column headers. I've checked the opera standards compliance table (http://www.opera.com/docs/specs/opera9/) and it appears to support all of the functions in the sort_tables_by_columns.js code.
Thanks
-john
-
Jan 10, 2007, 12:47 #2
- Join Date
- Oct 2005
- Location
- South Dakota
- Posts
- 215
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
anyway we can see what you have in action?
Did I help you?
You can repay me, support one of my projects (no money needed):
JavaScript Wiki, Another Web Forum, Paranormal Site
-
Jan 10, 2007, 12:53 #3
- Join Date
- Sep 2005
- Posts
- 28
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Absolutely. Any insight you can offer is much appreciated.
http://flyffline.johnmoriconi.com/?browse=weapons
-
Jan 10, 2007, 12:53 #4
- Join Date
- Mar 2001
- Posts
- 3,537
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I would post code excerpts, but i don't want to step on the authors' toes.
-
Jan 10, 2007, 13:14 #5
- Join Date
- Dec 2006
- Location
- Prague
- Posts
- 210
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
var version = parseFloat(agent.recplace(/.*opera[\/ ]([^ $]+).*/, "$1"));
-
Jan 10, 2007, 13:33 #6
- Join Date
- Sep 2005
- Posts
- 28
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ahhhh, so simple, boy am i a fool! lol, thanks Mirek! i can't believe i missed that. I probably would have found it, but i tried the same code downloaded from the book's code archive and it bombed out, too. It still does- i tried it again just to be certain. Must have something to do with the fact that opera was opening that file from the local filesystem rather than http.
Thanks again!
-
Jan 10, 2007, 13:41 #7
- Join Date
- Dec 2006
- Location
- Prague
- Posts
- 210
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
There is a javascript console in Opera, in latest version it is called error console under Tools -> Advanced -> Error console
Bookmarks