jfmcel Posted April 10, 2003 Share Posted April 10, 2003 Just wondering if anyone has any experience with transposing a portal derived CDML table. I found an interesting looking Javascript HTML table transposition at http://www.wilk4.com/webdevres/tabletranspose.htm but I think it is going to be a trick to get it to work with CDML. Thanks for your input. Link to comment Share on other sites More sharing options...
Garry Claridge Posted April 10, 2003 Share Posted April 10, 2003 Javascript Arrays can be built quite easily with CDML. For example: tData = new Array( [FMP-Record] "[FMP-Field:elementID]", "[FMP-Field:element1]", "[FMP-Field:element2]", "[FMP-Field:element3]", "[FMP-Field:element4]", [/FMP-Record] "dummy"); Some interesting Array constructions are used in another thread. Multi-dimensional and Associative Arrays are built from CDML. All the best. Garry Link to comment Share on other sites More sharing options...
jfmcel Posted April 10, 2003 Author Share Posted April 10, 2003 Great. I'm not much of a web programmer and if I can pull this one off, my client (and myself) will be amazed. I assume you can substitute a [FMP-PORTAL: ] tag can be substituted for the [FMP-Record] tag. Link to comment Share on other sites More sharing options...
Garry Claridge Posted April 10, 2003 Share Posted April 10, 2003 Re: I assume you can substitute a [FMP-PORTAL: ] tag can be substituted for the [FMP-Record] tag. Yes. Good Luck. Garry Link to comment Share on other sites More sharing options...
Garry Claridge Posted April 10, 2003 Share Posted April 10, 2003 Just a note about the demonstration page. You may not have to reload the page, and use Cookies, to complete the transpose, you could just replace the innerHTML of a DIV. All the best. Garry Link to comment Share on other sites More sharing options...
jfmcel Posted April 10, 2003 Author Share Posted April 10, 2003 Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7850 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now