davidg369
08-29-2007, 11:28 AM
Hey everyone,
Just had a couple of questions re: some problems I'm having with a site I've done for a friend. The site is here (it's an older version that I've sorted a few problems out with, but the ones I need help with are there):
http://www.users.on.net/~davidgardner
1. Inside the main page, sometimes if you scroll too quickly over the 'toyohari' and 'clinic' buttons, one of them won't close properly, so there'll be two drop downs open at the same time. They're set up with closer buttons on rollout. Does anyone know how to fix this problem?
2. My contact form doesn't seem to send it's info anywhere! My page is called index.htm, and I have a php file called index.php with the text below inside it which I think should cause the form to send properly, but it doesn't. Does hosting need to be set up specially for php? Anyone know what's causing this?
.php text:
<?
$to = "emailaddressinsertedhere";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");
?>
I'd really appreciate any help, the menu is a bit sloppy when it doubles up, and I really like the contact form, but if I can't get it working I'll have to replace it with an email link.
Thanks very much in advance!
David
Just had a couple of questions re: some problems I'm having with a site I've done for a friend. The site is here (it's an older version that I've sorted a few problems out with, but the ones I need help with are there):
http://www.users.on.net/~davidgardner
1. Inside the main page, sometimes if you scroll too quickly over the 'toyohari' and 'clinic' buttons, one of them won't close properly, so there'll be two drop downs open at the same time. They're set up with closer buttons on rollout. Does anyone know how to fix this problem?
2. My contact form doesn't seem to send it's info anywhere! My page is called index.htm, and I have a php file called index.php with the text below inside it which I think should cause the form to send properly, but it doesn't. Does hosting need to be set up specially for php? Anyone know what's causing this?
.php text:
<?
$to = "emailaddressinsertedhere";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "Message From: Online client\nReply-To: $email\n");
?>
I'd really appreciate any help, the menu is a bit sloppy when it doubles up, and I really like the contact form, but if I can't get it working I'll have to replace it with an email link.
Thanks very much in advance!
David