[jQuery] How to find a div's which have background-img?
for example .box { background-image: url(images/png_back.png); } <div class="box"></div> Can I filter the div which have backround-image?
[jQuery] Validation Plugin: Too Much Recursion
I have an odd thing happening with the Validation Plugin (latest build on JQuery 1.3). I have several forms setup on a page, with validation on two. My first works fine, but my second keeps giving me errors in Firebug about 'too much recursion'. The configs for these two form validations are nearly identical, with the exception of the rules and messages, which are very basic field-is-requirewswwd kinda stuff. Some searching on the web shows me that there used to be a ticket on this (#2995), but that
[jQuery] Loop through JSON data and check for each option specified
Let's say I have on object with my options: options = jQuery.extend({ title: 'xy', date: 'xy' }, opts); And some JSON data: ({ "items": [ { "title": "IMGP3817", "date": "2008-10-18T10:35:17-08:00" }, { "title": "IMGP3826", "date": "2008-10-18T11:18:19-08:00" } ] }) Now I want to loop through each item and check for each option (e.g. with indexOf). How to do this? This doesn't work: $.getJSON("wheremydatais", function(data){ $.each(data.items,
[jQuery] Recommendations - Carousel and Fisheye
Hi there, I'm wondering if anyone can help me select appropriate plugins to create a cimple carousel (or just fade in fade out image panel) that is navigated using a fisheye effect list? I'm new to jQuery and there seem to be a lot of carousel plugins out there - are there any that can be controlled from another plug-in, or rather from HTML elements outside of the plugin itself (so I can apply the fisheye effect). Any thoughts appreciated. Cheers, DM
Taconite timeout question
Hi, I'm really green in JQuery but I've implemented a slideshow using some of the great JQuery features but currently I'm stucked and can't find the way to make the following to work properly as I wanted. Thanks in advance for any help or suggestion. What I need is, instead of running this all at the same time, I would like to run each of the $.get cmd after a 4 seconds timeout. $(function () { for(i=5;i<9;i++){ $.get('<?php echo $this->baseurl ;?>/modules/mod_jsplashes/extend.php?nextimg='+i+'&ts='+new
Beginnner - Menu hide and show
<div class="menu_main"> <div class="menu_head"><a href="#">Menu Head</a></div> <div class="drop_div"> <ul class="drop_menu"> <li><a href="#">Menu11</a></li> <li><a href="#">Menu12</a></li> <li><a href="#">Menu13</a></li> </ul> </div> </div> I m creating a hide and show menu. When click on menu head, it should show "drop_div" and when mouse out of main div (menu_main), it should hide "drop_div" . How can make such a solution using jquery? Please help me.
JCarousel inside jquery ui tabs / preloading images
I have one or two questions for the forum. 1) I am using jquery UI tabs and putting in a jcarousel in each of the 4 tabs. The first tab the jcarousel shows up fine. The second, third and 4th tab the jcarousel only show 3 or 4 images on the slider. Anyone have this problem before? 2) I am loading a lot of images on this page. Essentially a GUI to pick attributes for a diploma frame and when these images are clicked on the jcarousel it changes the picture frame images and mattes etc. The real question:
[jQuery] Stopping slideUp/slideDown mid animation
I'm using slideUp and slideDown to animate a drop down menu. If i mouse on/off the menu in very quick succession the sliding up and down animations stack up so that when you take your mouse away from it it is still animating up and down. Is there any way to stop the animation in the same way that you'd stop animate: $(".element").stop().animate(etc... If i use .stop() on slideDown/slideUp it stops the element from expanding again beyond the size it was stopped at. I hope that makes sense. Here is
[jQuery] Calling method on multiple jQuery objects
Hi there, I can't seem to find a way to perform the same jQuery method on multiple jQuery objects. I have tried using commas and passing arrays to the jQuery function but neither works. $( $('#id') , myJQObj ).hide(); $( [ $('#id') , myJQObj ] ).hide(); I know you can do this within a selector, i.e. $('#id, .hello').hide (), but I already have a few jQuery objects passed from various places and I need to perform the same action on each of them. There must be a way to do this, can anyone point me
[jQuery] callback function
Hello, I’m pretty new in the jQuery world. I'm struggle with the callback function. <script type="text/javascript"> $(document).ready(function(){ $("#gallery-flickr").flickr({api_key: "f28804be7a09c5845676349c7e47d636",per_page: 4 }); $('a').attr({ rel: "prettyPhoto"}); }); </script> In the first line 4 photos are retrieved from flickr. In the second line rel: "prettyPhoto" has been added to the 4 received photo lines from flickr. This action must perform after all the photo
[jQuery] Multiselect listbox
Hi! How can i check that atleast one option is selected in multiselect listbox. How can this be done through JQUERY. Thanks in advance
Fading draggables
Hi, I'm completely new to jQuery. I'm trying to figure out how to fade the opacity of a draggable instead of just setting the opacity option, which is rather harsh. Is this possible?
[jQuery] 413 FULL head
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
[jQuery] How to animate opacity on Internet Explorer
Using animate({opacity:}) jQuery provides an excellent way of fading elements in and out of view. However, opacity does not work on IE (which demands the use of silly filters). With that in mind, how do we animate the opacity of an element in IE? Thanks
[jQuery] load page which includes swf and js functions
Hi, I'm trying to load a remote page using load function $('#middle').load("test.php"); that page (test.php) has javascript functions that embed an swf using swf plugin. The problem is that it only loads html content and doesn't execute any javascript function. Any ideas? Thanks
[jQuery] Confused by adding confirmation plugin to Rails ajax link
The plugin page, http://nadiana.com/jquery-confirm-plugin The span class of "remove" is a gray box that turns red on hover. It functions as a link to an ajax delete method. I want to mouseover the box and bring up the Yes/No confirmation buttons. Have been at it for a couple hours now. Help greatly appreciated. Thank you. <%= link_to_remote "<span class=\"remove\"></span>", :url => { :controller => :actions, :action => :remove, :id => action }, :html => { :onmouseover => "???" } %> At this point,
[jQuery] .load() duplicate functions problem
Hi! I have a question, I have two main divs one for is used for menu, the other is used for content. When an item is clicked from left menu, content is loaded via jquery load() function in to the content div. In one of my content I'm using jquery tabs for a tabbing system. In this system there is a function like this which adds a new tab when a button is clicked. $('.creator').click(function() { $("#charttype").dialog("close"); $("#reporttabs > ul").tabs("add", 'show_chart.php?showid='+f,
[jQuery] site using [validate] plugin
hi i published a site using the validate plugin (which is awesome) for the 7 pages registration form. http://www.lavorainmondial.it/tuo_profilo/step1.php Many thanks
[jQuery] Wanted: Autocomplete that doesn't change
Hi I want to find an autocomplete plugin that doesn't fire the current field's change event (as I hook up on that) when it's building the list to choose from. Does such a plugin exist?
Newbie question about jQuery UI files
Hi there I've been playing around with jQuery for a week or so and have just moved on to looking at jQuery UI. I have been on the site and have downloaded a theme and the necessary docs from the themeroller. So basically I have the following files: 1. jquery-ui-personalized-1.5.3.js 2. jquery-1.3.1.min.js and a theme folder with: 3. ui.all.css 4. an images file What I don't understand is the fact that in a lot of the documentation there are references to css classes that I can't find in ui.all.css.
[jQuery] JqGrid et ui.jquery ?
Hello, This could be of interest to add the plugin JqGrid (http:// www.trirand.com/blog/) a ui.jquery:) for a perfect integration. because it lacks a UI MANAGEMENT SYSTEM Grid Do you add this type of a UI component?
[jQuery] [treeview] CSS Styling Open Item
Hi All, I'm having a heck of a time figuring out how I can add a custom CSS style to 'Open' treeview items. I need to figure out how to do this with cookie support. Any help would be greatly appreciated! Otherwise, can anyone clue me on how to set a cookie for toggleClass or addClass / removeClass? I've looked at a number of different examples and I must admit that it's a bit over my head. Thanks for any help! Matt
[jQuery] JQuery size: 19 KB ? 55 KB?
Hi, all! Homepage of JQuery says that JQuery is 19 KB (minified), but download link goes to a file which is 55 KB. Does it need to be compressed? If yes, how can I compress it? Thanks, Rasit
[jQuery] Superfish menu First level images
Hello I have a Superfish menu on joomla 1.5, I have the first level with images only, the problem is that it show's different the image menu when the url of the image item is a separator and different when the image has a normal joomla link http://joom15.first.gr Thanks
[jQuery] jquery.corners.js peformance issue
Hello, i got a website simply put those DIV id patten for a rounded corner, but i found it slow at all during that page loading, just use on my page. <script type="text/javascript" src="javascript/jquery/ jquery-1.3.min.js"></script> <script type="text/javascript" src="javascript/jquery/ jquery.corners.js"></script> $('div[id^=_X_ev_]').corners({radio:5, outColor:'#7C0E1E'}); so is it anything can do to improve it? or any other workaround? as the browser status bar looked finish all loading already
[jQuery] Css Background-Position and Internet Explorer 7
Dear group, I made a simple website using html, css and jquery. There are four div's that divide the website in different parts and if your scroll position reach them they start to scroll their background image using css() http://variouselmts.com/development/ It works on a mac and also on a pc with opera and firefox but unfortunately not with Internet Explorer 7. Since I have no own pc, I really need you help in debugging this Many thanks
jQuery vertical scroll?
I made the jQuery slider work on my site, and it's scrolling on X axis. I've looked in js files and changed some "axis" values but I can't get it to simply scroll - on Y axis, from up to down. Where do I change the direction?
[jQuery] Ajax Multiplayer Game
I've been writing a little ajax based game. It will be multiplayer, and is written with jquery. http://code.google.com/p/ajaxmmo enjoy :)
[solved] Variable in $("")
Hello, is it possible to get an id with a variable in it? So, would something like this work? : function moo(theId) { $("#idNumber" + theId).text("does this work?"); } and then it will affect <div id="idNumber384">hi 384</div> width this <a onclick="moo(384)">Get 384</a> Or is there any other way to get it? never mind! it works, never expected it to work because it was just a guess
[jQuery] Rich text Editor
Hi, I am trying richtext editor the problem is on every button click (Like Bold or Code) how to send the tags([b][/b] or [code][/code]) to the last mouse or courser point in the textarea.... Thanks and regards, Anjith
[jQuery] Problem with Date Picker in Thickbox
Hi, I am using a plugin called 'jQuery Date Input' v1.1.8 with the latest version of jQuery. The plugin works fine on a normal page, and, although I can get it to display within a thickbox v3.1, I am having trouble with the positioning of the date picker relative to the date input field on the form in the thickbox. I can get it to work reasonably in firefox. In ie6/7, it works but it is a bit sticky. (you can't escape from the date picker or click elsewhere on the page, you must select a date) In
[jQuery] seesion issue is thickbox.
HI everyone, I just started using jquery with thickbox, I met a strange issue while using the thickbox. I'm developing the site in php. I have not specified any session time limit though thickbox destroys the session every 2-3 rd time I open the thick box. Does any one else has faced this issue?? please help if you can. thanks.
[jQuery] failing miserably in IE
I'm not sure where to even start with this. I've got a page with a ton of scripts that I've basically copied from one of my other pages (which works fine in IE). Of course, some of the scripts have changed, but I've got strange things failing everywhere. The common errors I was getting an 'undefined error in jquery-1.3.1.js' error, and i pinned it down to this bit of code [code] $('span#datePickers').DatePicker({ flat: true, date: Date(), current: multiCalDate(), calendars: 3, mode:
[jQuery] Superfish
Hi, I downloaded the updated superfish 1.4.8 but couldn't install it using the Joomla install function. I keep getting the error message: "could not find xml setup file in package" or "unknown archive file." Is there a special process to install this mod using the joomla install function? I downloaded it and also unzipped it but to no avail. Any advice that you can provide is much appreciated. Thank you.....
[jQuery] SimpleModal container and closing image
Hi, I'm using the SimpleModal library to display help text in a modal popup. We are using the a.closeimg in the stylesheet to display a modified X to close the window. The stylesheet is external and located in the web application directory. It has a page to the image that takes into account the server path eccentricities of ASP. The trouble is that in Firefox the image does not display and there doesn't appear anywhere to click to close the window. The user has to click the back button to get back
[jQuery] superfish
I'm a newbie and can't install the zipfile superfish 1.4.8 using the joomla install function. I keep getting an error message stating that the xml.....is missing. Do you have any suggestions how I might be able to install this file? I'm currently using superfish 1.0 on my site. Also, regarding superfish 1.0, do you have any css examples that we can just copy and paste.....this would be a great help to newbies. thanks, yak
[jQuery] Is this a valid selector?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face
jQuery UI - sortable lists
Hi! I have two sortable lists connected to each other using: $("#listOne").sortable({ connectWith: ["#listTwo"] }); $("#listTwo").sortable({ connectWith: ["#listOne"] }); This works great and I am able to sort items in each list and drag items from one list to the other. Now the problem: I am populating the first list so that the user can drag and drop selections from it to the second list. This works fine. What I am looking for is a way to select ALL items in the first list and magically move
[jQuery] type-ahead/autocomplete plugin for textareas
Hello, I'm looking for a plugin that will autocomplete text in a textarea. Rather than a drop down menu I'd like to have the autocompleted text appear hilighted inside the textarea. Can anyone point me to a plugin that does something along these lines? -Matt
[jQuery] Inserting text in IE8
My problem isn't strictly jquery but more javaScript. In IE6, 7 i can insert text on a range using pasteHTML(). in IE8 i can only pasteHTML() when text is selected and not when just the cursor is placed. see here for very simple example. http://robing.xtools.co.nz/demo_cms/test_editor/ any idea's why? Robin.
Next Page