You are here: Re: Framesets ? « HTML « IT news, forums, messages
Re: Framesets ?

Posted by jojo on 06/19/06 20:10

Darin McGrew schrieb:
> jojo <jojo.hafner@gmx.de> wrote:
>> What about using CSS to hide the parts of the right page which should
>> not be visible and using JavaScript to make them visible?
>
> If you use JavaScript to make something visible, then you should use
> JavaScript to hide it in the first place. Using CSS to hide it makes it
> inaccessible to those with CSS enabled, but JavaScript
> disabled/unavailable.

OK, you're right. Than replace the head-section in my last posting with
this:

<head>
<title>SomeTitle</title>
<script type="text/javascript" language="javascript">
function showContent(n){
for (i=1; i<=3; i++){
document.getElementById("Content"+1).style.display="none"
}
if (n) document.getElementById("Content"+n).style.display="block"
}
showContent()
</script>
</head>

 

Navigation:

[Reply to this 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

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