Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 1st, 2005, 05:09 AM
Authorized User
 
Join Date: Dec 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cutesneakers Send a message via Yahoo to cutesneakers
Default HTMLarea yet again.

Heres the code,can u help???
The MySQL field is LONGTEXT.

Code:
<html>
<head>
<title>Post Literature Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "";                     // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
 document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
 document.write(' language="Javascript1.2"></scr' + 'ipt>');  
} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>
</head>
<link href="../css/text_content.css" rel="stylesheet" type="text/css">
<link href="../css/table.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0" marginwidth="0">
<script language="JavaScript1.2" defer>
editor_generate('content');
</script>
<table width="800" border="0" cellpadding="0" cellspacing="0">

  <tr bgcolor="#CCCCCC"> 
    <td height="46" colspan="3" valign="top" class="textcontent"><a href="../test.php">apartment27: 
      reEntry</a> &gt; <strong>Administrator's Page</strong></td>
  </tr>
  <tr> 
    <td width="13" height="59">&nbsp;</td>
    <td width="532">&nbsp;</td>
    <td width="255">&nbsp;</td>
  </tr>
  <tr> 
    <td height="356">&nbsp;</td>
    <td valign="top" class="textcontent">  <form    method="POST" name="upload" id="upload" action="../literature/litconfirm.php">
        <strong>Type of Literature</strong> : 
        <select name="tol" size="1" class="textcontent" >
          <option selected value="Short Story">Short Stories</option>
          <option value="Abstract/Articles">Abstract/Articles</option>
          <option value="Poetry/Songs">Poems/Poetry/Songs/Sonnets</option>
        </select>
        <br>
        <br>
        <strong>Name of Literature</strong> : 
        <input name="name" type="text"  size="25" class="textcontent">
        <br>
        [A name could be preferable, If this is a part of sequence, please state 
        it clearly;<br>
        for eg: <em>Joey's Coffee House Disaster: Part 1</em>] <br>
        <br>
        <br>
        <strong>Literature Content</strong> :<br>
        [Please spell check,and proof-read content beforehand]<br>
        <strong>Press SHIFT+ENTER for linebreaks</strong>&nbsp;<br>
        Select a Font and Font size prior to typing.Alternately,you       can copy/cut-paste 
        content from any text editor (Microsoft Word/Notepad etc.)<br>
        <br>
        <br>
        <textarea name="content" rows="10" cols="70"></textarea>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;<br>
        <br>
        &nbsp;<strong>Author of the Literary Work</strong> : 
        <input name="author" type="text"  class="textcontent">
        <br>
        <br>
        <input  value="Upload !!"  type="submit"  class="textcontent"  >

      </form ></td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td height="49">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#CCCCCC"> 
    <td height="19" colspan="3" valign="top" class="textcontent">apartment27 : 
      reEntry &copy; 2004-2005 (Hrishikesh Ghan's portfolio Site)</td>
  </tr>
</table>
</body>
</html>

Please comment on this code.Copy + Paste from Word is not supported.
__________________
site lead ,apartment27 studios.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Mr. York,htmlarea help needed. cutesneakers HTML Code Clinic 1 February 7th, 2005 05:40 PM
HTMLAREA question cutesneakers HTML Code Clinic 2 January 22nd, 2005 09:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.