Difference between revisions of "ECE Main Article Title Generator"

From WolfTech
Jump to navigation Jump to search
Line 2: Line 2:
  
 
<php>
 
<php>
echo '<img id="the_pic" src="http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php" /><br />';
+
echo '<img id="the_pic" src="http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php" /><br /><br />';
echo '<input type="text" name="art_title" length="30" onkeydown="document.getElementById(\'the_pic\').src=\'http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php?feature_title=\'+escape(this.value);" />';
+
echo '<input type="text" name="art_title" size="40" onkeyup="if(this.value!=\'\') {document.getElementById(\'the_pic\').src=\'http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php?feature_title=\'+escape(this.value);} else {document.getElementById(\'the_pic\').src=\'http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php\';}" />';
 
</php>
 
</php>

Revision as of 09:52, 6 March 2008

Use the tool below to check ECE Main Article title lengths (you currently must be wrapped in for the image to show):

<php> echo '<img id="the_pic" src="http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php" />

'; echo '<input type="text" name="art_title" size="40" onkeyup="if(this.value!=\'\') {document.getElementById(\'the_pic\').src=\'http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php?feature_title=\'+escape(this.value);} else {document.getElementById(\'the_pic\').src=\'http://www.ece2.ncsu.edu/images/feature_photos/feature_txt.php\';}" />'; </php>