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 class="bbcode_container"> class="bbcode_description">Code:
class="bbcode_code">slide_params[opt.tab_slide_position] = calc_width
+ "%";to
class="bbcode_container"> class="bbcode_description">Code: class="bbcode_code">slide_params[opt.tab_slide_position] = - (the
value i want to set) ;ive added this to the CSS make it
expand furth
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.
Development
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 :)
Development
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:
class="bbcode_container"> class="bbcode_description">Code CSS:
Development
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 :(
Webmasters
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
Javascript
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 class="bbcode_container"> class="bbcode_description">Code:
class="bbcode_code">slide_params[opt.tab_slide_position] = calc_width
+ "%";to
class="bbcode_container"> class="bbcode_description">Code: class="bbcode_code">slide_params[opt.tab_slide_position] = - (the
value i want to set) ;ive added this to the CSS make it
expand furth
Java

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow