Reply to Setting several styles within one javascript function

Your name:

Reply:


Posted by Spartanicus on 09/29/05 18:26

How should the styles of various elements be manipulated with one
function? The following doesn't work:

function panel() {
document.getElementById('panel').style.display='hidden';
document.getElementById('content').style.marginLeft='30px';
}

Apologies for requesting a shortcut instead of learning javascript
proper, I don't use it enough to make that worthwhile.

--
Spartanicus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация