Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Image Auto Resize Question and Positioning n00b



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
javadev69



Joined: 03 Mar 2008
Posts: 2

PostPosted: Mon Mar 03, 2008 7:09 pm    Post subject: Image Auto Resize Question and Positioning n00b Reply with quote

Hello everyone!

This is my first post and I look forward to working with you guys.

My question is, I have an image 1200PX in width, What i want to be able to do is take this image in a webpage and display the middle of it, cropping the left and right relative to the browser.

To make this more clear, If the browser window is resized to 800px in width, I want to only show the middle 800px of the image, however if the user maximizes the screen, it will then show all 1200px of the image in width (without distortion or actual real cropping)

I know this is doable, my example comes from

www.gs.com

where they do this beautifully with what seems to be a JS script to also have the image resize in motion.

Any help would be greatly appreciated.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap