you can fire the "click" event on the INPUT to open the file-upload. and "onchange" to go futher when file is selected.
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
i didn't know what library he used.. i do my own.. and i also use the $() function to grab an element or it's "relatives" in the DOM.. so, no, i'm not new to javascript. started with it when it came out.. but i'm new to forums..
- Lowet
Why can't all browsers parse pages the same way? It...
if addImages is a function you should write rotator1.addImages();.
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
what is the "$"?? a function/variable?? and "ready"?
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
Why not use float: left on all IMGs?
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
What is the openPopWin function? A custom function? And how do you open the popup window?
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
This script is a total mess. You should write your own script, but first, learn JavaScript. Copying/pasting code does not learn you coding and all the errors copied, will hunt you down l8r ;)
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how...
Your JavaScript has 2 major errors. See below:
if (document.form.password.value)!="" && document.form.password2.value)!="")
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
Well, his code works but maybe it does not work as he wants it to.
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
You didn't mention any tables last time.. Where are they positioned?
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
Thank you kaht.
And yes, trollacious. It can look too advanced for less experienced coders, but it's also good to learn it.
I use the Ternary Operator quite often when dealing with only true/false statements and in this case I thinks it's good suited.
So use this then:
var win_doc =...
Well, then use the absolute positioning.. But as you said with the margin-left: auto;, this doesn't work in all browsers either. IE has problems with the auto value in many CSS properties..
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how...
Yes trollacious, but I think kaht ment that the if/else works fine.
I would remove the == '[object]' or maybe use the typeof function.
Maybe you could use the colon condition (condition ? if_true : if_false). Sorry I don't remember what it is called, LOL.
var win_doc = window.opener.document...
OK!
But I don't know how/when/where the checkAll function is called and what is the AJAX requesting?? A HTML page, JSON, XML, JavaScript or just plain text??
And you should check the page status also, not only the readyState. The readyState only checks that the request is finished not OK. The...
I'm sorry Vragabond, but the text-align does NOT align only text. It aligns any element in the container. Sorry to dissapoint you.
But of curse, if you use the absolute positioning, the text-align doesn't do anything.
This would position a DIV centered:
<div class="container" style="width...
By the way... Why is it so important to use JavaScript for this? Isn't it easier to accept the integer format (i.e. 38) and format the number to fixed length (00038) with server-side scripting??
1) The browser don't need the support of JavaScript.
2) You send less data to the server (not much...
Hmm.. I understood by the example that you wanted the left and right DIVs.. But if they are there just for positioning, it's usless..
Then just set the width of the container to 100%, the text-align to center. Then the tab/panel DIVs will be centered inside the container.
- Lowet
Why can't...
OK, I see.
But you know (X)HTML basics I hope? And how you call functions with the buttons?
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
Right-click on the recyclebin and click the "Global" tab. Check the "Use one setting for all drives"-radiobutton.
I guess you have the "Configue drives independently"-radiobutton checked and the recuclebin enabled only on one drive.
- Lowet
Why can't all browsers parse pages the same way? It...
I have a small script for that, but I would like to see how you think it could be solved..
- Lowet
Why can't all browsers parse pages the same way? It should be the Web designer who decides how to display the content, not the browser!
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.