Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> frameset
vala
post
Post #1





Grupa: Zarejestrowani
Postów: 123
Pomógł: 0
Dołączył: 12.01.2005

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


Witam.
Zalozmy ze mam cos takiego


<frameset rows="*" cols="160,*" framespacing="0" frameborder="YES" border="2">
<frame src="lewe_menu.php" name="leftFrame" scrolling="NO" noresize>
<frame src="glowna.php" name="mainFrame">
</frameset>
<noframes><body>


i teraz w lewe_menu.php
mam header(Location: blabla);

da sie jakos tak zrobic zeby header przekierowywal cale okno a nie samo leftFrame?

Pozdro.


--------------------
Warsztat: Easy PHP 1.7:Apache 1.3.27|PHP 4.3.3|PHPMYADMIn 2.5.3|MYSQL 4.0.15
Go to the top of the page
+Quote Post
revyag
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 258
Pomógł: 16
Dołączył: 21.09.2004
Skąd: Kielce

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


Przy użyciu funkcji header tego nie zrobisz. Możesz spróbować java script:
  1. <?php
  2. echo '<script type=\"text/javascript\">parent.document.location.href=\"strona.php\"</script>';
  3. ?>


--------------------
-------------

------
Go to the top of the page
+Quote Post
vala
post
Post #3





Grupa: Zarejestrowani
Postów: 123
Pomógł: 0
Dołączył: 12.01.2005

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


dzieki dzieki wszystko dziala wysmienicie:)


--------------------
Warsztat: Easy PHP 1.7:Apache 1.3.27|PHP 4.3.3|PHPMYADMIn 2.5.3|MYSQL 4.0.15
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 20.08.2025 - 05:31