homepage Welcome to WebmasterWorld Guest from 54.211.157.103
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Form works locally but not on internet
form fails on net, OK locally
bs6600




msg:4438077
 5:32 pm on Apr 6, 2012 (gmt 0)

Hi,

This code works fine on my PC from local drive but nothing appears when I upload- just blank line.


<span class="leftBLack12B">Earth Eating</span>
<FORM><INPUT TYPE="button" VALUE="Send us your thoughts about this"
onClick="parent.location='mailto:nutrition@example.co.uk?subject=Earth Eating (http://www.example.com/secA2u.html#E)'">
</FORM>

Earth eating ........


See the page at <snip, include HTML code, not URLs> Contents...1...Update

There should be a button after each topic heading allowing feedback.

Help please?

Bill

[edited by: incrediBILL at 5:43 pm (utc) on Apr 6, 2012]
[edit reason] removed URL specifics [/edit]

 

bs6600




msg:4438081
 5:45 pm on Apr 6, 2012 (gmt 0)

P.S. I should have said - same on IE(8), Firefox and Chrome

Bill

Fotiman




msg:4438086
 5:54 pm on Apr 6, 2012 (gmt 0)

Your code seems to work online:
[jsfiddle.net...]

So you must have something else which you haven't described that's causing the problem. Not sure what you mean by "just blank line".

bs6600




msg:4438103
 6:31 pm on Apr 6, 2012 (gmt 0)

Thanks, by blank line I meant that there is a vertical gap between the topic heading and the text where there should be a button.

I see it working in jsfiddle.net but I just tried the site again online - still no button.

I'm too much of a novice to know what else I should reveal so here's as much of the page as I can include. It uses a .js - call for that if you want.

BTW here's my disclaimer - I didn't write all this, I've picked up support for the author who is a personal friend.

Thanks again, Bill

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>


<link rel="shortcut icon" href="favicon.ico">

<title>Nutrition UK by Martin Eastwood</title>

<style type="text/css">
<!--
@import "style.css";
-->
</style>

<script type="text/JavaScript" src="code.js">
</script>

<script type="javascript">
function send_comment (topic){
empage='<span class="leftBLack12B">Earth Eating</span><FORM><INPUT TYPE="button" VALUE="Send us your thoughts about this" onClick="parent.location='+"'mailto:nutrition@bscomputers.co.uk?subject="+topic+"Earth Eating'></FORM>"
document.write empage
}</script>

</head>

<body onLoad="standard(); secHeadADiv(); secMenuADiv();">

<div class="logo" id="logo">
</div>

<div class="menu" id="menu">
</div>

<div class="mrW" id="mrW" align="center">
</div>

<div class="right" id="right">
</div>

<div class="secHeadA" id="secHeadA">
</div>

<div class="secMenuA" id="secMenuA">
</div>

<div class="secMain" id="secMain">

<a id="A">.</a>

<h1>
History of Food<br /><br />UPDATES - <a href="secA2.html">Back to Main Text</a>
</h1>

<br /><br />



<a id="B">.</a>
<a id="C">.</a>
<a id="D">.</a>
<a id="E">.</a>
<span class="leftBLack12B">
<a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#D">D</a> <a href="#E">E</a> <a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a>
<a href="#I">I</a> <a href="#J">J</a> <a href="#K">K</a> <a href="#L">L</a> <a href="#M">M</a> <a href="#N">N</a> <a href="#O">O</a> <a href="#P">P</a>
<a href="#Q">Q</a> <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a> <a href="#U">U</a> <a href="#V">V</a> <a href="#W">W</a> <a href="#X">X</a>
<a href="#Y">Y</a> <a href="#Z">Z</a>
</span><br /><br />


<span class="leftBLack12B">Earth Eating*</span>
<FORM><INPUT TYPE="button" VALUE="Send us your thoughts about this"
onClick="parent.location='mailto:nutrition@bscomputers.co.uk?subject=Earth Eating (http://www.nutrition.uk.com/secA2u.html#E)'">
</FORM>

Earth eating or geophagia has been practised for thousands of years. There are recordings of this practice from ancient Sumeria, Egypt and China.
Some nutritionists sympathise with the value of this supplement to the diet , usually a clay as there is a rich provision of silicon, aluminium and traces of iron, calcium and zinc.
However the clay may bid trace elements and prevent their absorption,
worsening a precarious nutritional status. Geophagia in communities with marginal nutrition geophagia may cause anaemia. Especially in women who can in some cultures be the last to eat at meals.
Other studies suggest that geophagia is desired by and provides trace elements to individuals deficient .in a trace element.
It has also been suggested that clays act as a detoxicant, whatever that means.
Perhaps in some states e.g. pregnancy the earths just taste nice , filling and not harmful. Or causing sickness.
The studies on geophagia are very welcome. On the one hand there is ingrained folk tradition and ascribed virtues of say eating clay. The reasons for such a practice should be examined and tested scientifically. This is so necessary and welcome.
Such a course of action is in contrast to some vocal media pundits who make ill founded claims which are totally untested scientifically<br />
Trevor Stokes Nature 2006, 444, 30th November 543-4<br />





<br /><br />
<a id="F">.</a>
<span class="leftBLack12B">
<a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#D">D</a> <a href="#E">E</a> <a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a>
<a href="#I">I</a> <a href="#J">J</a> <a href="#K">K</a> <a href="#L">L</a> <a href="#M">M</a> <a href="#N">N</a> <a href="#O">O</a> <a href="#P">P</a>
<a href="#Q">Q</a> <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a> <a href="#U">U</a> <a href="#V">V</a> <a href="#W">W</a> <a href="#X">X</a>
<a href="#Y">Y</a> <a href="#Z">Z</a>
</span><br /><br /><br /><br />

<span class="leftBLack12B">Food Magazine</span>
<FORM><INPUT TYPE="button" VALUE="Send us your thoughts about this"
onClick="parent.location='mailto:nutrition@bscomputers.co.uk?subject=Food Magazine (http://www.nutrition.uk.com/secA2u.html#F)'">
</FORM>
The Food Commission magazine. Food Magazine has several good websites<br />
Action on Additives www.actiononadditives.com<br /><br /><br />


<a id="G">.</a>

<a id="H">.</a>
<span class="leftBLack12B">
<a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#D">D</a> <a href="#E">E</a> <a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a>
<a href="#I">I</a> <a href="#J">J</a> <a href="#K">K</a> <a href="#L">L</a> <a href="#M">M</a> <a href="#N">N</a> <a href="#O">O</a> <a href="#P">P</a>
<a href="#Q">Q</a> <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a> <a href="#U">U</a> <a href="#V">V</a> <a href="#W">W</a> <a href="#X">X</a>
<a href="#Y">Y</a> <a href="#Z">Z</a>
</span><br /><br />

<span class="leftBLack12B">Healthy Eating</span><FORM><INPUT TYPE="button" VALUE="Send us your thoughts about this"
onClick="parent.location='mailto:nutrition@bscomputers.co.uk?subject=Healthy Eating (http://www.nutrition.uk.com/secA2u.html#H)'">
</FORM>
The couple were 85 years old and had been married for sixty years. <br />
Though they were far from rich, they managed to get by because they watched their pennies. <br /><br />
.
.
etc etc etc
.
.
<div class="footer" id="footer">
</div>

</div>

</body>
</html>

bs6600




msg:4438107
 6:44 pm on Apr 6, 2012 (gmt 0)

The code in my previous works in jsfiddle so the answer might be in the code.js which is below.

Sorry to be so long winded.

Bill

/*code.js*/

//myFunc
function standard()
{

logo.innerHTML = ("<img src='images/top.png'; style='border-style:none'; align=left; />");

mrW.innerHTML = ("<img src='images/food3.jpg'; style='border-style:none'; align=center; />");

right.innerHTML = (""
//+" &nbsp; Search for a Blog<br />&nbsp; <input type='text' name='Town' size='13' style='font-family: Arial'><br />&nbsp; <input type='submit' value='Go' name='submit'><br />"

//+" <hr width='100' align='center' color='#FFA500' noshade>"
+" <a class='two' href='http://www.nutrition-nutritionists.com/' target='_blank'><img src='images/blog.gif'; style='border-style:none'; align='center' /></a>"

//+" <hr width='100' align='center' color='#FFA500' noshade>"
//+" <a class='two' href='#' target='_blank'><img src='images/blog1.png'; style='border-style:none'; align='center' /></a>"

//+" <hr width='100' align='center' color='#FFA500' noshade>"
//+" <a class='two' href='#' target='_blank'><img src='images/blog1.png'; style='border-style:none'; align='center' /></a>"

//+" <hr width='100' align='center' color='#FFA500' noshade>"
//+" <a class='two' href='#' target='_blank'><img src='images/blog1.png'; style='border-style:none'; align='center' /></a><br />"
+"<br />");

footer.innerHTML = ("<br /><br /><br /><br />"
+" <span class='centerTeal8'>The site has been facilitated by a grant from the Reverend Fogo Charitable Trust<br />"
+" Nutrition UK 2009 &copy</span>");



menu.innerHTML = (""
+"<h2><br>"
+" <a class='two' href='contents.html'>Contents</a><br><br>"
+" <a class='two' href='index.html'>Introduction</a><br><br>"
+" <a class='two' href='secA2.html'>Community Nutrition </a><br><br>"
+" <a class='two' href='secB8.html'>Genetics</a><br><br>"
+" <a class='two' href='secC9.html'>Nutritional Status</a><br><br>"
+" <a class='two' href='secD12.html'>Nutrients and Non-Nutrients </a><br><br>"
+" <a class='two' href='secE23.html'>Eating, Digestion and Metabolism</a><br><br>"
+" <a class='two' href='secF35.html'>Nutrition in Health and Disease</a><br><br>"
+" <a class='two' href='secDK.html'>David Kritchevsky</a><br><br>"
+" <a class='two' href='uindex.html'>Index of Updates</a><br><br>"
+"</h2>"
+"<br><br><br><hr><br>"
+"<table cellpadding=0 cellspacing=0 border=0 ><tr>"
+"<td colspan=2 style='font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;'>"
+"<form style='margin:0px; margin-top:4px;'"
+" action='http://search.freefind.com/find.html' method='get' accept-charset='utf-8' target='_self'>"
+"<input type='hidden' name='si' value='59604941'>"
+"<input type='hidden' name='pid' value='r'>"
+"<input type='hidden' name='n' value='0'>"
+"<input type='hidden' name='_charset_' value=''>"
+"<input type='hidden' name='bcd' value='&#247;'>"
+"<input type='text' name='query' size='15'>"
+"<input type='submit' value='search'>"
+"</form>"
+"</td></tr><tr>"
+"<td style='text-align:left; font-family: Arial, Helvetica, sans-seriffont-size: 7.5pt; padding-top:4px;'>"
+"<a style='text-decoration:none; color:gray href='http://www.freefind.com' >"
+"search engine</a><a style='text-decoration:none; color:gray;' href='http://www.freefind.com' > by'"
+"<span style='color: #606060;'>freefind</span></a>"
+"</td>"
+"<td style='text-align:right; font-family: Arial, Helvetica, sans-serif;font-size: 7.5pt; padding-top:4px;'>"
+"<a href='http://search.freefind.com/find.html?si=59604941&amp;pid=a'>advanced</a>"+"</td></tr>"
+"</table><br>Ctrl+F to search this page<br><hr>")


}


//secA page
function secHeadADiv()
{
secHeadA.innerHTML = ("<span class='centerOrange11'>Community Nutrition</span>");
}

function secMenuADiv()
{
secMenuA.innerHTML = ("<h2><br>"
+" <a class='two' href='contents.html'>Contents</a><br><br>"
+" <a class='two' href='index.html'>Introduction</a><br><br>"
+" <a class='two' href='secA2.html'>Community Nutrition </a><br>"
+" <a class='three' href='secA2.html'>2. History of Food </a><br>"
+" <a class='three' href='secA3.html'>3. Social Basis of Nutrition</a><br>"
+" <a class='three' href='secA4.html'>4. Food Chain</a><br />"
+" <a class='three' href='secA5.html'>5. Domestic Water</a><br>"
+" <a class='three' href='secA6.html'>6. Nutritional Requirements</a><br>"
+" <a class='three' href='secA7.html'>7. Epidemiology</a><br /><br />"
+" <a class='two' href='secB8.html'>Genetics</a><br><br>"
+" <a class='two' href='secC9.html'>Nutritional Status</a><br><br>"
+" <a class='two' href='secD12.html'>Nutrients and Non-Nutrients </a><br><br>"
+" <a class='two' href='secE23.html'>Eating, Digestion and Metabolism</a><br><br>"
+" <a class='two' href='secF35.html'>Nutrition in Health and Disease</a><br><br>"
+" <a class='two' href='secDK.html'>David Kritchevsky</a><br><br>"
+" <a class='two' href='uindex.html'>Index of Updates</a><br><br>"
+"</h2>"
+"<br><br><br><hr><br>"
+"<table cellpadding=0 cellspacing=0 border=0 ><tr>"
+"<td colspan=2 style='font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;'>"
+"<form style='margin:0px; margin-top:4px;'"
+" action='http://search.freefind.com/find.html' method='get' accept-charset='utf-8' target='_self'>"
+"<input type='hidden' name='si' value='59604941'>"
+"<input type='hidden' name='pid' value='r'>"
+"<input type='hidden' name='n' value='0'>"
+"<input type='hidden' name='_charset_' value=''>"
+"<input type='hidden' name='bcd' value='&#247;'>"
+"<input type='text' name='query' size='15'>"
+"<input type='submit' value='search'>"
+"</form>"
+"</td></tr><tr>"
+"<td style='text-align:left; font-family: Arial, Helvetica, sans-seriffont-size: 7.5pt; padding-top:4px;'>"
+"<a style='text-decoration:none; color:gray href='http://www.freefind.com' >"
+"search engine</a><a style='text-decoration:none; color:gray;' href='http://www.freefind.com' > by'"
+"<span style='color: #606060;'>freefind</span></a>"
+"</td>"
+"<td style='text-align:right; font-family: Arial, Helvetica, sans-serif;font-size: 7.5pt; padding-top:4px;'>"
+"<a href='http://search.freefind.com/find.html?si=59604941&amp;pid=a'>advanced</a>"+"</td></tr>"
+"</table><br>Ctrl+F to search this page<br><hr>"

);
}

//secB page
function secHeadBDiv()
{
secHeadB.innerHTML = ("<span class='centerOrange11'>Genetics</span>");
}

function secMenuBDiv()
{
secMenuB.innerHTML = ("<h2><br>"
+" <a class='two' href='contents.html'>Contents</a><br><br>"
+" <a class='two' href='index.html'>Introduction</a><br><br>"
+" <a class='two' href='secA2.html'>Community Nutrition </a><br><br>"
+" <a class='two' href='secB8.html'>Genetics</a><br>"
+" <a class='three' href='secB8.html'>8. Genes and Enzymes</a><br /><br>"
+" <a class='two' href='secC9.html'>Nutritional Status</a><br><br>"
+" <a class='two' href='secD12.html'>Nutrients and Non-Nutrients </a><br><br>"
+" <a class='two' href='secE23.html'>Eating, Digestion and Metabolism</a><br><br>"
+" <a class='two' href='secF35.html'>Nutrition in Health and Disease</a><br><br>"
+" <a class='two' href='secDK.html'>David Kritchevsky</a><br><br>"
+" <a class='two' href='uindex.html'>Index of Updates</a><br><br>"
+"</h2>"
+"<br><br><br><hr><br>"
+"<table cellpadding=0 cellspacing=0 border=0 ><tr>"
+"<td colspan=2 style='font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;'>"
+"<form style='margin:0px; margin-top:4px;'"
+" action='http://search.freefind.com/find.html' method='get' accept-charset='utf-8' target='_self'>"
+"<input type='hidden' name='si' value='59604941'>"
+"<input type='hidden' name='pid' value='r'>"
+"<input type='hidden' name='n' value='0'>"
+"<input type='hidden' name='_charset_' value=''>"
+"<input type='hidden' name='bcd' value='&#247;'>"
+"<input type='text' name='query' size='15'>"
+"<input type='submit' value='search'>"
+"</form>"
+"</td></tr><tr>"
+"<td style='text-align:left; font-family: Arial, Helvetica, sans-seriffont-size: 7.5pt; padding-top:4px;'>"
+"<a style='text-decoration:none; color:gray href='http://www.freefind.com' >"
+"search engine</a><a style='text-decoration:none; color:gray;' href='http://www.freefind.com' > by'"
+"<span style='color: #606060;'>freefind</span></a>"
+"</td>"
+"<td style='text-align:right; font-family: Arial, Helvetica, sans-serif;font-size: 7.5pt; padding-top:4px;'>"
+"<a href='http://search.freefind.com/find.html?si=59604941&amp;pid=a'>advanced</a>"+"</td></tr>"
+"</table><br>Ctrl+F to search this page<br><hr>"


);
}

//secC page
function secHeadCDiv()
{
secHeadC.innerHTML = ("<span class='centerOrange11'>Nutritional Status</span>");
}

function secMenuCDiv()
{
secMenuC.innerHTML = ("<h2><br>"
+" <a class='two' href='contents.html'>Contents</a><br><br>"
+" <a class='two' href='index.html'>Introduction</a><br><br>"
+" <a class='two' href='secA2.html'>Community Nutrition </a><br><br>"
+" <a class='two' href='secB8.html'>Genetics</a><br><br>"
+" <a class='two' href='secC9.html'>Nutritional Status</a><br>"
+" <a class='three' href='secC9.html'>; 9. Evaluation of Dietary Intake</a><br>"
+" <a class='three' href='secC10.html'>10. Measurement of Energy </a><br>"
+" <a class='three' href='secC11.html'>11. Body composition</a><br><br>"
+" <a class='two' href='secD12.html'>Nutrients and Non-Nutrients </a><br><br>"
+" <a class='two' href='secE23.html'>Eating, Digestion and Metabolism</a><br><br>"
+" <a class='two' href='secF35.html'>Nutrition in Health and Disease</a><br><br>"
+" <a class='two' href='secDK.html'>David Kritchevsky</a><br><br>"
+" <a class='two' href='uindex.html'>Index of Updates</a><br><br>"
+"</h2>"
+"<br><br><br><hr><br>"
+"<table cellpadding=0 cellspacing=0 border=0 ><tr>"
+"<td colspan=2 style='font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;'>"
+"<form style='margin:0px; margin-top:4px;'"
+" action='http://search.freefind.com/find.html' method='get' accept-charset='utf-8' target='_self'>"
+"<input type='hidden' name='si' value='59604941'>"
+"<input type='hidden' name='pid' value='r'>"
+"<input type='hidden' name='n' value='0'>"
+"<input type='hidden' name='_charset_' value=''>"
+"<input type='hidden' name='bcd' value='&#247;'>"
+"<input type='text' name='query' size='15'>"
+"<input type='submit' value='search'>"
+"</form>"
+"</td></tr><tr>"
+"<td style='text-align:left; font-family: Arial, Helvetica, sans-seriffont-size: 7.5pt; padding-top:4px;'>"
+"<a style='text-decoration:none; color:gray href='http://www.freefind.com' >"
+"search engine</a><a style='text-decoration:none; color:gray;' href='http://www.freefind.com' > by'"
+"<span style='color: #606060;'>freefind</span></a>"
+"</td>"
+"<td style='text-align:right; font-family: Arial, Helvetica, sans-serif;font-size: 7.5pt; padding-top:4px;'>"
+"<a href='http://search.freefind.com/find.html?si=59604941&amp;pid=a'>advanced</a>"+"</td></tr>"
+"</table><br>Ctrl+F to search this page<br><hr>"


);
}

//secD page
function secHeadDDiv()
{
secHeadD.innerHTML = ("<span class='centerOrange11'>Nutrients and Non-Nutrients</span>");
}

function secMenuDDiv()
{
secMenuD.innerHTML = ("<h2><br>"
+" <a class='two' href='contents.html'>Contents</a><br><br>"
+" <a class='two' href='index.html'>Introduction</a><br><br>"
+" <a class='two' href='secA2.html'>Community Nutrition </a><br><br>"
+" <a class='two' href='secB8.html'>Genetics</a><br><br>"
+" <a class='two' href='secC9.html'>Nutritional Status</a><br><br>"
+" <a class='two' href='secD12.html'>Nutrients and Non-Nutrients </a><br>"
+" <a class='three' href='secD12.html'>12. Essential Nutrients</a><br />"
+" <a class='three' href='secD13.html'>13. Amino Acids and Proteins</a><br />"
+" <a class='three' href='secD14.html'>14. Lipids</a><br />"
+" <a class='three' href='secD15.html'>15. Carbohydrates</a><br />"
+" <a class='three' href='secD16.html'>16. Dietary Fibre</a><br />"
+" <a class='three' href='secD17.html'>17. Alcohol</a><br />"
+" <a class='three' href='secD18.html'>18. Vitamins</a><br />"
+" <a class='three' href='secD19.html'>19. Plant Secondary Metabolites</a><br />"
+" <a class='three' href='secD20.html'>20. Water, Electrolytes , Elements</a><br />"
+" <a class='three' href='secD21.html'>21. Non Nutritive Components</a><br />"
+" <a class='three' href='secD22.html'>22. Agricultural Chemicals</a><br /><br />"
+" <a class='two' href='secE23.html'>Eating, Digestion and Metabolism</a><br><br>"
+" <a class='two' href='secF35.html'>Nutrition in Health and Disease</a><br><br>"
+" <a class='two' href='secDK.html'>David Kritchevsky</a><br><br>"
+" <a class='two' href='uindex.html'>Index of Updates</a><br><br>"
+"</h2>"
+"<br><br><br><hr><br>"
+"<table cellpadding=0 cellspacing=0 border=0 ><tr>"
+"<td colspan=2 style='font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;'>"
+"<form style='margin:0px; margin-top:4px;'"
+" action='http://search.freefind.com/find.html' method='get' accept-charset='utf-8' target='_self'>"
+"<input type='hidden' name='si' value='59604941'>"
+"<input type='hidden' name='pid' value='r'>"
+"<input type='hidden' name='n' value='0'>"
+"<input type='hidden' name='_charset_' value=''>"
+"<input type='hidden' name='bcd' value='&#247;'>"
+"<input type='text' name='query' size='15'>"
+"<input type='submit' value='search'>"
+"</form>"
+"</td></tr><tr>"
+"<td style='text-align:left; font-family: Arial, Helvetica, sans-seriffont-size: 7.5pt; padding-top:4px;'>"
+"<a style='text-decoration:none; color:gray href='http://www.freefind.com' >"
+"search engine</a><a style='text-decoration:none; color:gray;' href='http://www.freefind.com' > by'"
+"<span style='color: #606060;'>freefind</span></a>"
+"</td>"
+"<td style='text-align:right; font-family: Arial, Helvetica, sans-serif;font-size: 7.5pt; padding-top:4px;'>"
+"<a href='http://search.freefind.com/find.html?si=59604941&amp;pid=a'>advanced</a>"+"</td></tr>"
+"</table><br>Ctrl+F to search this page<br><hr>"


);
}

//secE page
function secHeadEDiv()
{
secHeadE.innerHTML = ("<span class='centerOrange11'>Eating, Digestion and Metabolism</span>");
}

function secMenuEDiv()
{
secMenuE.innerHTML = ("<h2><br>"
+" <a class='two' href='contents.html'>Contents</a><br><br>"
+" <a class='two' href='index.html'>Introduction</a><br><br>"
+" <a class='two' href='secA2.html'>Community Nutrition </a><br><br>"
+" <a class='two' href='secB8.html'>Genetics</a><br><br>"
+" <a class='two' href='secC9.html'>Nutritional Status</a><br><br>"
+" <a class='two' href='secD12.html'>Nutrients and Non-Nutrients </a><br><br>"
+" <a class='two' href='secE23.html'>Eating, Digestion and Metabolism</a><br>"
+" <a class='three' href='secE23.html'>23. Smell and Taste</a><br />"
+" <a class='three' href='secE24.html'>24. Intake and Satiety</a><br />"
+" <a class='three' href='secE25.html'>25. Gastrointestinal Tract</a><br />"
+" <a class='three' href='secE26.html'>26. Amino Acid and Protein Digestion and Metabolism</a><br />"
+" <a class='three' href='secE27.html'>27. Carbohydrate Digestion and Metabolism</a><br />"
+" <a class='three' href='secE28.html'>28. Lipid Digestion and Metabolism</a><br />"
+" <a class='three' href='secE29.html'>29. Thermodynamics</a><br />"
+" <a class='three' href='secE30.html'>30. Cell Metabolism</a><br />"
+" <a class='three' href='secE31.html'>31. Mitochondria</a><br />"
+" <a class='three' href='secE32.html'>32. Cytochrome P450</a><br />"
+" <a class='three' href='secE33.html'>33. Free Radicles</a><br />"
+" <a class='three' href='secE34.html'>34. Organ Fuel Selection</a><br /><br />"
+" <a class='two' href='secF35.html'>Nutrition in Health and Disease</a><br><br>"
+" <a class='two' href='secDK.html'>David Kritchevsky</a><br><br>"
+" <a class='two' href='uindex.html'>Index of Updates</a><br><br>"
+"</h2>"
+"<br><br><br><hr><br>"
+"<table cellpadding=0 cellspacing=0 border=0 ><tr>"
+"<td colspan=2 style='font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;'>"
+"<form style='margin:0px; margin-top:4px;'"
+" action='http://search.freefind.com/find.html' method='get' accept-charset='utf-8' target='_self'>"
+"<input type='hidden' name='si' value='59604941'>"
+"<input type='hidden' name='pid' value='r'>"
+"<input type='hidden' name='n' value='0'>"
+"<input type='hidden' name='_charset_' value=''>"
+"<input type='hidden' name='bcd' value='&#247;'>"
+"<input type='text' name='query' size='15'>"
+"<input type='submit' value='search'>"
+"</form>"
+"</td></tr><tr>"
+"<td style='text-align:left; font-family: Arial, Helvetica, sans-seriffont-size: 7.5pt; padding-top:4px;'>"
+"<a style='text-decoration:none; color:gray href='http://www.freefind.com' >"
+"search engine</a><a style='text-decoration:none; color:gray;' href='http://www.freefind.com' > by'"
+"<span style='color: #606060;'>freefind</span></a>"
+"</td>"
+"<td style='text-align:right; font-family: Arial, Helvetica, sans-serif;font-size: 7.5pt; padding-top:4px;'>"
+"<a href='http://search.freefind.com/find.html?si=59604941&amp;pid=a'>advanced</a>"+"</td></tr>"
+"</table><br>Ctrl+F to search this page<br><hr>"


);
}

//secF page
function secHeadFDiv()
{
secHeadF.innerHTML = ("<span class='centerOrange11'>Nutrition in Health and Disease.</span>");
}

function secMenuFDiv()
{
secMenuF.innerHTML = ("<h2><br>"
+" <a class='two' href='contents.html'>Contents</a><br><br>"
+" <a class='two' href='index.html'>Introduction</a><br><br>"
+" <a class='two' href='secA2.html'>Community Nutrition </a><br><br>"
+" <a class='two' href='secB8.html'>Genetics</a><br><br>"
+" <a class='two' href='secC9.html'>Nutritional Status</a><br><br>"
+" <a class='two' href='secD12.html'>Nutrients and Non-Nutrients </a><br><br>"
+" <a class='two' href='secE23.html'>Eating, Digestion and Metabolism</a><br><br>"
+" <a class='two' href='secF35.html'>Nutrition in Health and Disease</a><br>"
+" <a class='three' href='secF35.html'>35. Growth</a><br>"
+" <a class='three' href='secF36.html'>36. Foetal and Placental Nutrition</a><br>"
+" <a class='three' href='secF37.html'>37. Pregnancy, Lactation, and Weaning</a><br />"
+" <a class='three' href='secF38.html'>38. Young, Middle Age and Elderly</a><br>"
+" <a class='three' href='secF39.html'>39. Bone</a><br>"
+" <a class='three' href='secF40.html'>40. Sport</a><br>"
+" <a class='three' href='secF41.html'>41. Nutrition in Space</a><br />"
+" <a class='three' href='secF42.html'>42. Dietary Defiency and Excess</a><br>"
+" <a class='three' href='secF43.html'>43. Nutrition in the Aetiology of Disease</a><br><br>"
+" <a class='two' href='secDK.html'>David Kritchevsky</a><br><br>"
+" <a class='two' href='uindex.html'>Index of Updates</a><br><br>"
+"</h2>"
+"<br><br><br><hr><br>"

+"<table cellpadding=0 cellspacing=0 border=0 ><tr>"
+"<td colspan=2 style='font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt;'>"
+"<form style='margin:0px; margin-top:4px;'"
+" action='http://search.freefind.com/find.html' method='get' accept-charset='utf-8' target='_self'>"
+"<input type='hidden' name='si' value='59604941'>"
+"<input type='hidden' name='pid' value='r'>"
+"<input type='hidden' name='n' value='0'>"
+"<input type='hidden' name='_charset_' value=''>"
+"<input type='hidden' name='bcd' value='&#247;'>"
+"<input type='text' name='query' size='15'>"
+"<input type='submit' value='search'>"
+"</form>"
+"</td></tr><tr>"
+"<td style='text-align:left; font-family: Arial, Helvetica, sans-seriffont-size: 7.5pt; padding-top:4px;'>"
+"<a style='text-decoration:none; color:gray href='http://www.freefind.com' >"
+"search engine</a><a style='text-decoration:none; color:gray;' href='http://www.freefind.com' > by'"
+"<span style='color: #606060;'>freefind</span></a>"
+"</td>"
+"<td style='text-align:right; font-family: Arial, Helvetica, sans-serif;font-size: 7.5pt; padding-top:4px;'>"
+"<a href='http://search.freefind.com/find.html?si=59604941&amp;pid=a'>advanced</a>"+"</td></tr>"
+"</table><br>Ctrl+F to search this page<br><hr>"



);
}



Fotiman




msg:4438109
 6:53 pm on Apr 6, 2012 (gmt 0)

I would try using Firebug or the Chrome developer tools to set breakpoints in the functions, then step through the code. I suspect somewhere in one of those innerHTML writes it's probably replacing the contents of the element that contains your form/input button.

bs6600




msg:4438268
 1:09 pm on Apr 7, 2012 (gmt 0)

It is fixed - it had nothing to do with the above.

Of 43 similar pages I had chosen the one which appeared twice on the site, one with an "A" in its name and one with an "a". I was editing the "a" page (and checking that my edits were reaching the server) but it was the "A" page which was being activated. Doh!

I've been programming for 50 years - I should know it's usually the simple explanation that works best.
thanks anyway

Bill

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved