I'm making a jQuery plugin for full browser flash, which has a minimum size limit, say 800x600, so if the browser is over 800x600 the containing div is set to 100% width/height, it's it's below that size, it's set to 800x600.
(function ($, fullFlashMinSize) {
var getWindowSize = function ()
{
return {
width: $(window...
hi to all
I am using tinymce and simple modal (jquery plugin). Initially, it was not worked (meaning I cannot type in the textarea) for the second or more opening modal dialog unless I refreshed the page. Now I changed my code and now I could type but the problem persist is the submit button doesn't work anymore. I tried to trace in fir...
I wound up converting a table to just divs... But, in doing that, I need to rewrite a function and I'm having some issues... I've tried to implement $(this).closest('div'), but it's not doing what I thought that would do... Still reading, but if someone knows of a solution, I'd be a happy camper...
Essentially, when I click on a link...
I'm a designer who dabbles in scripting using JQuery and PHP. I have a pretty good understanding of functionality in both but using sessions is new to me.
I have an app with a search feature. The search results may stretch over several pages and each result has a checkbox. The idea is the user goes through the results and checks off ite...
I am not sure what is wrong with my JSON response from WCF but it is not being parsed properly. I probably made a simple mistake, hopefully someone can spot it. I am using VS 2008 Pro SP1.
When I navigate directly to the url Chrome thinks it is a file download. When I hit say flickr's service it returned a string inline in the brow...
SOME TIMES there is no X-Requested-With header, sometimes there is.
I checked in firebug and found that, don't know why.
So when I use request.is_ajax in django, it fails sometimes.
Anyone know how to fix it?
OK, now it happened again.
I opened the page and then left for supper for a long while, when I came back, it happened again....
I am new to all of this so sorry if this is a stupid question.
I had previously created a lightbox affect for my contact form and had it working great. Clicked contact, lightbox popped up with the contact form that kept in a separate html page. The script references were as follows:
<link rel="stylesheet" type="text/css" href="css/lig...
is it possible to create session variables with jquery or javascript or do i have to use ajax to call a php that does that?
...
Hiya,
I have the following code:
$(".perf-row").click(function(e) {
if (e.target.tagName.toLowerCase() == "a") {
pageTracker._trackPageview($(this).attr("rel"));
return true; //link clicked
} else {
window.open($(this).attr("rel"));return false;
}
});
to the conditional statment of if (e.target.tagName.toLowerCase() ...
I tried something like, below in popup-window, but not working...
any correction at line 3, please suggest.
function closePopup() {
window.opener.history.go(0);
$(opener.document).ready(function(){
window.opener.some_function(some_variable);
self.close();
});
}
...
I'm using the jquery.cjobjectScaler plugin (link text ) and due to circumstances beyond my control, the img is hyperlinked within the div... I don't have any way to "strip out" that tag, nor can I reorder it at all...
So, the original function is this:
$("#productGrid li img").cjObjectScaler({
destObj: $("#productGrid li img")....
Since adding an OnSelect to my Datepicker, the TextChanged event no longer fires for this control. My code is as follows:
$(function() {
$("#<%=txtStartDate.ClientID %>").datepicker({
minDate: 0,
dateFormat: 'dd-M-yy',
onSelect: function(dateText, inst) {
var theDate = new Date(Date.parse($(this)....
I am looking for a JavaScript MVC table widget similar to Java Swing TableModel
I would also like to have two models, one totally local and one remote (XMLHttpRequest)
I would also like the view to accept text columns (and maybe HTML columns) and have these text columns HTML or CSS formated depending the cell contents (just like you wo...
I got a table which uses jQuery UI's sortable. The first column contains the order number of each row. How do I automatically sort the numbers (in ascending order) in the first column when I sort the rows? This means that only the numbers in the first column will be sorted.
Thanks in advance!
...
is it possible to use Ajax and make the result as select list with Formtastic?
example:
semantic_form_for @user, :url => profile_path(@profile.id) do |f|
- f.inputs do
- f.input :province, :label => "Province", :as => :select, :collection => ["province-1", "province-2", "province-3"]
- f.input :city, :label => "City", :as => ...
High all, I was wondering if it was possible to select an on page element via its coordinates?
reason being i'm trying to make an editable page where you can right click on highlighted elements, menu appears and then select from the options give. using the only method i could find that worked to select the element via hover it uses (eve...
I have used different jQuery dialogs. For some dialogs I want a transparent background.
If I change the background CSS in the .ui-widget-overlay class then it will apply to all the dialogs.
How to set different background colors for different dialogs?
...
Hi i'm trying to retrieve and populate a form. The following link with username Testing and password test123 .
The page is returning a correct JSON object (I tested it by putting on screen between paragraph tags) but the populate plugin is not populating. In firebug it show "no such element as" without displaying the element's name. The...
I have to attach the method copyToLeft on onClick event of all images which are inside the TD. TD is inside the table named mismatchList, so that the structure becomes like this mismatchList > tbody > tr > td > img
Although i have already done this, but that is using plain javascript. What i did was, i manually added copyToLeft(this)...
Duplicate of
http://stackoverflow.com/questions/1886678/jquery-ui-dialog-overlay
have used different jQuery dialogs. For some dialogs I want a transparent background. If I change the background CSS in the .ui-widget-overlay class then it will apply to all the dialogs.
How to set different background colors for different dialogs?
...