jCarousel initial state
Hello, I am trying to use jQuery + jCarousel + slmibox to pull and display images from flickr. Everything works in IE. With FF at the beginning only one image is loaded and it only displays correctly after I scroll left. Then all images are loaded. It also works if I then reload the page but when I switch of caching the same problem occurs. jCarousel calculates the images to request with .first and .last - it seems as if they are wrong at the beginning. Maybe someone can help Daniel
[jQuery] jCarousel initial images
Hello, as the issues addressed in my first posting are mostly solved I do this new post - maybe someone can help me with that. I use jCarousel with jQuery to pull images from flickr and everything works so far except for the initial state in firefox. It only requests one image at the beginning so that only one is shown. Looks as if .first and .last are wrong at the beginning. It also works if I reload with caching on. Then the first request fails and then it is shown correctly. If I disable caching
[jQuery] Data Grid Live Edit
Hi Everyone, I need Datagrid Live Edit for php. I search on google but but not get any good. Please tell me good one. Advance Thanks
[jQuery] Firefox bug on height
Hi everybody, Thanks for this great carousel, i love it ! I have a bug only on Firefox (IE and Safari OK), the carousel is here http://www.main-store.fr . You'll see the bottom of my page is too long. I have tried to modify the CSS with some Height measurements but nothing happen.. Can somebody can give me the answer ? Thanks a lot Julien
[jQuery] xhr Permission Denied
HI, i have a problem whit my Jquery transaction , this is not cross domain, and i use $.ajax, in my local computer is ok, but in the web server return this error. i think the trow verified in this point // Open the socket // Passing null username, generates a login popup on Opera (#2865) if( s.username ) xhr.open(type, s.url, s.async, s.username, s.password); else xhr.open(type, s.url, s.async); <<====|| My code: ___________________________________________________________________
[jQuery] [validate] response from "remote" rule
Jörn, or anyone else familiar with the jQuery validator and ajax I am making a form that asks for the persons address, but when they type in the zip code, I need to both check it from in a db and make sure it's listed, and if it is, return the city and state. I figured out the validator needs the ajax to specifically return the text 'false' to be invalid, and anything else evaluates to valid. But I need to take the response data and do stuff with it. I tried using: remote: { success: function(){
Jquery delay. Image question.
Hi, I am relatively new to using JQuery. I am using jquery with the cycle plugin to do a slideshow of images on my site. It is working great except for when it is loading. While the page is loading you see all the images that are in the slideshow until the jquery loads up at which time it compresses into 1 image and fades in and out between images. My question, is there a way to handle this so that it doesn't show all the images until the jquery has been loaded? Could I put a waiting icon in place
REALLY SIMPLE PLEASE HELP!
Ive been studying jquery and I'm getting the hang of it t'where i KNOW this is a really simple procedure, and I'm overlooking the concept of it. All i want to do is be able to click on one link, let the image load and slide down under the link. which i have accomplished. however its loading the image from a seperate html file and just grabbing the id from that file. i have a close me link on that external page. and it loads after clicking the link. I cant figure out how to get the image and close
[jQuery] jQuery working with selectors
I'm new to jQuery and I'm trying to solve this little problem here. Imagine that I have the following code: <ul class="pageitem"> <li class="menu"> <a href="#music"><span class="name">Music list</span><span class="arrow"></span></a> </li> <li class="menu"> <a href="#album"><span class="name">Album list</span><span class="arrow"></span></a> </li> <li class="menu"> <a href="#song"><span class="name">Song list</span><span class="arrow"></span></a> </li> </ul> So now when I click one of the links I want
getElementByClass?
Hi everyone! To start, I know nothing about js so be gentle. I'm designing a blog and I want each post on the page to be in it's own cloud. So I have a top image, a repeating slice for the middle and a bottom cap. All of these elements fit together very nicely if the entire middle image is used but because the middle section's height is different depending on the content it doesn't line up with the bottom cap. Cutting to the chase, I need a way to specify the height of multiple divs based on class
[jQuery] Get var out of ajax scope
I have an $.ajax() call that I am using to GET some text from a page on my site. I have put it in a variable with the success function. How can I move that var up and out of the $.ajax function so I can use it in other parts of my script? Thanks.
Dynamic Callback
$(document).ready(function(){ $("a#up").click(function() { var up = "strong#" + $(this).attr("title"); $(up).html("next number"); }); }); <li>Attack: <strong id='atk'>{$attack}</strong> - <a href='#' id='up' title='atk'>Up</a></li> <li>Defense: <strong id='def'>{$defense}</strong> - <a href='#' id='up' title='def'>Up</a></li> Apparently, I'm not allowed to use variables like that. How can I get it so any "a#up" link clicked with its
[jQuery] Simple way to reliably get the title bar text in IE and Firefox..
I'm working with a fairly complex page that is heavily controlled by some Javascript that's external to my code. I'm trying to read the document's title text, first trying to use straight Javascript, ie: var txt = document.title; And while this works on a simple page (where the title is set by the document's head > title tag), it doesn't work on the more complex Javascript-controlled page. I suspect the Javascript is setting the browser's title bar property rather than using the title tag. So I thought
[jQuery] jQuery Forms file upload problem
I have a image edit form where the user can upload a new image and/or edit image information such as title, description etc. Since I use the jQuery Forms plugin for most of my other forms I wanted to use it here as well, but last night I encountered a little problem... I use JSON for the return data, and yes I do use the textbox method. It works fine as long as I upload a new image, but if I skip that and just edit some of the other fields such as title etc, the destination php script runs ok, but
[jQuery] JQuery Payload
I was wondering if JQuery has anything builtin to find an element from the payload of an ajax call, and eval() the contents of it? I have some cases where I will be returning javascript with HTML and I would like to be able to just execute it
Help with form valdiation plugin and ajax submit
Sorry everybody, complete noob here learning jquery. So I'm using this jquery.validator.js plugin, to validate my form, and also, submitting the form to a php script with the ajax call. Here's my js code. <script type="text/javascript"> $(document).ready(function() { $("#form").validate({ //set the rules for the fild names rules: { name: { required: true, minlength: 2 }, comment: { required: true,
[jQuery] .split an elements attribute
I am getting the attribute of an image on a page. It is the onclick attribute, but I need some text from the onclick function. (Sounds strange, but I do). Using the following works totally fine: var link_path = $(html).find("img[alt='Show in Asset Map']").attr ('onclick'); alert(link_path); From that, I can gather the onclick attribute. But, I would like to use .split() to section it up, but I keep getting a warning ($ (html).find("img[alt='Show in Asset Map']").attr("onclick").split is not a function)
[jQuery] jQuery function to click a link on the page
http://abrad45.com/sites/beta/ I have this almost working. When you drop the icons on the iMac Screen, the pages are supposed to load in a new tab. I was doing this by trying to have the action on "drop" click on a link on the page. I have things pretty close, but then realized that .click() will not work on actions which do not have .click() behaviors handled by jQuery. I also tried .trigger('click') to no avail. Right now, the drop function is working, but I removed the best functionality I had,
[jQuery] onclick event on <a href calls a function , where to return false to prevent redirection
function buildingedit(searchhtmlid, filename, editid, idnum, addnum, obj) { //closeinst(searchhtmlid); var params = $.evalJSON('{'+editid+':'+idnum+',add:'+addnum +',showhtml:2}'); var myelem = document.getElementById('lastid'); var lastid = myelem.value; var $tablerow = $(searchhtmlid+idnum).clone(true); $(searchhtmlid+lastid).css('background-color','#FFFFFF'); if(lastid) { if(lastid!=idnum) { $.get(filename, params,
[jQuery] Should I be zipping up my Jquery?
Hi My site is running slow(well especially the one page). On this one page I got like 700kb worth of jquery plugins + my own jquery stuff. So I am looking on how to make it faster. I am using as much of mini versions of jquery as I could find so now I am looking into zipping it. I hear this makes it alot smaller but I thought I read once it might actually slow it down more and its not worth it but I just did a quick look and now I see someone recommending it. So I just want to give it a try. I don't
[jQuery] jCarousel display and scrolling problems
Hello, I am using jCarousel 0.2.3 with jQuery 1.3.2 for displaying flickr images and slimbox2 to show them in a lightbox. I'm new to jQuery and I fiddled everything together from examples and it allready works somehow but ere is my problem: In FF most of the time only one picture is shown at the beginning. Firebug also shows this request: http://almdorf-reiteralm.sandbox.khan-it.at/lib/dynamic_flickr_api.php?per_page=1&page=1 So it only wants to fetch one. Funny enough IE shows 3 images as expected.
[jQuery] strange behavior when using jQuery fadeOut function on element with floated element and absolutely positioned element
I am having some strange behavior with the fadeOut function. I asked about it on StackOverflow. If you want, you can see the discussion at http://stackoverflow.com/questions/735292/strange-behavior-when-using-jquery-fadeout-function-on-element-with-floated-eleme . Someone on there mentioned that this is a bug with jQuery 1.3.2 and it is not present in 1.3. I have pasted the question below in case anyone is unable to view the discussion: I am trying to use jQuery to fade out a div, using the fadeOut
[jQuery] Orphan nodes
Is there a general rule of thumb to avoid orphan nodes? I'm using a multiselect plugin which I'd like to be able to remove from the DOM but it is creating orphan nodes in IE and the nodes are not removed according to sIEve. I suspect it is the order that the elements are removed from the DOM, but I'm not sure. Here is the example I'm working from: <html> <head> <script src='jquery.js'></script> <script src="jqueryMultiSelect.js"></script> <link href="jqueryMultiSelect.css" rel="stylesheet" type="text/css"
[jQuery] Help showing 'Showing 3 of 12' msg in Carousel
hi, I was wondering if anyone has used or know the link to jQuery carousel which shows 3 vidoes at a time with ofcourse next & pre button and message something like this: 'Showing 3 of 12' Thanks for your help.
[jQuery] Carousel Help Needed
Using: http://sorgalla.com/projects/jcarousel/examples/static_controls.html I would like to have a control bar that shows dots instead of page numbers, etc. the difference being that if you have 9 items and you show 3 at a time, you should have 3 dots. A dot would represent a page and not one image. Clicking on the dot, would scroll the page. Something like CNN http://www.cnn.com/ (top right side) Any input would be appreciated.
[jQuery] JQuery Nubie
Hi all, I want to add the ability to play sound on my web site without going to a new page. <BGSOUND> is IE dependent and will not hold accross all browsers. I downloaded the jquery.media.js and the jquery.metadata.js and included the imports: <script src="scripts/jquery/jquery.media.js" type="text/ javascript"></script> <script src="scripts/jquery/jquery.metadata.js" type="text/ javascript"></script> I then included the following scripts in my ready function to see what effect they
[jQuery] value of this after many enclosures!
Could someone please help me work out this bit of code, it's driving me crazy! I've read here and there that "this" changes value according to its level of enclosure, it can refer for example to an object that triggers an event but then if used in callback it can refer to the jquery function itself... Well here's my bit of code that I'm working on. I have a number of table cells that have checkbox inputs in them; I have given to the table cells a "mychkbox" class. I have another checkbox in a table
[jQuery] [validate] Tips on multi field validation - Composite unique constraint
I have this working, but not the most user friendly. The case is there is a combination of fields that must meet a criteria, uniqueness in this case. The problem I am finding is that the rules are all attached to fields, where this case really applies to the form in general. In this example, an end user is adding a Member record. A member is a combination of a User and a Group. Users can join many groups, groups have many users. A user cannot join the same group twice, so the alternate, natural key
Checkbox frustration
Hey all. Just thought I'd throw this out there and see if anyone has any insight. I'm using a Facebox 'popup' div that allows users to choose specific fields for an Excel download. The fields all have checkboxes beside them to select/unselect. I'm trying to make it so they can save their current selections into a cookie so the div will reload with the same fields selected the next time they go to do a download. I have code that reads the cookie when the popup is launched. It cycles through the fields,
init() function - multiple iterations not working in IE
Hi, I've searched for this on Google and haven't had any luck so far. I'm a relative newcomer to jquery, so maybe my problem is simple. I've set up a load() function that refreshes two divs (#fader and #featureBanner) with new content. I've constructed it with sequential init functions: q1, q2, q3, q4. It works fine in Mozilla and Safari, but the load() does not work in IE. I've included the source code below and the page, if needed. Much appreciated, Bjorn Page: http://m1.educ.ubc.ca/ $(document).ready(function(){
[jQuery] simply toggling a div that contains a flash movie
hello to simply toggle a div that contains a flash movie does not work in firefox,the flash object does not disappear gradually, any thoughts? code: <script> $(document).ready(function(){ $("button").click(function () { $("div").toggle("slow"); }); }); </script> </head> <body> <button>Toggle 'em</button> <div> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=10,0,0,0" width="300" height="250" id="banner"
[jQuery] JCarousel Circular - Start Over Problem
I have a page with one JCarousel on it. I need to be able to switch between different data sources for the single display carousel. I have it almost working - however when I execute... it loops around to the default start state and doesn't keep the new data on display....it blinks past though. I really need some help. Here is the code; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
[jQuery] Data Grid Live Edit
Hi Everyone, I need Datagrid Live Edit for php. I search on google but but not get any good. Please tell me good one. Advance Thanks
[jQuery] add custom links on datepicker
Hi, which would be best way to add some extra links/buttons on datepicker? For example i need 2 more options: 3)Today option, which sets values of input field and datepicker UI to current date 2)A link which clears inputfield value Do i need to hack the datepicker code or is there a way to create addons for it ?
[jQuery] get reference to nested appended element
hi there, see next example: parent.append("<table><tr><td><table id=\"rt0\"/></td></tr></table>"); table = $("#rt0"); is it possible to reference the inside table directly without using the id to select it?
[jQuery] Traversing a XML document
/* * @param dom_obj xml data * @param ulObj unordered list element */ function buildTree(dom_obj, ulObj){ ulObj.append('<li>'+dom_obj[0].nodeName+'</li>'); if(dom_obj[0].hasChildNodes()){ ulObj.append('<li><ul></ul></li/>'); dom_obj.children().each(function (i, obj){ buildTree($(this), ulObj.find('ul:last')); }) } } buildTree($(xml), $('#demo ul')) <div id="demo"> <ul></ul> </div> ================== XML <RecentTutorials> <Tutorial author="The Reddest"> <Title>Silverlight and the Netflix API</Title>
[jQuery] Circular jCarousel
Hello everyone! I'm trying to use jCarousel in a project and the client asks for the following: 4 pages circular slideshow showing two articles at a time, scrolling one by one. All that with page controls and next/previous buttons as well as an play/pause button. Well, I managed to do all the controls needed but couldn't make it circular. All my data will load with the page, so i'm setting the list itens in the html already (all that to say, no ajax involved). I'd like to know if someone managed
JQuery Script Stops responding
Getting an error when trying to use Telerik's RadDatePicker /RadCalendar on the same page as a jquery script. When clicking on the button that loads the calendar I get the following error: "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete." I have tried running in noconflict mode and that does not fix the problem. Any ideas are appreciated.
[jQuery] setExpression makes IE8 crash in blockUI plugin
IE8 RC1 raise: Error: Not implemented when using setExpression in the blockUI plugin (v 2.14). Here is the first line it crashes on: s.setExpression('height','Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel? 0:'+opts.quirksmodeOffsetHack+') + "px"') To be able to use the plugin, I had to force IE7 emulation in the header: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
[jQuery] jQuery.event.trigger()
Hi guys. Trying again as not sure what happened to the previous post. I am using jQuery 1.3.2 and getting some unexpected behavior this morning. This works, with the alert being executed when the showpalette event is triggered. $().bind('showpalette', function() { alert('showing palette!'); }); $.event.trigger('showpalette'); However, this does NOT work: $().bind('show.palette', function() { alert('showing palette!'); }); $.event.trigger('show.palette'); Also, trying to trigger the event with an
Next Page