Thread View: pl.comp.lang.javascript
3 messages
3 total messages
Started by :a
Wed, 09 Jan 2002 09:53
generowanie "frames" przez javascript
Author: :a
Date: Wed, 09 Jan 2002 09:53
Date: Wed, 09 Jan 2002 09:53
12 lines
1192 bytes
1192 bytes
hej,
pisze wlasnie maly skrytp i utknalem na czyms takim:
var link_code = "nazwapliku";
document.writeln('<frame name="main" src="'+nazwapliku+'" marginwidth="0"
marginheight="0" scrolling="no" frameborder="0" noresize border=0>');
nie wiecie co zrobic zeby to zadzialalo ?
z gory dzieki za pomoc
pozdr
:a
Re: generowanie "frames" przez javascript
Author: [sis]
Date: Wed, 09 Jan 2002 13:45
Date: Wed, 09 Jan 2002 13:45
12 lines
1277 bytes
1277 bytes
> pisze wlasnie maly skrytp i utknalem na czyms takim:
> var link_code = "nazwapliku";
> document.writeln('<frame name="main" src="'+nazwapliku+'" marginwidth="0"
> marginheight="0" scrolling="no" frameborder="0" noresize border=0>');
>
> nie wiecie co zrobic zeby to zadzialalo ?
moze mam przewidzenia, ale nie powinno byc:
var nazwapliku = "link_code.html" :)
pozdrawiam,
Kamil
Re: generowanie "frames" przez javascript
Author: Misio
Date: Thu, 10 Jan 2002 20:05
Date: Thu, 10 Jan 2002 20:05
8 lines
1086 bytes
1086 bytes
Mysle ze chodzi ci o wstawienie ramki na strone, a wiec powinno byc iframe a
nie frame, a poza tym nazwapliku powinna miec tez rozszerzenie np htm
var link_code = "nazwapliku.htm";
document.writeln('<iframe name="main" src="'+link_code+'" marginwidth="0"
marginheight="0" scrolling="no" frameborder="0" noresize border=0>');
tak powinnoci zadzialac
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads