Jump to content

jeeves245

Members
  • Posts

    145
  • Joined

  • Last visited

About jeeves245

  • Birthday 08/06/1947

Profile Information

  • Gender
    Male

jeeves245's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi all, I got out of the web development game years ago and am now work in a completely different field. I use Wix to manage my website, mainly because it's quick and easy. However I now want to create my own website outside of Wix so I don't have to be tied to their servers anymore. But I want to use an editor that has that simple drag & drop functionality that Wix has. I don't have the time to play with code anymore, so just need something really simple to use. Can anyone suggest a good offline WYSIWYG drag and drop editor? Would be much appreciated
  2. I'm fluent in HTML. Obviously there's something simple that i'm missing. Edit: Ah, I had a play with the code instead of using the designer, and I got it sorted
  3. Hey guys, I have a quick question.. it's probably quite simple but I can't figure it out. I've used one of the built-in templates in Dreamweaver CS4 to design a basic website. What I need to do is insert some text in the grey box on the left side (see attachment). Clicking on it to insert text as usual doesn't work, and I can't insert a new div tag there. Any ideas? [attachment deleted by admin]
  4. Ah.. missed that As you said, happens to the best of us. Cheers.
  5. Hey guys i'm having a bit of trouble with a script... it's just some basic form validation but I can't get it working (I click submit and it submits even if nothing is in the text boxes). The name of the form is "form1" and in the form tags I am putting "onsubmit="return validate_form(this);" Here is the main code, which I am putting between the head tags: function validemail(email) { invalidChars = " /:,;" if (email == "") { return false; } for (i=0; i<invalidChars.length; i++) { badChar = invalidChars.charAt(i); if (email.indexOf(badChar,0) > -1) { return false; } } atPos = email.indexOf("@",1); if (atPos == -1) { return false; } if (email.indexOf("@",atPos+1) > -1) { return false; } periodPos = email.indexOf(".",atPos); if (periodPos == -1) { return false; } if (periodPos+3 > email.length) { return false; } return true; } //This function will validate a form function validateForm(form1) { if (form1.name.value == "") { alert("Please enter your name to proceed!"); form1.name.focus(); return false; } if (form1.comments.value == "") { alert("Please enter a message to proceed!"); form1.comments.focus(); return false; } if (!validemail(form1.email.value)) { alert("Please enter a correct Email address!"); form1.email.focus(); return false; } return true; } Any ideas appreciated.
  6. Never mind... figured it out..
  7. So I did all that. It all works fine when I view the website on my local computer.. but as soon as I upload it to my host, the CSS isn't loading properly and the fonts/sizes etc are all wrong. Do I need to reference the CSS and javascript files in a different way? At the moment I have them in CSS and scripts folders like you said.
  8. Yep makes sense. Thanks for the tips
  9. No worries. I know a lot of other people have the same problem. Writing code is one thing but designing decent graphics and a nice layout is another thing all together Dorky - thanks for the comment. As I said, I used a WYSIWYG editor so the extra style tag was created by the editor itself. Do you think it'd be a good idea to manually take it out?
  10. I have had a lot of experience with the above but i'm absolutely useless at design so I just use a WYSIWYG editor for any kind of front end work. Thanks for the comments.
  11. Hey guys, i'm just after some opinions on my website.. just the layout etc. I'm not a pro or anything so i've just used a WYSIWYG editor. Any comments/suggestions appreciated. www.otbcomputers.co.nz Thanks in advance
  12. Ah, I just incorporated my $_POSTs into that and it worked. Thanks, much appreciated
  13. Are you 100% positive? Try: echo "Name: " . $name . " | E-mail: " . $email . " | Comments: " . $comments . ""; I'm 100% positive. And that line didn't work. I guess I should probably be more specific about the code, as it may make a difference. It's part of code used to send an e-mail. Here are the bits that matter: $body = "Name: $name | E-mail: $email | Comments: $comments "; if (mail($to, $subject, $body, $headers)) { echo("sent"); } else { echo("failed"); } The rest of the code works just fine, it's just not taking the variables...
×
×
  • 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.