[jQuery] jqModal and IE problems
So i have some usage of jqModal in my project and this is what's going on: (screenshot: http://i38.tinypic.com/2edavs2.jpg) you can see that "jqmOverlay" has a z-index of 2999 and jqmWindow has a z-index of 3000 So, in a correct and working world, jqmWindow should be *on top* of jqmOverlay (which Firefox respects and works) i found this looking for "IE a-index problems" http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html but that doesn't explain how to fix the issue..... and even stranger is that
[jQuery] passing data between draggables & droppables
Hi all, i need some help from the gurus, so i'm asking here ;-) first of all description of the elements in the page: 1. i have div initialized as draggable like this .draggable({ containment: 'document', opacity: '50', helper: 'clone', start: function () { $.tooltip.block(); }, stop: function (ev, ui) { $.tooltip.block(); }, dragdata: [panel_def.id, i] //<< setting custom data inside options object }); 2. i have
[jQuery] [validate] custom validation trigger
Hallo, i would like to validate a formfield. Valid values are 01, 02 .... 31, like all possible days of a month. The field validation should start after blur (like default) and after the second sign was inserted(also in the first lazy-mode). When the values are valid, the next form field should be onfocus automatically. Is this a possible behaviour of the plugin? At this point i dont have an idea, how to start Thx in advance Boris
[jQuery] shadowbox resize iframe after content loads
On our website I am using a shadowbox to view videos hosted on another site in the product page window. The problem is that recently the company hosting the videos have started providing several different size of videos. All the different video pages, however, have an element with an ID of container as the only child of the body element (in 2 cases it's a table, in a third a div, but all have an id of container). I found that if I can manually resize the shadowbox by getting the clientwidth and clientheight
[jQuery] [tooltip] Does not show up in IE
Hello, I'm struggling with the latest version of tooltip, i can't get it working in IE. Tho it's showing up perfectly in Opera and FF. This is the code: $("option").livequery(function(){ $(this).each(function(i){ var str = $(this).text(); if (str.length > 20) { $(this).text(str.substr(0, 18) + "...>>"); $(this).tooltip({ track: true, delay: 0, showURL: false, fixPNG: true, bodyHandler: function() { newstr = ""; for (var counter = 0;counter <= str.length; counter++ ) { if (counter % 60 == 0 && counter
[jQuery] addSlide with Next/Previous pagination using Cycle Plugin
Hi Firstly, the Cycle plugin is great! The slides in my cycle contain pretty large images, so I'm pre-loading them and adding using the addSlide option. However, this breaks my Previous and Next buttons. They work for the first two slides that are present when the Cycle begins, but on the third slide they do nothing. Is there a way around this? Thanks in advance Martin
[jQuery] ZKOSS uses scriptaculous
We cannot include jquery.js in a ZK page, because of $ I deleted the $ = jQuery definitions and now ik can use jQuery in a ZK Page. I cannot use the minimized version though, because it's a bit encrypted Maybe leave this shortcut to the higher level, let applicationbuilders define $ to there liking $ = jQuery should not be part of the library Regards, Huub
[jQuery] $("xx").load can't load css and js in html file on Chrome??
Hi all, I use $("xx").load to load a html file that has its own css and js, on IE and Firefox, it work good, but on Google Chrome, it can't load css and js in the html file, how can I fix it? example: subpage.htm: <html> <script type="text/javascript"> alert( "Hello World" ); </script> <style type="text/css"> ......... </style> <body> <div> ..... <div> </body> </html> I use: $("xx").load(" subpage.htm "); alert ( "$("xx").html()" ); on IE and Firefox,it alert "Hello World" and show: <style type="text/css">
[jQuery] first day in week - datepicker
Hello, i need help. I 'm trying what fatepicker can do and I want change the day, when week starts in calendar. I want monday to be first day in week, but I really don't know hwo to do that. Do you have any ideas? elf
[jQuery] How to use jGrowl's "theme" option?
Hello, does anyone have an example how to use jGrowl's "theme" option? I want to use display error messages in red and tried the following: $.jGrowl('My error message',{theme: 'jgError'}); with the following in my css file: .jgError { color: red; } but it didn't work. I am obviously doing something wrong here. Does anyone have an example of how to do it right? Thanks for your help W. Rösler
[jQuery] New Website in IE7
The new website doesn't work at all (bar the homepage) in IE7, I think it should! Basically the footer is forced to the middle of the page and the white background doesn't show up making the site useless. I would imagine it's a floats problem and IE not realising there is still content. What ever anyone's views on IE I do think for the sake of take up the website should be cross browser. Would be good to see it fixed. Simon
[jQuery] Finding elements with some ID
How to find the elements with the id beginning by "myID_" and terminated with any number like "myID_25789".
[jQuery] Disappearing accordion elements
Hi folks, I'm having trouble with lower elements (correct usage of the term???) of "disappearing" under the footer div of my page. A test page is here: http://www.watereducationalliance.net/technology.asp (click on "key info") In both IE7 and FF3, the lower two items of the accordion are not fully viewable, sliding in "behind" the footer. I suspect the solution is through CSS, but my attempts at placing a "clear:both" styled break tag after the last item of the accordion has not been successful and
[jQuery] Validate Input of type File
Hello, Is it possible to validate a input of type File? I mean that I would like to test if the user checked a file ... nothing else. Thanks, Miguel
[jQuery] UI Datepicker change class on callback
Hi everyone, I am using the great UI Datepicker plugin to manage a property rental website. Using the "National days" technique, I am able to parse data from an XML file and show the days that the property is not available in red. So far so good, but I also need to allow the owners to change those days, for which I am using the callback function. I can send an AJAX GET to my server with the date selected as a parameter and my serverside script can make the change from available to non-available,
[jQuery] Get ID from HTML variable
Hi, I have a variable (data) with html content. I need only get the innerHTML(?) from one element in content. The element is a div with id. Sample: <html><body><table><tr><td><div>...</div><div id="myDiv">more html here</div></td></tr></table></body></html> I try create a element with the variable content but this dont work... In HTML/javascript I do: var myObj = document.createElement("div"); myObj.innerHTML = data; var myDiv = myObj.getElementById("myDiv"); How make this in jQuery? tks Cristiano
[jQuery] reading from HTML file...
hie everybbody, can any one tell me how do i read from HTML file using ajax or JQuery,,,. I have to use this in ASP.NET but i do not want to use Server side, that is why wished to use JQuery but i even do not know about the function which is to be used, can you please help em out, and tell the way i can use it. Thanks,
[jQuery] Using an external parser with MarkItUp
Hi, Not sure if this is the right place to ask, but here goes nothing. I have a small php/jQuery framework in which I would like to use the seemingly excellent MarkItUp tool. The users want to use MarkDown as their content markup language, and I would like to oblige - but the documentation for typing MarkItUp instance is a bit thin on the ground... I have a PHP Markdown parser, and I know where to put the parser file, and how to let MarkItUp know where the parser file is.... but, I have no idea how
[jQuery] using an external parser with MarkItUp
Hi, Not sure if this is the right place to ask, but here goes nothing. I have a small php/jQuery framework in which I would like to use the seemingly excellent MarkItUp tool. The users want to use MarkDown as their content markup language, and I would like to oblige - but the documentation for typing MarkItUp instance is a bit thin on the ground... I have a PHP Markdown parser, and I know where to put the parser file, and how to let MarkItUp know where the parser file is.... but, I have no idea how
Calling the page method with jQuery
Hey All, I am in the middle of a project. i want to call the page methods with j query instead using script manager.Im very new to this whole jquery thing,and i was hoping that someone could give me a hand. Thanks Inadvance.. Shiva. Here is is my code........ Creating a page method for testing purposes. public partial class _Default : Page { [WebMethod] public static string GetDate() { return DateTime.Now.ToString(); } } Calling the page method with jQuery instead. As you can see, there’s no ScriptManager
[jQuery] How to prevent multiple click sound in IE 6 using jQuery History plugin
I am hoping someone might be able to help with this problem. I am using the jQuery history plugin and it is working fine, except that in IE 6, I hear the 'start navigation' click sound twice when navigating backwards and forwards between pages. I have got as far as identifying the parts of the plugin code where this is occurring, but do not know enough to stop prevent the annoying double-click sound (it seems to fire once when the age is loaded and again when the hidden iframe is populated). Here
enable/disble form fields upon radio clicks
Hello, This is my code. It checks for the radio-status of the field "medewerkers_wachtwoord_wijzigen" and enables/disables 2 other ones upon the status of this field. It does this on pageload and on click a click event. $(document).ready(function(){ jQuery.fn.wwDisable = function() { this.attr("disabled", true); }; jQuery.fn.wwEnable = function() { this.removeAttr("disabled"); }; if($("input[@name='00_settings[medewerkers_wachtwoord_wijzigen]']:checked").val()==0){
[jQuery] display more than 3 images with thickbox and autoscroll?
hey guys, I been braking my brains for hours trying to figure this one out. I figure how to input images into the jcarousel and to link them to a bigger size one that would display in thickbox. using the thickbox sample... anyways I cant figure out how to make the jcarousel to display more than 3 images and to auto scroll, if anyone know and can tell me what to do, ill really appreciate it =)
[jQuery] $.ajax() timeout
I seem to not be understanding how the ajax timeout works, because it does not seem to work how I thought. I was hope it would delay the ajax request, for the number of miliseconds that is specified, but that does not seem to be working. Is the timeout used for something different? Or is there a different way to delay an ajax request for a few seconds? Using: $.ajax({ type: "GET", timeout: 5000, url: "myurl.com", beforeSend: function() { $("#adminToolsListingA .scroll").html(""); $("#adminToolsListingA
[jQuery] periodically call a function
I often use rails' "periodically_call_remote" to update a div for example and render a partial with the newest database entries. How will the JQuery way look like? Thanx
[jQuery] Somebody know javascript function?
hi all, i need to know, how can i indicate with javascript if the client browser are enable ito display images. sohow can i to check that? which functions are need for that? the client has to be informed, if his browser has to be adjusted at first, to be the images able to display. pls help and thanks a lot. best wishes, sarmad
[jQuery] jqMock - mock library for jqUnit / QUnit
Hi all, I've recently released a mock library for the jqUnit framework. It is intended to be a lightweight javascript Mock Framework, and allows dependent functions such as native alert dialogs to be mocked and tested in isolation. I hope this library can be useful for real life usage. Please have a look, there's really detailed documentation and a user guide. I'm looking forward to any code reviews and feedback! Hosted on google code at http://code.google.com/p/jqmock/ http://code.google.com/p/jqmock/
[jQuery] jqMock - mock library for jqUnit
Hi all, I've recently released a mock library for the jqUnit framework. It is intended to be a lightweight javascript Mock Framework, and allows dependent functions such as native alert dialogs to be mocked and tested in isolation. I hope this library can be useful for real life usage. Please have a look, there's really detailed documentation and a user guide. I'm looking forward to any code reviews and feedback! Hosted on google code at http://code.google.com/p/jqmock/ http://code.google.com/p/jqmock/
[jQuery] animate width or height form auto to fixed size _and back_?
I built a box/panel that collapses to the left, but so that the header keeps visible with a small width. By default (in expanded state) it should have width: auto. Collapsing is easy: boxHeader.animate({width : '19px'}, 'fast'); However: Is there an easy way to expand it back? It would be very nice if this would work, but it doesn't: boxHeader.animate({width : 'auto'}, 'fast'); What I have come up with so far seems clumsy and lengthy, which is not really my impression of jQuery in general: // Seems
[jQuery] $.post - timing problem
I have a little problem with the following code, alert('start'); $.post("ajax.asp", { email: email }, function(data){ alert("Data Loaded: " + data); }); // should wait until Data Loaded alert('start2'); $.post("path.asp", { email: email }, validateReturn) alert('after'); Output is: start start2 after Data Loaded ... I have to call a $.post function twice. How can I do it, that the next $.post function have to wait until the first function is called and the output is processed? Bye
[jQuery] Jquery Problem in IE 6
Dear friends, i am working in a site, in which i have used jquery scripts. In Jquery the .html() is not working. I used .html() to print the output to one div from one file. If i use .html() in ie6 means the site in keep on loading..... Please help me to fix the error. It is very *Urgent*
[jQuery] IE and GoogleMaps in a modal window
Hello list. Is there somebody here that could help me understand a strange thing about IE rendering a Google Map inside of a modal overlay? I've just put together a simple one-page website for a local event at http://www.krasnopolje.com (valid HTML and CSS). Clicking on the 'GoogleMaps' link with scripting enabled opens a modal window (I used the SimpleModal plugin) and the map is drawn into it. Now the IE mistery: the browser we all learned to curse won't draw the images composing the map unless
[jQuery] append ajax call result?
I want to append the result of a load() call, rather than replacing everything in the element, like this: <code> $("a").click( function(){ $(this).append( load("./my_data.php") ); }); </code> I've tried <code> $("a").click( function(){ $(this).append( function() { load("./word_data.php"); } ) } ) </code> which doesn't work. Is there a way to do this?
[jQuery] getJSON and (this)
Hi. Can anyone tell me while once I get inside the success function $j(this) is no longer defined? Thanks! :) $j("a.complete").click(function () { $j.getJSON("https://foobar?my=" + $j(this).attr("title"), function(data){ if (data.status == "Completed") { //Woohoo, it worked! alert("Woohoo!"); //Now lets change the div style! $j(this).parent().removeClass('foobar'); //Hey, that didn't do anything! //This worked above, lets test
[jQuery] .ajax POST question, script stops.
Hello, This is my first week programming in Javascript and more specifically, jQuery. I'm working on a nice little fun project to kinda get my hands dirty. I have a page that has a variety of "roll over" divs, which are to turn the color the users is select, if they dont click it *should* turn it back to what the color of the div was before. (It doesnt, i havent gotten that far YET!) ANYWAY ---- My real question is that my script is suppose to be using this .ajax functoin to send a POST request to
[jQuery] preserve state of a toggle element after page reload
Is there a way to store the status (hidden, visible) of a div for example after a page reload? I want to give the users the possibility to custumize the sidebar. Hidden elements could be made visible again on a special settings site. When the user enters the main site all sidebar elements are visible. Then the user hides some elements and jumps to another page - and all elements are visble again. Right now I use session to decide which elements are hidden/visble? Is there also a Jquery way? Thanx
[jQuery] A little help please....
Hi there, I had my first experience with jQuery today and I am experiencing a little hick-up. When you go to www.satechevents.co.za you will find two links under the site logo. When you click on either of these I use the slideToggle method to hide and show the relevant content. Everything works fine except, when you click on the link the content 'loads' and right at the end jumps up a couple of pixels. I am assuming this might have something to do with default browser functions on links marked up
[jQuery] JScrollPane not working in some pages
I have used JScrollPane from www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html I have used JScrollPane in this link(http://7thsense.co.in/dbs/ services.html) but somehow its not working though its working on other pages like http://7thsense.co.in/dbs/abt--milestone.html Thanks in advance CSJakharia
[jQuery] Everyone knows how to manipulate a SELECT with jQuery??
Hi! Everyone knows how to manipulate the OPTIONS of a SELECT with jQuery?? I have, for example, this SELECT: <select id="test"> <option value="1">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3</option> </select> And I have 2 buttons on the document: <input type="button" name="pre" id="pre" value="previous option" /> <input type="button" name="post" id="post" value="post option" /> Ok!; I need to change the selected option in the SELECT when I push the 'pre' or the
[jQuery] animate width or height form auto to fixed size _and back_?
I built a box/panel that collapses to the left, but so that it keeps visible with a small width. By default (in expanded state) it should have width: auto. Collapsing is easy: boxHeader.animate({width : '19px'}, 'fast'); However: Is there an easy way to expand it back? It would be very nice if this would work, but it doesn't: boxHeader.animate({width : 'auto'}, 'fast'); What I have come up with so far seems clumsy and lengthy, which is not really my impression of jQuery in general: // Seems jquery
Next Page