On Fri, Sep 14, 2012 at 5:16 PM, Micky Hulse <
rgm...@gmail.com> wrote:
> I'll finish my reply over in the other thread! :D
Actually, hehe, I'll just add my thoughts to this thread. ;)
---
Howdy!
On Fri, Sep 14, 2012 at 5:10 PM, MasJ <
m4s...@gmail.com> wrote:
> Thanks for posting this followup thread. Just wanted to note that I'm facing
> the exact same issue with WC2 under IE8. I'm using tribalfusion's ads so
> maybe it's an issue with how sequential writes are handled using the simple
> api ?
In a weird sort of way, I'm happy to know that I'm not the only one
having similar issues. :D
> I'm afraid that I couldn't fix it myself otherwise I'd submit a pull
> request. Will try to look into it over the weekend.
Ditto! I think it would take several weeks of my time working with
Noah's amazing code in order for me to understand all of the inner
workings... Maybe then I could know enough to tweak the code and
submit a pull request. Heheehe. :)
So, going back to your code, I've created a bare bones example found here:
<
http://jsbin.com/iqijar>
FYI: I noticed that your current site's HTML might have a missing
closing tag of some sorts... Not sure if that would be problematic for
WC2? Unfortunately, I was not able to track down the offending piece
of markup. :(
So, as you can see, I removed that empty writeCapture.write() line...
I figured it was not doing anything useful, so I got rid of it.
I've also added an onload line... No here's the error I'm seeing:
elementwrite.js
Line: 309
Error: Unexpected call to method or property access.
Which starts at line 309:
chars: function( text ) {
if(listen('chars',text) === false) return;
if(module.debug.write) console.log('WRITE chars',text,'el:',element);
curParentNode.appendChild( doc.createTextNode( text ) ); // <---- Line 309.
},
Unfortunately, I don't know enough about TribalFusion ads to know how
things should be setup. For example, is it necessary that you call
this script:
http://tags.expo9.exponential.com/tags/Emuparadiseorg/bkpkme/tags.js
in the same WC2 statement?
Could you call that JS first, outside of any WC2 lines (i.e., maybe in
the <head>) and then just call the other bits using WC2 in footer?
For example:
<
http://jsbin.com/iqijar/4>
Hmmm, that does not appear to work. What about:
<
http://jsbin.com/iqijar/3>
... hmm, that does not work either.
So, it looks like all that code does need to be in one WC2 line. :D
One interesting thing I noticed was this Firebug warning:
An unbalanced tree was written using document.write() causing data
from the network to be reparsed. For more information
https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing
[Break On This Error]
</SCRIPT>
... which happened on the Google Adsense looking ad... But that's the
one ad that I can get to work in IE8, so go figure! :D
I'm stumped. :(
I'll let you know if I get any further with your code.
Cheers,
Micky