[jQuery] Path problem with Imagebox
Hi I use Joomla and it is installed in the root of my website. hence I don't use a \Joomla directory. I can't get ImageBox the work right in this configuration. When the box opens it doesn't display the loading graphic and when the box is open is doesn't display the close button at all. I have install the same plug-in in my test system where Joomla is install in the /joomla directory and imagebox works fine. How do I fix this problem? Thank you Janet Weber _______________________________________________
[jQuery] Path problem with Imagebox
Hi Andrea I tried that, but I get an error message when I modify the index.php of the plugin. It says there is a T_string error in the <script type="text/javascript"> line. Janet -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Andrea Ercolino Sent: Thursday, March 01, 2007 12:10 PM To: discuss@jquery.com Subject: Re: [jQuery] Path problem with Imagebox Sorry, disregard my previous message. Here is what you need: <script type="text/javascript">
[jQuery] Question about binding .click() (and other events) to parentless elements
I noticed somewhat odd behavior when using .click() on newly created elements. If the .click() is assigned prior to the element being attached to the DOM, the element behaves as if there is no event bound to it. var removeLink = $("<a href='#'>Remove</a>").click(function() {alert('hello');}); $(".portlet .handle").append(removeLink); Tested this in both FF 1.5 and IE6 and the event appears to have never been bound to the element. However, this works fine: var removeLink = $("<a href='#'>Remove</a>");
[jQuery] Bug in interface highlight effect in IE7
I posted yesterday about an issue I was having with the highlight effect (from interface) firing twice... So after looking at my code again this AM - I went to the Interface site itself (http://interface.eyecon.ro/demos/ifx.html) and the highlight effect appears broken there as well. Works fine in Firefox: blinks to white and the fades into green. In IE: It blinks white, fades into green and then turns white again. I'm on WinXP & IE7. Jim _______________________________________________ jQuery mailing
[jQuery] problem with "edit in place" on HTML coding.
Hey, i have a edit in place thing now and i have this text: <div class=\"admin_link\">#INCLUDE#</div> when you click on the the text field pops in BUT the content is suddently different.. the content now is: <div class="admin_link">#INCLUDE#</div> but i want it to be : <div class=\"admin_link\">#INCLUDE#</div> any idea how i can get this done? thanx alot in favor. Mark. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jquery accordion plugin settings help
hi guys, i am using the below with the accordion plugin and want initially all panels to be closed, hence i have added "active: false" but with no effect at all. what am i doing wrong? tia, s $(function(){ $('#main').Accordion(); $.extend($.fn.Accordion.defaults, { active: false, showSpeed: 500, hideSpeed: 100 }); }); -- View this message in context: http://www.nabble.com/jquery-accordion-plugin-settings-help-tf3307897.html#a9201238 Sent from the JQuery mailing list archive at Nabble.com.
[jQuery] how to make the function in forms + ajax?
hey. im using the ajax form plugin of jroes, http://www.amir.cx/ajax/test3/stable.php till now i success to do the rules inside the tag, but where i can put inside that code a properties like rules: { firstname: { required: true }, age: { number: true }, password: { min: 5, max: 32 } }, messages { password: "Please enter a password between 5 and 32 characters long." } }); and thing such : $("#myform").validate({ errorClass: "invalid", errorContainer: $("#messageBox"), errorWrapper: "li" }); cause
[jQuery] Announce: Unobtrusive JavaScript with jQuery andsymfony
David, What you ask is exactly what the plugin does. Take a look at the blog post explaining how you can use it to replace obtrusive javascript at: http://redotheweb.com/2007/02/28/unobtrusive-javascript-made-possible/ François -----Message d'origine----- De : discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] De la part de David Duymelinck Envoyé : jeudi 1 mars 2007 08:47 À : jQuery Discussion. Objet : Re: [jQuery] Announce: Unobtrusive JavaScript with jQuery andsymfony François Zaninotto
[jQuery] Form validator 0.2 causes problems in IE6
hey, when i run form validator from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ , after putting the uncompressed version, its working fine in ie 7 but in ie 6 its returns me error: (here is the code: http://pastebin.ca/374655 ) object dosent support this property or method " line 34 (and also in ie7 and in i6 this code not return some value on the div...) if i just download the files from the site without changes (except of using the uncompressed version) it its returns me error
[jQuery] problem with jquery and IE6.0
hi guys i have created a plugin for Jquery, this plugin interface Asterisk via AJAM, work perfectly with Firefox but no with IE. I dont understand where is the error or if this is a bug of the asterisk webserver the code is very simple i add a little example: var Response = $.ajax({ type: "GET", url: "asterisk/mxml", data: "action=login&username=xxxxx&secret=xxxxxx", async: false }).responseXML; With this code is possible to login with administratro manger of Astrerisk, the response is an XML string,
[jQuery] Another site using jQuery
Seems mobile networks and retailers rather like our script of choice :) Here's another one for the list if it isn't already there: http://www.dialaphone.co.uk/phone/Samsung_X830_White/ Spotted the tablesorter plugin and thickbox (I think?) Regards, Michael Price _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] nth-child selector
Hello, I'm trying to select every odd item in a list, but not the first two items. I've tried using the nth-child selector, which is fine at picking out the nth-child, but I can't get the 2n+2 child to be selected: stripes("#search-results div:odd"); // is ok stripes("#search-results div:nth-child(2)"); // works but stripes("#search-results div:nth-child(2n+2)"); // doesn't. Am I missing something about the CSS3 selector syntax? Thanks, Dan. -- Daniel Eastwell Portfolio and articles:
[jQuery] Manipulating several independent elements at once
Hi, is there a way to manipulate different selectors in one step? $('#a').show(); $('#b').show(); $('#e').show(); I.e. I don't want to replicate the show() part three times, but sort of "group" the #a, #b, #e selectors. Of course, this is an example, I need a general method of achieving this. Thanks, Bernd _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Running a function when something changes...
In a page that gets modified by ajax calls, I would like to run my own function after each change. My function does ajax calls, so if I use the ajaxSuccess binding, it goes recursively and crash... Any idea? -Nicolas -- Nicolas "Brush" HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos : http://www.flickr.com/gp/38608514@N00/M1c002 phpHeaven : http://www.phpheaven.net/ _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Announce: Unobtrusive JavaScript with jQuery and symfony
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=251565015-28022007><FONT face=Arial size=2>Hi list,</FONT></SPAN></DIV> <DIV><SPAN class=251565015-28022007><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=251565015-28022007><FONT face=Arial size=2>I just pop in to mention a new plugin for the symfony
[jQuery] Patch: jquery.rating.js
Patch for svn://jquery.com/trunk/plugins/rating/js/jquery.rating.js Bug: The slice(1) logic doesn't work -- at least in FF2 Index: jquery.rating.js =================================================================== --- jquery.rating.js (revision 1436) +++ jquery.rating.js (working copy) @@ -65,7 +65,7 @@ drain(); jQuery.post(url,{ - rating: jQuery(this).find('a')[0].href.slice(1) + rating: jQuery(this).find('a') [0].href.slice(jQuery(this).find('a')[0].href.indexOf('#')+1) }); return false;
[jQuery] jQuery/Validation plugin on FireBug - Couldn't catch events
I'm just trying to walk through the script http://jquery.bassistance.de/validate/demo-test/validate-demo.html with FireBug. FireBug breaks when loading the page; but not on any events, say when submitting the form or when the error text is been added. Is there anyway/workaround for it? TIA -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] ajaxStart/Stop with ajaxCFC
Hey all, Does anyone know if there is a conflict using .ajaxStart and .ajaxStop in combination with Rob Gonda's ajaxCFC? I'm trying to do something simple, but it doesn't seem to work - the ajax call works fine, but my div doesn't get displayed on ajaxStart. Maybe I'm missing something obvious. Script: $(document).ready(function(){ $(".loadmessage").ajaxStart(function(){ $(this).show(); }); $(".loadmessage").ajaxStop(function(){ $(this).hide(); }); }); HTML: <div class="loadmessage" style="display:none;
[jQuery] Flickering with SlideToggle in Firefox
Hey, So I've basically made a page that slides open with a submenu for navigation, and you can click a main link, and the menu closes, ajax loads the new menu, and then opens up to reveal the new menu. This works great in Internet Explorer 7 [not sure about other versions], but just before the menu slides open, it 'flickers' for half a second on Firefox. I've found similiar threads, but people always abandon their threads- so I don't know if they found a solution and didn't bother posting it, or
[jQuery] BlockUI like plugin for divs
Thanks Mike, that's great. I am writing a kind of portal server, that makes heavily use of Ajax. I want to disable portlet windows while updating the content.
[jQuery] BlockUI 1.0
I just posted a new version of BlockUI. I bumped the version to 1.0 just for fun. Changes: - Element blocking with messages; you can now have custom messages appear over blocked content when blocking a subset of the page. - Improved "settings" support; it is now much easier to override the default blocking styles, including the overlay itself. So for example, using a blue overlay instead of white is a one-liner. - improved Opera 8 support Examples and documentation can be found at: http://malsup.com/jquery/block/
[jQuery] Tablesorter docs
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Trebuchet MS">Hi, Are there any docs or howto's for the TableSorter plugin? The plugin source is a little lite on for documentation and the page associated with it only contains a change log. I'm sure there used to be a page with a demo and instructions? Does anyone know where
[jQuery] Understanding .index(subject)
I'm trying to get my head around this method and I'm getting results unexpected results. I'm trying to get the index number of the th's that have the '.asc' class. Any ideas why the second one is returning -1 ? Thank you! :) <html> <head> <script src="jquery.js" type="text/javascript"></script> <script> $(document).ready(function() { $("table.simple").each(function() { var x = $('th',this).index($('.asc')[0]); alert(x); //first returns 2, as
[jQuery] possible slideUp/slideDown bug?
Hello, I am using slideUp and slideDown, with each attached to a radio button via click(). Here is the code: $(document).ready(function() { // Attach hide/show functions: $("#user_type_super_x").click(function() { $("#permision_block").slideUp(1); }); $("#user_type_user_x").click(function() { $("#permision_block").slideDown(1); }); }); After I click on the first radio button and "slideUp" the content, if I
[jQuery] Jqmodal problem with IE6
Please go to <a href="http://www.bydot.net/sr/rezervacije.htm">http://www.bydot.net/sr/rezervacije.htm</a> and click on "<a href="http://ci/sr/rezervacije.htm#" class="jqModal">Rezervišite putem mejla.</a>" As you see, overlay is displayed like "underlay". In FF 1.5 everything is OK. Any clue? I would appreciate any other advises and comments.<br clear="all"> -- Dragan Krstić krdr <a href="http://krdr.ebloggy.com/">http://krdr.ebloggy.com/</a> _______________________________________________ jQuery
[jQuery] Need some guidance...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Need some guidance...</TITLE> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=339493421-28022007><FONT face=Arial color=#0000ff size=2>Rick...</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=339493421-28022007><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN
[jQuery] .attr("href", "javascript:void(0);") not working
Oh..... When I download the jQuery cheat sheets it said that it was supported. Could be a mistake on their part. Is there anyway for this support to go into 1.1.3 :) It's actually is really useful. For those of us that program in CF, I can't count the amount of times I've used the ListFind function and this selector is exactly like it. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of John Resig Sent: Wednesday, February 28, 2007 3:33 PM
[jQuery] Splitting an array
working on a dynamic function, it can have 1-3 inputs function callbackf(args) { var arg1 = false; var arg2 = false; var arg3 = false; process(arg1, arg2, arg3); } I need to split args into arg1, arg2, arg3 But if the value going into arg1-3 is not an array I need to toString() it _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Testing
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Courier New, Courier, monospace">Hi folks, It looks like my posts aren't getting through. So this is a test.</font></font> <pre class="moz-signature" cols="72">-- <a class="moz-txt-link-freetext" href="http://www.cjordan.us">http://www.cjordan.us</a></pre> </body> </html> _______________________________________________
[jQuery] Another Smegin' test
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Courier New, Courier, monospace">Sorry folks, just testing...</font></font> <pre class="moz-signature" cols="72">-- <a class="moz-txt-link-freetext" href="http://www.cjordan.us">http://www.cjordan.us</a></pre> </body> </html> _______________________________________________ jQuery
[jQuery] taconite question
Thanks Mike for the clarification. Maybe I should rethink my implementation model altogether--I'm struggling to reorganize both my thoughts and my files as I transition from old-fashioned web applications to an ajax model. I am an old dog trying to learn a series of new tricks. How do you all organize the files and functions that make up your applications? I'm sure I'm making it harder than it needs to be. -Paul -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]
[jQuery] IE how I love thee - effects happening twice
OK - I finally got around to looking at things in IE (everything works great in FF) I'm using the fade (highlight) effect from the interface library and what happens is when the fade comes in - it fires twice. My script is about as simple as you can get: <script type="text/javascript"> $(document).ready(function(){ $('#warning').Highlight(2000, '#FFFF74'); // fades in background color }); </script> It seems to botch up in both IE6 and 7. No problems or errors in FF. Any ideas? Is there
[jQuery] Odd include ordering bug w/ Tablesorter and WrapInner
Hmmm, makes sense now with the wrapinner implementation within tablesorter. Sorry for the confusion, maybe this is better ... Wrap Inner works: <script src="jquery.tablesorter.js" type="text/javascript"></script> <script src="jquery-plugin-wrapinner.js" type="text/javascript"></script> Wrap Inner does not work: <script src="jquery-plugin-wrapinner.js" type="text/javascript"></script> <script src="jquery.tablesorter.js" type="text/javascript"></script> --- Christian Bach <christian.bach@polyester.se>
[jQuery] What's wrong with this code?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"> <TITLE>What's wrong with this code?</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Ok</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">…</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> so I had working jQuery/AJAX
[jQuery] .attr("href", "javascript:void(0);") not working
I figured it out. There was nothing wrong with my code. Seems that I might have discovered a bug. Seems that using the ~= selector doesn't work right. If I'm getting it right, it should look though a spaced separated list and see if that list contains the exact value. So if I have: $("a[@rel^='external']").click(function(){ return !window.open(this.href); }) It's looking for any anchor tags with "external" in the rel attribute. Well my plugin uses that attribute also for it's setting
[jQuery] .attr("href", "javascript:void(0);") not working
I figured it out. There was nothing wrong with my code. Seems that I might have discovered a bug. Seems that using the ~= selector doesn't work right. If I'm getting it right, it should look though a spaced separated list and see if that list contains the exact value. So if I have: $("a[@rel^='external']").click(function(){ return !window.open(this.href); }) It's looking for any anchor tags with "external" in the rel attribute. Well my plugin uses that attribute also for it's setting
[jQuery] .attr("href", "javascript:void(0);") not working
I tried to do that and it still didn't work. I've been at this for quite sometime now. Could someone on the outside, try the code in their browser and tell me if they get the same error? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Matt Oakes Sent: Wednesday, February 28, 2007 2:41 PM To: jQuery Discussion. Subject: Re: [jQuery] .attr("href", "javascript:void(0);") not working If your just trying to make the browsers default action from
[jQuery] taconite question
<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] .attr("href", "javascript:void(0);") not working
I'm trying to rewrite a plugin that I wrote a while back since the code has been lost. Basically this plugin makes it easy to have a link open in a popup window I'm having a problem preventing a new window from opening when using javascript:void(0). Below is the code. jQuery.fn.PopUpWindow = function(){ return this.each(function(index){ var setting, href, parameters, newwindow, a, b, c, $this; $this = jQuery(this); a = $this.attr("rel").split(","); href = $this.attr("href");
[jQuery] Q: best way to create dynamic content?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial size=2>hi chris, </FONT></SPAN><SPAN class=500243521-27022007><FONT face=Arial size=2>thanks for the response. </FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=500243521-27022007><FONT face=Arial size=2></FONT></SPAN> </DIV>
Next Page