need javascript to change xhtml stacking order (z-indexes)

I have a relatively simple xhtml page where a text block is hidden behind a large photograph. There is also button (a png graphic) visible on the page. When the user clicks the button, we want the hidden text block to move forward and become visible in front of the photograph.

Thus, we need appropriate javascript (for the button) that will change the stacking order of the text block and the photograph when the button is clicked. There are already z-index values in the code, so this should be simple and straightforward for an experienced javascript coder.

Attached is a sample page code. I want you to add the javascript, both in the header and in the body.

Note: there are only three objects on the page: the button ([url removed, login to view] = item1), the photograph ([url removed, login to view] = item 3), and the hidden text block (item2). Each of these objects is identified by an id # in the code. The javascript should reference the id #s of the text block and photograph, instructing that the z-values for each be switched each time the button is clicked.

Compétences : PHP, Architecture Logicielle

en voir plus : stacking order javascript, javascript button change stacking order, need javascript coder, javascript to c++, javascript three, javascript coder, change software, change front page, javascript change button, javascript add button, text javascript, change javascript, javascript text, photograph body, need appropriate, header large, body photograph, change text jpg text, xhtml jpg, png order

Concernant l'employeur :
( 1 commentaire ) Ithaca, United States

Nº du projet : #1230539

Décerné à:


Do i understand the project right? On button click photo and text z-indexes are switched, on another click they are switched again, and so on back and forth. If i do, just select me as project provider, i'll send you t Plus

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(174 Commentaires)

4 freelance font une offre moyenne de $33 pour ce travail


I'm ready for this job

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(62 Commentaires)

please check your pmb

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(91 Commentaires)

Hi, Zend Certified Engineer in PHP5 here. Can do this in few hours. Thank you.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(5 Commentaires)