[jQuery] Re: Using embedding youtube videos

2009-06-23 Thread Jonathan Vanherpe (T T NV)
, or a better description of 'allover the screen'? Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: GPL e MIT Jquery

2009-06-16 Thread Jonathan Vanherpe (T T NV)
to link to the source code (which you do, as the javascript is the source code anyway). So if you leave all copyright statements intact you should be fine. disclaimer: I'm not a lawyer and this might be completely wrong advice. Jonathan

[jQuery] a mortgage and refinance calculator built in jquery

2009-06-08 Thread jonathan
please check out this unified mortgage calculator http://www.mookal.com it's build on jquery, flot, etc. Requires no hits to the server at all, 100% ajax. all advises are welcome. thanks!

[jQuery] Re: Using Javascript and stylesheets in an element with injected HTML

2009-06-04 Thread Jonathan
, Jonathan jdd...@gmail.com wrote: The HTML that was injected with load should automatically pick up any styling information. However any JS binds won't work on the injected content without a bit of tweaking. Do you have a demo page where we can see the problem? Also, look up the Live() function

[jQuery] Re: Skype toolbar in IE7 is crashing jQuery Tabs plugin

2009-06-03 Thread Jonathan Vanherpe (T T NV)
;) Jonathan r1u0...@gmail.com wrote: Hahahaha, yes and I'll say that to all my users :] On Jun 3, 3:58 pm, MorningZ morni...@gmail.com wrote: uninstall the Skype crap doesn't seem like an obvious answer? On Jun 3, 9:48 am, r1u0...@gmail.com r1u0...@gmail.com wrote: Hi! I didn't suspect

[jQuery] Re: Skype toolbar in IE7 is crashing jQuery Tabs plugin

2009-06-03 Thread Jonathan Vanherpe (T T NV)
Good thing I'm not a girl, then :p r1u0...@gmail.com wrote: WW :] If you were a girl I'll kiss you :D Thank you very much for this help :] On Jun 3, 4:25 pm, Jonathan Vanherpe (T T NV) jonat...@tnt.be wrote: adding the following meta tag should disable it: meta name

[jQuery] Re: jQuery in OfficeLive

2009-06-03 Thread Jonathan
We would need more details or a demo page showing the problem. Did you make sure you're including the base jQuery.1.3.2.js properly? If you don't know how to do that download and install firebug for Firefox and use it to inspect the Script tag to see if it was included. On Jun 3, 11:45 am,

[jQuery] Re: Using Javascript and stylesheets in an element with injected HTML

2009-06-03 Thread Jonathan
The HTML that was injected with load should automatically pick up any styling information. However any JS binds won't work on the injected content without a bit of tweaking. Do you have a demo page where we can see the problem? Also, look up the Live() function in the jQuery docs. This will

[jQuery] Re: jQuery ajax 404 error

2009-06-02 Thread Jonathan Vanherpe (T T NV)
firebug still show a 404 error for the request? Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] variable validation rules for the same input field depending on other fields

2009-05-31 Thread jonathan
I have the following html, field xxx requires a number from 0 to 100 when percentage is selected, and 0 to inifinity when dollar is selected. what's the best practice to setup validation for this? the key is to control the maximum value. I have tried depends expression in a max rule, but it

[jQuery] Re: Dynamic loading -- newbie question

2009-05-29 Thread Jonathan
Due to .load being Asynch line 10 will execute before 5-8(those are inside a callback) so it makes sense the contents won't be inside the Dom yet. On line 8 what do you mean the 'problem arises here!'. Was the proper data logged to the console, can you not see the contents when you use $

[jQuery] Re: Validate

2009-05-29 Thread Jonathan
Try removing the trailing comma on the confirmpassword object. confirmpassword: { required: true, minlength: 5,

[jQuery] static slider with colorscale

2009-05-28 Thread jonathan
I want to use a gui that's used to show a score from 1 to 10, it looks like a slider except that it's not interactive, when the score is 1, the slider's knot is at the left end of the scale, and right when it's 10. The color also intensifies when the score increases. Does such gui exists?

[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread Jonathan
the ID 1 is invalid. See http://www.w3.org/TR/REC-html40/types.html#type-name On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote: Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a membership list sortable. For some reason the sortable features isn't being

[jQuery] [validator] IE8 issue with empty Select elements

2009-05-27 Thread Jonathan
of jquery.validate.js. URL:http://www.ixcape.com/staging/account/create.php On May 26, 5:34 pm, Jonathan jdd...@gmail.com wrote: It works in IE8. What errors are you getting? Need more details. On May 26, 1:44 pm, rickmataka marketphpr...@gmail.com wrote: I was wondering

[jQuery] Re: IE8 Does Not Work

2009-05-26 Thread Jonathan
It works in IE8. What errors are you getting? Need more details. On May 26, 1:44 pm, rickmataka marketphpr...@gmail.com wrote: I was wondering if there was an update for validate plugin because it does not work in IE8 and even though i do server side thats sucks Thanks Rick

[jQuery] performance of html(val)

2009-05-26 Thread jonathan
I am constructing a large table on the fly and add it to the dom using html(val). It takes about 6 seconds. I am wondering if there's any practice that would speed up this process? thanks!

[jQuery] does selectors $ cache?

2009-05-26 Thread jonathan
does selectors cache? for example, if I do $('#myid') twice, does it search through the document twice for myid?

[jQuery] select all a elements whose class attribute does not contain 'myclass'

2009-05-21 Thread jonathan
$('a[class*=myclass]') selects all a elements whose class attribute contains 'myclass', how do I do the opposite?

[jQuery] Re: A better way of writing this code?

2009-05-15 Thread Jonathan Vanherpe (T T NV)
:hover does work in IE6, it's just limited to a elements. Jonathan Karthikraj wrote: But CSS :hover will not work in IE6. So better use script On May 15, 9:26 am, RobG rg...@iinet.net.au wrote: On May 15, 11:35 am, Calvin cstephe...@gmail.com wrote: Hi, I was able to get

[jQuery] Re: how to uncheck the check box

2009-05-15 Thread Jonathan Vanherpe (T T NV)
Maybe you should use radio buttons instead? Jonathan -- www.tnt.be http://www.tnt.be/?source=emailsig *Jonathan Vanherpe* jonat...@tnt.be mailto:jonat...@tnt.be - www.tnt.be http://www.tnt.be/?source=emailsig - tel.: +32 (0)9 3860441

[jQuery] Re: Matching Columns with JQuery

2009-05-15 Thread Jonathan
The main jQuery file need to be included before you include any scripts. Reorder your script tags to put jQuery.js before jquery.brenelz.equalHeight.js. Also I would recommend using 1.3.2 version of jQuery. On May 15, 8:05 am, mylessincl...@googlemail.com mylessincl...@googlemail.com wrote:

[jQuery] Re: Bassistance Tooltip Transparent Text IE7/IE8 problem

2009-05-13 Thread Jonathan
It's gotta be a cascading style getting applied that IE's debugger misses, I would install firefox and firebug and see if it's also listing color:black when it's clearly not. On May 13, 11:52 am, Pappy helga...@gmail.com wrote: I'll give this one quick bump... anyone have any ideas what's

[jQuery] Re: Refresh Element After Changing Style

2009-05-11 Thread Jonathan
How are you changing it's style? Are you updated it's classname or doing something else? Also a bit of example code that demonstrates your problem would help in debugging it. On May 11, 4:16 pm, PF piercefree...@gmail.com wrote: Hi everyone: I am attempting to change the style after the user

[jQuery] Re: re-bind to DOM after DIV content replace - ajax

2009-05-07 Thread Jonathan
Live events are probably what you're looking for. They allow you to bind events to dom nodes that don't exist yet. http://docs.jquery.com/Events/live However they don't work for change.. you would have to refactor your code a bit to use 'click' On May 7, 7:00 am, vmoravek

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Jonathan Vanherpe (T T NV)
know how to fix this? $(#button).attr(disabled,disabled); -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Jonathan Vanherpe (T T NV)
Stephen Korecky wrote: I tried that too, has same results... On May 6, 9:35 am, Jonathan Vanherpe (T T NV) jonat...@tnt.be wrote: stephen wrote: I created a test page here:http://clients.stephenkorecky.com/stephen_korecky/js_test.html But basically the problem is that $(#button).attr

[jQuery] Re: jQuery(document).ready() Type error on WebKit based Browsers

2009-04-28 Thread Jonathan
Try changing jQuery(#dir).attr(disabled, false) to jQuery (#dir).removeAttr('disabled'); Also, does it give you a line number for the type mismatch that might help track it down? On Apr 28, 12:12 am, Sulfura sulfu...@gmail.com wrote: Hi there, I searched the internet for hours but

[jQuery] Re: A selector question

2009-04-28 Thread Jonathan
IDs are supposed to be unique. You should change subgroup into a class then you can do the following to select it: $('#group2 .subgroup') On Apr 28, 4:04 pm, Dragon-Fly999 dragon-fly...@hotmail.com wrote: Hi, I have the following html and would like to find out how to select #subgroup under

[jQuery] Re: Your download is corrupted

2009-04-28 Thread Jonathan
Wow, really? Ok here goes. jQuery is a javascript framework. It has nothing to do with Joomla or the other site you're talking about. The way it works is some people create widgets using jQuery to help make life a little bit easier for web developers. One of these widgets is a Superfish menu

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-23 Thread Jonathan Vanherpe (T T NV)
current page (including all the javascript files, which get loaded again and are probably the cause of the error you get). If you can manage to figure out why it embeds the current page instead of the page you want, you'll have solved your problem. Jonathan Zeeshan Khan wrote: Check this Link

[jQuery] Re: jquery combobox

2009-04-23 Thread Jonathan
The @ was deprecated in 1.2. Search the script for the @ sign and remove it. On Apr 23, 9:54 am, Langras lang...@gmail.com wrote: Hello all, I used thishttp://jquery.sanchezsalvador.com/samples/example.htm script for a while but now i use a newer version of jquery and it doesnt work

[jQuery] Re: Loading before dom = ready - Best Practices.

2009-04-23 Thread Jonathan
In a perfect world the things out of your control (ads, feeds, etc) would themselves be loaded after domReady into their placeholder markup. A slow loading Ad shouldn't be able to cripple the site while it loads, but anyway to expand on your topic. 4) Set a class on the Dom elements called

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Jonathan Vanherpe (T T NV)
help is to upload your stuff somewhere and let us have a look at it. Or at least post the offending code. Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Jonathan Vanherpe (T T NV)
at least? Jonathan KhanZeeshan wrote: JQuery Code: code function Tabs(jQuerySelector) { $(jQuerySelector).tabs(); this.bag = new Array(); this.add = function(title, uniqueHash) { var deleteString = 'a href=#img border=0 class=tab_delete src=Images/delete-img.png onclick=tabs.remove

[jQuery] Re: IE6/IE7 Error (Object doesn't support this property or method)

2009-04-22 Thread Jonathan Vanherpe (T T NV)
Fact is that the error is quite generic. I think I've even gotten it for forgetting to use a ; at the end of a line. Jonathan MorningZ wrote: What do you mean by VALIDATE? http://www.google.com/search?q=html+validation As for your IE error, usually that means that the type of object isn't

[jQuery] Re: hover and/or fadeTo breaking layout in IE 6 and 7

2009-04-20 Thread Jonathan
Figured this out - the problem wasn't jquery or hover and/or fadeTo, rather the infamous IE Guillotine Bug. More info and how to fix located here: http://www.positioniseverything.net/explorer/guillotine.html Cheers~ On Apr 20, 2:09 pm, Jonathan wyscr...@gmail.com wrote: Anyone come across

[jQuery] hover and/or fadeTo breaking layout in IE 6 and 7

2009-04-19 Thread Jonathan
have yielded very little about this - the closest thing I've come across is an offsetWidth bug that doesn't quite fit the problem I'm having, and the solution doesn't work in my case. Many thanks~ Jonathan

[jQuery] Re: hover and/or fadeTo breaking layout in IE 6 and 7

2009-04-19 Thread Jonathan
Sorry, forgot to include a link. You can see the IE bug here: http://themes.nimblehost.com/preview/sleek/test/ On Apr 19, 10:46 pm, Jonathan wyscr...@gmail.com wrote: I'm using jquery to add a smooth fade effect when users mouse over a menu item. The site has split navigation

[jQuery] Re: hover and/or fadeTo breaking layout in IE 6 and 7

2009-04-19 Thread Jonathan
Anyone come across something like this before? I understand it's easy enough to keep IE 6/7 from implementing the script -- if($.browser.msie $.browser.version 8) return; -- but I'd like to get IE working with this if possible. On Apr 20, 1:02 am, Jonathan wyscr...@gmail.com wrote: Sorry

[jQuery] Re: jQuery problem in php

2009-04-17 Thread Jonathan Vanherpe (T T NV)
of the page in your browser, and compare it to the html that you entered in html2php. Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: How to pick out classes that start with a particular string.

2009-04-16 Thread Jonathan Vanherpe (T T NV)
(plus.png);} Am I missing something here? Jonathan David wrote: The problem I see is what happens when there is more than one class? Your icon call may not be the first class. in which case you would not have selected it. But it was still supposed to get an icon. Would it be possible to give the divs

[jQuery] Re: How to pick out classes that start with a particular string.

2009-04-16 Thread Jonathan Vanherpe (T T NV)
need to use javascript if all you want to do is put an image in a class (that really is a job css was made for, javascript should just stick to the behavioural stuff). Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: Code Slider problem

2009-04-15 Thread Jonathan Vanherpe (T T NV)
and the embed tag. Just change this for the other flash movies. Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] XSLT with anchors

2009-04-14 Thread Jonathan Maddison
Hello, I am using the jQuery Transform plugin to perform XSL transforms. It works great except when I load a page with an anchor. i.e. mysite.com/mypage works fine, but - mysite.com/mypage#xyz gives incorrect output (all HTML tags are missing). Does anybody have any idea what could be

[jQuery] Re: Error with BlockUI: 'parentNode' is null or not an object

2009-04-14 Thread Jonathan
http://www.malsup.com/jquery/block/#page On Apr 14, 4:26 pm, Mike Alsup mal...@gmail.com wrote: Thanks for the replies. I found out that the problem has to do with the fact that The BlockUi plug-in actually removes the passed in node from the DOM. At least I know what's going on now and am

[jQuery] Re: XSLT with anchors

2009-04-14 Thread Jonathan Maddison
Thanks Benjamin. Thanks to you I have finally found the problem. After I uploaded an example to post I tried it on a different computer/ browser and I could not replicate the issue. Apparently it is a bug in my (old) version of Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=212362

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-10 Thread Jonathan
'mouseover.dc' is just a namespaced event. It allows you to unbind only that specific mouseover later by calling $boxes.unbind ('mouseover.dc'). It's a useful way of keeping track of events. On Apr 10, 4:17 pm, Lwangaman donjohn.f...@gmail.com wrote: Ok first of all thanks for taking interest!

[jQuery] Re: Endeavour: translating X-Library functionality click-n-drag checkboxes into Jquery

2009-04-10 Thread Jonathan
Yep. Neat eh. On Apr 10, 4:54 pm, jay jay.ab...@gmail.com wrote: So if you have multiple mouseover events binded to the same DOM element you may selectively unbind them? On Apr 10, 7:26 pm, Jonathan jdd...@gmail.com wrote: 'mouseover.dc' is just a namespaced event. It allows you to unbind

[jQuery] Re: Works in IE7 but not IE6

2009-04-09 Thread Jonathan Vanherpe (T T NV)
it's hard to tell. Can't you reduce everything to a test case and upload it somewhere? Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: problem with IE extracting the document title from an ajax request response

2009-04-08 Thread Jonathan Vanherpe (T T NV)
I think he meant that putting 'title' in your search query is useless when googling, because pretty much every html document out there contains the word. Jonathan Jordon Bedwell wrote: Uhm, doesn't google disable Javascript and follow the non-javascript version? -Original Message

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread Jonathan Vanherpe (T T NV)
worth the trouble. Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: get reference to nested appended element

2009-04-07 Thread Jonathan Sharp, Out West Media
, calling find will locate the inner table. Cheers, - Jonathan On Tue, Apr 7, 2009 at 4:38 AM, miniswi...@gmail.com miniswi...@gmail.comwrote: hi there, see next example: parent.append(tabletrtdtable id=\rt0\//td/tr/table); table = $(#rt0); is it possible to reference the inside table

[jQuery] Re: newbie question

2009-04-07 Thread Jonathan
a variable representing jQuery.noConflict() and eliminate the need to have to write out jQuery.noConflict() or $.noConflict(), right? Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Jonathan Sent: Tuesday, April 07, 2009 3:08

[jQuery] Re: newbie question

2009-04-07 Thread Jonathan
Also, you should only ever have to call noConflict() once, right after you include the jQuery.js file. On Apr 7, 12:28 pm, Jonathan jdd...@gmail.com wrote: Basically, although $bfa is a pointer to jQuery, Not jQuery.noConflict (); so if you wanted to call noConflict again you would simply

[jQuery] Re: How do I access global variables for id's, etc.?

2009-04-07 Thread Jonathan
I know global variables seem convenient but they are really quite evil. Once your project grows to even a moderate size they become a nightmare to deal with violate a number of good design tenants, you lose any modularity the code might have had and will run into namespace conflicts (No matter

[jQuery] Re: newbie question

2009-04-07 Thread Jonathan
$ is simply an alias to jQuery(). jQuery.noConflict() removes the $ alias so other frameworks don't throw a fit. $bfa = jQuery.noConflict() simply assigns $bfa to jQuery(). The $ tends to confuse people at first but it's just a function alias, It's just a shortcut for jQuery, thats it, nothing

[jQuery] Re: How do I access global variables for id's, etc.?

2009-04-07 Thread Jonathan
Check out the jQuery data plugin. It's not going to give you the ability to template it like coldfusion does but it'll mimic session variables pretty well and may work well enough for your needs http://docs.jquery.com/Internals/jQuery.data On Apr 7, 1:22 pm, Rick Faircloth

[jQuery] Re: How do I access global variables for id's, etc.?

2009-04-07 Thread Jonathan
Oops, think i linked the wrong page. http://docs.jquery.com/Plugins/Metadata/metadata On Apr 7, 1:34 pm, Jonathan jdd...@gmail.com wrote: Check out the jQuery data plugin. It's not going to give you the ability to template it like coldfusion does but it'll mimic session variables pretty well

[jQuery] Re: Bug in globalEval function

2009-04-07 Thread Jonathan Sharp, Out West Media
Hi Dan, Can you post a URL to a page that includes the smallest amount of code to reproduce this issue? Cheers, - Jonathan On Tue, Apr 7, 2009 at 2:44 PM, DynamoDan dhaart...@gmail.com wrote: Hi All I've used jQuery a lot over the years, mostly in the joomla CMS context. I think I've

[jQuery] Re: Simple way to reliably get the title bar text in IE and Firefox..

2009-04-07 Thread Jonathan
Like you suspect the title is probably getting set by javascript after it's loaded and you're just accessing it too soon. Where in your code are you doing 'var txt = docment.title' On Apr 7, 2:57 pm, Michael Geary m...@mg.to wrote: document.title *is* the way to do that. You have a case where

[jQuery] Re: Simple way to reliably get the title bar text in IE and Firefox..

2009-04-07 Thread Jonathan
a debugger or anything, just Firebug.) Thanks for your thoughts! -dave On Apr 7, 6:27 pm, Jonathan jdd...@gmail.com wrote: Like you suspect the title is probably getting set by javascript after it's loaded and you're just accessing it too soon. Where in your code are you doing 'var txt

[jQuery] Re: jCarousel as Marqee Test

2009-04-06 Thread Jonathan Vanherpe (T T NV)
', animation: 1, /* commented out callbacks, I don't think you need those*/ /*itemVisibleInCallback: {onBeforeAnimation: mycarousel_itemVisibleInCallback}, itemVisibleOutCallback: {onAfterAnimation: mycarousel_itemVisibleOutCallback}*/ }); Jonathan -- Jonathan

[jQuery] Re: Array function

2009-04-06 Thread Jonathan Vanherpe (T T NV)
Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: Why does my website crash in IE when fading?

2009-04-06 Thread Jonathan Sharp, Out West Media
Hi Chris, I'd recommend starting by commenting out all code until IE doesn't crash. Then I'd start uncommenting code in smaller blocks until you isolate what starts the IE crash. Cheers, - Jonathan On Mon, Apr 6, 2009 at 8:56 PM, zeckdude zeckd...@gmail.com wrote: My site works fine

[jQuery] Re: Wrap text between two divs

2009-04-06 Thread Jonathan Sharp, Out West Media
use it like this: $('#1').wrapNextTextNode('div id=3/div'); Cheers, - Jonathan On Mon, Apr 6, 2009 at 9:56 PM, FameR dj.fa...@gmail.com wrote: Is there way to create element that consists html between two another elements? for exmple: from this div Some st div id=1ra/div

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Jonathan
Wow. People are giving up their free time to try and help you and this is the response? I went to http://www.jqueryui.com/demos/tabs/#default copied the code exactly and it works perfectly. The problem IS YOUR MARKUP like others have stated to obviously deaf ears. You are monkeying with the

[jQuery] Re: apply method to new objects

2009-04-03 Thread Jonathan
The .live event may be what you're looking for. http://docs.jquery.com/Events/live#typefn On Apr 3, 4:38 am, neville34 nevill...@gmail.com wrote: hey I am having trouble applying thckbox and other scripts to newly created objects which are created when an ajax call is made. i think the

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Jonathan
and it worked perfect. I also took both of your examples and with a little tweaking of the IDs to follow the example it worked perfectly. On Apr 3, 10:58 am, expresso dschin...@gmail.com wrote: Dude, where is my mark-up wrong?  My   do have matching IDs.  Where are you NOT seeing this. Jonathan

[jQuery] Re: All div content showing up in jQuery Tabs

2009-04-03 Thread Jonathan
in the demo would break this?  No way would I infer that. I was focusing on the mark-up, not the CSS which is also what the docs are doing. expresso wrote: Dude, where is my mark-up wrong?  My   do have matching IDs.  Where are you NOT seeing this. Jonathan-179 wrote: Wow. People are giving

[jQuery] Re: Using JQuery effects in IE7??

2009-04-01 Thread Jonathan
A bit more details would help plus a link to see it in action. Are you seeing errors or are the effects just not firing? On Apr 1, 8:10 am, for...@gmail.com for...@gmail.com wrote: I've created my site and it looks great in Firefox.. however in IE7 it just wont work, i'm not bothered about

[jQuery] Re: How to use in an IFrame?

2009-03-31 Thread Jonathan
Don't use IFrames, try and redesign your page to just use AJAX and load the response into a div instead. If for whatever reason you are locked into an IFrame you would need to include a script tag for jQuery in the IFrame in order to use jQuery since it's basically a new page within your page.

[jQuery] Re: A general Javascript question: duplicate IDs in a document?

2009-03-31 Thread Jonathan
That approach is only more efficient because the original design was lacking. Also, you can just use the starts(^) attribute selector $(div [id^='event-phase']) to retrieve all IDs that start with 'event-phase'. You don't get to make up new meaning for existing attributes because you think it

[jQuery] Re: jQuery/ HTML help needed

2009-03-31 Thread Jonathan
ID's have to start with a letter like the validator and james said. You didn't really explain why, you just showed a block of code. I think I get what you're trying to do but you really shouldn't be using IDs like that. ID's are a unique way to IDentify an element, not to get tricky with linking

[jQuery] Re: Enable a disabled button by id

2009-03-30 Thread Jonathan Vanherpe (T T NV)
you need to use removeAttribute('disabled'). Browsers check for the attribute's existence, and not for the value (which should be technically be 'disabled', btw ) Jonathan -- Jonathan Vanherpe - Tallieu Tallieu NV - jonat...@tnt.be

[jQuery] Re: compare jQuery objects

2009-03-19 Thread Jonathan
Object comparisons aren't really I think what mkmanning was saying is each time you reference $ ('#home') it's going to call jQuery to create a new Object. So to be honest I think even ($ ('#home') == $('#home)) would return false. Don't try and compare the jquery objects together. Use the ID

[jQuery] Re: Flash within a Tab | Always reloads when you revisit the tab

2009-03-17 Thread Jonathan
I'm guessing you use display:none to hide the tabs. I think that forces the flash object to refresh. Try a different technique to hiding your tabs and see if that helps. On Mar 17, 10:11 am, Sridhar Gowda sridhar.kuppa...@gmail.com wrote: Hi All, I have jquery tabs, where I have a flash

[jQuery] Re: unbind all events from jquery 1.3.2

2009-03-16 Thread Jonathan
jQuerys selector engine is browser independent. So $(*) actually refers to all elements and works in all browsers (this is why we love it). But I would be careful. $(*).unbind() can be slow. On Mar 16, 11:50 am, redcom red...@gmail.com wrote: isn't this ie specific? On Mar 16, 8:50 pm,

[jQuery] Re: JavaScript Loading Question

2009-03-16 Thread Jonathan
Since the browser will always have the Markup and CSS before the javascript is finished it's a pretty typical approach to avoid seeing stuff before the JS is done, although having a simplified version of your page that is accessible to users without JS enabled (for instance all the tabs visible

[jQuery] Re: Simple toggle between slide up slide down and changing paragraph html contents not working...

2009-03-13 Thread Jonathan
.each() should do what you want. It will iterate through each element that has the class Item and will set this to that individual element. So no $(this) will not be the same as $(.item) e.g with this markup div class=item/ span class=item/ $(.item).each() will execute twice with this being

[jQuery] Re: Undefined function

2009-03-10 Thread Jonathan
I don't think it's valid to have an Element ID that starts with a number. Try prefixing it with something, e.g $(#UIElement_ + currentUI); surreal5335 wrote: I have been having trouble trying to define a function. I've tried every idea I have come across on the internet but nothing worked. I

[jQuery] premature ready

2009-01-17 Thread Jonathan Lundell
Well, maybe In my first use of jQuery, I attached a visibility toggle function, via document ready, to a button (button by id, toggling by class), and got very erratic results. Typically, the toggle didn't work on first load of the document, but tended to work if the document was

[jQuery] Re: premature ready?

2009-01-17 Thread Jonathan Lundell
On Jan 17, 2009, at 2:09 PM, Dave Methvin wrote: Could you put together a page that fails? The .ready() method works reliably for me. http://lobitos.net/wx?loc=12345fmt=wide I added a button 'jqtest' that uses bind-on-ready to do the same thing that the 'raw' button does with onclick, and

[jQuery] Re: premature ready?

2009-01-17 Thread Jonathan Lundell
on. Thanks. On Jan 17, 5:21 pm, Jonathan Lundell jlund...@pobox.com wrote: On Jan 17, 2009, at 2:09 PM, Dave Methvin wrote: Could you put together a page that fails? The .ready() method works reliably for me. http://lobitos.net/wx?loc=12345fmt=wide I added a button 'jqtest' that uses bind-on-ready

[jQuery] Re: IE + jQuery + fixed elements != happiness

2009-01-04 Thread Jonathan Sampson
As it turns out, this is a problem in FF too. I was confusing projects. Sorry.

[jQuery] Re: resizing slow with a fluid height

2008-12-16 Thread Jonathan
Has anyone had the chance to check this out? I'd really appreciate it. On Dec 12, 4:24 pm, Jonathan jondme...@gmail.com wrote: Hey, I'm using the jCarousel to fill a page vertically, while the remains fixed. In order to do this I wrote a function that gets the height of the browser window

[jQuery] [jCarousel] resizing slow with a fluid height

2008-12-12 Thread Jonathan
Hey, I'm using the jCarousel to fill a page vertically, while the remains fixed. In order to do this I wrote a function that gets the height of the browser window and then sets the height of the carousel to the browser. var getHeight; function setCarouselHeight() { getHeight = 0;

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-23 Thread Jonathan Sharp, Out West Media
Hi James, Here's one way to rewrite it using jQuery: function divShowHide(divID, imgID) { var d = $('#' + divID).toggle(); $('#' + imageID).attr('src', 'Images/' + ( d.is(':visible') ? 'down' : 'up' ) + 'arrow.png' ); } Cheers, -Jonathan On Oct 23, 2008, at 8:42 AM, James2008

[jQuery] Re: Clarification on the use of JSONP in $.ajax

2008-10-22 Thread Jonathan Sharp, Out West Media
Hi RWF, You can make a cross site call if the server knows how to speak JSONP. Remy Sharp (no relation) had a great blog post about this a while back: http://remysharp.com/2007/10/08/what-is-jsonp/ Cheers, -Jonathan On Oct 22, 2008, at 6:17 PM, RWF wrote: in the docs: http

[jQuery] Re: how change external html AFTER load using $.load

2008-10-22 Thread Jonathan Sharp, Out West Media
, -Jonathan On Oct 22, 2008, at 5:32 PM, gtso86 wrote: Hi everybody... this morning i started a project $.load. When i load the html using $load in the main page (default.aspx) i cant interacte with using jQuery. Simple interactives like $('#rapida ul a').click(function () { var

[jQuery] Re: Question about Shadows on the jQuery Nav Bar

2008-10-22 Thread Jonathan Sharp, Out West Media
. Happy browsing! Cheers, -Jonathan On Oct 22, 2008, at 10:46 AM, plumwd wrote: Hi, I am just curious if the dropShadow plugin was used to create the shadows on the nav bar which appears on the jQuery main page at http://www.jquery.com. The nav bar I'm referring to is the one with the rounded

[jQuery] Re: Cycle: Direct link from another page

2008-10-22 Thread Jonathan Sharp, Out West Media
Hi Isaac, Do you have a link you could post? It's unclear to me exactly what the question is. Cheers, -Jonathan On Oct 22, 2008, at 6:59 PM, isaacn wrote: Is there a way to do a direct link to an arbitrary slide, from another page? I saw the demo where the link was on the same page

[jQuery] Re: how change external html AFTER load using $.load

2008-10-22 Thread Jonathan Sharp, Out West Media
('title'); alert(url); }); }); $('#link' + tipo).css('border','1xp solid red'); } Cheers, -Jonathan On Oct 22, 2008, at 7:36 PM, gtso86 wrote: I create a simple test like my problem... because my real problem hosted on blocked domain for external

[jQuery] Re: Can jQuery do it again and again?

2008-09-27 Thread Jonathan
If you used each then it should repeat for each DIV with the class of box on the page. $(document).ready(function(){ $(div.box).each(function() { $(div.box *).wrapAll('div class=inside/div'); $(div.box).append('div class=tl/div'+'div class=tr/div'+'div class=bl/div'+'div

[jQuery] Re: New Google Browser announced

2008-09-03 Thread Jonathan
For those interested in more information on Chrome, checkout their comic book here: http://www.google.com/googlebooks/chrome/ It does a nice job of explaining some of the thinking behind Chrome. I have been playing around with it since yesterday and it's great! Super fast and super simple.

[jQuery] combining results

2008-08-25 Thread Jonathan C. Dietrich
What is the easiest way to combine the results from multiple jquery objects. for instance if i want to do an operation with each span and div tag x = $('span'); y = $('div'); x.each(function(){alert('yo');}) y.each(function(){alert('yo');}) is there a way that i can combine x and y in z so

[jQuery] Re: combining results

2008-08-25 Thread Jonathan C. Dietrich
Thanks Karl. On Aug 25, 12:21 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Or, if you want to do it in one fell swoop: var z = $('div, span'); --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Aug 25, 2008, at 12:14 PM, Karl Swedberg wrote: Hi Jonathan

[jQuery] autocomplete - trigger function on data retrieval?

2008-07-21 Thread Jonathan Vanasco
does anyone know if it is possible to trigger a function on an autocomplete retrieval ( using this autocomplete library http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ ) example: i'm currently using result() to store the id of a currently selected item in a hidden field when a

[jQuery] [autocomplete] trigger function on data retrieval?

2008-07-17 Thread Jonathan Vanasco
I tried posting this yesterday, and it didn't seem to post. Apologies if two messages appear. I need to catch the data retreival - even on null sets - from autocomplete. In my example: I am using autocomplete to fetch items from a database. When an option is selected, a result() function

[jQuery] [autocomplete] trigger function on data retrieval?

2008-07-16 Thread Jonathan Vanasco
does anyone know if it is possible to trigger a function on an autocomplete retrieval ( using this autocomplete library http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ ) example: i'm currently using result() to store the id of a currently selected item in a hidden field when a

<    1   2   3   4   >