1) Script Title: Interstitial Content Box (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...terstitial.htm
3) Describe problem: How can I make it work in a blog? The blog's URL is http://valenciasailing.blogspot.com
1) Script Title: Interstitial Content Box (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...terstitial.htm
3) Describe problem: How can I make it work in a blog? The blog's URL is http://valenciasailing.blogspot.com
What's the problem exactly?
The problem is that I can't make it work. I took it off from the page.
I have all the files in one directory but the external pages do not appear.
Obviously, I can't put them in the same directory as the website's main page since it's a blog. Is there a solution to such a situation?
How are you specifying the paths to the external files inside the .js file? Make sure they are local references, not absolute paths (ie: /subdir/external.htm versus http://mysite.com/subdir/external.htm).
Anyhow, it'd be helpful if you could post a link to the page on your site that contains the problematic script so we can check it out.
Thanks for your help. Here are the details:
First of all, the test blog is at http://nzlvalencia.blogspot.com
All files are at the directory http://www.valenciasailing.com/css
The paths to the two external files are referred to as /css/samplecontent.htm and /css/samplecontent2.htm
As you can see when checking the blog, the two HTML files are not displayed
Ok, checking the paths of your external content inside the script, I believe it should be:
In other words, without the "/" prefixing "css".Code:displayfiles: ['css/samplecontent.htm', 'css/samplecontent2.htm'],
I made the change but it still doesn't work. Maybe after all the website has to be in the same domain as the rest of the files.
Oh shoot I didn't realize the two domains are in fact different, which they are (domain versus sub.domain.com). Yep, in that case it won't work due to Ajax security settings. The external files have to be on the same domain as the script itself, such as:
http://nzlvalencia.blogspot.com/css/
Bookmarks