View Full Version : Stay on Top & Accordion Content

05-23-2012, 02:09 PM
1) Script Title: Stay on Top & Accordion Content scripts

2) Script URL (on DD):
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.


05-24-2012, 06:13 PM
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...

05-25-2012, 02:22 PM
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.