1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

urgent question! I have 5 hours left!

Discussion in 'JavaScript' started by delimidilli, May 18, 2005.

  1. #1
    I have a small final exam question to do in home and we are allowed to search help. please help me otherwise I will fail because he didn't tell these things in his lessons... :confused:

    here is the question:

    "Write a javascript program that displays 2 pictures. When the mouse move over the first picture, the page background color should change into green, when the mouse move out of picture area, background color should change into white. The same thing should happen for the second picture, when the mouse move into picture area, background color should change into blue, when the mouse move out of picture area, color should change into white.(use following picture: 8.jpg,9.jpg)"

    thanks...
     
    delimidilli, May 18, 2005 IP
  2. davedx

    davedx Peon

    Messages:
    429
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can't be bothered giving you a full solution, but this page looks like more or less what you need :)
     
    davedx, May 18, 2005 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    LOL. Heard that one before. Or were you asleep/absent perhaps?

    A Google search should throw in your face what you need.
     
    T0PS3O, May 18, 2005 IP
  4. delimidilli

    delimidilli Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks TOPS30 but I am clever enough to have thought searching from google... will you please find the answer from google for me if it was too easy????????:p
     
    delimidilli, May 18, 2005 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No thanks.

    Have you progressed on this over the last hour?
     
    T0PS3O, May 18, 2005 IP
  6. SERPalert

    SERPalert Guest

    Messages:
    1,003
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #6
    http://www.codebelly.com/javascript/backimagechange.html this is exactly what you want

    I found it very easily with this search javascript mouseover background change
     
    SERPalert, May 18, 2005 IP
  7. dirvish

    dirvish Peon

    Messages:
    142
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    dirvish, May 18, 2005 IP
  8. samm27

    samm27 Peon

    Messages:
    121
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    For my homework I need to spend 2 hours with a voluptous redhead - I only have 3 hours left! can anyone please help?
     
    samm27, May 18, 2005 IP
    T0PS3O likes this.
  9. DangerMouse

    DangerMouse Peon

    Messages:
    275
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #9
    But not enough to check out the results? There must be thousands and thousands of examples ;)

    <a href="#" onMouseOver="javascript:document.bgColor = '#00FF00';" onmouseout="javascript:document.bgColor = '#FFFFFF';"><img src="" ></a>
    Code (markup):
     
    DangerMouse, May 18, 2005 IP
    dirvish likes this.
  10. dirvish

    dirvish Peon

    Messages:
    142
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Looks like DangerMouse just did your homework for you. ;)
     
    dirvish, May 18, 2005 IP
  11. DangerMouse

    DangerMouse Peon

    Messages:
    275
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Well... I'm making it up now for when I never bothered at school (not that we had to write javascript at school) ;)
     
    DangerMouse, May 18, 2005 IP
  12. delimidilli

    delimidilli Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    well... very nice conversations...:)
     
    delimidilli, May 18, 2005 IP
  13. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I'm sure those who helped you have PayPal accounts ;)
     
    T0PS3O, May 18, 2005 IP
  14. miko67

    miko67 Well-Known Member

    Messages:
    769
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    120
    #14
    how about a picture of the voluptous redhead? :p :D
     
    miko67, May 18, 2005 IP
  15. delimidilli

    delimidilli Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    muuahahahahaha.....!:D
     
    delimidilli, May 18, 2005 IP
  16. delimidilli

    delimidilli Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    SO.... why these codes doesn't work?????? I have tried and combined both the site's codes and the ones that you gave but they do not work! :? ? ? ?......................
     
    delimidilli, May 18, 2005 IP
  17. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #17
    Talk about grateful!!

    Perhaps you fell asleep in the other lessons also in how to implement the codes also?

    If I was your teacher I'd give you an F.
     
    misohoni, May 18, 2005 IP
  18. delimidilli

    delimidilli Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    thank you misohoni, this made me very powerful that I will start to study right now and pass the course in two hours, I know I will be given an F, if there exists people like you! you know that nobody can listen all the lessons second by second with a wonderful concentration. also, there are no notes about this unit, he WANTED US TO SEARCH THE SUBJECT BY OURSELVES!
     
    delimidilli, May 18, 2005 IP
  19. DangerMouse

    DangerMouse Peon

    Messages:
    275
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Don't worry, I can give them the programmers age old response...

    "Well, I works in on my machine..." :p
     
    DangerMouse, May 18, 2005 IP
  20. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #20
    Which you wouldn't do. Go whine somewhere else. We don't need another programmer diluting the market.
     
    noppid, May 18, 2005 IP