Results 1 to 8 of 8

Thread: ddaccordion in safari issues

  1. #1
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ddaccordion in safari issues

    1) Script Title: ddaccordion.js

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...enu-bullet.htm
    3) Describe problem: accordion is placed in joomla module. Works great in IE and Firefox, but won't expand in Chrome or Safari.

    Thanks so much for any assistance.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Is this a problem with the demo page? If it is not, we will need to see a link to your page so we can help.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It is residing on the right side under "Property Locator" at
    http://www.howseco.com

    Thank you

  4. #4
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Here's the url to the script
    http://www.howseco.com/ddaccordion.js

  5. #5
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    There is a lot of strangeness on the page right now. I can count 3 doctypes, 3 html tags, 3 body tags and so on. The structure of the page seems to be totally messed up. I think you need to address this first.

  6. #6
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default cleaned up the page a bit

    Hi: Thanks for any assistance on this.
    This is a joomla site and I've cleaned up the html in dreamweaver and added it back to the module.
    Here's the script for that page:
    http://www.howseco.com/accordion8B-2-2-11dw.html

    Still using the .js here
    http://www.howseco.com/ddaccordion.js

    The oddity is that when I test the above mentioned html in chrome, it works. When I place the html in the joomla module, it works in IE and FF, but not in Chrome.
    Somewhere I read a post about jquery being an issue but cannot locate that post now.
    Any thoughts?
    Thanks.

  7. #7
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    I downloaded your page and when i deleted the link to mootools.js it immediately worked in chrome. So it seems to be a conflict between jquery and mootools somehow.
    I dont know if you need mootools on your page, or if it is even possible to delete from the joomla installation

  8. #8
    Join Date
    Feb 2011
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You are a LIFESAVER. That worked...
    Just went to the joomla index.php and added this snipped before the closing HEAD tag:
    <?php
    $headerstuff = $this->getHeadData();
    $scripts = $headerstuff['scripts'];
    foreach ($scripts as $path => $val)
    {
    if (strpos($path, 'mootools.js') !== false || strpos($path, 'caption.js') !== false) unset($scripts[$path]);
    }
    $headerstuff['scripts'] = $scripts;
    $this->setHeadData($headerstuff);
    ?>

    <jdoc:include type="head" />

    Thank you so very much for your help!

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
  •