Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML GENERATION

Status
Not open for further replies.

Jlok

IS-IT--Management
Mar 28, 2002
23
US
Hello, Working on a website and have to generate about 15,000 extended product descriptions. Most products have similar characteristics. Wondering if anybody has any idea of some kind of a text-input to html output form or something to speed this up. Maybe a GUI so people not "HTML friendly" could help with the process.

Any ideas are greatly appreciated....
 
Code:
var extended_product_descriptions = new Array (
 'product 1','product 2','and so on'
);

var max = extended_product_descriptions.length();
var counter = 0;

while (counter < max) {
 document.write(extended_product_descriptions[counter];
 counter++;
}

so now it will loop the document.write operation 'max' time
hope this helps ---------------------------------------
wmail.jpg


someone knowledge ends where
someone else knowledge starts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top