aah!
i didn't realise the implications of using the same value in the javascript expressions technique. i've changed one of the values and all seems to be working fine!
and my content is all floated so kaht's method didn't do the trick - it just reduced the width of my content to the minimum...
- i tried using javascript expressions like this...
width:expression(document.body.clientWidth < 500 ? "500px" : "100%" );
and, as soon as the browser window reaches the minimum width IE6 crashes.
- i tried using the technique here... http://www.cssplay.co.uk/boxes/minwidth.html and it...
hi,
i'm looking for a fool-proof, catch-all solution to prevent my site from squashing below a minimum width in IE. the entire site is contained within a wrapper div which has a 100% width and a fixed min-width (which works in FF, opera, etc.)
in IE and when the browser window is resized below...
hi!
i've got three dropdowns which represent a date - one for the date, one for the month and one for the year. problem is i need to force people to select a friday!
i'm creating a date object from these 3 fields and then i'm using getDay() to find out which day of the week the user has...
ok! i'm an idiot!
i've just discovered that the code i put above splits the string up and puts the bits in an array!
so the following seems to work...
var myArray = document.all.hiddenform.action.value.split(".w");
myParams = myArray[1];
thanks for your incredibly quick response though...
hi,
i've got a URL with parameters in a hidden field which looks something like...
/cgi-bin/blahblah/page.w?param1=1¶m2=2
i need to chop off the first part of the URL, so i'm left with
?param1=1¶m2=2
can anyone recommend a way to do this, please?
previously i've had to do this with...
hi,
i've got a url with a load of parameters on the end of it. i want to be able to retrieve one of those parameters and display something different in the page depending on it's value.
i'll write some pseudo code to explain what i'm on about:
the url is something like this (with different...
hi,
i'm using resizeTo(w,h), to resize a pop up, but i would like to remove the browser furniture like you can with window.open().
all i need is a window, with a title bar and my content. is there an easy way to do this without using window.open()?
thanks,
ss...
at the moment this swaps between 2 bits of content when i click on the image, but ultimately i want this to automatically swap between 2 bits of content.
can anyone suggest the easiest way to do this?
the code is...
var lower = "blah blah blah";
var upper = "BLAH BLAH BLAH";
function test()...
hi,
i've got a div, which contains a bit of text. i would like the page to load, wait a few seconds and change the div to a different bit of text, wait a few seconds more and change back to the original text, wait and then repeat.
i've tried the following, but it seems to crash the browser...
i've got a form which, when filled out incorrectly, displays the form again populating the fields with what the user submitted.
it's easy enough for most of my fields...
<input name="firstName" value="<?=$firstName?>">
...etc.
the problem i've got is that i don't know how to display a drop...
hi guys,
i wonder if anyone can help.
i've been asked to do a small web project.
the breakdown is...
- a page which submits the data from a form to...
- a MySQL database
- that's it!
i'm not sure how much to charge, because it's such a small project.
can anyone give me a rough idea? or...
i thought it'd be something like that, but wasn't sure.
does this method mean that showArticle.php would now have a variable called $id containing the row number?
that might sound like a dumb question, but it's not something i've ever had to do before.
thanks,
ss...
hi,
i've got a mysql table containing a set of text articles and the title of the article.
i've written some code which generates an html table containing a list of the titles, and i need these titles to link the article it relates to.
i'm thinking i can do this by setting each link to point...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.