PDA

View Full Version : Content display issues when using external file content to populate a glider panel.



martmac
05-03-2010, 10:37 AM
Featured Content Glider

http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

Please take a look at http://www.cmits.net/WebExamples/ConsExample.html This is just in the development stages at the moment so my apologies if it's still a bit rough right now. You will see that there is a greeting at the top of the opening page that is driven by a javascript that checks the time of day and displays the appropriate greeting message.

You will see that this works fine and I am really happy with it. However, If I move the div display content to an external file (in the same directory on the web server) then the initial page fails and just displays the greeting picture. I am thinking that it is having some difficulty dealing with the javascript when pulled in from an external file. I love the glider, but would really like to be able to get it from an external file rather than have to deal with it from inside the page containing the component.

Hope this makes sense???

ddadmin
05-05-2010, 08:51 AM
Can you post a link to the problem page where the script fails? Also, have you read this supplementary page (http://www.dynamicdrive.com/dynamicindex17/contentglider_suppliment3.htm) on how to move the DIV contents to an external file via Ajax?