Jump to content

Adam

Moderators
  • Posts

    5,717
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Adam

  1. You'll want to use something more like: $result = $ipbwi->DB->query(" SELECT * FROM ibf_arcade_sessions s LIMIT 5 "); $i = 1; while ($r = $ipbwi->DB->fetch_row($result)) { echo '#' . $i . '<br />' . $r['mid'] . '<br />'; } Adam
  2. Thin width was just my preference to be honest, I like the look... But I appreciate what you're saying. I'll certainly work on the content changes you said, as I said before the content isn't 100% finished - kind of a first draft that I plan to go through and change the odd bit. Hah yeah I guess they could.. I read somewhere about encoding the email with JavaScript to prevent them scraping it? Probs look into that or removing it. The lightbox I actually coded myself, and just earlier on I over wrote the images used in it by mistake, they were big not so long ago. Thanks for the replies I'll make some changes when I have time! Adam
  3. I've posted my portfolio up here before a while ago but I've been doing some work on it and would be interested to know what people think? Content isn't 100% finished but nearly there! Certain features are a bit dicky I'm aware, but mainly design-wise, what's your impressions? The code and CSS' is a little messy at the moment, they will be cleaned up once development is complete though! Also the images may not be the most optimized, but all will be done in due time! http://www.adamswork.net Thanks, Adam
  4. Definitely do agree! In comparison to the 'stunning' graphics in the header and footer, the content looks boring! By the way few suggestions to improve it, I'd lighten the footer links up a little and make it smaller.. Also on the contact page (from a PHP developer by trade) I'd expect to see a HTML form, not a mailto link! I'm guessing this site is still early in development as the portfolio and code pages don't work, so well done so far! Keep up the good work! Adam
  5. Perhaps this will be of use to you.. function setCaretToEnd (input) { setSelectionRange(input, input.value.length, input.value.length); } Taken from: http://www.faqts.com/knowledge_base/view.phtml/aid/13562 There's a few other functions there that look like they may be of use as well! Adam
  6. Most likely using JavaScript not supported in IE6. Post your code.. Adam
  7. Okay fair do's! What are you assigning $fileatt to? Adam
  8. The directory the uploaded file is in, or the directory the script is running in? The destination directory must be relative to the directory you're running the script from, not where the file is saved. Adam
  9. Try passing "q=test" to every page.. Adam
  10. Link doesn't work pal! Adam
  11. In my opinion, your opinion is wrong. http://langpop.com/ I don't know how reliable these statistics are, but I'd probably trust Google's results more than the rest. Adam
  12. Regular expressions... Adam
  13. ... Then reading the contents of that page is beyond JavaScript. You'll need to look into using a server-side programming language like PHP; more specifically curl or one of the file functions. Adam
  14. You could create a simple function to change the source of the image... function changeImg(obj, url) { if (obj.src) { obj.src = url; } return; } Then call it with onmouseover="changeImg(this, 'rollover3.gif');" .. Adam
  15. Bad markup placing a <h2> within a <p>. You may not want to have h2 { color: red; } ... as if you have more than one <h2> it will change that as well. Give the h2 a class (ie. <h2 class="red">) then change the CSS to: .red { color: red; } Adam
  16. Pass a parameter through the URL telling you what page / question to include. Then have the form from the quiz redirect to that page so you can progress through.. If that makes sense? Adam
  17. Includes a statement..technically. Adam
  18. you can use curly braces.. $query = "SELECT * FROM shownames WHERE `type` = '$type'"; $result = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_assoc($result)) { print '<option value="{$row['showname']}">{$row['showname']}</option>\r'; } Or just escape from the string like: print '<option value="' .$row['showname']. '">' .$row['showname']. '</option>\r'; Adam
  19. Should be: else { include 'home/lvrcrcom/public_html/tests/' . $curPageName; } Adam
  20. It's nice, though a little bland looking - doesn't look very eye catching. I'd round the bottom corners and I'd probs try and incorporate a larger version of that landscape picture into the actual design, subtly though... Just generally try and put some more detail into it, like the menu for example. Overall nice work though, much better than before! Adam
  21. Adam

    redux

    Gotchya thanks!
  22. Try placing this at the top of your script... ini_set('allow_call_time_pass_reference', true); Adam
  23. Ah well that's good news to me! Cheers! Adam
  24. As web developers would you take the time to develop your own JavaScript code, perhaps even library, or would you use something like jQuery? In the past I've always dismissed the idea thinking it would make me look less of an able developer for using it... However after seeing some of the stuff it can do, so easily, perhaps I have it the wrong way round?? Adam
  25. Adam

    redux

    Ah yeah sorry, misread you. That is a good point actually. Might look better slightly more faded and behind the content?
×
×
  • 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.