Re: [jQuery] DD_roundies

2010-02-07 Thread brian
Anchors are inline elements. Try giving it display: block (or inline-block). On Thu, Feb 4, 2010 at 7:12 PM, Erik wrote: > Hello everyone... > > I'm using DD_roundies for IE round corners and it works great.  BUT, I > can"t seen to figure out how to make the following work: > > > > .a2 {width: 1

Re: [jQuery] FOUND THE SOLUTION FOR ROUNDIES FOR IE8 !!!!!!

2010-02-22 Thread brian
SPECTACULAR NEWS! So, um ... don't keep us in suspense. On Sun, Feb 21, 2010 at 2:45 PM, Erik wrote: > For months I couldn't figure this out and I found the answer > > dd_roundies can now work with IE8!!! > > Erik >

[jQuery] Re: Dynamic Links

2009-07-13 Thread brian
rom the above link to the jquery > methods for overlay? > > I hope I am able to clear my point.. > > Thanks. > > > On Jul 12, 10:19 pm, brian wrote: >> On Sun, Jul 12, 2009 at 12:46 PM, mnaveed wrote: >> >> > Hi, >> > I am new to JQuery, c

[jQuery] including JQuery JS changes font size in table cells

2009-07-16 Thread Brian
I might have missed the text field). Thanks. -Brian

[jQuery] Re: Dynamic Links

2009-07-17 Thread brian
On Fri, Jul 17, 2009 at 3:34 AM, Pradeep Chandrasekaran wrote: > > Hi Brian, > > This returns the id perfectly, but how to overlay for each id?? That depends on the overlay code. There are many ways to do that. If you have a function for positioning the overlay and loading the con

[jQuery] Re: Newbie Question....

2009-07-17 Thread brian
Do you want the form to submit via AJAX? Have a look at the form plugin. http://malsup.com/jquery/form/ On Fri, Jul 17, 2009 at 1:47 PM, raisputin wrote: > > Hello, > > I have just discovered jQuery and it looks cool. I used the jQuery UI > builder at ui.jquery.com to build the UI and it looks a

[jQuery] Re: UI TABS - Best Practices

2009-07-25 Thread brian
I've done something similar and, while it works, it took a bit of head-scratching to get things working properly. The biggest thing was ensuring that newly-loaded content was "initialised" on load. The admin page contains: I have a separate admin.js with admin-only routines. $(function

[jQuery] Re: How to Show image Title in Lightbox? Please

2009-07-26 Thread brian
You mean the alt text? It workes for me--"The Beeches Hotel". I see it at bottom left. On Sun, Jul 26, 2009 at 6:41 AM, jimmyhill wrote: > > Hi > > It seems to me that it normally happens by default... set a Title in > the image tag and it shows in the lightbox-image-details-caption.  But > mine

[jQuery] Re: accessing iframe content

2009-07-26 Thread brian
try this: iframe.contents().find('body p').html() On Sun, Jul 26, 2009 at 3:39 PM, mkmanning wrote: > > Is your iframe on the same domain? If not, you can't do this. > > On Jul 25, 10:39 am, kknaru wrote: >> hi there, i just started working with iframes and i'm stucked :D >> >> so...i have this

[jQuery] Re: Using jQuery to automatically convert plain-text URLs to links

2009-07-26 Thread brian
$(function() { var re = /(https?:\/\/(([-\w\.]+)+(:\d+)?(\/([\w/_\.]*(\?\S+)?)?)?))/ig; $('#foo').html($('#foo').html().replace(re, '$1')); }); If you want the link text with the 'http://' bit, use '$2' There are scads of URL regexps floating around online. This one work

[jQuery] Re: Combine JQuery objects question

2009-07-27 Thread brian
appendTo()? What do you mean by "join"? On Mon, Jul 27, 2009 at 11:40 AM, www.voguemalls.com wrote: > > who knows if it is possible to join two jQuery objects to make > a new object.  For example... > > var e1 = $("#firstObject"); > var e2 = $("#secondObject"); > > var combined = e1.add(e2);  //

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-27 Thread brian
And paginate the 1st div, using AJAX to refresh it with each "page" for your list. On Mon, Jul 27, 2009 at 11:58 AM, Liam Potter wrote: > > divs, updated using ajax. > > gnetcon wrote: >> >> Hello, all! >> >> Brand new to jQuery, although I have used some apps that use jQuery in it. >> >> I have

[jQuery] Re: Advice needed on jQuery page to be built

2009-07-28 Thread brian
Let's say that you want to add the click handler to all anchors in the 1st pane: $('#pane1 a').click(function() { $.ajax({ /* assuming that the anchor's href contains all * the data necessary for your PHP script */ url: hre

[jQuery] sign preview

2009-08-07 Thread Brian
I have a client that needs a web tool that will allow users to upload an image and preview that exact image on a sign template. Also, to be able to type text into a field and preview how that text will display on a sign. Similar to zazzle's custom product creation and buildasign. http://www.buil

[jQuery] Re: how do I hide an element after my function completes

2009-08-16 Thread brian
Use the 3rd param of $.get() $(function() { $(".pagination a").live("click", function() { var loader = $('#loader') loader.show() // <-- hidden loader div $.get( this.href, null, function()

[jQuery] Re: frustrating IE problem

2009-08-17 Thread brian
What's the reported error? On Mon, Aug 17, 2009 at 10:16 PM, ninjagowoowoo wrote: > > I've been having issues with my jquery code in IE. I've tried various > debugging methods but they tend to point into the actual jquery js and > not the code I've written. For what it's worth, the debuggers tell

[jQuery] Re: Quick check over these few lines ?

2009-08-22 Thread brian
I see an error and ... something confusing. The error is that you're using "this" to refer to the li inside the success handler but it's gone out of scope. Commonly, people will create a var "self" and assign "this" to it so as to refer to the proper object inside a deeper scope. The confusing b

[jQuery] Re: appended element problem

2009-08-22 Thread brian
That's because the new link has not been bound to the function described in the first part. See here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F Although it's not added through an AJAX request the principle is the same. On Sat, Aug 2

[jQuery] Re: Quick check over these few lines ?

2009-08-24 Thread brian
On Sat, Aug 22, 2009 at 5:13 PM, MorningZ wrote: > > "The confusing bit is that you're instructing jQuery to make an AJAX > request for each LI *as the page is loading*" > > That is not true, as inside > > $(function() { >   ... >   ... >   ... > }) > > the page is already "ready", all the 's will

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-02 Thread brian
by a param. Ditto for the "AT" & "DOT". * * @author brian ally, zijn digital **/ jQuery.fn.deobfuscate = function() { return this.each(function() { var content = $(this).text(); /* grab the part ins

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-02 Thread brian
; results: > http://www.josephfinsterwald.com/UI/Pages/article4.aspx > > On Sep 2, 7:01 pm, brian wrote: >> I wrote one but have never gotten around to submitting it. Feedback welcome. >> >> /** >>  * De-obfuscate printed email addresses which are of the type: >>  

[jQuery] Re: Email obfuscator/defuscator plugin

2009-09-03 Thread brian
Nice catch, thanks. I really should also make it a bit more configurable. On Wed, Sep 2, 2009 at 8:44 PM, JazeNZ wrote: > > instead of > >                var address = obfuscated[1] >                        .replace(' AT ', '@') >                        .replace(' DOT ', '.') >                    

[jQuery] Re: An idiot's question about returning results from a form submission

2009-09-03 Thread brian
I've done this. The PHP script can just echo the path (from webroot) to the saved image. You'd then just create a new Image, assign the src, and add it to the DOM. What I do, though, is echo a JSON object with the src, width, and height, then append the image. If you post your code, I'm sure we c

[jQuery] Re: An idiot's question about returning results from a form submission

2009-09-03 Thread brian
On Thu, Sep 3, 2009 at 10:23 PM, Alan wrote: > > Thanks, Brian. I appreciate it. > > As mentioned, the document has the following script references in > ... >         >         >         > > As a result of a user action, JavaScript (from script.js) generates a >

[jQuery] Re: An idiot's question about returning results from a form submission

2009-09-04 Thread brian
On Fri, Sep 4, 2009 at 9:48 AM, Alan wrote: > > When you say... >        Then, in your JS function, test the returned text for > "failure" or >        "reject" first, or parse the JSON object and create a new > image tag >        with the supplied src, width, & height. > > ... what's the exact cod

[jQuery] Re: Replacing entire page.

2009-09-05 Thread brian
See here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F But, if you're replacing the entire page, why not simply load it normally (without AJAX)? On Sat, Sep 5, 2009 at 11:07 AM, tom wrote: > > Hello, > > I am trying to replace the enti

[jQuery] Re: Image processing for IE navigators ?

2009-09-09 Thread brian
Even jQuery would have to rely upon the browser's display engine so, if you're talking about IE6, I'd think you'd be out of luck. On Wed, Sep 9, 2009 at 2:26 PM, M wrote: > > No ideas ... ?

[jQuery] Re: href value

2009-09-17 Thread brian
Are you sure that this.href is not complete? I suspect it is and that the problem is that you're appending a URL that contains a query string to another query string. So, the various params are being mixed up with each other. You should urlencode the href before appending it as a query string. On

[jQuery] Re: How to rename cloned element id (increase by one)?

2009-09-25 Thread brian
But what if there's already a #span2 in the document? Perhaps it would be better to give it the ID span1_1 (or similar). On Fri, Sep 25, 2009 at 6:31 PM, jan1979 wrote: > > > Hello. > > I have following code: > >  function addElement(id) { >    $(document).ready(function(){ >        if ( $("#sp

[jQuery] Re: How to disable a form

2009-10-02 Thread brian
On Fri, Oct 2, 2009 at 8:32 AM, Giovanni Battista Lenoci wrote: > > Cecil Westerhof ha scritto: >> >> I want to disable a form when I submit it. The first reason is because >> I do not want the form submitted more as once. For this I could >> disable the submit button(s). But I also want the valu

[jQuery] Re: How to disable a form

2009-10-02 Thread brian
On Fri, Oct 2, 2009 at 9:11 AM, Cecil Westerhof wrote: > > 2009/10/2 brian : >> >> I like that idea but another might be to (after the form has >> submitted) add a new submit handler for the form that simply returned >> false. > > The problem with that is tha

[jQuery] Re: IE7 does not play nice with $.load

2009-10-02 Thread brian
On Fri, Oct 2, 2009 at 5:00 AM, Nick Fitzsimons wrote: > > 2009/10/2 Dave Methvin : >> >>> Is there some easy way of forcing IE to make ajax >>> calls? >> >> You can use the old trick of adding a random number to the end of the >> url. > > That's what the { cache: false } option does; see jQuery

[jQuery] Re: Stumped. 1.3.2 breaks this script

2009-10-02 Thread brian
You say it's not displaying "the first few books" but you don't say which those are. The first one I'm seeing is "Plum Lovin'". Is that correct or not? FF3.5.3/Linux, btw. On Fri, Oct 2, 2009 at 9:04 AM, stilfx wrote: > > Article: > http://blog.reindel.com/2007/02/02/use-jquery-expressions-and

[jQuery] Re: Stumped. 1.3.2 breaks this script

2009-10-02 Thread brian
On Fri, Oct 2, 2009 at 9:29 AM, brian wrote: > You say it's not displaying "the first few books" but you don't say > which those are. The first one I'm seeing is "Plum Lovin'". Is that > correct or not? > > FF3.5.3/Linux, btw. > Neve

[jQuery] Re: IE7 does not play nice with $.load

2009-10-02 Thread brian
On Fri, Oct 2, 2009 at 10:23 AM, Nick Fitzsimons wrote: > > 2009/10/2 brian : >> >> On Fri, Oct 2, 2009 at 5:00 AM, Nick Fitzsimons wrote: >>> >>> 2009/10/2 Dave Methvin : >>>> >>>>> Is there some easy way of forcing IE to make aj

[jQuery] Re: Set property based on sibling width()

2009-10-05 Thread brian
$('.caption').each(function() { $this.width($this.find('img').width()); } On Mon, Oct 5, 2009 at 11:52 AM, bombaru wrote: > > Can somebody help me out?  I'm trying to set a width of a span class > based on the width of the image inside of it.  I've got a container > that will also have a bunch

[jQuery] Re: Your download is corrupted

2009-04-26 Thread brian
Let me get this straight: you had (unspecified) difficulties with a 3rd-party plugin and now you're assuming that some (unspecified) file in the jQuery "system" is somehow (unspecified) corrupted? And so, in your "bothered" state and with nothing else but your own fantasies to go by you've left a

[jQuery] Re: Can I use more than one JQuery code on a page at a time?

2009-04-26 Thread brian
On Sun, Apr 26, 2009 at 2:23 PM, SPWebcreations wrote: > > I am using the lavalamp navigation and the coda slider on the same > page but only one will work at a give time... Can anyone help? > Here is my Jquery... > > > ... >

[jQuery] Re: how to make an alert before processing a form

2009-04-28 Thread brian
As Mike said, bind a function to the form's submit and "return confirm('your msg');" On Tue, Apr 28, 2009 at 11:02 AM, hybris77 wrote: > > I think what I want to do is do a preventDefault(), > throw a custom alert with a YES and NO button > then reverse the preventDefault() > > maybe?  Hmmm, but

[jQuery] jQuery Superfish dropdown issue in IE7

2009-04-28 Thread Brian
I haven't seen this problem elsewhere as of yet. This is an internal site, so sorry, can't show the site. What is occurring though, is when you mousover a menu item that has a dropdown, it shows the first 10 pixels or so of the top of the dropdown, then shows the rest of the dropdown 1/10 of a s

[jQuery] Jquery Superfish problem with dropdown in IE7

2009-04-28 Thread Brian
I haven't seen this problem elsewhere as of yet. This is an internal site, so sorry, can't show the site. What is occurring though, is when you mousover a menu item that has a dropdown, it shows the first 10 pixels or so of the top of the dropdown, then shows the rest of the dropdown 1/10 of a s

[jQuery] parent trouble

2009-04-28 Thread brian
I have a nested (many levels) list, each item containing a link which, among other things should cause a child list (if there is one) to display. All child lists are hidden by default. ...

[jQuery] Re: Your download is corrupted

2009-04-28 Thread brian
ct had an adequate description. There was no > explanation on what to do with the zip file.  Of course, such a description > isn't necessary IF it had worked properly.  So this isn't anybody's > fault, not mine and not yours, but I think it would be good if we could > g

[jQuery] Re: Simple problem with createElement

2009-04-28 Thread brian
You're not actually removing the span, though. It might be better to create it once, then move it wherever as needed. // inside $(document).ready() $('').attr("id", "fieldstatus") .addClass("fieldstatus") .appendTo('body'); ... // inside your event handler $('#fieldstatu

[jQuery] Re: Whats going on with this?

2009-04-29 Thread brian
It looks like you have an infinite loop somewhere. These 2 errors repeat until JS is disabled: Warning: reference to undefined property opt.queue Source file: http://mtschophouse.com/vero/wp-content/plugins/cforms/js/calendar.js Line: 1 Error: jQuery.toggleElementsShown is not a function Source

[jQuery] Re: Whats going on with this?

2009-04-29 Thread brian
No, sorry. This was in FF 3.0.10/linux, btw. On Wed, Apr 29, 2009 at 11:59 AM, Rodrigo Lizarraga wrote: > Any idea where/how? >

[jQuery] Re: Style div overflow scrollbar ? cant find jQuery equivalent to this

2009-05-01 Thread brian
Have a look here: http://kelvinluck.com/assets/jquery/jScrollPane/ It works very well for me. On Thu, Apr 30, 2009 at 4:06 PM, DB wrote: > > Hello all. > I've been looking around for a jQuery plugin that will let me style > the scrollbar you get > when a div uses overflow(vertical). > > When i

[jQuery] Re: Simple .post won't work

2009-05-03 Thread brian
>$("select").change(function () { > var theValue = this.value; >//alert(theValue); >$.post("select.php", { color: theValue },function(){alert > (theValue);}); > >}); There isn't any code here to change the div The PHP block you have at

[jQuery] help with an IE bug: "marginTop"

2009-05-03 Thread brian
jquery1.3.2, 1.3.1, 1.2.6 IE 6, 7, 8 I have some code for a nested select list that opens child list when an anchor is clicked on, then retrieves some content through an ajax call. In between that, I'm displaying my "loading" image, which is done using a showIndicator() function. That, in turn, m

[jQuery] Re: help with an IE bug: "marginTop"

2009-05-03 Thread brian
> if(op.vertical) { >        cssProp.height = height; >        cssProp.top = '50%'; >        cssProp.marginTop = halfHeight; > } I did try changing the line to: cssProp.margin-top = halfHeight; ... but that tosses up a syntax error.

[jQuery] is next() recursive?

2009-05-05 Thread brian
jquery 1.3.2 I have a nested group of lists similar to below where all but the top-level list is hidden. Clicking a link should open the next level (as well as do some AJAX stuff). I'm having some trouble getting the 2nd level to open without also opening the 3rd level when clicking on a top-leve

[jQuery] Re: Round corner

2009-05-05 Thread brian
On Tue, May 5, 2009 at 11:19 PM, ravi wrote: > > On May 5, 2009, at 11:13 PM, bharani kumar wrote: >> >> Hi Members , >> >> How to make the round corners , >> >> >>             welcome to jquery groups , i want round corner for this DIV >> >> > > > Bharani, > > this might help: http://www.methv

[jQuery] Re: is next() recursive?

2009-05-06 Thread brian
On Wed, May 6, 2009 at 6:36 AM, Paul Mills wrote: > > Hi, > Your code is missing th for > > When I add this in everything toggles as expected  -->   > http://jsbin.com/esaso/edit I was just going to reply to my own post. Everything's good, the problem was not with next() and everything works a

[jQuery] Re: How to display additional text along with link

2009-05-14 Thread brian
$("a[href$='.pdf']").after(' (pdf)'); On Thu, May 14, 2009 at 11:55 AM, vmrao wrote: > > I would like to display file extension along with the file links on a > web page. > > For example, I would like to append (pdf) next to any pdf links. > > The following code works to some extent but not as I

[jQuery] IE caching AJAX requests?

2009-05-14 Thread brian
It looks like IE is caching the response for some AJAX requests here. The app I'm working on is a catalog of sorts. Clicking the link for a category loads a set of "items". Those, in turn, may be deleted from the admin view. The delete works fine (I checked the DB) but, when loading the same set o

[jQuery] Re: IE caching AJAX requests?

2009-05-14 Thread brian
On Thu, May 14, 2009 at 9:50 PM, James wrote: > > You can set the 'cache' option to 'false' in the AJAX options. By > default it's 'true'. / sheepish Thanks, I hadn't noticed that. For good measure, I'm also setting headers from the server side, so threy're set the first time it loads. Sorry,

[jQuery] IE: select change triggers pop-up blocker

2009-05-14 Thread brian
I have a wee bit of code that handles a select list change to load some content via AJAX. In IE 7 & 8 (works a treat in 6!), clicking on the select list triggers the pop-up blocker thingy. My code certainly does not open a new window or anything like that: $('#group_nav').change(function() {

[jQuery] Re: IE: select change triggers pop-up blocker

2009-05-14 Thread brian
On Thu, May 14, 2009 at 10:14 PM, brian wrote: > I have a wee bit of code that handles a select list change to load > some content via AJAX. In IE 7 & 8 (works a treat in 6!), clicking on > the select list triggers the pop-up blocker thingy. My code certainly > does not open

[jQuery] Re: IE: select change triggers pop-up blocker

2009-05-15 Thread brian
On Fri, May 15, 2009 at 9:03 AM, Liam Byrne wrote: > Is it possible that IE7 & 8 see "html" as a reserved word ? > > Try changing the hmtl variable in both function(html) and > $('#nav_admin').html(html) to something else No, there's no difference. There's also no request made to the server, in

[jQuery] Re: IE: select change triggers pop-up blocker

2009-05-15 Thread brian
On Fri, May 15, 2009 at 1:22 PM, brian wrote: > On Fri, May 15, 2009 at 9:03 AM, Liam Byrne wrote: >> Is it possible that IE7 & 8 see "html" as a reserved word ? >> >> Try changing the hmtl variable in both function(html) and >> $('#nav_admin

[jQuery] Re: IE: select change triggers pop-up blocker

2009-05-15 Thread brian
On Fri, May 15, 2009 at 2:23 PM, brian wrote: > > Someone else came across the same problem just last week. I wonder if > a recent update introduced this bug. > http://forums.shopplugin.net/topic/order-by-list-and-ie-8-popup-blocker > My partner just opened that link and point

[jQuery] Re: How to convert csv file to json

2009-05-20 Thread brian
There's quite a difference between the two. JSON uses a key: value format, while CSV is generally value only On Wed, May 20, 2009 at 6:28 AM, Nitin Sawant wrote: > > How to convert csv file to json using jquery / javascript??

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread brian
Change this: $('.productAditionals input').parents().filter('.productInfo').siblings().filter('.productBuy').find('strong span').text(aditionalValue); to: $(this).parents().filter('.productInfo').siblings().filter('.productBuy').find('strong span').text(aditionalValue); Within the 'change' eve

[jQuery] Re: [help] Math + Checkboxes

2009-05-31 Thread brian
Good point. Try this to limit it to the proper set of inputs: $(this).parents().filter('.productInfo').find('input:checked').each(function() { aditionalValue += Math.ceil($(this).val()); }); On Sun, May 31, 2009 at 9:38 PM, Ignacio Ricci wrote: > > Hi Bria

[jQuery] Re: Accessing generated (= by a jQuery function) links

2009-06-01 Thread brian
On Mon, Jun 1, 2009 at 8:51 AM, madhatter wrote: > > Hi there, > > for an introductory article regarding jQuery I have done the obvious > and shown how to do a slide show of pictures (nothing as fancy as > lightbox :-). The application consists of 1 HTML, 1 JavaScript and one > PHP file. > > Prov

[jQuery] Re: Open by URL?

2009-06-11 Thread brian
OP: original post On Thu, Jun 11, 2009 at 11:11 AM, waseem sabjee wrote: > yeah...i'm still kinda new to JQuery been playing around with it a lot...may > be a noob question but what is the OP ? > > On Thu, Jun 11, 2009 at 7:48 AM, Ricardo wrote: >> >> Oops, you're right. I answered waseem's mess

[jQuery] select top level of nested structure

2009-06-11 Thread brian
Given the following structure:

[jQuery] Re: select top level of nested structure

2009-06-11 Thread brian
sition= i+1 > myId="foo_"+position > >     $(this).attr("id",myId

[jQuery] Re: remove question

2009-06-11 Thread brian
On Thu, Jun 11, 2009 at 10:44 PM, David .Wu wrote: > > Can I remove div1 but div2 keep there? > > > > Someone (Karl?) answered the same question recently. You just replace the outer div with the inner. Note that you can't have an element ID starting with a number, though. Let's call them div_

[jQuery] Re: remove question

2009-06-12 Thread brian
On Fri, Jun 12, 2009 at 2:37 PM, amuhlou wrote: > > putting it all together, you'd get something like: > > $('#div1').replaceWith($('#div2')).remove(); > > first you find div1, then replace it with div2, then remove div1 There's no need for remove() because it will have been replaced already.

[jQuery] Re: Event Load() ??

2009-06-13 Thread brian
It couldn't possibly work because the javascript isn't there. Add the code to cadastroCliente.php. On Fri, Jun 12, 2009 at 10:24 PM, Frank wrote: > > > Hello, > > I'm with a doubt in jquery, I am using the function load () to call > another page, but after I loaded this page, I can not use the id

[jQuery] Re: What's happening to my posts?

2009-06-15 Thread brian
Aside from a delay due to moderation, there's also the fact that gmail seems not to display one's own messages to google groups. I've only ever seen mine once someone else has replied to it. On Mon, Jun 15, 2009 at 4:03 AM, Veeru wrote: > > Hi there, > Am just worried, i have posted a few questio

[jQuery] Re: Read values from another pages

2009-06-15 Thread brian
You can't. Posting data back to the server means sending it to a server script, not an html page (which is evaluated at the client). You'll need to post your data to, eg. a PHP script which, in turn, outputs the contents of that 2nd html page. On Mon, Jun 15, 2009 at 4:04 AM, ciupaz wrote: > > Hi

[jQuery] Re: dynamically add link after certain hrefs

2009-06-16 Thread brian
Maybe something like this: $('a').each(function() { var self = this; var btn_link = $(''+$(self).text()+''); var href = $(self).attr('href'); // to be used in modal code $(btn_link).click(function() { // set up your modal code here

[jQuery] Re: How to post HTML data in jQuery using $.ajax() method?

2009-06-16 Thread brian
Define "not working". That's a bit vague. Also, where are you calling your function from? Can you confirm that it is being called? Something like this might work for you: function PostHTMLContentTOServer() { $.ajax({ url: "MyData.aspx", type: "POST",

[jQuery] Re: How to tell if an item is "open"

2009-06-16 Thread brian
$('.open').each(function() { $(this).removeClass('open'); }); On Tue, Jun 16, 2009 at 1:17 PM, Dave Maharaj :: WidePixels.com wrote: > I have 5 divs which can load content into them. I have added an on click add > class open. When the page loads initially none are open, click on one link > an

[jQuery] Re: Delete image

2009-06-17 Thread brian
First of all, I'd put an ID on those img tags. If you've got these recorded in a database, use the primary key (although keep in mind that an HTML elemenet's ID cannot begin with a number, so you should prepend some string, eg. 'img_543'). You could also just send the img path but, if you do that

[jQuery] How to dynamically size an ?

2009-06-17 Thread Brian
What I Have: I have a bunch of inline blocks next to each other like such: _[A]_[B]_[C] _[D]_ Key: _ = margin [letter] = box element, in my case Question: How do I make it so that the margins on the left and right side of my 's determine the 's width? So, in other words, I am looking for eac

[jQuery] Re: Image resize

2009-06-19 Thread brian
On Fri, Jun 19, 2009 at 10:57 AM, kalyan wrote: > > Use jqeary plugin Jcrop. It will resize your imaze before upload. > > Here is the link to download : http://deepliquid.com/content/Jcrop.html It does no such thing. That plugin still requires something on the server to do the resizing. What jCro

[jQuery] Re: am searching popup plugin

2009-06-21 Thread brian
jquery.popup? There are a couple of different versions of that, I think: http://labs.wondergroup.com/demos/popup/index.html http://plugins.jquery.com/project/popup There's also jqModal: http://dev.iceburg.net/jquery/jqModal/ http://www.queness.com/post/77/simple-jquery-modal-window-tutorial

[jQuery] Re: Positioning Thickbox

2009-06-23 Thread brian
It's handled by CSS. Look for the #TB_window rule. I think it should be fairlyt straightforward to modify the JS to accept left, top, right, or bottom params, though. Look for the params[] variable. There's also a tb_position() function that could be modified. On Tue, Jun 23, 2009 at 12:46 PM, ss

[jQuery] Re: Jquery JQzoom is not a function error, why?

2009-06-23 Thread brian
On Tue, Jun 23, 2009 at 12:28 PM, Matt wrote: > > I am working on an ecommerce site that uses smarty tpl files and I am > having trouble implementing JQzoom, I have already use a java based > menu system so I am aware of the {literal}{/literal} > > I am trying to use JQzoom for product images and

[jQuery] Re: jQuery works fine on localhost but doesn't work on external server.

2009-06-24 Thread brian
On Tue, Jun 23, 2009 at 7:13 PM, Kittrick wrote: > > I've got jQuery and 2 plugin libraries running on my website. One runs > the navigation and the other runs a dropdown search box. Everything > works great on my localhost, but when I copied the directory to the > external server none of the jQue

[jQuery] Re: Toggle question..

2009-06-25 Thread brian
First, don't remove the profile info from the page when you first load the form. Just fade it out. Then, say you had the profile info in a div with ID 'profile' and the form in a div with ID 'edit_profile': $('#cancel').click(function() { $('#edit_profile').fadeOut().remove(); $('

[jQuery] Re: Problem with popup windows in jquery

2009-06-29 Thread brian
Why don't you just put that code in the head of the popup page? On Mon, Jun 29, 2009 at 8:11 AM, Joao Portela wrote: > > Hi, I'm trying to use jquery to modify some events in a popup window > (window.open). Here's what I did; > > var popup = window.open('Example.html', >                'Example',

[jQuery] Re: ul.nav a VS. .nav li > a

2009-06-30 Thread brian
I can't speak for Sizzle but, if you'll only ever have one "nav" element on a page, you're better off using an ID than a class. On Tue, Jun 30, 2009 at 8:03 AM, north wrote: > > Hi, > > yesterday I read an article about jQuery performance. In one part the > author talks about selectors and uses >

[jQuery] centre ClueTip image content

2009-07-06 Thread brian
I'm trying to get some thumbnail images that are displayed with ClueTip to be centred vertically & horizontally. The images are various sizes, though none is larger than 150px on a side, so I set ClueTip to have a width & height of 200px. The images are wrapped in a div so that I can have them di

[jQuery] Re: long paragraph - hide some of it and show all on click

2009-07-07 Thread brian
There are a bunch of existing plugins for truncation. I couldn't recommend any one over the others. Search google for "jquery truncate". 2009/7/7 sso : > > Not sure the best way to approach this. > > I would like all my text to be on the page (for seo reasons).  for > example > > ---

[jQuery] Re: [ANNOUNCE] New plugin: Loading

2009-07-08 Thread brian
Very nice! I'd been playing with something along these lines but it's really buggy (and I'm lazy). Kudos for the 'classname' option. I much prefer to specify a 'loading' image with CSS than to pass the filename to a JS object. And it doesn't require dimensions (mine does). I'll quietly retire my l

[jQuery] ClueTip, hideLocal, IE6: the same old sad story

2009-07-10 Thread brian
jQuery 1.3.2 ClueTip 1.0.4 $('a.DownloadInfoLink').cluetip({ activation: 'click', local: true, showTitle: false, sticky: true, mouseOutClose: true, cluetipClass: 'jtip', width: 550, height: 300, fx: { open: 'fadeIn' } }); di

[jQuery] Re: ClueTip, hideLocal, IE6: the same old sad story

2009-07-11 Thread brian
On Sat, Jul 11, 2009 at 11:34 AM, Karl Swedberg wrote: > Hi Brian, > I'm just thinking out loud here, but maybe adding a rule to your > stylesheet would fix it in IE6: > div.DownloadInfo { display: none; } > /* override display:none when the div is inside #cluetip */ > #c

[jQuery] Re: Dynamic Links

2009-07-12 Thread brian
On Sun, Jul 12, 2009 at 12:46 PM, mnaveed wrote: > > Hi, > I am new to JQuery, can anyone help how to generate dynamic links. I > have a loop which generate some links and for each, an onclick event > is attached, calling a javascript method with some arguments. some > thing like this, > > for(x =

[jQuery] Re: question about identifying what should be updated in an an ajax post

2009-07-12 Thread brian
On Sat, Jul 11, 2009 at 8:24 PM, jt wrote: > > > I have only used jQuery for fairly simple things and am a little > stumped on how best to achieve the following. I have a list of items > (similar to the three items at the bottom) and I want a user to be > able to assign it as a favorite. I just co

[jQuery] Re: retrieve tr id

2009-10-09 Thread brian
On Fri, Oct 9, 2009 at 9:35 AM, Chuk wrote: > > Hi.  I have a table set up with multiple rows.  Once a row is > selected, the class of the row changes to "clicked".  The id of the > row is the "sequence number", and each td within that row has an id > of  the "sequence number" plus a title, such

[jQuery] Re: retrieve tr id

2009-10-09 Thread brian
On Fri, Oct 9, 2009 at 11:28 AM, Chuk wrote: > > Okay.  So I'll tack the digits onto the end.  So that it will be > Account1, etc.  The main thing I think I need is how to retrieve the > id of an element once I know its class.  Thanks. > > I would do: $('.clicked').parent('tr').attr('id'); But

[jQuery] Re: retrieve tr id

2009-10-09 Thread brian
On Fri, Oct 9, 2009 at 12:00 PM, Chuk wrote: > > I have changed things a little now.  Here is an example of my current > code: > > $('#edit').click(function() { >  var clickedID = $('.clicked').id; >  transNo = ?;  //This is where I need to retrieve the row's id >  window.location = "GL0002T?acti

[jQuery] Re: scrolling text within a div

2009-10-10 Thread brian
On Fri, Oct 9, 2009 at 9:42 PM, macsig wrote: > > Hello guys, > in a page I'm working on I have room for a div height not more than > 200px, however I need to fit in a text that requires 300px and I don't > want to show the scroll-bar on the right side so I'm looking for some > ways/plug-ins in o

[jQuery] Re: Hide checkbox when choosen value in select > 0

2009-10-11 Thread brian
On Sat, Oct 10, 2009 at 1:45 PM, Tan wrote: > > Hello, > >   >   name="sitewide" id="edit-sitewide" value="1"   class="form-checkbox" / >> site wide > > > > > >   >  Choosen get termwide: >  >No choosen value="256">Term1Term2 > > > I have code jquery when i choosen select options value > 0

[jQuery] Re: Newbie Question

2009-10-14 Thread brian
I don't know what to make of that Coldfusion code (makes me long for Perl) but what I would do is display the msg div then use $.ajax() to send a request to the server. Use the 'success' callback function to then hide the msg div when your server-side code is done. On Wed, Oct 14, 2009 at 4:17 PM

[jQuery] Re: Download Avira 2010 an key 2014

2009-10-15 Thread brian
I noticed that this supposedly was sent from John Resig's acct. The same message was sent to the CakePHP group, spoofing my acct. It also appeared in my Sent folder, which is disconcerting to say the least. John, I've contacted gmail but, if you learn anything about this, I'd appreciate a word as

  1   2   3   4   5   6   7   8   >