FRDB Archives

Freethought & Rationalism Archive

The archives are read only.


Go Back   FRDB Archives > Archives > Religion (Closed) > Biblical Criticism & History
Welcome, Peter Kirby.
You last visited: Yesterday at 03:12 PM

 
 
Thread Tools Search this Thread
Old 09-25-2007, 12:20 PM   #1
Veteran Member
 
Join Date: May 2005
Location: Midwest
Posts: 4,787
Default Testimonium Flavianum interface.

I have just blogged about a couple of pages on my site. One of them is an interface page that lets you select which two Testimonium witnesses to set side by side for comparison or contrast.

I love JavaScript.

Ben.
Ben C Smith is offline  
Old 09-26-2007, 11:13 AM   #2
Veteran Member
 
Join Date: Mar 2003
Location: Calgary, Alberta Canada
Posts: 2,612
Default

In Firefox (Ubuntu), the interface page doesn't work, though I suppose that could be something I've screwed with at some point but shouldn't have.

ETA
It doesn't work in Epiphany, Opera or Konqueror either. Oh Ben, please tell me you haven't committed the most egregious of sins--creating a page that only works in IE!

And here I thought you were cool
Rick Sumner is offline  
Old 09-26-2007, 11:32 AM   #3
Contributor
 
Join Date: Mar 2002
Location: nowhere
Posts: 15,747
Default

Quote:
Originally Posted by Rick Sumner View Post
In Firefox (Ubuntu), the interface page doesn't work, though I suppose that could be something I've screwed with at some point but shouldn't have.
It didn't work in my Firefox (Windows) either.


spin
spin is offline  
Old 09-26-2007, 01:49 PM   #4
Veteran Member
 
Join Date: May 2005
Location: Midwest
Posts: 4,787
Default

Quote:
Originally Posted by Rick Sumner View Post
In Firefox (Ubuntu), the interface page doesn't work, though I suppose that could be something I've screwed with at some point but shouldn't have.

ETA
It doesn't work in Epiphany, Opera or Konqueror either. Oh Ben, please tell me you haven't committed the most egregious of sins--creating a page that only works in IE!
Yes, apparently I did just that.

I have tracked the problem (so far as Firefox is concerned, at any rate) to my use of the innerHTML property. True, this property has been deprecated in the standards, but Firefox was supposed to support it anyway.

Let me add here and now that deprecating the incredibly useful property innerHTML is just evil. Take a look at the kind of thing you have to do without it:
function dynamiccontentNS6(elementid,content){
if (document.getElementById && !document.all){
rng = document.createRange();
el = document.getElementById(elementid);
rng.setStartBefore(el);
htmlFrag = rng.createContextualFragment(content);
while (el.hasChildNodes())
el.removeChild(el.lastChild);
el.appendChild(htmlFrag);
}
}
That is ugly and ungainly compared to:
document.getElementById('elementid').innerHTML= content;
Quote:
And here I thought you were cool
This probably says a lot more about what you regard as cool than about how cool I may or may not be.

Give me a bit to change the page around, then it should all work fine in Firefox and Mozilla. Not sure about Opera and the other browsers, since I do not have them installed on my system.

Ben.

ETA: My mistake again. Firefox does still support the innerHTML property. The problem must have been the way I constructed my if statement to account for browsers that still use document.all. At any rate, I can still fix it.
Ben C Smith is offline  
Old 09-26-2007, 02:09 PM   #5
Veteran Member
 
Join Date: Nov 2003
Location: Eagle River, Alaska
Posts: 7,816
Default

Quote:
Originally Posted by Ben C Smith View Post
This probably says a lot more about what you regard as cool than about how cool I may or may not be.
He certainly must have missed your use of a quote from The X-Files!
Amaleq13 is offline  
Old 09-26-2007, 02:17 PM   #6
Veteran Member
 
Join Date: May 2005
Location: Midwest
Posts: 4,787
Default

Quote:
Originally Posted by Amaleq13 View Post
Quote:
Originally Posted by Ben C Smith View Post
This probably says a lot more about what you regard as cool than about how cool I may or may not be.
He certainly must have missed your use of a quote from The X-Files!


I admit, I love that show. Which may seem odd considering that I am not even remotely an adherent to conspiracy theories, unidentified flying object sightings, or cryptozoology.

Ben.
Ben C Smith is offline  
Old 09-26-2007, 02:19 PM   #7
Veteran Member
 
Join Date: May 2005
Location: Midwest
Posts: 4,787
Default

Okay, the page is working for me in Firefox now. I would certainly appreciate anyone telling me how it is acting in Opera, Safari, or other browsers.

My bad for not testing it out in browsers other than IE before uploading it.

Ben.
Ben C Smith is offline  
Old 09-26-2007, 02:32 PM   #8
Veteran Member
 
Join Date: Mar 2003
Location: Calgary, Alberta Canada
Posts: 2,612
Default

Works like a charm in Epiphany and Opera. Great resource, thanks for this

Quote:
Originally Posted by Ben C. Smith
This probably says a lot more about what you regard as cool than about how cool I may or may not be.
Geek is in, baby. Geek is in.
Rick Sumner is offline  
Old 09-26-2007, 04:35 PM   #9
Veteran Member
 
Join Date: May 2005
Location: Midwest
Posts: 4,787
Default

Quote:
Originally Posted by Rick Sumner View Post
Works like a charm in Epiphany and Opera.
Excellent. Thanks for checking.

Quote:
Great resource, thanks for this
No problem.

Ben.
Ben C Smith is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -8. The time now is 05:14 AM.

Top

This custom BB emulates vBulletin® Version 3.8.2
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.