Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> pętla, tablice i document.getelementbyid
karis
post
Post #1





Grupa: Zarejestrowani
Postów: 217
Pomógł: 2
Dołączył: 23.12.2008

Ostrzeżenie: (0%)
-----


cześc

anpisałem coś takiego

Kod
<script>
function open(adres)
{

  var adres = adres;
  var objekt;
    
  objekt = document.getElementById('koza');
    
  objekt.innerHTML=('<iframe name="I1" marginwidth="1" marginheight="1" height="1" width="1" src="'+adres+'"></iframe>');


}

</script>


jak mozna to przerobic aby otwierał losową stronę z tablicy?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 17:08