Advertisement

Dynamically Loaded Articles within Tab View

Moderators: Calcifer, slothy

Dynamically Loaded Articles within Tab View

Postby Mehmet » Fri Jul 21, 2006 2:50 pm

I need to make the Dynamically Loaded Articles work in one of the Tabs. Displaying is easy and I have a tab that displays the Dynamically Loaded Articles, but I get "Finding article... Please wait" message when clicked on an article. SO, the combination does not work, at least I couldn't get it to work.

What do I need to do to make it work in combination? Is this possible?

Tab View: http://www.dhtmlgoodies.com/index.html? ... t=tab_view
Dynamically Loaded Articles: http://www.dhtmlgoodies.com/index.html? ... icArticles
Mehmet
 
Posts: 7
Joined: Tue Jul 18, 2006 10:27 pm

Postby Batalf » Fri Jul 21, 2006 3:31 pm

Hello

Are you able to make the ajax dynamic article script to work on pages without tab views ?

Try some basic things

* Change method from "POST" to "GET" inside ajax.js(near the top of that file)
* Change the extension of the included files from .html to .php and change
getAjaxFile(this.id + '.html'); to getAjaxFile(this.id + '.php');
* While testing it, make sure that you're not opening your main HTML from an address starting with c:\. The address should always start with "http". Ajax won't work if not.
Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 6 guests

cron