Results 1 to 2 of 2

Thread: AJAXTabs & Email Riddler Conflict?

  1. #1
    Join Date
    Jun 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AJAXTabs & Email Riddler Conflict?

    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)

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •