Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
css layer help - toggle layer size? |
Page: 1 | Reply |
May 31st 2002 | #50833 Report |
Member since: May 30th 2002 Posts: 23 |
:confused: (help me please) i have a css layer and i would like to make a onclick event toggle the width and height of this css layer. does anyone know if this is at all possible? i have found a way around it but it makes the .html page 8k bigger. and that is to make a copy of the layer in the size that i want and then hide the smaller one with the onclick. i suppose this is ok, but it happens to be the layer where news go in, so i have to copy/paste the news into both layers. not *really* a hassle. but yeah, if anyone knows if the layer width/height thing is possible that would be very cool. thanks mdc |
Reply with Quote Reply |
May 31st 2002 | #50865 Report |
Member since: Jun 30th 2001 Posts: 447 |
I'm pretty sure you can find what you're looking for by visiting http://www.dansteinman.com/dynduo
|
Reply with Quote Reply |
Jun 3rd 2002 | #51174 Report |
Member since: Apr 19th 2001 Posts: 36 |
if you want to change the display area of this layer only, you should change layer.clip(*,*,*,*). if you want to change the width/height of this layer. you should change layer.width/height. but it can only change layer's width/height. if the table's width/height which inside the layer can't be changed. |
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |