Hi
I am using jquery and I got a couple plugins that don't offer a minified version. So I want to take the full version and minfiy it but all the sites I have found that you input your javascript and it minifies it breaks the plugin.
Like it must strip something out because I get a syntax error.
So anyone got a good one that I can u...
Hello,
I'm running an Asian e-commerce site where users post images of their products. Is there a way to disable right click for only 1 specific image on the page?
E.g. When viewing a product, there is a large image, and then some thumbnails of the product. When trying to right click on the large image, I want to disable right click...
I m using Window.open() function to open popup, i m just passing url with querystring name Id,
i have to check wheather popup is open/closed for particular ID that is passed as querystring. If not open or closed then i will open it otherwise no need to open.
ex-
first i open popup with below statement,
wondow.open('Home.aspx?id=1');
...
Hello, my boss has me working on a website that basically has a very large gallery right in the middle.
The way this one part needs to work is that the user clicks a next/prev button, the image fades out, displays a loading spinning image gif, and then fades in with the new image when it's down downloading. I have no idea where to even b...
Hi,
I've a user control registered in an aspx page.
User control has a textbox and a submit button.
Ascx code of user control is placed under a asp:panel.
Using firefox, when user hits enter key, the page is not submitting to the server.However, this works fine in IE browsers.
Am i missing something here?
...
How would I prevent a div from scrolling further left when the style 'left' of that div reached '0' or '0px'? Right now I am using the animate custom effect to scroll a div left and right to display hidden overflows but when the div reaches '0' or '0px' on style: left, I want the user to be prevented from scrolling further left where th...
I am trying to develop a analytic s project. My goal is to let a owner of x-domain be allowed to copy and paste a small snippet of javascript includes on to their site, from my server. That will be able to analyze the end users experience on their site.
Given that my server is php, and I will sending and recieving data larger then the b...
How can I check to see if a jQuery UI plugin is attached to an element? For example, if I load up the .sortable widget, how can its presence be determined?
The purpose behind this question is that I would like the ability to toggle .sortable on elements. With the ability to see that .sortable is present, I could then call .sortable('des...
My page is a 3 column design with a header. It renders nicely in IE6 and IE7 (as far as i know). I use javascript to size certain elements of the page, to fit the browser window. On IE8 however, it tries to leave spaces for scrollbars, even when they are not rendered, resulting in a jumping effect when you resize (Page alternates between...
What kind of JavaScript is this Page.getProximityListCallback = function(obj) {; is this a function?
Surely it is but what is it with this syntax? Can someone explain?
Update:
Thank you for your answers. Here is a follow up: Why then use function Page() {}? What is its purpose? Why not just call getProximityListCallback()?
...
I want to execute javascript function from code behind page.
I have two way that first that I can call javascript of html page in my code behind.
second is that i can write javascript function in to my code behind.
but i am not which one is better and how can i do this.
Please tell me that how can i do this.
...
I am using jQuery Datepicker. I am using follwing script to attach the datepicker to all controls whose class is datepicker.
<script type="text/javascript">
$(document).ready(function(){
$(".datepicker").datepicker({ showButtonPanel: true});
});
</script>
Now, is it possible to use more than one option while creating the dat...
I have to get what are all the css styles used in html file using javascript.
<html>
<head>
<style type="text/css">
body{
border:1px solid silver;
}
.mydiv{
color:blue;
}
</style>
</head>
<body>
</body>
</html>
if the above code is my html I have to write one javascript function i...
I have a question, I'm opening a pop-up window using javascript then a window pops-up, there I make changes to the css file, when I click on close the following javascript is being used to refresh the window opener page
window.opener.location.reload();
window.close();
But the css remains cached in the browser, after the next refresh ...
document.styleSheets is used with an index,
but what If I want to use stylesheet.insertRule with with a specific CSS file ?
I know the file's name, which is injected to a page and at some point via JS.
...
I want to show a processing bar to the user.
The problem statement:- The user has a number of transactions to approve. When he multi selects say 10-20 transactions and approves by clicking on the approve I have to send each data via AJAX, process it one by one & then after I finish i will have to show the user the status that all transa...
Hi everyone.
I am facing a problem with tinyMCE.
I am giving a functionality on admin side of my website, where admin can edit the content of pages. I have provided them with the tinyMCE for that purpose.
Suppose they are editing Page 'page1'.
They will provide its content in tinyMCE, and save it.
When somebody is visiting that Pag...
Hello all, i need a little help.
I load a series of image in an html (via asp.net) and resized via classic html (width:50%) ... then i would like that if i press on the thumb, this image appear on top of my html page full sized ...
the classical gallery but without effect and lot jquery code .. how can i do this via javascript ?
wha...
I am loading a JS file needed only for one part of my web page, only when the user navigates to that tab on the page.
var scriptFile = document.createElement("script");
scriptFile.setAttribute("type", "text/javascript");
scriptFile.setAttribute("src", scriptURL);
I am trying to come up with an error handling mechanism for this dynamic...
hello,
My application supports only IE browser, but I am not able to handle pop up with selenium RC. I am using Junit framework and Eclipse.
The scenario is like, On billing page I have to check one checkbox, which generates a popup wondow. And I have to click OK to that pop up message, Save the record and move to next page. Have a loo...