[jQuery] Trouble with Facebox and Ajax submitted form
I have a form inside a div that is shown via Facebox. I seem to be having troubles getting the form to submit via ajax, it always wants to submit normally. Here is a test page: http://www.iohelix.net/misc/chat_test/ Any suggestions would be appreciated.
[jQuery] how to create a javascript Extension using jquery
hi , i was trying to replace my javascript statements with jquery statements by including the jquery file in *.xul file. the xul file line is as under: <script type="application/x-javascript" src="chrome://extensionname/ content/jquery-1.2.6.min.js""/> and i am trying to access the "$"/ jquery functions in the other js file of my plugin. but its not working. plz help.
[jQuery] IE6 is not animating the menus and a bunch of JS errors
I really need someone's help here. I installed Superfish on a Joomla 1.5 website and it's working splendid in Firefox and finally it's working OK in IE7 as well. However, it's simply not doing anything in IE6. Nada. Also, in IE6 and 7 I get a number of JS errors, a couple of which are related to Jquery. If anyone is so kind to want to take a look, the site is at: http://lmag.us/staging15/ Just for background: The client chose the template I am using, which had a horizontal CSS menu, possibly Jquery
[jQuery] jcluetip problems with multiple on a page (when local = true)
I'm using jcluetip--multiple instances on a page--and i'm using rel to specify that it pull the data from a class. the markup and the class is the same for all elements. i didn't notice initially but the plugin pulls the data from the first class instance only and uses it for all of the tooltips. i believe this is the code line that is causing issues: else if (opts.local){ var $localContent = $(tipAttribute + ':first'); // if i remove + ':first' it pulls all of data for every instance of the class
[jQuery] Selecting a table cell based upon it's header?
Hi All,<div> </div><div>Hopefully this is a stupid question, and I just haven't been able to find information about it. </div><div>Given a table, with headers at the top. I want to loop through the rows of the table (easy), and loop through the elements of each row (easy), and based upon the values of those elements, construct a URL.</div> <div> </div><div>If I set the headers as <th scope="col">Property Name</th>, is there any way to then select the cells according to their header name? </div><div>
[jQuery] Jquery UI Tabs
http://d40541.u24.gazungle.com/portfolio.php working for me fine in FF .. but not in IE7 ... any suggestions ? I am using the AJAX call method instead of DIVS as well. thank you !!!
[jQuery] div hides ok, but doesn't show up again.
Hi all, I am trying to load content from another file in several divs on one page. If i use this script: var ct=0; $(".container").each(function () { var id=this.id; $("[id="+id+"]").append("<div id=pic"+ct+"><img src='../grafix/ spinner.gif'>d</div>");//alert('r'); $("#pic"+ct).hide() .load("ajax_getimage.php?url="+id); $("#pic"+ct).fadeIn("slow"); ct++; }); everything works wel. Now i'd like the script to hold until the complete remote content has been loaded (an image) and then
[jQuery] Simple Selector Question -- Context
If I have the following: var pError = $('p.error'); Then I can do the following with no problem: pError.text('lorem"); Yet, I want to check for the paragraphs that have the class "error" that are visible, I would think it is something like this: var visibleError = $(':visible', pError); However, this fails. Is this because the visible selector is different in creating the wrapped set of paragraph tags with the class error? What is the proper way of using the context of pError with the visible selector?
[jQuery] problem with document ready function
I have a collapsing expanding menu I want to collapse before the images load on the page. I was able to do this with the $document ready command. Only problem is .... In FF3 menu collapses immediately...once all images are loaded the menu expands again ... :( In IE6 works In IE7 menu never collapses Using onpageload produces varied results as well loading the script after all the slow images...and sometimes in IE7 the menu doesn't collapse. here is the page http://www.ryanvosburg.com/portfolio/blackcreek/indexdom.html
[jQuery] Confirm Delete from DB
Okay I'm getting there, how would i combine the delnews javascript to the jQuery statement? [CODE] <script language="JavaScript" type="text/javascript"> function delnews(user_id, user_firstname){ if (confirm("Are you sure you want to delete '" + user_firstname + "'")) { window.location.href = 'test.php?delnews=' + user_id; } } $(document).ready(function() { $('.removeLink').bind('click', function(){ if (confirm("Are you sure you want to delete ")) { $(this).parent().fadeOut(1000, function() { $(this).parents('tr').remove();
[jQuery] jquery.cycle scrollDown FX
Hey I'm having issues with the jquery.cycle using the scrollDown fx. I'm using the following jquery + plugins and I'm pretty sure I'm just missing a plugin file... <script language="javascript" type="text/javascript" src="js/ jquery-1.2.6.js"></script> <script language="javascript" type="text/javascript" src="js/ jquery.cycle.all.js"></script> <script language="javascript" type="text/javascript" src="js/ jquery.cycle.trans.js"></script> <script language="javascript" type="text/javascript" src="js/
[jQuery] Stupid question: what is the return value of replaceWith good for?
While I love most things in jQuery, one thing I don't get is replaceWith. This method returns the object you just replaced, which as far as I can see is 100% worthless, rather than the the object you're replacing it with. If you do: $.(someHtmlElement).replaceWith("<div>my div</div>"); There is no way whatsoever (as far as I can tell at least) to access "<div>my div</div>" after the replacement. You can access someHtmlElement, but that's not very helpful; if you're replacing it, you probably don't
[jQuery] Electricity - Make It, Dont Buy It.
Electricity - Make It, Dont Buy It. http://dispaying.com/electricity-make-it-dont-buy-it--s-157.html Build A Wind Generator http://dispaying.com/build-wind-generator-s-158.html Simple Water Car http://dispaying.com/simple-water-car-s-156.html Create electricity at home - renewable energy. Make a windmill and solar power system http://dispaying.com/create-electricity-home-renewable-energy--make-windmill-and-solar-power-system-s-140.html Learn How I Earn $1000 to $3500 Every Day! http://www.dispaying.com/learn-how-earn-----every-day--s-182.html
[jQuery] using jquery to implement google maps on phpbb3
I have a small phpbb3 bulletin board and I'm trying to implement google maps via a mod/bb code solution. I have got it working where I can embed a single map. But unfortunately, when a 2nd map is added to a thread, the first one disappears. I've isolated this as having to do with the div tag id used by the javascript. I've tried creating a random number for the id code in js. But that doesn't work either, as the variable name is the same for both instances of the map. sigh... I just today stumbled
[jQuery] using jquery to implement google maps on phpbb3
I have a small phpbb3 bulletin board and I'm trying to implement google maps via a mod/bb code solution. I have got it working where I can embed a single map. But unfortunately, when a 2nd map is added to a thread, the first one disappears. I've isolated this as having to do with the div tag id used by the javascript. I've tried creating a random number for the id code in js. But that doesn't work either, as the variable name is the same for both instances of the map. sigh... I just today stumbled
[jQuery] livequery not acting on radgrid ajax row elements
I have a livequery function that doesn't run after elements are added with an AJAX RadGrid control. the elements are image thumbnails ie: <img class="thumb"/> $(function() { $(".thumb").livequery(function() { $(this) .resizeToScale({ width: 50, height: 50 }); }); }); If elements are added dynamically via other means (like a click event) the livequery function runs right away. click event that works: $(function() { $(".click").click(function() { $("#dynamic") .AddImage("../729424.jpg") .children("img")
[jQuery] InnerFade bug
I'm using the InnerFade plugin for cycling through an underorderd list, works great until I resize my window to get a horizontal scroll bar and scroll to the right, the content within the InnerFade gets cut off. Not sure how to fix this? http://s54419.gridserver.com/
[jQuery] selector question
Hi -- I'm trying to hide all the contents from <td>s within a table *except* for the first <td> in each <tr>... I don't want to hide the <td>s, just their contents, but I'm having trouble finding the correct selector(s) to accomplish this. So, for example, if the table is: <table> <tr> <td>one</td> <td>two</td> <td>three</td> </tr> <tr> <td>four</td> <td>five</td> <td>six</td> </tr> </table> I'd like to hide the actual *content* "two", "three", "five", and "six" -- for as many tds there are after
[jQuery] Can't understand why this won't work
Hi all, I'm developing an iphone oriented site, and I'm having some problem with the click event not firing ( and I think is mine selectors who are wrong ) can anyone help me figure out? Heres the jscript: $("#homeMenu A.colecao").click(function(e){ alert('menu'); }); $("#brindesMenu, #colecaoMenu, #repMenu").toggleClass('hide'); // this works $("#menuRowA[href='colecao.html'],#homeMenu A [href='colecao.html']").click(function(e){ alert('colecao'); pageTracker._trackPageview('/iphone/colecao');
[jQuery] Radio Buttons - checking a option by value.
I'm trying to work out how to a check a radio button of a particular group based on it's value. Here's the html <input type="radio" value="2" name="gender"/>Female <input type="radio" value="1" name="gender"/>Male <input type="radio" value="0" name="gender"/>Not Specified // My current code. $(document).ready(function(){ $("input[name='gender']??").attr('checked', true); }); I know the value I want to set for the group, but not sure how to access this in jquery, hence the question marks.
[jQuery] Mouse Out with two divs
Hi, I have a two div with two id : <div id="somediv"> many Contenet </div> <div id="result></div> i want to make something like that : $("#somediv").bind("mouseleave",function(){ $('#result').fadeOut(); }); $("#result").bind("mouseleave",function(){ $('#result').fadeOut(); }); But i don't want that result dissapears if if move my mouse on the other div. Is there a way to say : hide a div, when mouseout two divs, but not if you are hover one or another ? The div are not in the same area in the page.
[jQuery] Targetting .class-0 .class-1 .class-2 .class-3
This is a beginner question. Does anyone know how to target $('.jquery-calendar-0') $('.jquery-calendar-1') $('.jquery-calendar-2') $('.jquery-calendar-3') etc... I need to run the following, where X is the number, but I don't know how many X exist until after the page renders. $('.jquery-calendar-X').calendar( {stuff} ) I can't find the solution in Learning Jquery (Chaffer and Swedberg), at least not in Chapter 2 How to Get Anything You Want. ;-) Thanks!
[jQuery] strange ie7-related font behaviour - poss jQ/ie7 bug?
Bit odd this...probably I am missing something, I am new to jQuery, but maybe I've found a bug? Here's the deal. I've built a site using jQuery to show/hide some content boxes, amongst other things. In ie7, and only in ie7 from what I've tested (FF/Safari/Opera/Chrome, ie7 and ie6), on loading the page the font is good, as coded. But. Then, on minimising a box, then re-maximising, the font has changed to a generic, courier-like font. Anyone seen this problem? Maybe it's an ie7 thing. But no problem
[jQuery] strange ie7-related font behaviour - jQ/ie7 bug?
Bit odd this...probably I am missing something, I am new to jQuery, but maybe I've found a bug? Here's the deal. I've built a site using jQuery to show/hide some content boxes, amongst other things. In ie7, and only in ie7 from what I've tested (FF/Safari/Opera/Chrome, ie7 and ie6), on loading the page the font is good, as coded. But. Then, on minimising a box, then re-maximising, the font has changed to a generic, courier-like font. Anyone seen this problem? Maybe it's an ie7 thing. But no problem
[jQuery] siblings() not working properly in IE7
Has anyone ever seen the behavior where $('#someId').siblings() returns an empty set in IE7 while returning a non-empty set in FF3? This seems to specifically happen when #someId refers to a <tr> element. I can't seem to reproduce the problem for all similar situations, but I can't for the life of me figure out why my page is inconsistent. I would post a link to the page, but the project is a closed system and I can't really open it up. Thanks, Marc
[jQuery] Can I make image change only by part of it?
http://www.dominos.com.tw/located/located_map.asp like the map on this website, when your mouse over a part of it, it only change the same area.
[jQuery] click function doesn't work on html element created on the fly with jquery
hi to all ;) It seems that click function doesn't work on html element created on the fly with jquery. Where am i wrong ? When i click on the checkbox from paragraph "P2", i got the alert. But when i click on the checkbox from paragraph "P1" created on the fly (when i submit a button), then i got no alert. regards, f. Here is my code: JQUERY Part: $("#Idsubmit").click(function () { $("#P1").html('<input type="checkbox" value="soft_boo">soft_boo'); }); $(":checkbox").click(function () { alert("foo");
[jQuery] Scope variables in anonymous functions?
What I'm trying to figure out is how I can access parent scopes from a nested anonymous function. As you can see here, I'm managing to do this by assigning "this" to variables, but I know that there's a way to pass "this" into the anonymous functions: $(".responsibleCouncil .category").each(function() { var category = $(this); var input = $(this).find(".toggler input"); var siblings = $(this).siblings(); input.click(function() { $(siblings).find("ul").hide(); $(category).find("ul").show(); }); });
[jQuery] Bug with AJAX json setting an element to a value and back to 0 when polling
I am using the AJAX class with the dataType set to json and cache off. I am polling with the this class about every 2 minutes. So here what I am doing to get the error and it is reproducible. I have everything set really simply right now. Here is the success function I am using: function(data) { alert(data.id); } It just set to alert so I can see what's going on. Here is the first JSON data getting passed to it: {"name":"","id":0} And I get an alert that says 0. So far so good. Next poll I get: {"name":"test","id":22}
[jQuery] WordPress IMM-Glossary - request for tooltip port to JQuery
I am attempting to use this great plugin for WP glossary creation, which has a tooltip definition option that uses prototype. http://www.internetmarketingmonitor.org/word-press-plugins/imm-glossary-wordpress-plugin/ I have a lot of other JQ running on this site, and the prototype tooltips are not working due to what I assume are conflicts between prototype and JQ. Would anyone be interested in project work to port this to JQ?? Thanks! -Adam
[jQuery] ActiveX message for every DOM manipulation?
Hi there, I am trying to get rid of the annoying "Allow execution of ActiveX control elements?" (or similar, translated from German) message that comes along with a higher security setting in Internet Explorer. I receive this message every time I want to manipulate the DOM tree, for now it's only the following line that triggers it: $('body').wrapInner('<div id="fixedWrapper"></div>'); Do you have an idea if there is a way to avoid this? I have no clue, do not even know why simple DOM manipulation
XML data consumption issue with Internet Explorer
Hello, I'm new to jQuery and I've been playing around with an example I found regarding xml consumption. The thing is it works perfectly in every browser, except IE, where it only displays the tables headers. I'm sure many of you here have already seen this. Here is the code: // Start function when DOM has completely loaded $(document).ready(function(){ // Open the xml file $.get("data.xml",{},function(xml){ // Build an HTML string dataTable = ''; dataTable
Need help for converting mootools code to jquery
Hi all, I am working on a photo gallery. I got a nice photo gallery in mootools. It works really good. I want to convert this mootools code to jquery as my full site is in Jquery. I have some issues. This is original Mootools code var number_of_pictures = 34; var no_of_panels = 1; var temp = 1; var temp2 = 0; function show_pictures () { var while_pictures = 1; while (no_of_panels <= 3) { temp = 0; while ( temp <=15 && temp <= (number_of_pictures-temp) && (while_pictures + temp)
[jQuery] IE z-index problems with superfish and jquery.cycle.plugin.
I have images with jquery cycle under superfish. Dropdown submenu of superfish over the images goes behind the images. I put z-index: 100; for the superfish menu and it works with firefox but not with IE. Can anyone help me out with this problem? Thanks in advance.
[jQuery] How to detect a autocomplete on a input field?
I'm creating a login box that has a Username and Password field. Their label is displayed inside the input field them self, so you see "Username" and "Password" in the field when the page is loaded and when you focus the field this label is hidden. It's actually a background image that a hide and show on focus and on blur. Now my problem detecting auto completions by browsers. The change event doesn't get called when a field is auto completed so I have no idea how to detect this... Any ideas?
[jQuery] Drag/Drop + Node Connection through arrows
Hi, Is there something similar to http://www.il og.com/image.cfm?name=designer_topology.png http://www.mida regami.net/Japan-Hierarchy.jpg http://www.ajax weaver.com/screenshots.html which can done using jQuery. Thanks.
Selecting array of inputs
Hello, I have multiple input fields in my form with name attribute set to "firstname[]": <p> <input type="text" name="firstname[]"/> <input type="text" name="lastname[]"/> </p> <p> <input type="text" name="firstname[]"/> <input type="text" name="lastname[]"/> </p> the problem is that i cannot easily select the objects. this does not work and i cannot find any solution in jquery reference: $('input [name=firstname]').val() Is it possible to select an array like that in jquery? or should i
Jquery Accordian, hiding images when the page loads
Hi, first off, warning I'm a total Jquery noob, this is my first use of jquery on a site. I got the code for a horizontal accordion from this site: http://designreviver.com/tutorials/jque ... mment-5741 Here is the site I'm using it on: http://www.cbtemecula.com/people.php Got it most of the way working, but still having a couple issues that I can't puzzle out. 1. In firefox, when I load the page, not everything in the accordion loads. Sometimes I have to refresh the page several times for everything
[jQuery] Problem with IE 6 & 7
I write a simple example works fine in firefox3,but not in IE 6&7. In IE 6 there is nothing in page,and IE 7 the origin content is down . The code is here: ------------------------------------ <HTML> <HEAD> <title>test</title> <link href="http://dev.iceburg.net/jquery/jqModal/jqModal.css" type="text/css" rel="stylesheet"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script src="http://dev.iceburg.net/jquery/jqModal/jqModal.js"
[jQuery] jcarousel ie6 bug
hi i'm using jcarousel plugin for a project. Problem is in ie6 the last image in all of my carousel doesn't show up? Any idea? Thanks Vitto
Next Page