Results 1 to 3 of 3

Thread: Stay on Top & Accordion Content

  1. #1
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default Stay on Top & Accordion Content

    1) Script Title: Stay on Top & Accordion Content scripts

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici.../stayontop.htm
    http://www.dynamicdrive.com/dynamici...daccordion.htm
    3) Describe problem:

    Hi everybody:

    I'm trying to combine the two codes above (to show 3 items in a small window for best compatibility). The "Stay On Top" content file is called via ajax. I removed a customized delay on page load and make a test with this standard code but I can't achieve to initialize "ddaccordion". Only if I attach the "Accordion" init javascript code at the bottom of the external html file it runs somehow but only in IExplorer. Chrome and Firefox start to load the main page and then all is white...

    Thanks in advance for your help.

    Luys
    Last edited by Luys; 05-23-2012 at 02:35 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    9,903
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Are you mainly trying to just keep the Accordion Menu fixed on your page, so it's always visible? If so it's a lot simpler just to resort to CSS's position:fixed property to do that...
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Luys (05-25-2012)

  4. #3
    Join Date
    Jan 2011
    Posts
    51
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    Thank you for your quick answer!

    I'm looking for a solution that brings me some options like frequency "once per browser session"...
    Next, I'll try two things:
    Include, much to my regret, all content inside the main page itself (without ajax) or create an iframe inside the external html file with all the elements (text, styles, javascript, etc...). Really not a smart solution but a "tricky" solution.
    Acting in this way, I lost some independent features: as background color effect, for example.
    Last edited by Luys; 05-25-2012 at 02:28 PM.

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
  •