Re: [PHP-DB] Question in js about frameset rows

2006-06-21 Thread 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 <[EMAIL PROTECTED]>
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



RE: [PHP-DB] Question in js about frameset rows

2006-06-21 Thread 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 <[EMAIL PROTECTED]>
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: [PHP-DB] Question in js about frameset rows

2006-06-21 Thread J R

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 <[EMAIL PROTECTED]> 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!!!