-
Posts
213 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by ben3001
-
-
now what i wanted to do is have a calendar, users click a link that opens up a calendar and they choose a date from the calendar which automatically is entered into the date form.i had a script eralier but that did not seem to work any ideas?
-
oops no worries it did work...this morning i opened my email to find 38 emails one of them being
from:scott@scott.comCustomer Name: Scott Wilson Customer Number: 3165165161 People expected: 11-15Date booked for: 61561561 Customer Comments: Test -
for some reason it just is not sending the emails any more i have no idea whats wrong
-
wahoo its looking good nowhttp://ernestbevin.contentman.co.uk/docs/form.phpive added a few features to the php, bit on presentation. is there anyway to change the font, font colour and background colour? or is that pusing it?
-
it didnt work properly it said the email was from:$customerEmail@lunchbox.contentman.co.ukthen in the content it said $customer $customerContact $customerNumber $customerComment
-
firstly i want the form to be able to email my email address directly the information submitted through the site ill tell you the rest after that it might get complicated
-
i think thats actually a hard question...it really depends on the purpose of the site, if its a professional site most definately in my opinion id use very limited flash, however if it is a leisure site more flash would be appropriate
-
im sure its something to do with my php but i just cant see where
-
ok i got my booking form http://music0202.atspace.com/online2.htmheres the php for my booking form:
<?php $successPage = "http://medussa.atspace.com/contactok.html"; $failPage = "http://medussa.atspace.com/contactfail.html"; $targetEmail = "b_e_n04@hotmail.com"; if( !isset( $_POST[ 'sendcontact'])) { header( 'Location: ' . $failPage); exit( ); } else { $contactName = strlen( $_POST[ 'custName']) > 0 ? $_POST[ 'custName'] : false; if( !eregi( "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$", $_POST[ 'custEmail'])) $contactEmail = false; else $contactEmail = $_POST[ 'custEmail']; $contactPhone = isset( $_POST[ 'custContact']) && strlen( $_POST[ 'custContact']) > 10 ? $_POST[ 'custContact'] : false; $contactGuests = isset( $_POST[ 'custNum']) ? $_POST[ 'custNum'] : false; $contactDate = isset( $_POST[ 'custDate']) ? $_POST[ 'custDate'] : false; $contactMessage = strlen( $_POST[ 'custComment']) > 5 ? $_POST[ 'custComment'] : false; if( $contactName && $contactEmail && $contactPhone && $contactGuests && $contactDate) { // We want to process this request and try and send it $header = 'From:' . $contactEmail . "\r\n" . // This allows us to reply to the message directly 'Reply-To: ' . $contactEmail . "\r\n" . 'X-Mailer: PHP/' . phpversion( ); $message = "Customer Name: " . $contactName . "\n" . "Phone #: " . $contactPhone . "\n" . "Email: " . $contactEmail . "\n" . "Estimated Guests: " . $contactGuests . "\n" . "Date Requested: " . $contactDate . "\n" . "Comments: \n" . $contactMessage . "\r\n"; if( mail( $targetEmail, "Order Request", $message, $header)) { header( 'Location: ' . $successPage); }else{ header( 'Location: ' . $failPage); exit( ); } } else { header( 'Location: ' . $failPage); exit( ); } }?>
when i try to submit the form im taking to my error page, would anyone know the problem with my php code or even htmlid really appreciate if someone could find out my problem please
-
scott your a diamond http://medussa.atspace.com/links/calendar.htm its excellent thanks
-
this is the try editor http://www.w3schools.com/js/tryit.asp?file...tryjs_animation
Can you provide a link to the javascript that you saw and we can have a look.You questions sounds straightforward enough after that -
on my site http://medussa.atspace.com/links/calendar.htmi want it so that when you hover over the months it changes to a different picture, and when its selected stays on that picture, if i make sensei saw a javascript on w3schools but it only seemed to work for one image and i need to do it for 12, got any ideasthanks in advance
-
my bad your a star cheers
Your page has 2 forms tags on it, one above the <html> remove it and it's matching </form> and then add the action to the form in the body.<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPage.Editor.Document"><title>Select Date</title><script language="javascript" src="cal2.js"></script><script language="javascript" src="cal_conf2.js"></script></head><body bgcolor="#000000"> <div> <b><font color="#FFFFFF" size="4" face="Verdana">Book Online</font></b> <p><b><font size="1" color="#FFFFFF" face="Verdana">Use the booking form below to submit your booking for a night out at Medussa Brixton. Please ensure all fields are filled out correctly. You will be contacted within twenty-four hours via phone to confirm your booking. Please leave any additional information in the comments box.</font></b></p> </div><form name="sampleform" action="http://www.hypersonicscream.com/medussa.php" method="post"> <div> <p><font face="Verdana" size="2"><font color="#FFFFFF"> <span>Name</span> </font> <span><input type="text" name="custName" size="25" maxlength="35" /></span> </font> </div> <div> <font face="Verdana" size="2"> <span><font color="#FFFFFF">E-Mail Address</font></span> <span><input type="text" name="custEmail" size="35" maxlength="100" /></span> </font> </div> <div> <font face="Verdana" size="2"><font color="#FFFFFF"> <span>Telephone</span> </font> <form action="http://www.hypersonicscream.com/medussa.php" method="post"> <span><input type="text" name="custContact" size="20" maxlength="20" /></span> </font> </div> <div> <font face="Verdana" size="2"><font color="#FFFFFF"> <span># People</span> </font> <span><select name="custNum"> <option value="1-10">1-10</option> <option value="11-15">11-15</option> <option value="16-20">16-20</option> <option value="21-30">21-30</option> <option value="31-40">31-40</option> <option value="41-50">41-50</option> <option value="51-60">51-60</option> <option value="61-70">61-70</option> <option value="71-80">71-80</option> <option value="81-90">81-90</option> <option value="91-100">91-100</option> <option value="100+">100+</option> </select> </span> </font> </div> <div> <font color="#FFFFFF" face="Verdana" size="2"> <span>Date</span> </font><input type="text" name="custDate" size=20><font face="Verdana" size="2"><span><font color="#FFFFFF">(DD/MM/YY)</font></span></font><small><a href="java script:showCal('Calendar1')">Select Date</a></small> </div> <div> <font face="Verdana" size="2"><font color="#FFFFFF"> <span>Comments</span> </font> <span> <input type="text" name="custComment" size="40" maxlength="255" /></span> </font> </div> <div> <span> <font face="Verdana" size="2"> <input type="submit" name="submit" value="Send" /> <input type="reset" name="Reset" value="Reset" /> </font> </span> </div><p> </p></form></body></html>
-
thanks for the great site, ive got my calendar to work, but now it will not submit the form any ideas?http://music0202.atspace.com/online.htm
If you go to the website Dynamic Drivethere is a section that gives you the code to create calendars for forms. -
I have a booking form on my sitehttp://medussa.atspace.com/medussa.html --> book onlinebut what i think well be a great feature for users to do is be able to select the date from like a calendar at the side so they are garunteed to select the right date, but i have no idea of how to complete my idea and was wondering is there anyone that could assit mecheers in advance ben
-
thanks for your help mate. the simplest things are not always obvious
Your html code has you nesting the "info" iframe inside the "content" iframe and not even closing one of them - probably just a mistake... That is your problem... IE forgives you ... FF doesn't...Just fix it so that you have to separate iframe elementsYour original code (formatted for easy viewing):<center> <iframe src="../months/blank.htm" name="calendar" frameborder="0" scrolling="auto" width="200" height="230"></center> <iframe src="../months/blank.htm" name="info" frameborder="0" scrolling="auto" width="200" height="230"> </iframe>
How it should be:
<center> <iframe src="../months/blank.htm" name="calendar" frameborder="0" scrolling="auto" width="200" height="230"> </iframe></center> <iframe src="../months/blank.htm" name="info" frameborder="0" scrolling="auto" width="200" height="230"> </iframe>
-
the problem is on this site http://medussa.atspace.com/medussa.htmlcalendar-->click any month--> click any eventthe calendar page uses 2 iframes, for some reason firefox will not allow that and opens the link up in a new window, where as IE happily opens the page in the next iframeanyone got any ideasthanks in advanceben
-
CSS1 to CSS2
in CSS
thanks a million Aphotic, your a diamond. now i was wondering is there anyway to get your website scrollbars so they appear coloured in FF, becuase in i.e there fine but in FF there not
body {background-color: #000000;margin: 0px;}a {color: #E55E5N;}a:visited {color: #86B300;}a:hover {color: #E2FF8A;}a:active {color: #E55E5N;}
First, you need either 3 or 6 hexadecimals numbers, so replace your colors or add the correct number in "N". Also, W3C suggests that whenever you present the attribute "color" or "background-color", that you would follow it with its pair, i.e.:
body {background-color: #000000; color: #FFFFFF; margin: 0px;}
or
a:hover {color: #E2FF8A; background-color: #000000;}
Finally, adjusting your scrollbar is not actually a universal CSS property, it's actually a MS properties. Also, make sure that NONE of your code is in caps, for the exception of hexadecimals numbers. If you really want to, though, the proper code alteration for CSS2 for the scrollbar would be:
body{scrollbar-face-color:#A2D800;scrollbar-arrow-color:#000000;scrollbar-track-color:#333333;scrollbar-shadow-color:'#000000';scrollbar-highlight-color:#NNNNNN;scrollbar-3dlight-color:#NNNNNN;scrollbar-darkshadow-Color:#NNNNNN;}
Whereas "N" is replaced with the proper hexadecimals numbers for the color.Understand what I'm saying?~Aphotic
-
CSS1 to CSS2
in CSS
how would i change this css1 to css2 code?
BODY{scrollbar-face-color:#A2D800;scrollbar-arrow-color:#000000;scrollbar-track-color:#333333;scrollbar-shadow-color:'#000000';scrollbar-highlight-color:'';scrollbar-3dlight-color:'';scrollbar-darkshadow-Color:'';body { background-color: #000000; margin: 0px; } a { color: #E55E5;}a:visited { color: #86B300;}a:hover { color: #E2FF8A};}a:active { color: #E55E5;}
thanks for help inadvance ben
-
im using 1.5. could you tell me how you saw the siteThey seem to be very close...very minor differences. The calendar opened the same in both IE and FF for me. I am using FF 1.5. What version did you use? -
i understand...so ill change the css to css2 and see how it looks thanks for that, what would be the difference and how would it be changed then? ill post in css forumIE and FF render CSS diffrently.IE still uses CSS1 while FF uses CSS2. They both have some differences in JavaScript objects and methods as well. -
Hi peoplei have made this site which is viewable here: http://medussa.atspace.com/medussa.html its a nightclub siteIf page does not display refresh it a view times, its on a free host and sometimes takes time to load. AnywaysThe problem is when i view it in i.e it displays perfectly i cant ask for any better, the very limited css i use works perfectly, however when i view the site in firefox, my css doesnt seem to work anywherealso on my calendar page it automatically opens up at the month july in firefox, but in ie it opens up with a blank area how it should do, would anyone know the reason for that?i was going to post this in css but it seems to be in my html. maybe im just being stupid and will see where it goesit will be most greatful if someone could assit me in my problems im having.thanks in advance ben
-
Hi peopleim Ben, im pretty new to html and have been using w3c for a long time as a good source of reference, but have only recently found the forumthis looks like a great place so howdeh all!!!!
Booking form Select Date
in HTML/XHTML
Posted
thats what i had before but it wasnt working with my form, now its with php i still have no idea sorry