Topic: Dynamically scaleable images (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10856" title="Pages that link to Topic: Dynamically scaleable images (Page 1 of 1)" rel="nofollow" >Topic: Dynamically scaleable images <span class="small">(Page 1 of 1)</span>\

 
Big Cloud
Bipolar (III) Inmate

From: a little too close to NYC
Insane since: Oct 2002

posted posted 11-13-2002 18:13

Hopefully this is a simple question and I don't dig up more than I can handle. Is there a way to have images on a web page dynamically scale to the size of that web page? Example... I'm building a GUI that will be used on a few different sizes of web tablets. Is it possible to have the images "scale" to the size of the browser page. So, if a page is loaded onto a medium sized tablet I get medium sized buttons. If the page is loaded onto a larger tablet I get larger buttons. I will continue to search for a way to do it but I thought I'd throw it out to the people who are doing every day.


Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-13-2002 18:23

Big Cloud: There are probably a number of solutions but they would get messy quickly. If you knew that it would be used on only a fixed number of tablets (like an intranet) then you could do something with JavaScript.

You could detect the tablets resolution and then change the images sources to reflect this.

___________________
Emps

FAQs: Emperor

Big Cloud
Bipolar (III) Inmate

From: a little too close to NYC
Insane since: Oct 2002

posted posted 11-13-2002 18:43

Emps: Yes, there will be fixed number of tablet sizes in a closed intranet (6, 8, 10, 12, and 15"). The idea is to create only 2 or 3 design (sizes) that can effectively scale all objects on a screen. Where I'm hoping to gain out of this is when more tablets are added or the deisgn changes, the coding is minimized. What I'm NOT expecting is to take a design for a 6" panel and scale it up to a 15, or worse yet... try to scale a 15" panel down to a 6.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu