Question in js about frameset rows

Question in js about frameset rows

am 21.06.2006 11:44:07 von suad

Hi,

I have this page:



title1












And this is the content of the page page1.phtml:



name1


change size of
frame 2




How can I change (using js) the rows of the frameset to:


Thanks
Suad

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Question in js about frameset rows

am 21.06.2006 13:14:38 von J R

------=_Part_5404_24118871.1150888478374
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

appologies to the list. i think this should not be asked here. anyway i'll
answer.

IMHO, there is no easy way to do what you like. what i would suggest is use
"document.write()" or inclosing your frameset in a container "

" then
dynamically change it using "innerHTML"

hth

On 6/21/06, suad wrote:
>
> Hi,
>
> I have this page:
>
>
>
> title1
>
>
>
> > />
>
> > />
>
>
>
>
>
>
> And this is the content of the page page1.phtml:
>
>
>
> name1
>
>
> change size of
> frame 2

>
>
>
> How can I change (using js) the rows of the frameset to:
>
>
> Thanks
> Suad
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
GMail Rocks!!!

------=_Part_5404_24118871.1150888478374--

RE: Question in js about frameset rows

am 21.06.2006 15:39:25 von Bastien Koert

I have fixed values that I adjust to, but you basically need to give the
frame an ID and then use .rows and.columns to adjust the size

function shrink() {
top.document.getElementById("TOP").rows = "65,*,0,46,0";
}

function expand() {

top.document.getElementById("TOP").rows = "65,*,200,46,0";
}


bastien

>From: suad
>To: php-db@lists.php.net
>Subject: [PHP-DB] Question in js about frameset rows
>Date: Wed, 21 Jun 2006 11:44:07 +0200
>
>Hi,
>
>I have this page:
>
>
>
>title1
>
> >rows="10%,30%,10%,*">
> >/>
>
> >/>
>
>
>
>
>
>And this is the content of the page page1.phtml:
>
>
>
>name1
>
>
>change size of frame
>2

>
>
>
>How can I change (using js) the rows of the frameset to:
>
>
>Thanks
>Suad
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Question in js about frameset rows

am 22.06.2006 09:44:16 von suad

Hi,

It's working
Thanks
Suad

Bastien Koert wrote:

> I have fixed values that I adjust to, but you basically need to give
> the frame an ID and then use .rows and.columns to adjust the size
>
> function shrink() {
> top.document.getElementById("TOP").rows = "65,*,0,46,0";
> }
>
> function expand() {
>
> top.document.getElementById("TOP").rows = "65,*,200,46,0";
> }
>
>
> bastien
>
>> From: suad
>> To: php-db@lists.php.net
>> Subject: [PHP-DB] Question in js about frameset rows
>> Date: Wed, 21 Jun 2006 11:44:07 +0200
>>
>> Hi,
>>
>> I have this page:
>>
>>
>>
>> title1
>>
>> >> rows="10%,30%,10%,*">
>> >> scrolling="no" />
>>
>> >> scrolling="no" />
>>
>>
>>
>>
>>
>> And this is the content of the page page1.phtml:
>>
>>
>>
>> name1
>>
>>
>> change size of
>> frame 2

>>
>>
>>
>> How can I change (using js) the rows of the frameset to:
>>
>>
>> Thanks
>> Suad
>>
>> --
>> PHP Database Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php