Don't See Any Instructiosn After Uploaded The IE6 Warning Folder?
Sep 10, 2009
It states:"The ie6-upgrade-warning is a little script (7.9kb) that displays a warning message politely informing the user to upgrade the browser to a newer version (links to newest IE, Firefox, Opera, Safari, Chrome are provided). The webpage is still visible behind a transparent background, but access to it is prevented. The idea is to force users to upgrade from IE6 and avoid the website from a bad reputation that website is not rendering correctly in IE6.InstallationJust insert the line<!--[if lte IE 6]><script src="js/ie6/warning.js"></script><script>window.onload=function(){e("js/ie6/")}</script><![endif]-->right after the <body> declaration of the webpage and change the e("js/ie6/") to the folder where the script's icons images are located."
So I uploaded the IE6 folder and put the line of code below the <body> declaration and changed the {e("js/ie6/")} to the icon folder.But I don't see any instructiosn after I uploaded the IE6 warning folder. Has anyone used this? Is there somthing I should do after I zipped the IE6 folder and uploaded it?
Originally I had the following code. What it does is for a user to type the folder name of their choice and then after clicking submit a window will pop open and they will be taken to "C:folder" (assuming the user typed "folder" and such a folder existed). Here is the code in case I wasn't clear.
I am allowing users to upload images using an input with a type of file. Ideally what I'd like to do is use Javascript to get the size of the image that their trying to upload and to error if the image is too large.I'm using php to resize the image, but I'd like to warn the user before they submit the form, so they don't have to go back and start again.
I'm a php developer and have come across a mind boggling issue involving Javascript. I'm uploading images to a server without issue. They are being returned to the page in thumbnails.
The script works great but I can't get the links for the images that I've uploaded.
If I right click and view the image I can see the link on the server. How would I go about getting that link? If I look at the source code the link isn't present. Its a dynamically generated link for the uploaded image.
So I'm trying to create a custom file uploader which will display the name of the file selected, but since I can't seem to figure out how to do this I've settled for checking to see if a file has been selected, but I'm still having trouble with it.Here's what I have...
However the value doesn't change after the file has been selected. Could someone tell me a means of modifying this so that it will properly display once the file has been uploaded? Do I need to have some sort of constant refresh on the Javascript to check to see if the value has been changed?
IE browser (even IE8) is giving warning when I open a webpage with JavaScript in it. I can of course close the warning but since I am developing webpages that will be deployed and used by customers, customers will get the warning messages too. How do I design webpage that don't popup ActiveX warning message on customer browser when they open pages with JS in it?
I'm working on an application that is supposed to allow a user to upload a picture, which would be immediately displayed... how do I go about doing this?
I've been working on a college project to rebuild a php/mysql web application. My local dev. environment runs php/mysql on IIS, and the server that hosts the web-app runs php/mysql on Apache. As part of the revamp I've coded a few bits of javascript that works perfectly in my dev machine, but when upload do not work properly. Here is the latest bit:
Form with hidden fields I want to post to the next page. <form action="ADToDoPrintPage.php" target="_blank" method="post" id="fm"> <input type="hidden" name="TotalHours" id="TtlHour" value="<?php echo "$total_hours" ?>"><input type="hidden" name="TotalCycles" id="TtlCycle" value=" <?php echo "$total_cycles"; ?>">
Then a list of links, one of which posts the form to the desired page: <li><a href="" onclick="document.getElementById('fm'). submit();return false;"> Printer Friendly View</a></li>
Problem is rather than going to the desired page, it simply directs to the homepage. I'm baffled as to why this is happening and dont know where to start looking. Could it be something do to with javascipt not being enable or permitted on the webserver? I've made sure the site is in the 'trusted sites' list in IE but with no joy.
I would like to create a script that behaves differently according to the date it was uploaded to the webserver. Meaning - if I send the script to my friends and each one uploads it to his server on a different date - each one will get a different behavior.
Something like:uploaddate=getuploaddate(); if uploaddate between Jan 1...Jan15, 2010 do this1; elseif uploaddate between Jan 16...Jan31, 2010
I'm hoping that someone here can help us out. We are in the process of re-writing the underlying code for my website (link to old version below). The site is (and will continue to be) driven by PHP, javascript, and MySQL.
The problem I'd like to overcome is the browser's navigation backwards through the tiers of screens and menus. We have a "Back" link on the required pages, but I would like to let the user navigate via the browser's built in "Back" function, without getting the following warning (from Netscape, in this case):
~~~~~~~~~~~~~~~~~~~~~~~~~~~ The page you are trying to view contains POSTDATA that has expired from the cache. If you resend the data, any action the form carried out (such as a search or online purchase) will be repeated. To resend the data, click OK. Otherwise, click Cancel. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
There is no secure data, nor purchases involved. I believe this is built into the browser, but I'm hoping there is a way to bypass the warning without breaking the function (creating an error) on the site. I believe this is a javascript issue, but if I'm wrong, please let me know and I will post to a PHP group.
I am setting up a form with a submit button. I want a warning box to come up saying you are about to delete user ?? image Click ok to continue or cancel
What Im trying to figure out is a simple (im a noob) way to close a browser window that was opened by a button on another page and not get the warning window "you are about to close..".
Ive been hunting around here and the web but I cant find anything solid.
Have form where visitors fill in a few '<input type="text"> fields that require simple integer numbers. (I may be making a mistake in just using text fields? Please mention in reply in conjunction with main question below).
Here is a typical row:
<td>Box of dozen red pencils</td><td>$1 per box<td><td>Number of boxes wanted</td><td><input type="text" name="redpencils" id="redpencils" size="6"></td>
There are four colours and all are different prices per box. Blue are $1.20, Yellow are $1.50 and green are $1.70 per box. The form says that a minimum order is $10. I want that a warning comes up and submission fails if the entries add up to less than $10. I have simple default browser warnings come up if the required fields (like name, phone number) are not filled in. I want similar if the orders do not add to $10 or more.
I have created a site with menu, it is working fine locally but when i upload it on the server it dosen't work. When I click on submenu under "Company" or "Products",It will show the actual url in the address bar but it gives a error "405 - resource not allowed". Kindly check and let me know the solution for this. If you know any other simple script similar to this let me know.
it was working fine when i viewed it using my local host but when i uploaded it to the server it doesn't want to work anymore. i made sure all the files are in the proper folder and so on..still no progress. Then uploaded the original or "demo folder" i got from this site and it works, but my site doesnt. I combined 2 jquerys btw, one apycom jquery and one booklet jquery. Both works in local host but in my site, only the apycom works. pls help me out..[URL]...
I am using uploadify (a jQuery plugin) to upload files as I am adding clients to my DB. I would like to attach files to clients. The issue #1 is that the client is a new client so it has not been added to the DB just yet. I have overcome this by getting the next Client_ID in the DB.
NOW the real issue is that all files that are uploaded should be prepended with this ID...something like: (29) ---i would like the parenthesis as an added open and close of the client_ID----I have searched on stackoverflow and uploadify.com but can't make heads or tails on how to do this.
I NEED TO DO IT VIA JS, because of the fact that I am using the PHP elsewhere in my application and I don't want to change it, if at all possible.
I would like to be able to delete an uploaded image file whenever a PHP page is navigated away from, either by the use of buttons on the page or the browser arrows.
I want to do this to stop a directory being filled with 'leftover' files.
I think that using an onblur function with the <body> tag would enable me to do this, the problem is that the filename is a PHP variable.
I have searched for an AJAX function that would enable me to do this, but haven't been able to find one.
I have a PHP script for uploading and cropping an image file, this file is selected by a form that calls the cropping script.
In the form there are buttons to Crop, Load File and Exit.
The Crop button starts the cropping process and finishes by deleting the original file.
I am a total newbie, but am trying to get my feet wet by adding some JavaScripts into/onto my website that I am creating. I am trying to have people "upload a file" which will then take them to my order page where it will tell them how many words their "file" has, then in the background divide the number of words by 350 for the page count then multiply by my price per page, then display their cost of their job? I seen one like that on another website [URL].. but cannot figure out how they did it. I'd like to be able to put this at the top of my order page where after they see the cost, they would fill in their own info (which I know how to do) and then submit the whole thing along with payment.
I set up the following code to check how many days have elapsed since a file has been uploaded:
[Code]...
alert("Days since file was uploaded="+diff); My problem is that modified.getTime() doesn't work. Apparently the result of Oxml.getResponseHeader('Last-Modified') is a string, such as Sun, 21 Nov 2010 21:17:49 GMT. I tried and tried - but couldn't get to make a proper date out of this.
Is there some way to have my websites appear to be safe so that IE does not present the security warning for running scripts? None of the javascript is allowed to run unless the user "Allows Blocked Content". If I pay extra to have my sites considered "safe" will this avoid the IE warning issue?