In Progress

$30 javascript image change onclick onmouseover & onmouseout

Hi,

I have this script which works only once after upload. The script has to do the following:

onclick: change image from + to -

onclick again: change back from - to + (this works perfectly if I don't have the mouseout & mouseover)

then it should:

change color onmouseover & onmouseout.

So, starts as a (pink +),

on mouseover changes to (green +)

onmouseout changes to (pink),

onclick changes to (pink -),

onmouseover changes to (green -),

on click changes back to the original (pink +)

Summarizing:

the original color should always be pink, and on mouseover it should change to green.

onclick should change sign.

Here's the code, and the pictures are attached:

<script type="text/javascript">

function togglePlusMinus(objID) {

if (![url removed, login to view]) return;

var ob = [url removed, login to view](objID).style;

[url removed, login to view] = ([url removed, login to view] == 'block')?'none': 'block';

var head = [url removed, login to view]("header_" + objID)

if ([url removed, login to view] == 'block')

[url removed, login to view] = [url removed, login to view]("plus_","minus_")

else

[url removed, login to view] = [url removed, login to view]("minus_","plus_")

}

function PinkToGreen(objID) {

if (![url removed, login to view]) return;

var ob = [url removed, login to view](objID).style;

[url removed, login to view] = ([url removed, login to view] == 'block')?'none': 'block';

var head = [url removed, login to view]("header_" + objID)

if ([url removed, login to view] == 'block')

[url removed, login to view] = [url removed, login to view]("pink_","green_")

}

function GreenToPink(objID) {

if (![url removed, login to view]) return;

var ob = [url removed, login to view](objID).style;

[url removed, login to view] = ([url removed, login to view] == 'block')?'none': 'block';

var head = [url removed, login to view]("header_" + objID)

if ([url removed, login to view] == 'block')

[url removed, login to view] = [url removed, login to view]("green_","pink_")

}

</script>

<a onmouseout="GreenToPink('section1')" onmouseover="PinkToGreen('section1')" onclick="togglePlusMinus('section1'); toggle_it('prforums');toggle_it('prforumsdots');" id="header_section1"><small><b><img src="images/plus_sign_pink_black.gif"/></b></small></a>

<div id="section1" class="sectionHeading"></div>

Skills: Javascript

See more: onclick onmouseover, image onclick javascript, javascript onclick onmouseover, javascript change image src, javascript click change image, img onclick javascript, onclick javascript replace, onmouseover onmouseout onclick innerhtml, image onmouseover onclick javascript, image change onclick onmouseover, onmouseover onclick onmouseout, javascript image onclick, javascript change img src onclick change, replace image onmouseover, javascript onclick replace image, onmouseover change image, change image onmouseover onclick, javascript image change onclick, javascript image change mouseout, onclick change image javascript, change images onclick onmouseover, onmouseover onmouseout onclick function, onclick change innerhtml, innerhtml onclick change image, javascript document onmouseout

About the Employer:
( 6 reviews ) Brussels, Belgium

Project ID: #560063

Awarded to:

ichurakov

Please check Inbox. Thnx.

$30 USD in 0 days
(62 Reviews)
4.8

7 freelancers are bidding on average $30 for this job

DrTech76

Hi, the product of your expectations awaits your review in your message box. Regards, DrTech76

$30 USD in 0 days
(74 Reviews)
5.4
ay4

Ready to work, if you interesting write me PM. Thank you, ay4

$30 USD in 0 days
(15 Reviews)
4.9
snowwolf

lets start right now

$30 USD in 1 day
(9 Reviews)
4.5
roonex

Please view PMB. Thanks

$30 USD in 0 days
(14 Reviews)
3.3
urssoulmate

hi, i am ready to start.

$30 USD in 0 days
(4 Reviews)
2.7
PlaceTalent

Can do it right now. Have prior experience in this. Checked the Image files as well as the entire script.

$30 USD in 0 days
(1 Review)
1.8
developer84

Hi check pm please thanks

$30 USD in 0 days
(0 Reviews)
0.0