[Javascript] variable DIV

vkocher at wombat.ch vkocher at wombat.ch
Tue Feb 10 23:49:44 CST 2009


Hello
and thanks for the feedback,
so my blog has 3 column

at this time this is definition of the DIV code for the Leftside (MAP Side)

#left-sidebar-wrapper (line 146)
{
margin-left: 14px;
width: 50%;
float: left;
background-color: #ffffff;
display: inline;
overflow-x: hidden;
overflow-y: hidden;
}

I would imagine a sript checking out the size of the browser deduct 
600px (600px = the middle and right column) keep the result in a variable
to add it like this

width: Variable;

in this case it would not be anymore important about the sice of the 
screen - some will have a samll map othe a large map!
and yes the MAP itself resize allready outmatic to the right size

have a nice day
vincent



Troy III Ajnej wrote:
> Hi Kocher,
> -yes, it is possible...
> But I Am not that sure I understand your final goal.
> Can you please first explain to us: what would you like to do with
> with that value? Since your explanation:
>   
>> and add the Result to a DIV Structure?" 
>>     
> is not very explanatory.
> What do you mean with: and add the Result to a DIV Structure? 
>  
> Regards.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                      Troy III                         progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Date: Tue, 10 Feb 2009 22:29:21 +0100> From: vkocher at wombat.ch> To: javascript at lists.evolt.org> Subject: [Javascript] variable DIV> > Hello> i have a page with 3 column the Middle and right one have a fixed > width the Left one has a Variable Width, as large as the Browser/Screen > would be.> > It is possible to read it out with javascript how large the > Screen/Browser is deduct the px from the Middle and right Column and add > the Result to a DIV Structure?> > and how to do it?> the place this should work would be http://jetztunterwegs.blogspot.com/> and sorry i am a beginner withe javascript - so the how to do should be > easy to add to my page> > thanks a lot> have a nice day> > vincent> _______________________________________________> Javascript mailing list> Javascript at lists.evolt.org> http://lists.evolt.org/mailman/listinfo/javascript
> _________________________________________________________________
> Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
> http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_022009
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript
>
>
>
>
>   




More information about the Javascript mailing list