simple issue (i think) with setting a width in javasscript.


HOME ยป Java

im trying to set a width dependant on screen sizes to a sliding tab on my site, so it will work on mobile devices but am having some issues with its width.
Im fairly certain the issue requires changing one line in the .js (line 105 in tab_slide.js) from
Code:
slide_params[opt.tab_slide_position] = calc_width + "%";
to
Code:
slide_params[opt.tab_slide_position] = - (the value i want to set) ;
ive added this to the CSS make it expand furth

Related to : simple issue (i think) with setting a width in javasscript.
Setting both min-width and max-width in IE? Expressions?
Java
How do I use the IE expression rule to give an element both a min-width and a max-width?
eg:
width:expression(document.body.clientWidth < 760? "760px": "auto" ); sets the min-width, but not the max-width.
max-width: and ie width: expression issue
Java
I have posted this under the article 10 CSS tricks, but I think my reply can be quicker this way.
Ive got this
#wrap {
max-width:1000px;
min-width:775px;
width: expression(document.body.clientWidth < 775? "775px" : document.body.clientWidth > 1000? "1000px" : "auto");
margin:0 auto;
}
But now my left-column div
#left-column {
float: left;
width: 20%;
margin-left: -100%;
}
disappears in IE6 (dunno bout the others) :( Any help or suggestions?
Thanks for any views at least :)
CSS liquid width , min-width issue
Java
Hello forums please advice me on my liquid width layout. Basically I have two columns . Left is for navigation and right is for contents. I need the left content to be 15&#37; width but will have a min width of 145px. However when I resize the browser the right content clears to the bottom heres what I have:
Code CSS:
JavasScript manuel
Java
Where can i download the javascritp manuel to ofline use? if i not can download it to offline use where can i look the manuel soe ?
i cant findt it :(
Div Width Setting Function Dependant On Client Screen Width JavaScript
Java
I am somewhat of a beginner/ amateur JavaScript developer and have created this function by myself which onload should calculate the client screen dimensions and adjust the width of the div(banner) accordingly leaving only 5px marginleft and 5px from the right edge of the screen. As default, I have set the div width as 1177px but this should change dynamically onload.
Markup below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta ht
simple issue (i think) with setting a width in javasscript.
Java
im trying to set a width dependant on screen sizes to a sliding tab on my site, so it will work on mobile devices but am having some issues with its width.
Im fairly certain the issue requires changing one line in the .js (line 105 in tab_slide.js) from
Code:
slide_params[opt.tab_slide_position] = calc_width + "%";
to
Code:
slide_params[opt.tab_slide_position] = - (the value i want to set) ;
ive added this to the CSS make it expand furth

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .