Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Keep The TechnoWorldInc.com Community Clean: Read Guidelines Here.
Recent Updates
[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[February 14, 2024, 02:00:39 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Programming Zone » Javascript
 Building HTML codes automatically, just copy&paste your content
Pages: [1]   Go Down
  Print  
Author Topic: Building HTML codes automatically, just copy&paste your content  (Read 865 times)
Daniel Franklin
TWI Hero
**********


Karma: 3
Offline Offline

Posts: 16647


View Profile Email
Building HTML codes automatically, just copy&paste your content
« Posted: September 29, 2007, 10:34:43 AM »




<!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> function seo(tit, src, alt, vlink1, link1, h1, p1) { text = '<html> <head> <title>'+tit+'</title> <body> '; text += '<img src='+src+' alt=' +alt+ '>'; text += ''+link1; text += ''; text += '<h1>'+h1+'</h1>'; text += ' '+p1+' '; text += ' </body> </html> '; setTimeout('een(text)'); } function een(tit, src, alt, vlink1, link1, h1, p1) { newWindow = window.open('','newwin','width=780,height=400,top=118,left=5'); newWindow.document.write(text); } function endar(tit, src, alt, vlink1, link1, h1, p1) { document.write('

<html>
');+ document.write('<head>
');+ document.write('<title>'+tit+'</title>
');+ document.write('</head>
');+ document.write('<body>
');+ document.write('<p>
');+ document.write('<img alt="' +alt+ '" border="0" src="' +src+ '.gif">
');+ document.write('<p>
');+ document.write('<a href="'+vlink1+'">'+link1+'[/url]</p>
');+ document.write('<h1 align="center">'+h1+'</h1>
');+ document.write('<p>
'+p1+'
');+ document.write('</body>
');+ document.write('</html>
');

} </script> </head>

<body><form> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="92%" id="AutoNumber1"> <tr> <td width="24%">Title</td> <td width="76%"> <input type="text" name="tit" size="20">
</td> </tr> <tr> <td width="24%">Image Source</td> <td width="76%"> <input name="src" type="text" size="20"></td> </tr> <tr> <td width="24%">Alt attribute for image</td> <td width="76%"> <input name="alt" type="text" size="20"></td> </tr> <tr> <td width="24%">Texts Link1</td> <td width="76%"> <input name="link1" type="text" size="20"></td> </tr> <tr> <td width="24%">Value Link1</td> <td width="76%"> <input name="vlink1" type="text" size="20"></td> </tr> <tr> <td width="24%">Heading1</td> <td width="76%"> <input name="h1" type="text" size="20"></td> </tr> <tr> <td width="24%">Paragraph1</td> <td width="76%"> <input name="p1" type="text" size="20"></td> </tr> <tr> <td width="76%"> <input type="button" value="Preview" onclick="seo(tit.value, src.value, alt.value, vlink1.value, link1.value, h1.value, p1.value)" size="20"></td> <td width="76%"> <input type="button" value="Get the Codes" onclick="endar(tit.value, src.value, alt.value, vlink1.value, link1.value, h1.value, p1.value)" size="20"></td> </tr>


</table> </form> </body>

</html>

Articles Source - Free Articles

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.08 seconds with 24 queries.