Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* displayHousing(id) displays sets the id_content div's z-index to 1, and all other id's _content
- *div's z-index to 0;
- */
- function displayHousing(id){
- for(var element in $('#housing_navigation').children()){
- if(id == element.getAttribute('id')){
- $('#' + id + '_content').css('z-index', 1);
- }else{
- $('#' + id + '_content').css('z-index', 0);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement