hi everyone,
Is it possible to move the slide from left to right.when the user click the button. i am using progid:DXImageTransform.Microsoft.Slide(slideStyle='PUSH', bands=1).it moves from right to left as way i need to move from left to right.
anybody knows ? it an urgent.
Regards
Ravi
...
I need to do remind the users something when they are leaving the page, and that can be handled with the window.onUnload event.
But I also need to check if the user is navigating away by submitting the form on the page, or by clicking the navigation links.
I could use the form's onSubmit event to set a flag, and then check against that f...
I have some clients who are not English speaking. They would like the JavaScript I write for them to be in another language.
Can browsers understand other languages, or am I limited to non-English comments?
navigateur.nomApp.indice("Microsoft")
Instead of :
navigator.appName.indexOf("Microsoft")
...
Hello,
We are loading the combobox on demand using a WCF service. This way, as the user starts typing, the ComboBox talks to the WCF service and fetches the necessary data.
We have forms authentication on the ASP.NET application. The issue is that I want to only allow the authenticated users from our system to make this WCF call.
I...
My team's current project involves re-writing retrieval libraries in JavaScript. We are basically looking for a setup which enables us to apply test-driven development methods.
So far we plan to use Vim to write the code, no fancy IDE. For generating output we would use Spidermonkey's shell environment. JSLint could serve as a moderate ...
I am retrieving a list of files from a web service and displaying them as links. When someone clicks on the link, the file should start downloading. The problem is that no direct access to the file exists. Here is the process to download a file:
User clicks on link
Server calls web service to retrieve file
Browser is loading for as lon...
if you have 3 forms (shown below) and you set two of forms to not to display (display:none;) and you use javascript to toggle through each form, the forms that were set to hidden, when you set them to visible and you try to submit a form by pressing enter, it won`t submit.
the only form that will submit if the first form that is visibl...
I'm looking for a way to load an XML file's contents directly into a Javascript variable. Say I have the following directory structure:
/index.html
/loader.js
/file.xml
In index.html, there is a <body> tag, whose contents should be replaced with the contents of the XML file. So if the XML file contains:
<element>
<item>Item One</...
I'd like to inject jQuery into a page using the Google AJAX Libraries API, I've come up with the following solution:
http://my-domain.com/inject-jquery.js:
;((function(){
// Call this function once jQuery is available
var func = function() {
jQuery("body").prepend('<div>jQuery Rocks!</div>');
};
// Detect if page is alrea...
In Asp.Net with Ajax I can include my Javascript files as embedded resources in my assembly and create references to the embedded scripts using the ScriptManager.
Is there a way to do the same with Asp.Net MVC?
...
I got an amazing answer quickly yesterday quickly about the best autocomplete option for what I needed.
I think I can use the onAfter funtion call from QuickSearch to call the SearchHighlight plugin to highlight the text I am typing in.
Is that feasible? I am having a hard time getting it to work.
<meta http-equiv="Content-type" cont...
I have a button control. Once the user clicks on it, the click event should fire and then the button should get disabled. How can I do this? I have the option to use JQuery or JavaScript or both.
Here is my button declaration:
<asp:Button
ID="Button1"
runat="server"
Text="Click Me"
onclick="Button1_Click"
/>
On the butto...
I need to check a javascript array to see if there are any duplicate values. What's the easiest way to do this? I just need to find what the duplicated values are - I don't actually need their indexes or how many times they are duplicated.
I know I can loop through the array and check all the other values for a match, but it seems like ...
$(document).ready(function(){
$('#createGallery').hide();
$("#newGallery").click(function () {
$("#createGallery").show('slow');
});
$("#gallerySelect > option").not("#newGallery").click(function () {
$("#createGallery").hide('slow');
});
});
I can't figure out why. Seems easy enough. my HTML is in HAML. But its easy to unde...
If you use Gmail, you'll see URLs in the address bar like:
https://mail.google.com/mail/#inbox
https://mail.google.com/mail/#starred
If you go to one of these URLs, it will jump straight to the corresponding view.
A similar example is on http://validator.w3.org where the anchors #validate_by_uri, #validate_by_upload and #validate_by_inp...
Hi
How can you preload an entire web page using JavaScript so that I can get that page cached in the users browser?
I know how to preload images with JS but what I would like to do is preload the entire page.
Use case: On my website, I have a google maps page with a lot of other content (images, css, JS) and it takes a long time (abou...
I just run into the weirdest thing I've ever encounter.
Consider this test page:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title></title>
<script language=javascript>
function test(myParameter) {
alert(myParameter);
}
</script>
</head>
<body>
<input type="button" value="Strange" on...
I'm working on a form validation script at work and am having some difficulty. The form is meant to make sure that the user fills out a name, a real-looking email, a category (fromt he drop down) and a question:
This names the form and gathers all the data up from the form:
<script>
function checkForm(form1) {
name = document.getEl...
I have this in a test.html:
<script>
function h(){
g();
}
<script>
k.js has:
g();
In test.html I successfully entered h() but not g(). I added k.js as a script tag:
scriptTag.src="k.js"
It is not finding g() just the same.
What am I doing wrong?
...
Hi,
We are using jQuery in our project. We have numerous custom javascript files in our web-app that have UDFs utilizing the jQuery features. We need to reduce the size (as a part of performance improvement activities) and I am looking for a reliable 'minifier' for these files (it would be great if the same tool could minify the CSS fil...