I am trying to determine the start and end dates of daylight savings time (DST) according to the user's locale specified in their system. I am so close, but I am off by one hour. Here in the Florida, DST starts at Sun Mar 11 02:00:00 EST 2007, but my function returns Sun Mar 11 01:00:00 EST...
Thanks a lot for your help, but I still can't get this to work for Mozilla based browsers. I have tried a lot of things, but I just can't get it. Shouln't I just have to move the :
if (this.engine) {
var obj=this;
this.engine.onreadystatechange=function() {...
I am using XMLHttpRequest to request an XML file and display the data in an HTML page. I would like to call upon multiple XML files in the same HTML document without writing a different loadXMLDoc() function for each file that I will need to request. This more of a question on Javascript...
I am trying to make search enging friendly URL's. The articles that I have read suggest using $_SERVER['PATH_INFO']. When I write "echo $_SERVER['PATH_INFO'];" on my pages, it does not display anything. Does anyone know why I am unable to display this value?
Thanks
That didn't seem to work. I wrote a function to remove the needle from the haystack. Code and example below. I'm sure that there is an easier way to do this simple task, but I need to get this project done.
Thanks.
-----------
function removeChar(haystack,needle){
var needleLocation =...
Is there a "find and relace" function that I can use in actionscript to remove the commas from a string that the user enters into a text field?
I need to remove all commas from a text string.
Thanks
I am starting to learn how to automate tasks using the AI scripting plugin and VBScript. The documentation is mostly writen in VB and not VBScript. If anyone has knowledge in scripting for Illustrator can you please point me in the right direction as to what is wrong with this script:
Dim...
the content of a text file that is write looks like this:
"\\fc1\drive_e$\","\\fc2\drive_e$\","\\fc3\drive_e$\","\\fc4\drive_e$\","\\fc5\drive_e$\","\\fc6\drive_e$\","\\fc7\drive_e$\","\\fc8\drive_e$\","\\fc9\drive_e$\"
I want to use the contents of the text file as an array:
Set fs =...
I found this code which pings a machine:
ipVar = "ping 192.168.3.107"
Set objShell = CreateObject("WScript.Shell")
objShell.run ipVar
But how do I deal with what it returns? In other words if a computer has crashed and is not able to be pinged, then I need to send a message to another...
In a video production evironment, we currently have overlays that are placed over a completed video. An overlay contains company logo and some other information that is specific to each movie that it is being used on. We have the completed ovelays done in photoshop, and we have to manually...
I learned design on Fireworks and only tried Photoshop a few of times. Now at work I received the opportunity to do some design, but the tools they gave me to work with is PS and illustrator. Uh O. I feel lost in this program. I know what I need to accomplish, but it seems that these programs...
I have code that writes the values entered into the textfields on a form into a text file. The problem is that it only works when the file is saved locally. It doesn't seem to work on a server or even a network drive.
I was wondering if it is possible to accomplish this goal, but allowing the...
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.