I've got an online system which I'm interested in making available
offline - i.e. letting the user download certain HTML forms, fill them
out offline, then the next time he logs into the site, sending all the
data he filled out to the system. However, I can't seem to come up
with a good way to do this. I thought of using cookies (that'd be
great, since the system could detect them automatically), but it seems
I can't set cookies for my server offline; it has to be from a page on
the server itself. And from what I can tell, JavaScript doesn't have
the capability to write files on a local system either. Does anyone
have any ideas about how to go about this using JavaScript?
I have to print my cell phone call records but unfortunately my wireless provider displays the number I called only when mouse is hovered over Call details. I have 470 call records and copy pasting all those numbers when mouse is hovered over it will be one hell of a task. Is there any way I could save all the information related to Called Number and do not have to move my mouse for each and every number? Using my basic programming understanding.
(Though I know nothing about javascript), they are using some mouseover function that displays this information. The possibility of this information to be on the server is less because this information is even available when I switch off my wireless. I can paste that portion of the code. Saving this website using normal "Save as" does not save the required information. Is there any other way I can save this website will all its details or somehow disabling this mouseover function so that call details are not hidden anymore.
A colleague is having difficulty getting JavaScript to work in a webpage he's viewing offline in IE6. Apparently JS is enabled & works in webpages viewed online. Are there any obvious remedies?
I'm going to be out in the middle of nowhere this weekend but I need to study. No internet but I can still use my laptop. "Study" for me involves taking lots of practice tests on a site that uses JS for it's online tests. Can I save these for later reading somehow?
This application looks neat but I don't think it works on JS. [URL]...
What solutions would you guys recommend for storing data on the client? Is there something better than cookies? I've heard about the flash data storage, but, in my opinion, using flash for something as basic as client-side data caching is like using a sledge hammer to kill a fly.
If I want to run javascript of a website offline on my PC, what should I do? It seems that I should save all the website content and scripts in a MHT file with IE, then run the MHT file. e.g. for the [URL].. website, if I save all the website content and scripts in a Webpage complete HTML file, then the five images will stop rotating offline.
Need some possible technical solutions to my current project. Im in the middle of creating an 'offline' photo gallery website (on CD). Quite simple, but the challenge is how I can build an offline ordering process which
1) Allows the person browsing the cd photo gallery to select various photos, 2) Generate some sort of page/file which can then be printed then faxed, or even emailed if possible.
Does anyone have any tips on the best way to do this?
I'm using this script to call the correct mp3 for a web page.I need this (or something like it) to work when the html pages are being viewed from a CD instead of online. It works fine in IE8 (after I allow it to run) but I need it to work in Firefox as well. Right now Firefox just tells me that it cannot find a suitable plugin.
i have this site everything works perfect offline(local) but when i put it on my server theres a few things that mess up. What isnt working.. I have a little readmore link beside a main quote on everypage and this uses ceebox to open it. Within this lightbox it shows an html page that i made with just a little write up, at the bottom is a little nav and onclick it should be opening the corresponding hidden div while closing the lightbox. this works offline perfect, i cant seem to figure out why it wont once uploaded. I have gone over all folder names, etc and im positive this isnt the problem. this is the main page html snippet with the read more link
Does anyone know of a javascript way to have an html page check to see if it is being used on or offline?
Basically, I have some html pages that I want to place on a CD and display in a browser offline, but I don't want them to display from a domain online. (Yes, I know that sounds nuts.)
I imagine the code would check on loading that the page was being displayed online - from a domain (that should be possible???) - and redirect to another page if so.
I have a introduction webpage, which I wanted to supplement with a background slideshow. I chose Supersized slideshow jQuery plugin [URL] , implemented the code in my website. Everything looked okay, when I run the website offline, but when I upload it on the server, there is no background. The website is [URL].
I am making a multimedia Cd presentation in Html and I was wondering if there is any way for the index.html to autorun not in a browser, but only in window without any buttons - like a popup widow ?
I work for masterclock. We sell network synced clocks and timing systems. One of our products is a "bell ringer." We currently control this ringer through a C++ program another one of our employees made. However, it only works on Windows systems, looks like crap, and is as confusing beyond all get-out. I have been given the task of rewriting this program in a pretty, easy, and universal format. i.e. a browser. Now to further explain the bell system program.
1. The program searches the local network for the bell system hardware. 2. User chooses appropriate hardware (if more than one bell system exists) to connect to and enters the password. 3. User edits tables stored in a local MS Access database via the bell system program UI. 4. User sends data to the bell system hardware it is connected to.
I've been racking my brain and the internet for about 6 hours trying to see what is possible. Because this all needs to be done locally I can't use any sort of server-side language like php or asp. It seems silly to make a client install a virtual server to connect to a file that is on their own computer. I'm assuming that I am pretty much limited me to javascript. I found this site but that only works with internet explorer which is almost as restricting as the program we have now.
I considered flash for a little while until I found out a swf can't connect to a database w/o using php or asp. We aren't limited to the MS Access database but it would be less work for me if we could stick with it. It may not even be possible but it seems like it should work. some way. We also considered an internal site on the bell ringer hardware itself, like routers nowadays. I think that would be an equally if not more difficult process though and I'm limited to about 500kb on its flash memory.
I have this web-app which can also be used offline. However, some content is dynamic (it depends on the user input). What I do now to have it accessible offline, is to store this content into localStorage. However, this works great for text, but what about images!
I've seen examples on the web where the base64 representation of the image-data is used, which is text and can be stored. But how do you get the Base64 of raw image data client-side ?
What would be the preferred way (Assume we don't have a File API) ?
I am trying to create a marketing presentation using an offline website. I want to use an image scroller on the website. The ones that I like require java script. How can I get the java script to work offline? All of my files are in the same directory on my desktop. This presentation needs to be able to be installed on any desktop.
I'm having an issue getting jQuery to load from a local file system. My head links are: <script type="text/javascript" src="js/jquery-1.3.2.min"></script> <script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script> <script type="text/javascript" src="js/jquery.scrollTo-min.js"></script> <script type="text/javascript" src="js/jquery.localscroll-min.js"></script> <script type="text/javascript" src="shadowbox-3.0.3/shadowbox.js"></script> <script type="text/javascript" src="js/myscripts.js"></script>
This works fine when served from my server via http. However, I want to load this entire site (including all linked js/css files) from a local filesystem for offline usage. When I move the project to a local filesystem, the browser throws a bunch of errors from the secondary scripts (like jquery-ui) which indicate that the main jQuery lib isn't loading (ie.ReferenceError: Can't find variable: $). This behavior is consistent across IE7/FF3/Safari4Mac.
I have an html file with an Ajax form submit which works perfectly locally but when I upload it onto a server it works partially except for the:success: function(){}doesn't initiate, it actually inserts the data into the database and everything like it's supposed to but it doesn't process that it's successful.
I have a problem with cookies set via javascript. What I try to achieve is, when a user comes on the intranet, he can click on a link ( a simple href) that will set the content to french or english. I want to set a cookie to persist that choice each time the user comes back on the intranet. This feature must be available everywhere on the intranet and the link is placed in an inner asp script called Menu.asp which is included each time a page loads.
Now, I know it's maybe not the best way to achieve this but I'm just working from what has been made by others, I cannot change the way things are made, too much work would be involved and they won't accept to give time to do everything all over again.
The best approach I got was to set a querystring value and replace the cookie value from vbscript code. The problem is, the intranet we have use a lot of the querystrings for a lot of features and when I click the English/French link, that info is lost. I've tried to set a mechanism to keep all the querystring and only add a new value but I got weird results...
So I've turned to Javascript and still got no luck... For some reasons, the cookie gets deleted from the cookie file as soon as my javascript modifies the cookie.
I wrote a script to generate links to some pictures that I need to regularly update our site with. Is there a way to write a script that just saves the pics to a directory on my pc so I dont have to right click on every link and do a save picture as...? I can't link directly to the pics from our site because our site is https and the site the pics are on are http so the user gets the security warning box every time a pic loads. Code:
WANT: Client to save an image to disk pressing a "download" button. The image name is dynamic, from JS code on another part of the page
DID: Read somewhere I can use document.execCommand("SaveAs") to do it This solves it for MSIE, at least. My code is below
PROBLEM: What actually happens with MSIE is: 1) A window pops up promting me to save as.
2) The filename is correct, but the saveas type shown in the box is limited to "html" and "txt"
3) The "image" that is saved is not an image, but an HTML file containing the link to the image!! This is NOT what I want!
PLEASE help. How do I get MSIE to save the actual image instead? PS With netscape, instead of the saveas dialogue, a window opens with the image displayed. By clicking <CTRL-S> I can save the actual image.
I have a log file that is viewed on the local machine. There are some settings on the html page that allow the user to specify how the file is viewed. I'm just wnodering what are my options in saving these settings (so they could be reloaded next time the user loads the page). Writing to registry, a file, or a cookie? what's the right approach?
I am making a LOVE IT button using php and jquery and i have most of it working...
The button currently returns the value from the DB of 0 but when i click the button it wont save the incremented value to the DB.
see it here[URL]
my code is this
<?php mysql_connect("localhost", "web183-loveit", "password") or die ("Error."); mysql_select_db("web183-loveit") or die ("error"); $increase = "UPDATE results SET value=value+1 WHERE id=1;";
I have trying to save an update the xml file which is there in same folder in which HTML page is there. In HTMl page i have written javascript code to Save and Update XML on server.The code is like this
function Save() { var xmlDoc= new ActiveXObject("MSXML.DOMDocument") xmlDoc.async="false"
[Code].....
When i am accessing HTMl page on server from client and this function is called error 'Parameter is incorrect' is showing on line