PDA

View Full Version : AJAXTabs & Email Riddler Conflict?



rgalgon
06-21-2006, 04:54 PM
I'm using AJAXTabs for site navigation and of the pages I have loaded via the tabs script is a Contacts page with multiple email addreses on it.

I would like to encrypt the emails using EmailRiddler however the code appears to never execute as no link shows up at all. Yet if I manually goto the contact.html page it looks fine.

Can no page loaded through AJAX Tabs execute javascript?

(I'm using firefox btw)

ddadmin
06-22-2006, 09:43 PM
That's because the Email Riddler uses the document.write() method of JavaScript to dynamically write out the email address as the page loads. This is incompatible with the load JS feature of Ajax Tabs, which can only execute JavaScript that's dynamically added to the page.

You can get around this by changing the output of Email Riddler to use .innerHTML instead. If you need more help, please provide a link to your problem page.