1) Script Title: Ajax Tabs Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...axtabscontent/
3) Describe problem:
I'm using the REV attribute as defined in the tutorial to specify outside JS and CSS files, but any script called into the AJAX tab area is failing to execute. I have a JS vertical scrolling script that IS essential to one of my tabs and it will not run when called via the tab. Any help would be greatly appreciated.
HTML CODE:
I haven't altered the AJAXTABS script in any way. Someone, please help!!??!!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Welcome, To My World</title> <link href="ajaxtabs/ajaxtabs.css" rel="stylesheet" type="text/css" media="screen" /> <link href="main.css" rel="stylesheet" type="text/css" media="screen" /> <script src="ajaxtabs/ajaxtabs.js" type="text/javascript"></script> <script src="main.js" type="text/javascript"></script> </head> <body> <div id="layout"> <table width="670" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="3"><img src="images/layout_top.gif" alt="" width="700" height="9" /></td> </tr> <tr> <td width="12"><img src="images/layout_left.gif" alt="" width="12" height="523" /></td> <td width="646" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/header_main.gif" alt="Welcome to my website. Please feel free to look around..." width="676" height="114" /></td> </tr> <tr background="images/menu_main.gif"> <td background="images/menu_main.gif"> <ul id="maintab"><!-- --><li><a href="aboutMe.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/about_main_roll.gif',0)" rel="ajaxcontentarea" rev="main.css, main.js"><img src="images/about_main.gif" alt="click here to learn more about me" name="about" width="100" height="39" border="0" id="about" /></a></li><!-- --><li><a href="portfolio.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('portfolio','','images/portfolio_main_roll.gif',0)" rel="ajaxcontentarea" rev="main.css, main.js, lightbox.css, prototype.js, scriptaculous.js?load=effects, lightbox.js"><img src="images/portfolio_main.gif" alt="click here to see my portfolio" name="portfolio" width="100" height="39" border="0" id="portfolio" /></a><!-- --><ul><!-- --><li><a href="#"><img src="images/webButton.gif" height="20" width="20" border="0" /> Web</a></li><!-- --><li><a href="#"><img src="images/printButton.gif" height="20" width="20" border="0" /> Print</a></li><!-- --><li><a href="#"><img src="images/webButton.gif" height="20" width="20" border="0" /> Code Examples</a></li><!-- --><li><a href="#"><img src="images/videoButton.gif" height="20" width="20" border="0" /> Video</a></li><!-- --></ul><!-- --></li><!-- --><li><a href="designer4hire.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('design','','images/designer_main_roll.gif',0)" rel="ajaxcontentarea"><img src="images/designer_main.gif" alt="Does your site need a new look? Need a designer?? Click here" name="design" width="133" height="39" border="0" id="design" /></a></li><!-- --><li><a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','images/contact_main_roll.gif',0)" rel="ajaxcontentarea"><img src="images/contact_main.gif" alt="Click here to contact me" name="contact" width="111" height="39" border="0" id="contact" /></a></li><!-- --></ul></td></tr> <tr> <td><div id="ajaxcontentarea"><img src="images/main.jpg" alt="" width="333" height="369" /><img src="images/look.gif" alt="Look around, kick the tyres and take her for a test drive!! I'll try to keep the site as up to date as possible. Thanks for stopping by - enjoy your visit" width="343" height="369" /></div></td> </tr> </table></td> <td width="12"><img src="images/layout_right.gif" alt="" width="12" height="523" /></td> </tr> <tr> <td colspan="3"><img src="images/layout_bottom.gif" alt="" width="700" height="10" /></td> </tr> </table> </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