Click to See Complete Forum and Search --> : Insert a table from an alien location ??


Mr.Mike
08-15-2003, 09:41 PM
Does anyone know what is the best code to use, just to insert a table onto a table on an html page, form an alien location?

I've got a table that is duplicated on about 12 different pages, but do not want to have to update each of the pages when a change of info is made in the table. I just want to have it in one location and when the info in the table is changed, it will change in all the pages. Not sure what codes is best for this Java script or maybe css ????

Can anyone please give some idea how this can be done, some direction and possibly a sample of how its done?

Regards,
Mike


**Obstacles are those frightful things you see
when you take your eyes off your goal.

Khalid Ali
08-15-2003, 09:54 PM
few options for you.

Use XML to draw table and its data and use XSL/XSLT to display the XML file directly in the browser(only NS6+ and IE6+)

Or you can use server side language to create table dynamically for any number of pages.

Finally you can create page dynamcally usingjavascript and imprt that file in the page as many as you want..jsut make changes in the js file thats all

Charles
08-16-2003, 06:39 AM
Originally posted by Charles
Use server side includes, the IFRAME or the OBJECT element.
Support of both the XSLT (60% of users) and JavaScript (87%) methods is spotty.You would have to provide a link to an HTML version of the information.