10-09-2009, 02:07
To nie są ramki i tutaj nie ma atrybutu target. Natomiast w temacie może Ci pomóc manipulacja DOM-em i JavaScript.
Kod PHP:
<script>
function writeText(text) {
document.getElementById('content').innerHTML = text;
}
</script>
<div style="overflow: hidden; clear: both;">
<div style="float: left; padding: 5px; width: 100px; height: 500px; border: 1px solid red;">
<a href="#!" onclick="writeText('lorem impsum');">dopisz tekst</a>
</div>
<div id="content" style="float: left; width: 400px; height: 500px; border: 1px solid green; text-align: center;">
</div>
<div id="right" style="float: left; width: 100px; height: 500px; border: 1px solid red;">
</div>
</div>
![[Obrazek: 2169fj2.png]](http://img261.imageshack.us/img261/6295/2169fj2.png)