Jump to content

Adam

Moderators
  • Posts

    5,717
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Adam

  1. What? Surely you don't want the ability to add yourself as a friend? What is your actual question / problem? Adam
  2. Does sound a little like 'Microsoft Wiki' :/ Apart from that though, looks good! ...I like the design? Have you recently changed it or something? There is a little flaw in it mind! When the page content is low white space appears underneath... I've included a screen shot to show you. Adam [attachment deleted by admin]
  3. Post the code for your "executeform()" function ..
  4. Found this through Google in about 3 seconds: function IsNumeric(sText) { var ValidChars = "0123456789."; var IsNumber=true; var Char; for (i = 0; i < sText.length && IsNumber == true; i++) { Char = sText.charAt(i); if (ValidChars.indexOf(Char) == -1) { IsNumber = false; } } return IsNumber; } http://www.codetoad.com/javascript/isnumeric.asp Adam
  5. Interesting but, not quite such a good idea I don't think. A problem I thought of straight away is where would you use it? No social networking sites or forums allow you to post JavaScript that I'm aware of.. It seemed a little slow when I clicked to load up the default BBC news page, do you cache the web pages at all? Adam
  6. Adam

    Need Help

    Seriously? You like the colors? Personally I would close this website as soon as I came to it! Horrible color scheme, bland text, boring layout...etc. To improve it I would... Create a better layout... the boxes effect looks boring. There's plenty of tutorials & articles out there on how to create nice looking, search engine friendly designs. You could even look at other websites and try to recreate certain parts of it - obviously not just copying it! Create a better header image.. Very ugly! Again plenty of tutorials out there for creating images in Photoshop and articles on banner design tips.. http://www.google.co.uk/search?q=photoshop+banner+tutorials http://www.webdevelopersnotes.com/tips/web_promotion/web_banner_design_tips.php3 Use a better color scheme.. Use a tool like http://kuler.adobe.com/ to find one! Make the font more appealing.. The font as it is now is so plain and dull. No text stands out above the rest... That big chunk of text you have there looks so boring to read - even though I have no idea what it's about. All I can say now really.. There's not a great deal to critique! Adam
  7. I'd make the background lighter- maybe even a very faint grey going on white? If you could get the corners to be proper round that would improve it aswell! The header font is ugly and like nrg_alpha says, I'd get a footer in there! Was about to say excellent job turning it around until I clicked on to the contact / FAQ pages and saw a very ugly scroll bar!! Then went on to see it was coded in tables! I'd reccommend not worrying about centering it vertically and making the height adjustable for those pages!! Adam
  8. One or two I didn't notice before but, he doesn't appear to be having problems with "15th December 2008".. A maxlength of 10 would also prevent them entering anything like that. Give them a hint? For example: Date of birth: [ ] Eg. 19/9/1974 Would stop the masses entering it wrong, and should account for the odd one who uses a different delimiter! Adam
  9. I'm talking about your contact page? The signup form you can't view at all..
  10. Had a quick play, regular expression would look something like: ^[\d]{2}[-\.:\|][\d]{2}[-\.:\|](19|20)[\d]{2}$ .. That would only match a string in format: DD MM YYYY with a delimiter between them of either: - : . | However I do not know how you could use preg_replace() to replace the delimiter with / every time, perhaps somebody else has an idea?? Adam
  11. Well you could just use three inputs, or three drop down menus to avoid confusion. But if not I suppose you could use a regular expression to extract the 3 parts and then join them back together using your preferred method... Adam
  12. The solution would be in your SQL: SELECT table_b.id FROM table_b, table WHERE table_b.id != table.id I've not tested that but looks kinda right! I'd suggest tidying up your code, what you supplied barely makes sense. Also I'd avoid using predefined names for tables such as "table" and "$array" for arrays... Try to avoid reusing your variables like that as well, just confusing! Adam
  13. The three highest from that array after it's sorted will be: $array[0]; // highest $array[1]; // second highest $array[2]; // third highest I'd recommend not using an array named $array though, may run into troubles... Adam
  14. I don't think you understand what I'm saying? Fair enough the JavaScript does what it does, but in the event of a user not having JavaScript, as it does happen, they cannot (at all) submit your form!
  15. CSS: "list-style position" I've found it to be a little unpredictable across browsers though so you could use a negative margin if all else fails. Adam
  16. You could use a class? getElementsByClass('disable_enable_me'); .. this will return an array of elements, so you'd need to loop through them to disable them all. Adam
  17. Great stuff, thanks! I shall have a play around shortly.. Adam
  18. No I'm saying with JavaScript disabled, the form will not submit! You're using the 'onclick' event on your submit image to.. onClick="CheckContacts();" You can easily get around this by using an <input type="image" ...> and then on the form tag have: <form onsubmit="CheckContacts();" ...> Adam
  19. You can also use 'AJAX' to call a PHP script .. Adam
  20. Could you not provide a test account? If your answer is no because of file security, perhaps an improvement you should be thinking about is being able to limit access to directories? Adam
  21. Sounds like a lot of work! Can't you setup a demo account for people to do the testing? It isn't the most exciting thing in the world to be honest! Mainly I think people here are interested in seeing new ideas, not actually doing the testing.. Or to perhaps help someone out! But I think if you'd like someone to do this for you, you'd be better off providing a test account and make the process a lot easier for them! Adam
  22. To be brutally honest, it wouldn't be a surprise if I saw this on some kind of 'worlds worst websites' site.. It's everything that's wrong with web design! It's google's nightmare too! Try learning some design techniques.. http://www.google.co.uk/search?q=web+design+techniques As ardyandkari said, this will not make you money! Sorry to be harsh.. Adam
  23. Nice look, maybe a little too dark though. Few bad points I found: - On the hosting page the dark blue and white contrast is a little awkward on the eyes.. - On the contact page, you can't submit the form without JavaScript.. - Getting a PHP include error on the "our mission" and "more facts" pages.. - On the "terms of service" page just over half way down there's a list of domains that alternates between blue and white, but the white has white text so you can't see them.. - Also when I try to sign up without JavaScript i get directed to some error page you've made.. http://www.sitepearl.com/billing/signup.php?noscript=1 .. I'd seriously consider changing that!! Overall not bad, needs work though! Adam
  24. Pretty much says it all in the name. I can't simply use getElementById() because I won't know what the IDs will be. I've tried using childNodes but with no look so far - also tried firstChild. This doesn't require compliance with IE as I've already achieved what I want in IE.. Can anybody offer any help? Cheers! Adam
  25. Could use "htmlentites($input_from_page, ENT_QUOTES);" ? Adam
×
×
  • 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.