Tisk tisk...do you know how to use a search engine?
here is a page which describes the event on a window.
http://www.devguru.com/Technologies/ecmaScript/quickref/window.html

and here is one for detecting window area
http://www.howtocreate.co.uk/tutorials/javascript/browserwindow


atomek wrote:
> could you introduce your windwos.resize friend to me ;) im totally
> amateur with coding.
>
> On 6 Wrz, 23:23, Lance Dyas <[EMAIL PROTECTED]> wrote:
>   
>> Did you try setting the size of the td the map is in... or are you
>> wanting the
>> map to resize ? if the map is resizing then since our map pages are ...
>> well very dependent
>> on javascript I normally "hijack" ... what I would normally do with css and
>> percentages and do it with Javascript and pixels... it makes the API much
>> happier (ie size its container it by detecting the window size and doing
>> minor math... that kind of thing ... window.onresize is my friend.)
>>
>> atomek wrote:
>>     
>>> changing the table size dont solve the problem until i still have to
>>> specify its size in pixels which would be different on different
>>> screen resolutions. different approach is needed. anyway thanks.
>>>       
>>> On 6 Wrz, 17:14, Rossko <[EMAIL PROTECTED]> wrote:
>>>       
>>>>> http://www.heretik.w.tkb.pl/kml/multilayer2-Copy.htm
>>>>>           
>>>> The map <div> is inside a table which has no specified size at all.
>>>> Tables are intended to grow with their contents, so their default size
>>>> is small.
>>>> Your map <div> has size specified in %, but it's a % of a table
>>>> element which is itself of an unspecified size.
>>>>         
>>>> You might want to get away from using <table> altogether as a layout
>>>> tool, it's not really meant for that.
>>>>         
>>>> Or in the meantime you could experiment with setting the <table> and
>>>> <td> sizes.
>>>>         
>>>> cheers, Ross K
>>>>         
>>> .
>>>       
> >
> .
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to