| re: iframe content has the navigation bar
Thanks for the quick reply!
I solved my problem by having one file with the header and footer, and loading the other pages into an iframe in the center of that file - depending upon which navigation button the user clicks.
now I have a new problem. I have a contact form, and want to do some validation. I added a:
onsubmit="return validateForm()"
to the form tag, and I am testing with bad data to see the errors (which are spans to the right of the fields. If there's an error, the innerHTML of the span is filled in, otherwise, nothing appears there.) so I know that the validateForm() is returning false.
Here's the problem -- the whole current page is trying to fit in the iframe in the center of the page. I'm not seeing the form at all, but I get two headers, two nav bars -- seriously ugly and not useful.
Is there anyway to force re-display of the form itself in the frame like it is before the user hits submit?
THANKS!
|