1) Script Title:
Ajax Tabs Content script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...axtabscontent/
3) Describe problem:
I have just downloaded this script I currently use the adobe spry tabs for a site which I am developping but the preloading does not seem to work and th etabs are very slow so after searching google for another sollution dynamicdrive came up first so I thought I would give this script a try
the problem I am getting is the tabs don't seem to allow spry Regions
only once you refresh the page for the tab the results then come up but then the preload does not seem to work example here
http://www.dinewithus.co.uk/new/demo/demo.htm
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Dynamic Drive DHTML Scripts- Ajax Tabs Content script</title> <link rel="stylesheet" type="text/css" href="ajaxtabs/ajaxtabs.css" /> <script src="http://www.dinewithus.co.uk/new/SpryAssets/xpath.js" type="text/javascript"></script> <script src="http://www.dinewithus.co.uk/new/SpryAssets/SpryData.js" type="text/javascript"></script> <script type="text/javascript"> var dsCountyResults = new Spry.Data.XMLDataSet("http://www.dinewithus.co.uk/new/xml/demo_search.php", "export/row"); </script> <script type="text/javascript" src="ajaxtabs/ajaxtabs.js"> /*********************************************** * Ajax Tabs Content script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> </head> <body> <p><b>Documentation:</b> <a href="http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/">http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/</a></p> <br /> <ul id="maintab" class="shadetabs"> <li class="selected"><a href="#default" rel="ajaxcontentarea">Intro</a></li> <li><a href="listings.htm" rel="ajaxcontentarea">Example</a></li> <li><a href="external2.htm" rel="ajaxcontentarea">Dog</a></li> <li><a href="external3.htm" rel="ajaxcontentarea">Cat</a></li> <li><a href="external4.htm" rel="ajaxcontentarea">Sea Otter</a></li> </ul> <div id="ajaxcontentarea" class="contentstyle"> <p>This is some default tab content, embedded directly inside this space and not via Ajax. It can be shown when no tabs are automatically selected, or associated with a certain tab, in this case, the first tab.</p> <p><b><a href="javascript: expandtab('maintab', 2)">Select 3rd tab of "maintab"</a></b></p> </div> <script type="text/javascript"> //Start Ajax tabs script for UL with id="maintab" Separate multiple ids each with a comma. startajaxtabs("maintab") </script> </body> </html>



Reply With Quote

Bookmarks