View Full Version : Preload external.htm content with Ajax Tabs?

11-05-2007, 04:45 PM
1) Script Title: Ajax Tabs Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tent/index.htm

3) Describe problem: Is it possible for the contents of the external.htm pages to preload before they are clicked on? I have images on my tabs and the images take a second or two to load. I'd like for the images to preload, so that they appear instantly when the tabs are clicked on.

Here is my site: http://www.findsoky.com

11-06-2007, 04:15 AM
There's no easy way to do this with the script as is. I don't really anticipate this being a requested feature, since part of the purpose of the script is to load content on demand and only when requested.

You can certainly manually preload those external pages, such as by adding hidden IFRAME elements that each point to the various external pages you wish preloaded, but that's way to cumbersome I reckon.

12-05-2007, 04:01 AM
I found that If you just leave out the first line:

<li><a href="#" rel="#default" class="selected">Tab 1</a></li>

and leave the rest with the external pages like they are. it will load the first external page..

hope it works for you.