If it doesn't work in Fx4 beta, send a bug report.
IE6 in IE8: http://msdn.microsoft.com/en-us/libr...spx#getstarted
Printable View
If it doesn't work in Fx4 beta, send a bug report.
IE6 in IE8: http://msdn.microsoft.com/en-us/libr...spx#getstarted
Not helping much at the moment but thank you for the reference. As for the problems with firefox grabbing the contentDocument, it's more likely that I made a mistake somewhere in my element grabbing code - been using something like this:
I use the null value to leave things to the server instead.Code:var doc = document;
var get = null;
if (typeof doc.getElementById === "function") get = doc.getElementById;
else if (typeof doc.all === "function") get = doc.all;
else get = function () { return null; }
Since this part of the same site I'll post here instead of creating a whole new topic or performing a server draining search. Trying to pass an element into a function but keep getting the location. Here's the HTML I'm using (I've given up on the object element).
This is where I let the function decide if the server should handle things instead.Code:<a id="home" class="tabx" href="index.htm" onclick="site.tab(this);return false;">Home</a>
Depends how you use it; this in anchor refers to the action of the element (if there's an href) and the element itself.
this is index.htm (action)
this.id is home (object)
I see, thanks. I will adjust my script and see if I can cater for it.
Thanks, it helped a great deal even if I did have to manually remove the excess path for local loading. wdaisy.cz.cc is where I've uploaded the most recent changes if your interested.