html - Resizing content with the browser window -
I have a UK map as Flash / SDF movie. This map is embedded in a development tag and a left It is okay in 2 column layouts with columns, a header and a footer I want to change the size of the map when the browser is resizing by the user or I want to resize it as the height and height of the left column. In fact the map should follow the width of the browser / height or height on the left. How do i do this
Many thanks to every cat's skin, there are many different ways, But at the very least you need to make sure that your SWF material container size is scales. If it is a fixed size, then all the stakes are closed. The real challenge is to do something in the left column in order to conform to the changes in the right column, especially when only using CSS and DIV I'm not sure that some unnatural and Is possible without complex gymnastics
A simple, more direct, and possible old-school method is to use one table and two columns with just one row as your column structure. Force the table to fit the table using 100% width and height, then you are guaranteed that the left column will always be the height of the right column. At that point, you need to make sure that the right of the SWF container is used for its height in the right column.
Another way is to use Javascript to stop browser resize events and when this happens, to resize the SWF container.
Comments
Post a Comment