[jQuery] Re: AUTO: Michael Lawson is out of the office (returning 03/16/2009)

2009-03-06 Thread James
Hehe. Congratulations! :) On Mar 6, 10:44 am, Michael Lawson wrote: > I am out of the office until 03/16/2009. > > I am out getting married to the most intelligent, beautiful, wonderful, and > understanding girl I've ever met in my entire life. > > If you need assitance please contact Leena Paul

[jQuery] Re: is it possible to convert html data in json format?

2009-03-06 Thread James
That depends. Provide more specific information. How would the initial HTML and the final JSON look like? On Mar 6, 6:42 pm, sure wrote: > Hi all, >            I am not a expert in jquery. Please let me know , Is it > possible to covert html data in json format. If any one knows how to > do this

[jQuery] Re: Jquery ajax doesn't work in firefox on my site, once it used to be.

2009-03-06 Thread James
I can't read the word of the language to guess, but it seems to be working fine in FF3.0.7. No errors. On Mar 6, 7:11 pm, Makara Kao wrote: > Hello everyone, > > Recently I have just created a site using CodeIgniter with JQuery. And > in the past, it worked just fine. But recently I don't know w

[jQuery] Re: Subtract part of url to pass new url to variable

2009-03-06 Thread James
Since I don't know how your HTML looks like, I'm assuming in my code that "img.test" is your set of thumbnails with class "test" $("img.test").click(function() { var largePath = $(this).attr('src').replace('_t', '.'); alert(largePath); // do what you want to do with largePath });

[jQuery] Jquery ajax doesn't work in firefox on my site, once it used to be.

2009-03-06 Thread Makara Kao
Hello everyone, Recently I have just created a site using CodeIgniter with JQuery. And in the past, it worked just fine. But recently I don't know why I got error message in FireFox(3.0.6) through firebug and there is no result displayed in my site. However, it works just fine in IE and other br

[jQuery] is it possible to convert html data in json format?

2009-03-06 Thread sure
Hi all, I am not a expert in jquery. Please let me know , Is it possible to covert html data in json format. If any one knows how to do this, please let me know . with Regards sure.

[jQuery] Re: Subtract part of url to pass new url to variable

2009-03-06 Thread whoisonfirst
I am going crazy trying to wrap my head around the syntax. I feel I'm so close to solving this. I don't want to change the function syntax -- $("#section_select a").click(function(){ -- $("#section_select a").click(function(){ } //I just need to get the img src of the current thumbnail c

[jQuery] Re: Modify hash in Tabs plugin

2009-03-06 Thread brian
I would try changing the titles to not have extended characters or HTML enitities (eg. é). Perhaps that's the problem. I know that jQuery normalises that text to make the hash, and maybe it's not very robust code. I realise that that's not a good solution but, if it works, you will at least know w

[jQuery] Re: Adding values from a variable number of select drop downs

2009-03-06 Thread mkmanning
temp is undefined, so you're adding undefined to the first value in your loop. Set temp = 0; Also, unless you're planning on using it elsewhere, you don't need to assign var obj. And, is there any reason you're using document.getElementById("grand_total").innerHTML instead of $ ('grand_total').ht

[jQuery] Adding values from a variable number of select drop downs

2009-03-06 Thread shallowman
Hello all, I am trying to add the values from a variable number of select drop downs. I have assigned each select element that I want to add a class of "weight" to make searching for them easier. The goal is to have all of the numeric values from each select element with the class "weight" added

[jQuery] selector query question

2009-03-06 Thread richajax
Hi guys, new to jQuery here.. I am trying to query xml using jquery and having some problem I need to query all the node under node A with name="test" if I do $("A").find(*[name=test]) it will return b,b1,c, d How do I query using "selector" to get only immediate child so I can get b,c,d (no b1

[jQuery] Re: Hide/Show glossary page require for website using jQuery

2009-03-06 Thread Sean O
Have you seen the listNav plugin? http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx Sounds like it fits well with what you're looking to do. SEAN O http://www.sean-o.com http://twitter.com/seandotcom JP-47 wrote: > > > Hi There > > I am trying to implement a glossary page (A-Z) for a w

[jQuery] Re: Hide/Show glossary page require for website using jQuery

2009-03-06 Thread James
$(document).ready(function() { $(".codeButton").hide(); $(".codeButton").click(function() { // get text in clicked button var letter = $(this).text(); $(".code").hide(); // hide everything $(".code"+letter).show(); // show only selected })

[jQuery] Re: z/OS install

2009-03-06 Thread Michael Geary
> Can anyone tell me what I am doing wrong? Yes, you're doing a lot of extra work that you don't need to do at all. ;-) I take it that you just want to *use* jQuery, right? You don't have to run "make" or anything like that. You don't "install" jQuery; it's just a .js file that you include in y

[jQuery] Jquery GridView demonstration is dead?

2009-03-06 Thread chobo2
Hi I been trying for the last couple days to view the jquery gridview plugin demonstration site but everytime I go to it I get this error. [code] Fatal error: Uncaught exception 'Zend_Controller_Exception' with message 'No default module defined for this application' in /homez.42/ creamark/www/

[jQuery] Jquery GridView demostration is dead?

2009-03-06 Thread chobo2
Hi I been trying for the last couple days to view the jquery gridview plugin demonstration site but everytime I go to it I get this error. [code] Fatal error: Uncaught exception 'Zend_Controller_Exception' with message 'No default module defined for this application' in /homez.42/creamark/www/

[jQuery] Re: trouble with transparent png in IE when using the cycle plugin

2009-03-06 Thread Michael Smith
Ah-ha right - I can see I needed to upgrade jquery cycle too (reminder to self - always upgrade to latest version before asking support questions). Great stuff Thanks Michael On Fri, Mar 6, 2009 at 9:09 PM, Michael Smith wrote: > Thanks - I've applied that and it's different - but not quite r

[jQuery] Re: Modify hash in Tabs plugin

2009-03-06 Thread fonoteca
Anybody else have any idea? On 5 mar, 20:16, fonoteca wrote: > I have the title atribute inside the link but doesn't works :(. > The history only show numbers... > May be with another anchor? > > On 5 mar, 19:14, Klaus Hartl wrote: > > > If I remember correctly - haven't had a look at Tabs 2 fo

[jQuery] Re: getJSON being ignored

2009-03-06 Thread Hill
parentDiv.innerHTML = ''; / var header = document.createElement('h2'); header.innerHTML = 'Select Hold Baggage Carrier'; parentDiv.appendChild(header); /

[jQuery] Re: [validate] different validation based on clicked button

2009-03-06 Thread Jörn Zaefferer
Adding a class of "cancel" to a submit button disables the validation for that button. Selective validation is a bit more involved. Take a look at the source of this demo for a start: http://jquery.bassistance.de/validate/demo/login/ Jörn On Fri, Mar 6, 2009 at 6:52 PM, Dan wrote: > > I'm usin

[jQuery] jQuery tablesorter and highlight rows

2009-03-06 Thread ManKuZo
Hello all, I'm using jQuery tablesorter to sort the content of my table. the row are highlighted and I'm no using the 'zebra' widget. The table id is : admin_table, and the code look like this : $("#admin_table").tablesorter(); $("#admin_table tr:odd").addClass("odd"); //add the odd class t

[jQuery] IE7 seems to ignore my plugin

2009-03-06 Thread TJ Atkins
Hello, group. I'm the author of a very small plugin that replaces text with server-generated pictures in the font of your choice. You can find it at http://plugins.jquery.com/project/pir. The actual code (like I said, real tiny, so it isn't a burden to look at) can be gotten directly from http:

[jQuery] Re: trouble with transparent png in IE when using the cycle plugin

2009-03-06 Thread Michael Smith
Thanks - I've applied that and it's different - but not quite right. I think it may be related to the png's - I'm going to try recreating them as 8 bit and see what difference that makes. On Fri, Mar 6, 2009 at 6:46 PM, Mike Alsup wrote: > > Have you tried using the cleartype option? > > $('.h

[jQuery] Re: $.get xml document with xhtml fragments in IE

2009-03-06 Thread NightWatchman
I heard something about a listen plugin for jQuery that might help. Somebody said that sometimes after you update the DOM it needs to be refreshed and listen does that. Also I had problems importing stuff myself but I tracked it down to me injecting XML into an HTML document and trying to read it

[jQuery] Re: jHistory help

2009-03-06 Thread NightWatchman
Made other modification to the code. I think I'm closer than ever but I'm at a loss as to what to do next. I got rid of the redirection statement, opting instead to replace the content on the page dynamically using an ajax request. It seemed to help, now 'reinstate' is defined every time the back

[jQuery] Re: New JQuery User, How do I call this function with timed Interval

2009-03-06 Thread Timz66
setInterval(function(){ $('#sliderotate').click(); }, 5000); Worked great , just what I needed. Thanks..

[jQuery] AUTO: Michael Lawson is out of the office (returning 03/16/2009)

2009-03-06 Thread Michael Lawson
I am out of the office until 03/16/2009. I am out getting married to the most intelligent, beautiful, wonderful, and understanding girl I've ever met in my entire life. If you need assitance please contact Leena Paulose or Laura Ashley Bridges. Note: This is an automated response to your mess

[jQuery] Re: Block UI modal window message incremental update

2009-03-06 Thread tatlar
Okay - thanks. I am still getting my head around how jQuery adds to the DOM, and where and when I can inject messages to make the user- interface slightly more pleasant. I appreciate you taking the time to help me out. Regards, - Rob On Mar 6, 11:47 am, Mike Alsup wrote: > > $.ajax({ > >     ty

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
sorry... i made a mistake... by .find('tr,td') i wanted to tell find("th,td") On Fri, Mar 6, 2009 at 9:23 PM, Alain Roger wrote: > Thanks MorningZ, > > i've check your code and there is something i do not understand... as i'm > still rookie to jQuery i'm maybe asking a stupid question , so in

[jQuery] Re: CSS top seems ignored by blockUI

2009-03-06 Thread Chuck
Nope, ignored. And it's pretty darn obviously why once I stepped through the code! The author calls "center" on the layer containing the message: function center(el) { var p = el.parentNode, s = el.style; var l = ((p.offsetWidth - el.offsetWidth)/2) - sz (p,'borderLeftWidth'); var t

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
Thanks MorningZ, i've check your code and there is something i do not understand... as i'm still rookie to jQuery i'm maybe asking a stupid question , so in this case sorry. when you call the following function Grid_Colunns_Resize($("#frm_table, #data_grid")); in fact $("#frm_table, #data_grid"

[jQuery] Re: Lopping scrolling menu that doesnt scroll back

2009-03-06 Thread bradharr...@hotmail.com
check this out: http://blog.bogojoker.com/2009/01/adding-looping-to-a-content-slider/ On Mar 6, 8:32 am, JohneeM wrote: > Hi, > > Notice on thewww.bbc.co.uk( iplayer section ) and > onhttp://www.designsensory.com/ > their menus dont coarsely scroll back to the start, they simply loop > wi

[jQuery] Re: getJSON being ignored

2009-03-06 Thread Hill
parentDiv.innerHTML = ''; / var header = document.createElement('h2'); header.innerHTML = 'Select Hold Baggage Carrier'; parentDiv.appendChild(header); /

[jQuery] Re: ANNOUNCE: jQuery ListMenu plugin 1.0 from iHwy

2009-03-06 Thread Jack Killpatrick
Thanks, Andy (and Rick Faircloth). Glad you like it. I've passed the kudo's on to the team: much appreciated! - Jack Andy Matthews wrote: Hot damn... Just saw this plugin, and this is fantastically done! Kudos to you and your team. andy

[jQuery] Re: Lopping scrolling menu that doesnt scroll back

2009-03-06 Thread bradharr...@hotmail.com
When you find this out, will you email me at bradharr...@hotmail.com? I really need to know the same thing. On Mar 6, 8:32 am, JohneeM wrote: > Hi, > > Notice on thewww.bbc.co.uk( iplayer section ) and > onhttp://www.designsensory.com/ > their menus dont coarsely scroll back to the start, they

[jQuery] [tooltip] how to completely remove the opacity for FF

2009-03-06 Thread RobbieKaze
How do I completely remove the opacity for the tooltip. example can be found here https://www.mobilemedcheck.com/newIndex2.php (who uses mmc button at the top) It's kinda hard to read the tool tip, I have set the the opacity to 1.0 in the js script. if you open that same page in IE it looks how

[jQuery] Re: New JQuery User, How do I call this function with timed Interval

2009-03-06 Thread ricardobeat
Try setInterval(function(){ $('#sliderotate').click(); }, 5000); or setInterval(EYE.spacegallery.next, 5000) // without the $ and the "s On Mar 6, 11:39 am, Timz66 wrote: > I am trying modify Photo gallery and I want it to rotate through the > images, I currently use > setInterval("document.get

[jQuery] Re: Block UI modal window message incremental update

2009-03-06 Thread Mike Alsup
> $.ajax({ >     type: "GET", >     url: "/path/to/jsonfile.js", >     datatype: "json", >     success: >         // lots of code to parse and display >         $.each(json.object, function(key,array){ >             // lots of code to parse and display >             incr++; >             if( incr

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread MorningZ
But you aren't thinking about all three possibilities 1) Header Column X is wider than Data Column X 2) Data Column X is wider than Header Column X 3) they are the same So i don't know how *not* thinking about all three possibility would be "better" And i don't understand "like that what is imp

[jQuery] Regular Expression that works everywhere but in jQuery

2009-03-06 Thread Adam
Hey there, I'm trying to use JS to clean up the cruft from a Word doc when it's being pasted into a WYSYWIG editor. Word puts conditional comments like this in the HTML: And I'm using this RegEx (I'm no RegEx-pert, but I've successfully tested it here (http://www.regular-expressions.info/ jav

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
> > > What if the data table's first column is not wider than the header > table's first column? then you'll be smushing the header > in fact i was thinking to check each column headers first, and whatever width have the data columns, to allocate the column header widths to their respective d

[jQuery] Re: getJSON being ignored

2009-03-06 Thread MorningZ
Well, it's for sure code related and how you wired up these events. But without seeing the code, it's very difficult to help diagnose On Mar 6, 1:15 pm, Hill wrote: > This is probably a simple problem, but I can't seem to find the fix. > > I have three getJSON events that work inside of a t

[jQuery] Re: Block UI modal window message incremental update

2009-03-06 Thread tatlar
Hi Mike, Thanks for the help, and for writing a great plugin (blockUI). Unfortunately this didn't work. I am using a modulus operator so the content does not update on every row, but even so, I just get the browser loading icon while the AJAX content is added. I get one change to the message wi

[jQuery] Making a slide loop

2009-03-06 Thread bradharr...@hotmail.com
How would I go about making this animation loop? I have a div that is controlled by a button. When the button is clicked, the div's css/left is adjusted to 800. How would I make this div loop? I would need it to go all the way too 800 and then come back to 0 and start over. Here is my code:

[jQuery] how Jquery to get this json data ?

2009-03-06 Thread YuanYuan
I want get a json data, but alaways err. anyone know, how to get softwareList.for001.id ? or get softwareList for001~for002 text ? r({ "softwareList": [ {'for001': {id:'for001', sType:'s', name:'test', fsize:'5MB', link:'a.b.c', revisionLog:['test'], programName:'a.exe'} },

[jQuery] Re: CSS top seems ignored by blockUI

2009-03-06 Thread Mike Alsup
Try setting the 'centerY' property to false: $.blockUI({ css: {top: '150px', width: '40%', padding: '2px', border: 'none'}, centerY: false }); On Mar 6, 11:45 am, Chuck wrote: > Hi, > > I'm passing to blockUI an array of options: > >         {top: '150px', width: '40%', padding: '2px',

[jQuery] Re: trouble with transparent png in IE when using the cycle plugin

2009-03-06 Thread Mike Alsup
Have you tried using the cleartype option? $('.hero').cycle({ fx:'fade',pause:1,cleartype:true }); On Mar 6, 11:45 am, Michael Smith wrote: > Hi > > I'm having some trouble with transparent pngs and the jquery cycle > plugin on IE7: > > If you view the following: > > http://www.dianomioffe

[jQuery] z/OS install

2009-03-06 Thread Martin, Larry D
I am brand new to jquery - not even new yet. I have downloaded both jquery-1[1].3.2.js and jquery-1[1].3.2.min.js and have FTP'ed binary to Unix Systems Services on both z/OS 1.9 and 1.10. When I issue the make command I get one of two results: For jquery-1[1].3.2.js I get: make: jquery-1

[jQuery] Lopping scrolling menu that doesnt scroll back

2009-03-06 Thread JohneeM
Hi, Notice on the www.bbc.co.uk ( iplayer section ) and on http://www.designsensory.com/ their menus dont coarsely scroll back to the start, they simply loop with the end option joining together with the first option. Both examples are done in jquery, can someone point me to the script please.

[jQuery] problen with jQuery.noConflict(); help please!!!

2009-03-06 Thread porkproductpete
okay, so i'm running proto/jquery together and it works fine on Safari and FF with out having to add jQuery.noConflict(); but it won't work on IE6/7... separately both scripts work fine in IE6/7. When I open my page in IE6/7 the jquey.js works but the proto/scriptac opens my lightbox in a new page

[jQuery] New JQuery User, How do I call this function with timed Interval

2009-03-06 Thread Timz66
I am trying modify Photo gallery and I want it to rotate through the images, I currently use setInterval("document.getElementById('sliderotate').click()", 5000); but of course this does not work in FireFox. As much as I an tell the click is bind in a js file here: init: function(opt) { opt

[jQuery] Simple animation fix

2009-03-06 Thread bradharr...@hotmail.com
I have this simple animation that I need help with. Basically it is a square that moves left to right. It is controlled by a left and a right button. The only problem is that I need the square to stop once it reaches a certain distance. Right now it will just keep going and going as far as you wan

[jQuery] $.get xml document with xhtml fragments in IE

2009-03-06 Thread dbu
hi group, i try to use jquery to insert xhtml fragments into my html dom at various places. the fragments are found in a large xml document i get using ajax. the line that fails in IE (6 & 7) is: $("#"+x).append($("text",node).children()); with x being the id name for the element and node a

[jQuery] Re: can I "capture" highlighted text?

2009-03-06 Thread vkuryat...@gmail.com
you can try this plug in - http://laboratorium.0xab.cd/jquery/fieldselection/0.2.3-test/test.html On 6 Бер, 15:57, hybris77 wrote: > is there any way of, using jquery preferably, catching text that is > highlighted by the user ?

[jQuery] Re: jQuery Help Please

2009-03-06 Thread Timz66
Tfat, I am new too, The best tutorial I found to get started was http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-video-series/ Tim66 On Mar 6, 8:57 am, tfat wrote: > Hi, > > Just wondering if the following is possible using jQuery – if so, > would really appreciate your hel

[jQuery] [validate] different validation based on clicked button

2009-03-06 Thread Dan
I'm using ASP.NET, jquery and this http://bassistance.de/jquery-plugins/jquery-plugin-validation/ validation plugin. I have several asp:Button objects on my page. I have the validation working almost the way I want. I have several buttons that cause the form to postback to the server and I only

[jQuery] jQuery UI Datepicker & MySql PHP Events

2009-03-06 Thread bzin
Hello, I've got a mysql table that keeps dates of events: CREATE TABLE `events` ( `id` int(11) NOT NULL auto_increment, `id_place` int(11) NOT NULL, `eventDate` datetime default NULL, `eventHour` varchar(10) collate latin1_general_ci default NULL, `enabled` tinyint(1) NOT NULL defau

[jQuery] getJSON being ignored

2009-03-06 Thread Hill
This is probably a simple problem, but I can't seem to find the fix. I have three getJSON events that work inside of a tab like form on a page. I load the page and navigate to the first tab, each tab has its own getJSON request. The first tabs getJSON does not fire and is ignored. Then I move to

[jQuery] Re: Problems with

2009-03-06 Thread Rob
IE allows users to type in the value in a file field, it's Firefox that prevents that. Also I think the syntax there may be wrong. I would use the name of the file field and change it's value attribute to blank. HTML: jQuery (using 1.3.x) $("#button").click(function(){ $("input[name='f

[jQuery] New JQuery User, How do I call this function with timed Interval

2009-03-06 Thread Timz66
I am trying modify Photo gallery and I want it to rotate through the images, I currently use setInterval("document.getElementById('sliderotate').click()", 5000); but of course this does not work in FireFox. As much as I an tell the click is bind in a js file here: init: function(opt) { opt

[jQuery] Hide/Show glossary page require for website using jQuery

2009-03-06 Thread JP
Hi There I am trying to implement a glossary page (A-Z) for a website. Basically when I user clicks a letter e.g A all the glossary terms listed under A will appear below and all other glossary terms will be hidden. I have a very simple working version below, but at the moment I am having to mana

[jQuery] Re: getJSON url variable broken

2009-03-06 Thread James
Yes, David is right. My example would not work. Sorry about that. For other jQuery AJAX functions, there's an option to set 'async' to false if you do want to let your script halt until the AJAX response is received. I don't think there's an option for getJSON for that, so you'll have to do every

[jQuery] Re: get img id and slide up div with same name

2009-03-06 Thread James
Just so you know, you cannot have two elements on the same page with the same id. You can have the same class though. ... ... $(function() { $(".myImg").click(function() { var imgID = $(this).attr('id'); $("#div_"+imgID).slideUp(); }); }); On Mar 5, 1:32 pm, who

[jQuery] Re: $.post() callback

2009-03-06 Thread James
I don't see any issues with the code you posted. I suggest try removing some code from inside-out to debug. Start by removing the AJAX portion. Does it still follow through on the href? If not, it's the AJAX. Is so, something else is wrong. Remove the confirm, and test. Etc. On Mar 6, 2:56 am, ba

[jQuery] Re: jQuery Help Please

2009-03-06 Thread Jack Killpatrick
This may give you a little bit of a headstart: http://www.ihwy.com/Labs/demos/Current/image-hover-menu.aspx - Jack tfat wrote: Hi, Just wondering if the following is possible using jQuery – if so, would really appreciate your help: 1) I have a menu within a DIV that I would it to slide in w

[jQuery] Re: can I "capture" highlighted text?

2009-03-06 Thread brian
On Fri, Mar 6, 2009 at 8:57 AM, hybris77 wrote: > > is there any way of, using jquery preferably, catching text that is > highlighted by the user ? Have a look at this article: http://www.quirksmode.org/dom/range_intro.html

[jQuery] Re: IE7 removes whitespace from HTML

2009-03-06 Thread brian
Does this work? alert($("foo\nbar").text()); (I'm in no mood to boot Windows just now, sorry ;-) On Fri, Mar 6, 2009 at 8:02 AM, Martijn Houtman wrote: > > On Mar 6, 12:20 pm, "martijn.hout...@gmail.com" > wrote: >> Just wanted to document this bug/feature in IE7: >> >> alert($("foo\nbar").ht

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
Thank you Ryan, Thus my initial question becomes : does jquery stores somewhere all dom elements in the process of being updated by an ajax call ? like $.ajax.processingElements = ['container1','container2']; if not, i guess that i could turn this into a plugin that adds on ajaxStart() an eleme

[jQuery] Re: CSS top seems ignored by blockUI

2009-03-06 Thread ryan.j
also, semi-colons ;) On Mar 6, 4:48 pm, "ryan.j" wrote: > make it !important > > or possibly even try a negative margin-top if all else fails. > > On Mar 6, 4:45 pm, Chuck wrote: > > > Hi, > > > I'm passing to blockUI an array of options: > > >         {top: '150px', width: '40%', padding: '2px

[jQuery] Re: CSS top seems ignored by blockUI

2009-03-06 Thread ryan.j
make it !important or possibly even try a negative margin-top if all else fails. On Mar 6, 4:45 pm, Chuck wrote: > Hi, > > I'm passing to blockUI an array of options: > >         {top: '150px', width: '40%', padding: '2px', border: 'none'}; > > And top appears to be completed ignored!  The othe

[jQuery] [cycle] trouble with transparent png in IE when using the cycle plugin

2009-03-06 Thread Michael Smith
Hi I'm having some trouble with transparent pngs and the jquery cycle plugin on IE7: If you view the following: http://www.dianomioffers.co.uk/smartads.epl?id=100 you'll see that just when the images cycle, the transparent area goes black. I know that IE has some issues with png's but I thoug

[jQuery] CSS top seems ignored by blockUI

2009-03-06 Thread Chuck
Hi, I'm passing to blockUI an array of options: {top: '150px', width: '40%', padding: '2px', border: 'none'}; And top appears to be completed ignored! The other options are used, but the message is consistently drawn centered vertically; no matter what I pass as the value for top. Any

[jQuery] Re: Subtract part of url to pass new url to variable

2009-03-06 Thread ryan.j
var u = $("a#oranges").attr("href") u.split("_t")[0] or u.instring( 0, u.lastIndexOf("_t") ) On Mar 6, 4:34 pm, whoisonfirst wrote: > I have an image url --- it is enclosed in a href. > > "images/flavor/websites/oranges_id_t.jpg"  title="oranges" > > How do I get the url MINUS the _t > > so

[jQuery] Re: Subtract part of url to pass new url to variable

2009-03-06 Thread MorningZ
var FullImageLocation = img.src.replace('_t.', '.'); On Mar 6, 11:34 am, whoisonfirst wrote: > I have an image url --- it is enclosed in a href. > > "images/flavor/websites/oranges_id_t.jpg"  title="oranges" > > How do I get the url MINUS the _t > > so it ends up being "images/flavor/websites/o

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
yeah, thats basically what i was thinking. personally i'd try to track the container and use a generic piece of code for the the loading image. that way you could just use $ (container).children(".loading") to traverse the DOM. or if for any reason you want to make them unique perhaps even build

[jQuery] Subtract part of url to pass new url to variable

2009-03-06 Thread whoisonfirst
I have an image url --- it is enclosed in a href. "images/flavor/websites/oranges_id_t.jpg" title="oranges" How do I get the url MINUS the _t so it ends up being "images/flavor/websites/oranges_id.jpg" title="oranges" that I can pass to a variable of this ? -- View this message in contex

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
yeah, thats basically what i was thinking. personally i'd try to track the container and use a generic piece of code for the the loading image. that way you could just use $ (container).child(".loading") to traverse the DOM. or if for any reason you want to make them unique perhaps even build an

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
no, nothing depend on it. I see now that there is a potential problem with the way i set up my throbber logic: there is only one available "loading" div for several zones. So if one zone is loading and another call is triggered, the "loading" panel will move to the second zone before zone1 is actu

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Rick Faircloth
Is anything in your code dependent on your "loading" graphic id, or would a class identifier be sufficient? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Friday, March 06, 2009 10:31 AM To: jquery-en@google

[jQuery] Validate issue with firefox

2009-03-06 Thread BSpizzle
I'm running into some issues and I was hoping that someone could shine a light on what's happening, I am using ASP.Net and the following controls seem to work for all other pages I have which submit (the following is from the rendered page, not the aspx): Cancel The onclick events are never ob

[jQuery] Re: Slide : Making it go from right to left

2009-03-06 Thread Karl Swedberg
Hi Martin, Maybe this tutorial will help: http://www.learningjquery.com/2009/02/slide-elements-in-different-directions --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 6, 2009, at 4:51 AM, Martin wrote: Hello All, I am not sure if this question has b

[jQuery] Re: Matching on style attribute bug?

2009-03-06 Thread MorningZ
It's probably because "style" isn't a simple string parameter in HTML DOM world, it's a collection On Mar 6, 7:46 am, ml1 wrote: > Thank you for that. > > Just out of curiosity, why doesn't the [style=] form work?

[jQuery] Re: [validate] required that select input's option is anything other than default

2009-03-06 Thread Jörn Zaefferer
Set value="" for the first option and required:true for the field, thats all. Jörn On Fri, Mar 6, 2009 at 3:50 PM, noon wrote: > > I'm trying to throw the field is required option on a select when its > selected option is my default option of dashes/0.  I might be going > about this the complet

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread MorningZ
"from my point of view it's enough when i "scan" the header table and (whatever is column width in "slave table") to allocate this width to the data cell (slave table). am I wrong ?" What if the data table's first column is not wider than the header table's first column? then you'll be smushing

[jQuery] Re: required that select input's option is anything other than default

2009-03-06 Thread MorningZ
why not use simple JavaScript? required: function(element) { return element.selectedIndex > 0; } (Note: i don't use that plugin, but i assume returning "true" is "pass validation") On Mar 6, 9:50 am, noon wrote: > I'm trying to throw t

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
hi there, well, i trigger the ajax request much like this: no matter what they role is, all my interface buttons finish by an action called UI.refresh({section:'projects', sortby:'time', item:'love-me'}); this function compares the sent properties to the current UI stored properties, and if the

[jQuery] Re: ajaxStart() question

2009-03-06 Thread ryan.j
that crossed my mind, but from the comments above i think he he wants multiple content boxes being populated from a number of different triggers, although he's using an id (of which he can only have one instance of anyway) as the identifier for the loading icon. i'm not sure this is the best way

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Rick Faircloth
Mmmm...would this be a case of creating a global variable for use in all cases as opposed to a local variable for the animation code? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Friday, March 06, 2009 6:

[jQuery] [validate] required that select input's option is anything other than default

2009-03-06 Thread noon
I'm trying to throw the field is required option on a select when its selected option is my default option of dashes/0. I might be going about this the complete wrong way with the required (dependency- callback). Help is appreciated. My HTML/JS may make more sense than this quesiton HTML:

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
> > I knew you had 2 tables, and sorry if I came across as condescending (a lot > of people don't realize tables can have a header section). I'm just trying > to figure out why you need to have it split into two tables. Are you trying > to have the header cells follow the page as you scroll? If so,

[jQuery] Re: Problems with

2009-03-06 Thread Renato Bezerra
Hi, Martijn Houtman Thanks for help me. I look for a other solution for my problem. Thank you so much. Bye. On 6 mar, 10:29, Martijn Houtman wrote: > On Mar 6, 2:24 pm, Renato Bezerra wrote: > > > $('#button').click(funtion(){ > >         $('#fileName').val(''); > > > }); > > > In the Fir

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread Alain Roger
On Fri, Mar 6, 2009 at 3:05 PM, MorningZ wrote: > > I don't know if you copy and pasted that code right from your tool of > choice, but you've got single and double quotes mixed up at > > > > use single quotes or double quotes, but not one of each, that will > cause major issues > Sorry Morning

[jQuery] Re: [Validate]

2009-03-06 Thread knal
Hi Jorn, Thanks for the quick reply! I will check it out later on. Thanks, Knal On Mar 6, 3:28 pm, Jörn Zaefferer wrote: > You can use validator.submitted, which maps the fields already submitted. > > For example, the default onclick handler: > > onclick: function(element) { >         if ( el

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread David Muir
Alain Roger wrote: On Fri, Mar 6, 2009 at 4:16 AM, David Muir > wrote: So you're saying you need to use js to sync the two tables so that you can use different styling for the header? Sounds like you should be updating your html markup instead. Hea

[jQuery] Re: superfish - nav-bar style hover intent problem

2009-03-06 Thread greggo
BTW...I've implemented this now with Wordpress and the most recent iteration can be viewed here: http://97.107.131.227:8000 thanks, gregg On Mar 5, 11:38 pm, greggo wrote: > Thanks Brian! > > On Mar 5, 3:25 pm, Brian Cherne wrote: > > > Currently you get two JavaScript errors because jQuery is

[jQuery] Re: [Validate]

2009-03-06 Thread Jörn Zaefferer
You can use validator.submitted, which maps the fields already submitted. For example, the default onclick handler: onclick: function(element) { if ( element.name in this.submitted ) this.element(element); } Instead of "this", reference the validator object: var validat

[jQuery] Re: jQuery Help Please

2009-03-06 Thread hybris77
it can be done, anything you can think of is possible, to certain extents of course my suggestion is looking into the tutorials on the jquery website or get someone who knows to give you a beginners class good luck

[jQuery] Re: 2 tables with same td width

2009-03-06 Thread MorningZ
I don't know if you copy and pasted that code right from your tool of choice, but you've got single and double quotes mixed up at use single quotes or double quotes, but not one of each, that will cause major issues also, your code for function "Grid_Colunns_Resize" is nothing like what i post

[jQuery] jQuery Help Please

2009-03-06 Thread tfat
Hi, Just wondering if the following is possible using jQuery – if so, would really appreciate your help: 1) I have a menu within a DIV that I would it to slide in when a user hovers over a hot zone in the top left hand corner. Initially this hot zone is invisible but as the user moves the mouse

[jQuery] can I "capture" highlighted text?

2009-03-06 Thread hybris77
is there any way of, using jquery preferably, catching text that is highlighted by the user ?

  1   2   >