Search results

  1. smithee

    im looking for this Ajax Script

    Yeah that's a good point, I suppose I've missed that whilst glancing over the provided code late last night. @medina... What essellar has provided should be sufficient enough to meet your requirements; no Ajax here needed at all. If you run into any more trouble, just post another message and...
  2. smithee

    im looking for this Ajax Script

    essellar, correct me if I'm wrong (as I haven't touched JavaScript for a while), but concerning this part of the code: elem = (typeof(div) == "string") ? document.getElementById(div) : div; ... shouldn't div.style.height = height; be elem.style.height = height; instead, as elem has been...
  3. smithee

    How do Facebook Notifications Work?

    Following on from what Alex has said, here's only a few features on Facebook where chances are it uses Ajax: The three icons at the top-left to alert you of any new friend requests, private messages, or notifications The search box The news feed (regularly updates itself) Recommended pages...
  4. smithee

    Language Switching For My Website

    Just had a look at the source of that website, and it looks to be done using jQuery: <script type="text/javascript"> //<![CDATA[ function doTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;var lang=lang_pair.split('|')[1];jQuery.cookie('glang'...
  5. smithee

    MYSQL Highscores Databse

    What would your high scores be based on? I assume it's for a game, but is it in Flash, Java, JavaScript, etc...?
  6. smithee

    SQL Injection?

    Hmmm even I learnt something here, although I did get somewhat confused when the post was titled "SQL Injection"... you really know your stuff misson (with just the one "i")
  7. smithee

    SQL Injection?

    I assume that the e-mails in this code are hard-coded for testing purposes, as you have To and From written as the same e-mail address. In most occasions, if a user is filling out an enquiry form online and an e-mail is sent as a result, this can easily be tampered with by simply what the user...
  8. smithee

    little help

    Have you ever used DIVs? These allow you to divide your page with invisible boxes and you can style them to how you wish. So in your case, wrap the content with a DIV tag, and style its margin and width: <div style="width:200px; margin:auto;"> <p>Hello world.</p> <p>Replace the content...
  9. smithee

    Vending Machine (Game)

    You get a deep fat fryer I insert a door knob
  10. smithee

    Vending Machine (Game)

    You get infra-red I insert a sat-nav
  11. smithee

    Count to 1 Million

    2289 ... 2 + 2 + 8 + 9 = 21, that's how old I am now :D
  12. smithee

    Word Association

    Black eye
  13. smithee

    Community Helpers vs Normal Members

    -16 :p
  14. smithee

    Vending Machine (Game)

    You get everything mentioned in this thread so far I insert a swimming pool
  15. smithee

    game: kill the above user

    You suffer death by one massive cut... a fellow pirate uses his sword on you like a pro.
  16. smithee

    ** FOR A MILLION DOLLARS WOULD YOU ** Game!

    Maybe, if it wasn't over a storey tall, or I'm equipped with a working parachute. (No point getting a million dollars if you won't be around to use it!) << that bit just then was copied & pasted from your post :P For $1,000,000 (or £657,981.31 , depending on if you're from the UK like me)...
  17. smithee

    Vending Machine (Game)

    You get an e-mail that's been forwarded half a billion times about something weird I insert a broken microwave
  18. smithee

    game: kill the above user

    I use a spoon to "shovel" you to death... ouch!
  19. smithee

    game: kill the above user

    you die by attempting to follow alexandgruntz into a computer game, but you smash your computer monitor with your head and get electricuted
  20. smithee

    Vending Machine (Game)

    You would have got £1.29 back, but the machine does not give out change, so you get nothing. I insert my car keys
Top