Digital Point Forums
Wire Transfer

Go Back   Digital Point Forums > Design & Development > Programming > JavaScript
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old May 18th 2005, 1:47 am
delimidilli delimidilli is offline
Peon
 
Join Date: May 2005
Posts: 8
delimidilli is an unknown quantity at this point
Exclamation urgent question! I have 5 hours left!

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...

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...
Reply With Quote
  #2  
Old May 18th 2005, 1:50 am
davedx's Avatar
davedx davedx is offline
Hand of A'dal
 
Join Date: Feb 2005
Location: UK
Posts: 429
davedx is on a distinguished road
Can't be bothered giving you a full solution, but this page looks like more or less what you need
Reply With Quote
  #3  
Old May 18th 2005, 1:52 am
T0PS3O's Avatar
T0PS3O T0PS3O is offline
Feel Good PLC
 
Join Date: Mar 2004
Location: 0101010101001011
Posts: 13,221
T0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond repute
Quote:
Originally Posted by delimidilli
... otherwise I will fail because he didn't tell these things in his lessons...
LOL. Heard that one before. Or were you asleep/absent perhaps?

A Google search should throw in your face what you need.
__________________
Try:
Sell Your Ad Space - Thousands Of Visitors Want To Buy Your Ad Space
Global Internet Index Directory <- Check it out! ->
Reply With Quote
  #4  
Old May 18th 2005, 2:47 am
delimidilli delimidilli is offline
Peon
 
Join Date: May 2005
Posts: 8
delimidilli is an unknown quantity at this point
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
Reply With Quote
  #5  
Old May 18th 2005, 2:50 am
T0PS3O's Avatar
T0PS3O T0PS3O is offline
Feel Good PLC
 
Join Date: Mar 2004
Location: 0101010101001011
Posts: 13,221
T0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond repute
No thanks.

Have you progressed on this over the last hour?
__________________
Try:
Sell Your Ad Space - Thousands Of Visitors Want To Buy Your Ad Space
Global Internet Index Directory <- Check it out! ->
Reply With Quote
  #6  
Old May 18th 2005, 2:51 am
SERPalert's Avatar
SERPalert SERPalert is offline
Twilight Vanquisher
 
Join Date: Mar 2005
Posts: 994
SERPalert will become famous soon enough
Quote:
Originally Posted by delimidilli
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...

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...
http://www.codebelly.com/javascript/...agechange.html this is exactly what you want

I found it very easily with this search javascript mouseover background change
Reply With Quote
  #7  
Old May 18th 2005, 2:53 am
dirvish dirvish is offline
Champion of the Naaru
 
Join Date: Mar 2005
Location: California
Posts: 143
dirvish is on a distinguished road
This might help: http://www.adjava.info/file.asp?file_id=48

Looks like you might be able to do something like this, haven't tested it though:

<img src="redimage.gif" onMouseover="document.bgColor='red'">
__________________
Found News Network - Get paid to blog!
Reply With Quote
  #8  
Old May 18th 2005, 2:54 am
samm27 samm27 is offline
Champion of the Naaru
 
Join Date: Mar 2005
Posts: 120
samm27 is an unknown quantity at this point
For my homework I need to spend 2 hours with a voluptous redhead - I only have 3 hours left! can anyone please help?
Reply With Quote
  #9  
Old May 18th 2005, 2:55 am
DangerMouse's Avatar
DangerMouse DangerMouse is offline
Hand of A'dal
 
Join Date: Oct 2004
Location: London, New York, Paris
Posts: 273
DangerMouse will become famous soon enough
Quote:
Originally Posted by delimidilli
thanks TOPS30 but I am clever enough to have thought searching from google...
But not enough to check out the results? There must be thousands and thousands of examples

Code:
<a href="#" onMouseOver="javascript:document.bgColor = '#00FF00';" onmouseout="javascript:document.bgColor = '#FFFFFF';"><img src="" ></a>
__________________
uk poker buddies - ukpokerbuddies.com online/offline uk poker community | Bing
Reply With Quote
  #10  
Old May 18th 2005, 2:57 am
dirvish dirvish is offline
Champion of the Naaru
 
Join Date: Mar 2005
Location: California
Posts: 143
dirvish is on a distinguished road
Looks like DangerMouse just did your homework for you.
__________________
Found News Network - Get paid to blog!
Reply With Quote
  #11  
Old May 18th 2005, 3:01 am
DangerMouse's Avatar
DangerMouse DangerMouse is offline
Hand of A'dal
 
Join Date: Oct 2004
Location: London, New York, Paris
Posts: 273
DangerMouse will become famous soon enough
Well... I'm making it up now for when I never bothered at school (not that we had to write javascript at school)
__________________
uk poker buddies - ukpokerbuddies.com online/offline uk poker community | Bing
Reply With Quote
  #12  
Old May 18th 2005, 3:33 am
delimidilli delimidilli is offline
Peon
 
Join Date: May 2005
Posts: 8
delimidilli is an unknown quantity at this point
well... very nice conversations...
Reply With Quote
  #13  
Old May 18th 2005, 3:38 am
T0PS3O's Avatar
T0PS3O T0PS3O is offline
Feel Good PLC
 
Join Date: Mar 2004
Location: 0101010101001011
Posts: 13,221
T0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond repute
I'm sure those who helped you have PayPal accounts
__________________
Try:
Sell Your Ad Space - Thousands Of Visitors Want To Buy Your Ad Space
Global Internet Index Directory <- Check it out! ->
Reply With Quote
  #14  
Old May 18th 2005, 3:45 am
miko67's Avatar
miko67 miko67 is offline
Twilight Vanquisher
 
Join Date: Dec 2004
Location: Copenhagen, Denmark
Posts: 769
miko67 will become famous soon enough
how about a picture of the voluptous redhead?
Reply With Quote
  #15  
Old May 18th 2005, 3:49 am
delimidilli delimidilli is offline
Peon
 
Join Date: May 2005
Posts: 8
delimidilli is an unknown quantity at this point
muuahahahahaha.....!
Reply With Quote
  #16  
Old May 18th 2005, 4:08 am
delimidilli delimidilli is offline
Peon
 
Join Date: May 2005
Posts: 8
delimidilli is an unknown quantity at this point
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! :? ? ? ?......................
Reply With Quote
  #17  
Old May 18th 2005, 4:20 am
misohoni misohoni is offline
of the Nightfall
Recent Blog: Using Go Daddy
 
Join Date: Mar 2004
Location: Hong Kong
Posts: 1,226
misohoni is on a distinguished road
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.
Reply With Quote
  #18  
Old May 18th 2005, 4:35 am
delimidilli delimidilli is offline
Peon
 
Join Date: May 2005
Posts: 8
delimidilli is an unknown quantity at this point
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!
Reply With Quote
  #19  
Old May 18th 2005, 4:56 am
DangerMouse's Avatar
DangerMouse DangerMouse is offline
Hand of A'dal
 
Join Date: Oct 2004
Location: London, New York, Paris
Posts: 273
DangerMouse will become famous soon enough
Don't worry, I can give them the programmers age old response...

"Well, I works in on my machine..." :P
__________________
uk poker buddies - ukpokerbuddies.com online/offline uk poker community | Bing
Reply With Quote
  #20  
Old May 18th 2005, 4:58 am
noppid's Avatar
noppid noppid is offline
gunnin' for the quota
 
Join Date: Feb 2005
Location: RiderInfo.com Motorcycle Forum
Posts: 4,249
noppid is a splendid one to beholdnoppid is a splendid one to beholdnoppid is a splendid one to beholdnoppid is a splendid one to beholdnoppid is a splendid one to beholdnoppid is a splendid one to behold
Quote:
Originally Posted by delimidilli
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!
Which you wouldn't do. Go whine somewhere else. We don't need another programmer diluting the market.
__________________
Learn to ride motorcycles at RiderInfo. Free vBulletin hacks and support at the CHF.
-
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google spidered Brand New site in a few Hours - SERPs in 24 hours!! ! ! Site & Server Administration 32 Oct 28th 2005 6:23 am
Another Question kc3 PHP 10 May 27th 2005 4:02 pm
"Freebie" Package Users: Urgent Notice Owlcroft All Other Tools 5 Feb 11th 2005 8:18 am
Mod Rewrite Question T0PS3O Apache 2 Sep 13th 2004 5:20 am
Link popularity / anchor text question fluke Link Development 8 Jul 21st 2004 12:23 pm


All times are GMT -8. The time now is 8:15 am.