🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #50905

Re: ramki frameset - zmiana rozmiaru za pomocą JS?

#50905
From: fuzjusz
Date: Sat, 01 Oct 2011 22:39
26 lines
1797 bytes
> (..) czy można dynamicznie za pomocą JS zmieniać
> rozmiar/proporce podziału ramek.

- - -
index.html
- - -
<html>
	<frameset cols="30%,*" id="rameczki">
		<frame name="menu" src="content.html">
		<frame name="content" src="content.html">
	</frameset>
</html>
- - -
content.html
- - -
<html>
	<body>
		<input type="button" value="duza"
onclick="window.parent.document.getElementById('rameczki').setAttribute('cols',
'50%,*');" />
		<input type="button" value="mala"
onclick="window.parent.document.getElementById('rameczki').setAttribute('cols',
'30%,*');" />
	</body>
</html>
- - -
Technical Details
Message-ID: <6a8c98d6-1d55-4292-9a88-2879dfb0d339@d26g2000vby.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!d26g2000vby.googlegroups.com!not-for-mail
References: <4e83a4bc$0$2445$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!d26g2000vby.googlegroups.com!not-for-mail
From: fuzjusz <buckokamil@gmail.com>
Newsgroups: pl.comp.lang.javascript
Subject: Re: ramki frameset - zmiana rozmiaru za pomocą JS?
Date: Sat, 1 Oct 2011 15:39:41 -0700 (PDT)
Organization: http://groups.google.com
Lines: 28
Message-ID: <6a8c98d6-1d55-4292-9a88-2879dfb0d339@d26g2000vby.googlegroups.com>
References: <4e83a4bc$0$2445$65785112@news.neostrada.pl>
NNTP-Posting-Host: 81.111.92.61
Mime-Version: 1.0
X-Trace: posting.google.com 1317508781 30328 127.0.0.1 (1 Oct 2011 22:39:41 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 1 Oct 2011 22:39:41 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d26g2000vby.googlegroups.com; posting-host=81.111.92.61; posting-account=5EYl2AoAAABPQ9nwIbKf_4wfTuCMNlla
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0,gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit