Jump to content

nodster

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Everything posted by nodster

  1. no joy i'm afraid. could there be another way?
  2. Ok modifying it slightly (as i don't really understand the switch function) Could somebody have a look at this code and see where i've gone wrong ??? I have (for the time being) placed this into the <head> of my page but will be making it an external sheet was it works. TIA
  3. I've been thinking about this, could javascript be used to determine the size of window available and then use that answer to load a certain css file, ie so that i could use a fixed background image for each size of window or is that too difficult a way to go about it? Ta ???
  4. Can it be done. My website is best viewed at a high resolution, however i've had some comments that on a smaller screen/resolution i lose some of the page. now i could redo the site for the lower resolution/screen size but this would take to long. So does anyone know of a way to do this in javascript? If indeed it is possible. ??? ???
  5. Ok Thanks for all the input you have given over the couple of months doing this site. Here is the finished article. http://www.phoenixphysio.co.uk Please have a play and see how it 'feels'
  6. Managed to solve the headers being sent problem. Thank god for books (solved it using ob_start() )!
  7. Easiest way to check is to remove the $to in your variables and just type in the email address you wish it to be sent to in the first part of the mail() function. Not the most graceful way but you'll at least know if it works. :-\ sure somebody will have a simpler answer
  8. i tried to do that very thing with JS but couldn't get it to work. Tried using onBlur, onFocusOut to run a function with a popup window but wasn't getting anywhere particularly fast. so with the given code how would i display the error on the same page as as the code works on the submit button the user goes to a generated (white background) page if there are any errors.
  9. Hi once again Changed the font face so that there is the difference in lettering making it easier to read. Reduced the logo (slightly and also made the tag line white) hope it looks better - i certainly think it does so many thanks for the pointers. Invaluable help, full site will be up and running in a couple of days. http://www.phoenixphysio.co.uk/nf_index.php
  10. Hi guys I've nearly finished a contact form and am now looking to tidy it up a bit. In my code i have a validation 'routine' which saves the errors (depending on whether the input has been completed [think of it as required fields]) and then displays them at the end. This stops the form sending and shows the users where the errors are. here is the code (well part of it) if($name){//----> CHECK input } else{ $error.="Please, go back and fill out your first name<br>\n";//----> ERROR if no input } .......... if($toMessage){//----> CHECK input } else{ $error.="You didn't fill out the message box. If you wish to ask a question, please go back and fill out the message box.<br>\n";//----> ERROR if no input } //-------->ERROR FREE?? if($error==""){ echo "Thank you for enquiring about us! A receipt of your submission will be e-mailed to you almost immediately."; //---------------------------------- How can i put the error results (if there are any) into a separate file and redirect the user to it. Basically i want to create a custom error page but show the actual errors that they have made. also how do i incorporate a css layout into a php generated page? Many thanks (edited to add i'm not using a DB to store anything as i don't know SQL that well)
  11. Hi webdesigner Ok the logo is stil a bit big....i'll have a think about reducing it. Could you explain your comment about the tagline. I don't understand how it is still (in your opinion) lacking contrast - do you mean the font face or the color?? The menu is all caps, looking at it in IE and FF the only prob is that About Physio has gone to next line (easily changed). The About Us is actually highlighted and moved left to show to the user which page they are on. I agree about the 'Welcome to ......' Taking it away makes the page (and logo) look better. TIA
  12. Logo placement and direction changed.
  13. https://addons.mozilla.org/en-US/firefox/addon/1429 This is the IE view add on for FF. With it you can right click and select to view the page in IE. might help you, or it might not
  14. Is it the alignment of your page in IE that is wrong. If so try putting html { margin: 0px; padding: 0px; } at the beginning of your CSS file. Hope that helps as without a link its hard to say what is wrong. Also to answer your question i use both IE and Firefox during my webdesign.
  15. Ok [move]Edition 2[/move] so taking on board things that people have said here is the amended page. none of the links work so ain't no point in trying them http://www.phoenixphysio.co.uk/test.php Please give opinions on this
  16. Just had a look at your site. Looks good, the only thing i noticed is that when viewed in IE6 your header logo overlaps the content section by at least 10px. Also the background colour of your logo is not the same as the page background. Hope that helps. :-\
  17. SoCo: Thanks for the support, maybe i should have started this when i was 12 i might be a bit better. But then again when i was 12 the programming was very very basic (anyone remember the commodore 64 that was my first computer). The Little Guy, Many thanks for the pointers. Funnily enough the HTML errors are not from my code but from a stat tracking site. However i have since noticed that my host provides stats in their package so i'll remove that code and my HTML will be error free. Initially i had the nav above the bird but wasn't sure how it look hence i moved it to its current position but i know what you mean about it being a distraction. Do you think it would be better if the links were darker (to remain in the same place??). i'll add link to the home page onto the contact form. I like the meebo colouring, that is the sort of colour scheme i was trying to achieve. I'll make the changes and would appreciate it if you could chack back in a couple of days to see if you approve. Thanks again
  18. Thanks for the reply. Yes i agree the script is causing me headaches but i'm still trying to get with grips with PHP. (ie the errors all use an echo statement i'd rather go to a custom error page but whenever i try to use header('location:http://website/errorpage'); it comes back headers already sent. I find that most of the tutorials out there do it for you but don't really show you the why it is done like that, or even how you could improve it yourself. Saying that i have bought a book on PHP, MySQL and apache and it uses databases for everything, i don't intend on storing info in a DB so some of the stuff is lost on me. I don't want to use a CMS layout as the user is only going to the site for info and not to be able to contribute to it. Hence the simple page design. How would you suggest i improve the look, what is it that makes it uninspiring? The colour.....the lack of images..the layout...the nav??? Thanks for the reply anyway and without feedback i'll never be able to improve, so if you could answer my Q's i would be grateful.
  19. Hi there, In HTML forms you use the 'required-value' to ensure that a field is completed before submission, is there any way to do this check in PHP? If so could you please give me an example or a link to where to find it. Many thanks
  20. Hi guys, Totally self taught (with the help of friendly online tutorials) but this is my first site. Please be gentle http://www.phoenixphysio.co.uk Here is the site. Many thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.