I am using this to detect a Shift or Ctrl key event which works fine for IE and NN on PC platforms:
if(document.all){
if(window.event.ctrlKey || window.event.shiftKey){
else...
Type: Posts; User: Andre Affleck
I am using this to detect a Shift or Ctrl key event which works fine for IE and NN on PC platforms:
if(document.all){
if(window.event.ctrlKey || window.event.shiftKey){
else...
Thanks for your reply. I think your right. The more I think about it, the more it looks like a server problem rather than a browser problem. What I did to improve the upload is to add some code to...
I have a cgi script which allows users to upload files (images) to the server as well as form data. The problem is if the user's Internet Explorer security settings are not set to "Medium", the file...
Is there any way to detect the user settings in IE5.5? I have a situation where if the security settings are not set to medium, then file uploading seems to fail without any warning. What I have is a...
Thanks for your reply. That worked great. It's too bad it won't work in Netscape. Does NN not recognize the .click() function?
Thanks again.
Andre
Anyone know how to link an <a> tag to a Browse button of an input field? I would like to click on the word Browse from within a paragraph and initiate the Browse dialog of a file type input field...
That's strange because the script that I previously posted uses variables and it doesn't insert newlines, so I really don't know. Are you sure the new line is not getting in through the variable?...
I looked through some of my perl scripts and found a "flock()" statement before the print. Don't know what it does though. Here is that portion of my script:Also try putting the line into a variable...
What happens if you do not append to it but write over the file. Do you still get the same result?
If so then perhaps it is interpreting the right arrow as a redirection and not a character. This is...
Thanks for your suggestion. I didn't try autoflushing yet but I did discover that if I simply send a print command back to the browser before the form parameters are initialized, the browser seems to...
Thanks for your reply. I could try that way, but I don't think the problem is in how you write to the server, it's the amount of time it takes. If you increase buffer size, you are still limited by...
My cgi script allows the user to upload files to the server. The script works fines except if the file size is too large and takes too long to complete, the browser will eventually return a "Zero...
I found out what is going on. Kind of interesting. Check out these lines of code:
When you click Load Image, the first part loads the image using innerHTML. Then the last line takes the image's...
It is a little tricky trying to set image size because every image the user selects will be different, and I need to display it at exactly half of full scale. The script has an img tag surrounded by...
I tryed this out on IE 5.0 and 5.5 and can't seem to understand why it is not working right. This script allows the user to load and display an image from their local disk. I would like to load it...
When the confirm or alert command is encountered in NN4 or IE5, the javascript is halted until the user responds to the dialog box. In NN6 it does not. If you have more than one confirm command or...
What form of javascript is most compatible with the AOL browser? Anyone have any information sources for javascript and the AOL browser? Is it even worth the trouble?
Bingo! The Hidden type is what I was looking for. The hidden type appears to be nothing but an invisible "channel" to the cgi script. It's not a text box, or a button or anything that appears on...
Let me clarify. Within the html portion of my page, I have a form that contains a file input box where the user inputs the filename to be uploaded. That part works fine. In another portion of my page...
I have a perl cgi script that allows the user to upload image files from his local drive to my server. The file name is selected from a file type input tag within a form. The script works fine, but I...
Try this thread. I am trying to do the same thing for uploading images and this post helped. Looks like he's got something very similar but with a few differences.
Thanks, that helps. One more question. Does the file extension make a difference for each platform? This script I have has a .cgi extension. Should I rename it to .pl, or is this extension for...
I found a simple perl script which appears to be written for UNIX and I would like to use it on an NT based server. The first line of the script is:
#!/usr/bin/perl -wT
which tells the server...
Never mind, I found the problem. Within the div tag for 'userim' I have onmousemove and onmousedown handers which NN6 doesn't like. NN4 doesn't have a problem with these and works with no errors, but...
That sounded good. I gave it a try but I seem to be getting "evt has no proporties" errors in my javascript console. This only happens when the mouse moves over the image of div tag 'userim'.
Where...