That variable "YouWrote" (the CD Drive letter) is set by a cookie on the page - defaults to "D", but the user can change this, refresh the page, and access the audio in the correctly referenced drive.
Works well - if the page is resident in memory and refreshed if necessary.
My problem is if I put this page on a CD - that is, I want the page to load up from the CD drive - and there's only one drive - it doesn't work.
I can't seem to get the user to be able to choose the drive letter by setting the cookie (or even go with the default), then refresh the page, switch the CD with the Audio CD, and get Windows Media Player to find and play the Track01.cda file.
It chokes because the player says it can't play files with this extension. But it is obviously still thinking about the html file it loaded.
How do I disconnect the knowledge of the loadup CD in Windows Media Player's mind (assuming anything Windows has a mind)? Is there some obvious logical procedure I should follow and/or for the js script?
I think I know the answer to this but I want to ask anyway. There are scores of pages on a particular website that I need to download so I can process them. They would all come down as XML files. I wrote a desktop app a while ago to do this but I was hoping to move this functionality to my website. This is an example of one of the pages I would download/copy:[URL]... A related question is... after I get all of these pages into a folder on my machine... I will need to point JQuery to the folder where they were copied and process each one. Does JQuery have a built in way to open a folder and capture all the files inside so they can be processed? I couldn't find anything like that.
We have a directory of files on our ftp server. Is there a javacript to make a connection to the ftp server and compare files on a local drive and on the server? Files that have been changed or added need to be copied across from the ftp server to the local drive.
I am trying to use Accordion Content script v1.7 from DynamicDrive.com on some pages. I have set up a test page to show the error messages. I have changed the doctype of the page several times, including the exact one they use on the sample/instruction page on DD, but no luck. It is also throwing an error of undefined var ddaccordion, which is defined in ddaccordion.js, which is the JS file that goes with sample page , which is located in the same directory.
How can I animate this car: driving from left to right of the screen? I imagine it starting on the outside of the wrapper border so top left 0 and ends top right 960px... When it hits top right corner can it then flip 180 degrees and drive back in the other direction? Also how can I do it in jquery for the browsers that don't support the CSS3? I was also wondering if you click on the car could some flames shoot out the exhaust which makes it drive faster??
Copy the value from the [correct] text box to the Value=”” section of the now hidden field in the PayPal form That way, no matter whether they [BUY NOW] or [ADD to CART] the right size is submitted to the PayPal shopping cart. This is the actual PayPal code that I’m trying to change
I got this far, and then decided to find how to insert the "enteredVALUE" into the right place in the input text field (what I called output) and I've not been able to figure out how to stuff it in there.
What is the correct way to incorporate a .js file into an HTML file *IF* the .js file on a hard disk?
What I have tried is listed below but it does not work... When trying to access a function module in one of the .js files, I get an error that the function module is not defined (which would lead me to believe that it is not being imported with the .js "src" instruction.
The problem is I want to do this web page up a bit more, add graphics etc. but if I save as web page html only it won't include any images I add to the html page, and if I change it so that they save as (Web Page Complete) rather than write the webpage out with the notes it will write the webpage with the code document.write(string) but as this is on the users hard disk now string will be undefined as it no longer run alongside the course. Is their any other way anyone can think of doing this type of functionality, I am trying to stay away from using PHP
what to do to retain values of a webpage even after saving the webpage on the local disk? i have developed my webpages in dreamweaver cs4 also my webpages are using opera 10.10 as default browser and one more thing i cant migrate it to any other browser.
1. user click "start" button for the e-test,
2. user need to finish the e-test with in 20 minutes, after 20 minutes the form will auto submit and the data will save into file,
3. me will go to the file folder open it and print out the qestion and anwser.
4. The file will be detele after i print out and the next user can do the e-test again.
I got the time counter and the auto submit script. but i just have no ideal how to save the data into file.
I am looking for a way to select a file from a list and load it into a webpage. The page and the files are stored on a sd-card for off-line usage, I know that listing files remote dynamicly needs a scripting engine but since the sd-card is on the client side that is not possible, but I can make a list of those files when creating them.