PHP language switcher?
Hi guys, Does somebody knows a simple php language switcher. I'm not really a PHP savvy and I would like your help. Thanks in advance. ...
Hi guys, Does somebody knows a simple php language switcher. I'm not really a PHP savvy and I would like your help. Thanks in advance. ...
Is there a good math parser in Javascript? I want to be able to parse something like: LOG(3.14)+5^2+POW(2,LN(X*2,Y)) Thanks, ...
what is a easy to use free javascript minifier running in ubuntu? it should be easy to install as well ;-) ...
I've got the following problem: I have a set of LI elements that have to go from one state to another (two separate css classes) with a smooth transition. To do this, I'm using JQueryUI's Effect API (switchClass) for every LI element, I've hooked two JQuery listeners: mouseover and mouseout, which change the state correspondingly. Clea...
I'm building a wordpress template with a lot of javascript, so I am also setting up a fallback version what requires different php in the index file of the template, and preferably, different header files. The best way to do a fallback seems to be setting a javascript redirect on the "non-javascript site" to go to the "javascript versio...
I'm parsing a JSON response via $.ajax() and building a form from this object's values. The script I've written is long, but here's what it's doing: Dynamically creating: ~ a form element, ~ a fieldset element, ~ a button element, ~ 20 or so text inputs and label elements Appending the inputs and labels to the fieldset Appending the b...
Background I use the jQuery URL parser plugin by Mark Perkins for extracting query string values from the current URL. The parsing process fails when query string values contain the '@' character, most notably when there is an email address in the query string. This is in reference to the latest version of the plugin, taken from the gi...
I'm trying to find a way to do the equivalent of comm = window.event.srcElement._command; if(comm){ xlApp = new ActiveXObject("Excel.Application"); var app = xlApp.DDEInititate(".....", "...."); xlApp.DDEExecute(app,comm); xlApp.DDETerminate(app); app = ""; xlApp.Quit(); } without the use of an activeX object. ...
I wrote my original jQuery code and saw that it wasn't working in any version of IE. I used JSLint to figure out why it wasn't working in any version of internet explorer. Here is my new code that I cleaned up using JSLint http://theburnmachinept.com/js/scripts.js. This still refuses to work on any version of IE. AND to top it off it...
I have a problem where I try to show a modal box, it's when I append some a href="" links to my that is on my index page. I have this in my jQuery script: $(document).ready(function(){ $('a').click(function () { // Dialog $("#feed"+$(this).attr('id')).dialog({ bgiframe: true, width: 400, modal: true ...
Hi, with any Firefox plugin (Firebug, whatever), how to see the path from a .js has been loaded? Regards Javi ...
I have this JS which gets a XML response from a service, its a True or a False, well the script should catch the submit and get the response from the service. The problem is that I see that its not working because when I do the submit, I see the XML response on IE (6/7/8), when the script should have catched it and validated the XML resp...
I am building an MVC 2 web app, where I want to display information about something (the parent) as well as child details which are displayed as rows (children have a many to one relationship to the parent). I have implemented AJAX in MVC before using Ajax.BeginForm and partial views Using this method - with minor changes for MVC 2 rel...
Is there a way to display a color picture as greyscale using Html/Css? Ie. no server side processing. Edited: monochrome -> greyscale ...
Good day, I've been doing some modifications to this website and the owner wants to have a horizontal scroll bar appearing when the browser window is reduced to a size that is smaller than the 'container' of the website. Right now it doesnt appear. I think that my main CSS is responsible for this. This CSS has overflow-x:hidden; and...
Hi I have asp (classic) script and within javascript code. From database I get date in format yyyy-mm-dd (2010-10-14) and save in variable. Then, I pass this variable to javascript method: Response.Write("<a href='Javascript: PassDate("&OurDate&","&Val1&","&Val2&");'>Pass</a>") This method code is: function PassDate(OurDate, Val...
Below is the code listed to set markers in Google Maps. But only one marker is being set whereas four markers should be set. What is wrong with this code? <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <style type="text/css"> html { height: 100% } body { height: 100%; margin: 0p...
I have an DIV container with an id="myDiv" attribute+value. I'd like to fade this in/out smoothly. Would I have to create some sort of run loop with an timer and then modify the opacity value of the DIV? Is jQuery perfect for this kind of stuff? ...
Just AS a chat (yahoomessenger, msn .....) WHEN we get a new message, the corresponding window is flashing or AS in internet explorer WHEN we finsh downloading something the corresponding window is flashing in the toolbar How to do it with a popup? ...
Hey all; I'm trying to wrap all occurrences of an IP address with an HREF so I can then Do Stuff(tm). I've run the regex itself through several validators, and it matches pattern as expected. Therefore, I'm thinking my problem is in the implementation, but I can't see the correct path. Can anyone help out? Here's the regex and relev...