webuser
03-25-2008, 08:51 PM
1) Script Title: Ajax Tabs
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/
3) Describe problem:
I have set up the AjaxTabs content script to generate dynamic number of tabs based on a selection in a previous page's form. In the resulting page that contains the Ajax tabs, I load content into each tab dynamically, i.e. a server-generated page that contains various types of tabular data.
Within the bounds of the loaded content, I have to define some custom behavior via JavaScript that enhances the functionality of the loaded tabular content. Examples include table row hover-based highlighting, context menu for each table row, a mini-form with JavaScript validations, etc.
I tried to start with a simple onload script that uses 2 colors alternatively to shade the table rows. This script is part of the loaded content. But the script is not working. I ensured there are no JavaScript errors using the Firebug plugin and also to ensure that the JavaScript is valid.
How can I get around this behavior and enhance the loaded content's behavior with custom scripting? I appreciate any suggestions and direction on this.
-webuser
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/
3) Describe problem:
I have set up the AjaxTabs content script to generate dynamic number of tabs based on a selection in a previous page's form. In the resulting page that contains the Ajax tabs, I load content into each tab dynamically, i.e. a server-generated page that contains various types of tabular data.
Within the bounds of the loaded content, I have to define some custom behavior via JavaScript that enhances the functionality of the loaded tabular content. Examples include table row hover-based highlighting, context menu for each table row, a mini-form with JavaScript validations, etc.
I tried to start with a simple onload script that uses 2 colors alternatively to shade the table rows. This script is part of the loaded content. But the script is not working. I ensured there are no JavaScript errors using the Firebug plugin and also to ensure that the JavaScript is valid.
How can I get around this behavior and enhance the loaded content's behavior with custom scripting? I appreciate any suggestions and direction on this.
-webuser