[jQuery] Jörn Zaefferer Validate has conflict with M ootools

2008-07-10 Thread Alexsandro_xpt
Hello All In source plugin Validate plugin ( http://bassistance.de/jquery-plugins/jquery-plugin-validation/ ) was contacted various called from $ jQuery namespace. So than! can be impossible using Validate with Mootools. To resolve that I replace all $ vars to jQuery. Off course, in the

[jQuery] Re: Yahoo Mail-like Select All check box (???)

2008-07-10 Thread iKnowKungFoo
This question, plus another on the DFW CFUG list prompted me to post this: http://www.iknowkungfoo.com/blog/index.cfm/2008/7/9/Check-All-Checkboxes-with-JQuery HTH, Adrian On Jul 9, 2:58 pm, sstewart81 [EMAIL PROTECTED] wrote: I'm on my first week of learning jquery and I'm totally hooked.

[jQuery] Validate and localization

2008-07-10 Thread olivierntk
Hi, I want to use the Validation plugin from bassistance.de and in particular the localization feature. Can someone provide me an example? I could of course detect the browser language settings and create my own objects encapsulating the localized strings too but it would be neat to use the

[jQuery] Re: jQuery and IE8 beta

2008-07-10 Thread iTsadok
You're probably more likely to get an answer if you post a link to a page that doesn't work in IE8. On Jul 10, 4:32 am, dillcreative [EMAIL PROTECTED] wrote: I've tested a site I'm working on in IE6, IE7, and IE8beta, and it works good in IE6 and 7, but doesn't work at all in IE8beta. Any

[jQuery] Superfish - Help - How to make menu centered on the page with css?

2008-07-10 Thread hannan
Hi all, i am using superfish plugins, modify some css, but i don't know how to make this menu appears center on the page. please help. thnx.

[jQuery] Re: newbie jquery / jfeed question

2008-07-10 Thread Sam Sherlock
1) script src jquery.js in the head 2) in the head: script jQuery(document).ready(function(){jQuery.getFeed({ url: 'http://blog.novaconnection.com/syndication.axd', success: function(feed) { alert(feed.title); } }); });/script I don't have any direct

[jQuery] Re: Superfish - Help - How to make menu centered on the page with css?

2008-07-10 Thread Joel Birch
Hello, Here are some previous threads you may get some hints from: http://tinyurl.com/6qafru http://tinyurl.com/5wcf3f Joel Birch.

[jQuery] Difficulty to acces images created by reading XML file

2008-07-10 Thread Olivier
in HTML : div id=theImages/div in jQuery : (jquery-1.2.6.pack.js) $.get(folderCatalogues+'/'+ 'catalog.xml', function(data){ $('#theImages').empty(); $(data).find('galerie').each( function(){ var $galerie = $(this);

[jQuery] Page Content fetch via GET

2008-07-10 Thread SumanShakya
hi all, i have a problem. I need to fetch page content via get. After data is fetched, i need to perform 2-3 manipulation on data before showing the actual content. Each manipulation modifies the page content. I am using the code shown below $.get(url,function(data) {

[jQuery] Re: Page Content fetch via GET

2008-07-10 Thread Kevin Thorpe
SumanShakya wrote: hi all, i have a problem. I need to fetch page content via get. After data is fetched, i need to perform 2-3 manipulation on data before showing the actual content. Each manipulation modifies the page content. I am using the code shown below $.get(url,function(data) {

[jQuery] difference between $.post and $.ajax

2008-07-10 Thread RueSe
I know there is a lot of difference, but what are the defaultsfor $.post? I am asking this because I am able to send with this: $.post( /ajax, {data : json }); but not with this: $.ajax({ type: POST, url: /ajax, data: json, processData: false, }); The first gives me an 200 back, the

[jQuery] Re: [ Add Onclick on loaded image ]

2008-07-10 Thread Topayung, Amdys Max
Hi,, This is what i change so far.. But it always execute the alert each time the image is loading. $.fn.image = function(src, f){ return this.each(function(){ var i = new Image(); i.src = src; i.onload = f; *i.onclick = alert(c);* this.appendChild(i);

[jQuery] [ Add Onclick on loaded image ]

2008-07-10 Thread andy
Hi, I am using jquery to load image with ajax. $(#thumbnail).image(returData,function(){}); $.fn.image = function(src, f){ return this.each(function(){ var i = new Image(); i.src = src; i.onload = f; this.appendChild(i); }); } How can i

[jQuery] Re: difference between $.post and $.ajax

2008-07-10 Thread Mike Alsup
I know there is a lot of difference, but what are the defaultsfor $.post? I am asking this because I am able to send with this: $.post( /ajax, {data : json }); but not with this: $.ajax({   type: POST,   url: /ajax,   data: json,   processData: false, }); The first gives me an 200

[jQuery] Re: Running script onLoad instead of ready

2008-07-10 Thread Vincent Robert
If you want code to execute before the page is ready, the you should just inline it in your script tag. Note that you won't be able to access or modify any DOM component of the page, all you can do is append some new DOM nodes at the beginning. html head script

[jQuery] Re: Cross domain problems

2008-07-10 Thread Vincent Robert
I may be misunderstading something here but this does not look like a cross-domain issue to me. If you are making AJAX request on the same server that served the page, then you should use absolute URI path without any protocol nor domain name : $.get(/some/web/service). This will work whatever

[jQuery] Re: Problem with Cycle plugin using random and previous

2008-07-10 Thread JonDetroit
Yes, you have that exactly right. I think, especially regarding previous, that your description is what the user would expect to see happen. Very specifically, here's the use case: The user comes to a page which shows a random cycle of teasers. Each teaser links to a biography of a faculty

[jQuery] How to know when you can't scroll any further

2008-07-10 Thread fambi
Thanking you guys in advance for any help/advice... How can I know that I've reached the bottom of a scrollable area in a div with an overflow? Thanks

[jQuery] Re: newbie jquery / jfeed question

2008-07-10 Thread desmo
Hi Sam Sherlock I really appreciate your time. have pasted the following into the head of a test page, immediately below the title: script src=jquery.js type=text/javascript/script \script jQuery(document).ready(function(){jQuery.getFeed({ url:

[jQuery] Validation Problem Using the remote Method

2008-07-10 Thread Nimrod
Is there a way that when using the remote method, a false value is being returned until the actual remote result is available.

[jQuery] Radio Box Nav Tabbing Using JQuery (dynamic form).

2008-07-10 Thread dave
Hi guys looking to make a dynamic form where the fields change dependant on radio box option selected above. I hope someone out there can help me i'm a beginner and so far have found this much to get by. Just need to add code to switch div containers dependant on which radio box is selected.

[jQuery] Radio Box Nav Tabbing Using JQuery (dynamic form).

2008-07-10 Thread dave
Hi guys looking to make a dynamic form where the fields change dependant on radio box option selected above. I hope someone out there can help me i'm a beginner and so far have found this much to get by. Just need to add code to switch div containers dependant on which radio box is selected.

[jQuery] Re: Thickbox; New close button and remove close when click off window

2008-07-10 Thread DRoss
Anyone? On Jul 9, 4:57 pm, DRoss [EMAIL PROTECTED] wrote: Hi all, Two part question: We are using thickbox for an 'Add to shopping basket' modal window. There are two buttons in the thickbox window; one for adding the product to the basket and the second button ('Return to shopping')

[jQuery] Radio Box Nav Tabbing Using JQuery (dynamic form).

2008-07-10 Thread dave
Hi guys looking to make a dynamic form where the fields change dependant on radio box option selected above. I hope someone out there can help me i'm a beginner and so far have found this much to get by. Just need to add code to switch div containers dependant on which radio box is selected.

[jQuery] Radio Box Nav Tabbing Using JQuery (dynamic form).

2008-07-10 Thread dave
Hi guys looking to make a dynamic form where the fields change dependant on radio box option selected above. I hope someone out there can help me i'm a beginner and so far have found this much to get by. Just need to add code to switch div containers dependant on which radio box is selected.

[jQuery] Radio Box Nav Tabbing Using JQuery (dynamic form).

2008-07-10 Thread dave
Hi guys looking to make a dynamic form where the fields change dependant on radio box option selected above. I hope someone out there can help me i'm a beginner and so far have found this much to get by. Just need to add code to switch div containers dependant on which radio box is selected.

[jQuery] Scrolling Table sets scroll position in overfloe:hidden div - Scroll is lagging

2008-07-10 Thread Wes Duff
Hello, I have a div with a table inside. The div is set to a width and an overflow of auto. Scroll works great. The problem is, I have set an event on the div to check when it is scrolling. I take the scrollTop() function and assign it to the scrollTop() of another div with a css property of

[jQuery] Re: How to know when you can't scroll any further

2008-07-10 Thread Ryura
$(element).scroll(function() { if($(element).scrollTop == $(element).scrollHeight;) { //do something } }); Untested, but should work. On Jul 10, 9:18 am, fambi [EMAIL PROTECTED] wrote: Thanking you guys in advance for any help/advice... How can I know that I've reached the

[jQuery] Re: I am making a Drag/Drop applications BUILDER (feedback appreciated)

2008-07-10 Thread lorlarz
I have a question. Why is the movement of the draggables (for example, in the sample page: http://mynichecomputing.com/GuideInfoandPlanner/ELLMath.html ) more limited in IE than in Firefox? In IE on the PC, movement over the targets cannot even occur until the page is maximized and the

[jQuery] Re: what is your opinion

2008-07-10 Thread John Harris
You are spamming in a non-retail group. Please stop. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of www.bestplanetsneakers.com Sent: Thursday, July 10, 2008 7:57 AM To: jQuery (English) Subject: [jQuery] what is your opinion What is your

[jQuery] BlockUI and ajaxForm

2008-07-10 Thread phipps_73
Hi, I have been using blockUI with ajaxForm for quite a while and I normally use the block() function from within the beforeSubmit callback and it works really well. I now want to extend this a little by producing a quick blockUI confirm message which if yes is clicked will return true and

[jQuery] Extending LavaLamp Menus and Gallery

2008-07-10 Thread Ty (tzmedia)
Hi All, Hey I've always liked the lavalamp menus, currently there are two plugin versions: http://plugins.jquery.com/project/LavaLamp Demos: http://www.gmarwaha.com/blog/?p=7 An expansion labeled as v.2 of LavaLamp http://plugins.jquery.com/project/lavalamp2 Demo's are here:

[jQuery] Re: Extending LavaLamp Menus and Gallery

2008-07-10 Thread Ty (tzmedia)
Forgot to add the couple sites, I did find as gallery sites: http://www.scale-style.be Mancub.net LavaLamp Examples: http://mancub.net/tutorials/lavalamp-examples On Jul 10, 10:56 am, Ty (tzmedia) [EMAIL PROTECTED] wrote: Hi All,   Hey I've always liked the lavalamp menus, currently there are

[jQuery] Re: How to check if the browser supports iframes?

2008-07-10 Thread Nicola Rizzo
Try something like: html head script type=text/javascript function test(){ var ghh = document.createElement(iframe); ghh.style.display = none; var frms = document.frames || window.frames; var

[jQuery] Re: BlockUI and ajaxForm

2008-07-10 Thread Mike Alsup
I have been using blockUI with ajaxForm for quite a while and I normally use the block() function from within the beforeSubmit callback and it works really well. I now want to extend this a little by producing a quick blockUI confirm message which if yes is clicked will return true and

[jQuery] Re: How to know when you can't scroll any further

2008-07-10 Thread Karl Swedberg
I don't think that is going to work as is, since scrollTop and scrollHeight are DOM properties. You could try it this way instead: $('element').scroll(function() { if (this.scrollTop + $(this).height() == this.scrollHeight) { // console.log('finished'); } }); --Karl

[jQuery] Superfish 1.4.5 released - now with drop shadows!

2008-07-10 Thread Joel Birch
Okay, so the drop shadows are not applied in IE6 or 7 - will continue to ponder workarounds there. Other than that, just a general clean-up and further optimisations of the code. Check out them drop shadows... are they not perdy? If you think not then you can disable them completely via the

[jQuery] Re: Jörn Zaefferer Validate has conflict wi th Mootools

2008-07-10 Thread Alexsandro_xpt
Ok... thanks Where's SVN trunk url? On 10 jul, 10:22, Scott González [EMAIL PROTECTED] wrote: This has been fixed in SVN already.  You can get the current SVN version or wait for the 1.4 release. On Jul 9, 11:21 pm, Alexsandro_xpt [EMAIL PROTECTED] wrote: Hello All In source plugin

[jQuery] Re: I am making a Drag/Drop applications BUILDER (feedback appreciated)

2008-07-10 Thread lorlarz
P.S. Re: the question I just raised (quoted below) The problem I just mentioned occurs only in a non-maximized IE, and only after one has scrolled to the bottom. And, as I said, the problem is IE only. This should be a good puzzle for javascript people. On Jul 10, 9:50 am, lorlarz [EMAIL

[jQuery] Re: How to know when you can't scroll any further

2008-07-10 Thread Ryura
Whoops, I forgot to add [0] after the elements ;). But yours works, I would assume. On Jul 10, 11:36 am, Karl Swedberg [EMAIL PROTECTED] wrote: I don't think that is going to work as is, since scrollTop and   scrollHeight are DOM properties. You could try it this way instead:

[jQuery] Using $.post with complex JSON structures

2008-07-10 Thread lionstone
Hi, I am having trouble using $.post with complex JSON structures. Specifically, when I post an object that contains an object or array as a value, the nested object posts as the string [object+object] . Sample code: sampleJSON = {}; sampleJSON = { a : b, c : {d: e, f:g}, h: i};

[jQuery] Using $.post with complex JSON structures

2008-07-10 Thread lionstone
Hi, I am having trouble using $.post with complex JSON structures. Specifically, when I post an object that contains an object or array as a value, the nested object posts as the string [object+object] . Sample code: sampleJSON = {}; sampleJSON = { a : b, c : {d: e, f:g}, h: i};

[jQuery] Safari 2 Mac - loads of problems!

2008-07-10 Thread herrflick
I've been working on a site that is really heavy with jquery stuff, but have found it almost impossible to get even pretty basic stuff working in safari 2 on a Mac. The development site is at: http://dev2.drfoster.co.uk/ the scripts I've written are at:

[jQuery] form submission from Thickbox (jQuery based)

2008-07-10 Thread Motooo
hi guys! What I have is: -Thickbox login page (login.php) fires correctly when I click on Login in my page - after clicking login, the thickbox is gone But still, I'm not logged in. There's something with submitting the info. If i simply fill out directly my login.php, it logs me in. Any idea

[jQuery] internship with a programmer - wanna work for free to learn

2008-07-10 Thread joomlafreak
Hi I am trying to find some one to be my mentor and teach me programming as I work. I am a novice and dont have a formal education in programming but I do have some skills. I am actively reading these days but that leaves a void in learning. I am in new orleans right now. I am not sure how much

[jQuery] Re: Safari 2 Mac - loads of problems!

2008-07-10 Thread Jeffrey Kretz
Unfortunately, I too have had a number of problems related to Safari 2, in building a CMS system. I was able to get the public part of the site to work, but the CMS administration (HTML Editor, etc) had many many problems, despite everything working well in FF, Opera, IE6 and IE7. Eventually,

[jQuery] Re: Running a loop for array numbers

2008-07-10 Thread Jonathan Sharp
Hi Johnee, Here's one approach (untested): var $e = $('.equipment'); $.each(['1', '2', '5', 'x'], function(i, k) { $e.find('a.i-right' + k) .filter(function(i) { return ( i 0 i 9 ); }) .hide() .end(); }); Cheers, -Jonathan On Wed, Jul 9,

[jQuery] Button Updating Help

2008-07-10 Thread stephen
This is my code: $(document).ready(function() { $('.add_letter_code_object').click(function(event) { $('#objects').append('html code') }); }); What im trying to do is when you click the + button it appends a new object which also has a + button to add more, the

[jQuery] Find and replace all instances of a string with another string?

2008-07-10 Thread 703designs
Let's say I want to replace all instances on a page of golf with football (just plain text). How would I do this with jQuery?

[jQuery] Re: XML $.ajax GET IE6 Help!

2008-07-10 Thread switch13
Has anyone successfully got jQuery to pull in xml in IE6? On Jul 7, 5:17 pm, switch13 [EMAIL PROTECTED] wrote: I have this example working great in FF but I can't get it to work in IE6. I've tried the XML with cdata tags and without. Can anyone see my issue? HTML: ***

[jQuery] Quick question

2008-07-10 Thread Overshee
I want an id on a page I'm developing to get bigger if a certain condition is met, however, I can't get the code to work... can anybody fix this up for me? $(document).ready(function(){ if(document.body.offsetWidth 1024 ){ $(#wrapper).css(function() { $(this).animate ({width: 1024px}, 1000);

[jQuery] Re: Button Updating Help

2008-07-10 Thread Jake McGraw
You have two options: liveQuery http://brandonaaron.net/docs/livequery/ to automatically bind functions or Manually do it using something like: var myFunction = function(e) { $('#objects').append('html code').find(.add_letter_code_object).click(myFunction); }; $(function(){

[jQuery] document.write and DOm creation - performance optimization?

2008-07-10 Thread jquertil
I searched the group for this and came across my own old post (http:// groups.google.com/group/jquery-en/msg/18d7fa95c5f01d2d) I've noticed that when displaying a large number of elements into a page, it takes a bit of time to render. but in order to use document.write, I would have to write to

[jQuery] Re: document.write and DOm creation - performance optimization?

2008-07-10 Thread Michael Geary
Your original post doesn't mention what your code looks like. Were you calling .append() on each row individually? Instead, build up a single string and call .html() once to load the string into a container element. That should be just about as fast as document.write, if you build the string

[jQuery] Re: Quick question

2008-07-10 Thread Michael Geary
First, let's indent the code so it's easier to follow: $(document).ready(function(){ if(document.body.offsetWidth 1024 ) { $(#wrapper).css(function() { $(this).animate({width: 1024px}, 1000); }); } }); Now, where you went wrong is

[jQuery] Re: newbie jquery / jfeed question

2008-07-10 Thread Sam Sherlock
the follow notice the changes in bold script type=text/javascript src=jquery/jquery.js/script script type=text/javascript src=build/dist/jquery.jfeed.pack.js/script *script type=text/javascript* jQuery(document).ready(function(){jQuery.getFeed({ url:

[jQuery] Float on top using jQuery

2008-07-10 Thread agileteks
Hi forum, Does anyone has jQuery code example of how to keep a message floating on top of a screen and it is staying on that position even though when we scroll the screen? I am pretty new to jQuery. If anyone could explain to me how to do that, i very appreciate it. Thank you,

[jQuery] Re: Float on top using jQuery

2008-07-10 Thread Giovanni Battista Lenoci
agileteks ha scritto: Hi forum, Does anyone has jQuery code example of how to keep a message floating on top of a screen and it is staying on that position even though when we scroll the screen? I am pretty new to jQuery. If anyone could explain to me how to do that, i very appreciate it.

[jQuery] Re: internship with a programmer - wanna work for free to learn

2008-07-10 Thread Jonathan Sharp
Hi Vik, This is somewhat of a tough question to answer. I think the most important factor in this is rather than programming experience it should be relevant experience. Having been professionally in the IT field for over 10 years, I've focused my skill set to the web development realm and more

[jQuery] Re: Superfish 1.4.5 released - now with drop shadows!

2008-07-10 Thread Joe
Joel, Love the plugin, but it unfortunately isn't terrible accessible, particularly the non-Javascript enabled IE6 user. At work, we have to make our sites accessible to even this unfortunate user and have found it to be very difficult and nearly impossible to replicate the true

[jQuery] Re: document.write and DOm creation - performance optimization?

2008-07-10 Thread jquertil
posting all code would be crazy but here is relevant snippets. First the loop I use to iterate ofer an array and write some stuff into a bunch of DIV elements. I then want that tho show up someplace on my page. iframe and document.write displays 500 items basically instantly. the html() to div

[jQuery] Re: internship with a programmer - wanna work for free to learn

2008-07-10 Thread joomlafreak
You are absolutely right when you say about relevant experience. My aim is actually to go into research oriented setting at some point. I have been readin about opinions of people over status of a formal degree in CS or CE. My impression so far had been that they really are not counted much

[jQuery] Underlay to replace overlay

2008-07-10 Thread Gabriel
Hi everybody, I was wondering how I can modify Thickbox plugin so that the images do not show up over the gallery (thumb - images) but under the gallery. I call it an underlay. Thank you very much, Gabriel

[jQuery] Cycle Plugin, depth, and IE

2008-07-10 Thread aronduby
Running into an issue with IE and the Cycle Plugin where the items that I have cycling are showing up over the dropdown menus I am using. Example: http://visitgrandrapids.org/visit.php hover over GR Links and see how the menu shows under the news sentence, and under the hot happenings items.

[jQuery] Append new tab

2008-07-10 Thread bogno
Hi folks, I'm new to Javascript and jQuery. I've just tried the Ui.tabs and it work fine, however I would like to add a new tab by clicking on individual items in a list but can't figure out how to do it. I have tabs in a div id=study-tab which work. Then in each tab i have a list of items to

[jQuery] Re: Float on top using jQuery

2008-07-10 Thread Theodore Ni
You may also like to hear that there is the CSS position fixed property, which does what you want, even though there are some problems with it and IE6-. Check out position fixed at http://www.quirksmode.org/css/position.html Also, you may be able to use fixed positioning in IE6, see

[jQuery] Re: Float on top using jQuery

2008-07-10 Thread Ambient.Impact
This can be done with CSS alone, in everything but IE 6. postion:fixed is your friend. There are a few workarounds for IE 6, though, using JavaScript, or IE's proprietary behaviours (which use JavaScript, but are linked through stylesheets) or expressions, which are basically JavaScript in CSS.

[jQuery] Re: Using $.post with complex JSON structures

2008-07-10 Thread Adam
I'm not sure if I'm understanding clearly, but are you trying to access object parameters in your callback? If so, you would access them like: $.post('spit.php', complexJSON , function(txt){ console.log(txt.title); console.log(txt.playlist.url); } And out would come: abcd url (with no

[jQuery] Re: [validate] jquery.delegate.js is missing?

2008-07-10 Thread bldman
Most (all?) of the sample code in the examples at http://docs.jquery.com/Plugins/Validation also have references to the jquery.delegate.js library. On Jul 2, 3:50 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Ah, thanks for the pointer. I'll update that. Jörn On Wed, Jul 2, 2008 at 10:09 PM,

[jQuery] Re: Quick question

2008-07-10 Thread Overshee
Thanks a lot! You've been really helpful! I think the biggest plus about the jquery code is that it works with firefox and IE, which is nice. Anyways, thanks so much for the help, you're awesome. On Jul 10, 4:20 pm, Michael Geary [EMAIL PROTECTED] wrote: First, let's indent the code so it's

[jQuery] Re: Safari 2 Mac - loads of problems!

2008-07-10 Thread Dan G. Switzer, II
Safari 2 has some serious problems with it's Javascript interpreter. Any page that has a heavy amount of Javascript will fail. I know the jQuery team has to run the jQuery unit tests on Safari 2 in chunks, otherwise Safari 2 blows up. There's several posts about this in the archives. -Dan

[jQuery] Re: completely resetForm

2008-07-10 Thread Jörn Zaefferer
This works for me: var validator = $(#myform).validate(); $(.cancel).click(function() { validator.resetForm(); validator.submitted = {}; }); I just commited a patch that resets submitted when calling resetForm, so this will work, too, once you update: var validator =

[jQuery] Re: Superfish 1.4.5 released - now with drop shadows!

2008-07-10 Thread Joel Birch
Hi Joe, I do appreciate your concern. However, when JS is not available in IE6, there is no way that a menu like this can be made to work as it does for modern browsers - at least not while using clean, semantic and valid mark-up. Therefore, if your accessibility needs require you to cater for

[jQuery] This chain works in Firefox but not in IE6?

2008-07-10 Thread paceman
Any idea why the following chain does not work in IE6, but works in Firefox: $new.append(span).children().attr(class, folder).append(fieldset).children().load(?leaf_type= + leaf_type, function () { $(this).parent().find(#addtreeform).ajaxForm(add_options);

[jQuery] Re: jquery lightbox - balupton question

2008-07-10 Thread balupton
Did you get this working? If not could you repost it here: http://plugins.jquery.com/project/issues/jquerylightbox_bal along with a sample url so I can look at it and see what is going wrong. On Jun 12, 4:47 am, Matt [EMAIL PROTECTED] wrote: Hi guys, I'm trying to add lightbox to my page, and

[jQuery] Re: [ Add Onclick on loaded image ]

2008-07-10 Thread Kevin Pepperman
since the image is loaded dynamicly,you should use the jquery.listen plugin. It will allow you to 'listen' for the element and attach a click event to the newly created image. $('#mydiv').listen( 'click', 'img.myimgclass', function(){ //My code to run }); On Thu, Jul 10, 2008

[jQuery] Vertical Accordion Navigation Bar!

2008-07-10 Thread lukas
Has anybody done something like the vertical navigation bar to be seen on http://www.sitepoint.com/article/css-animation-technique ? You elegantly widen the middle column by pushing back the left side column. Great effect. Any suggestions? Thanks!

[jQuery] SVG animation question

2008-07-10 Thread Vez
I am the amazing jQuery SVG plugin with the animation extension for a browser-based game. When the character walks around, the camera follows him. Right now I just pan the in huge chunks with this code: svg.configure({viewBox: x+' '+y+' '+width+' '+height}) So I need to make a custom

[jQuery] Re: This chain works in Firefox but not in IE6?

2008-07-10 Thread Richard D. Worth
Each .append() expects a complete (and best if valid) element. So where you've got .append(span) near the beginning of your chain, and .append(/span) near the end, you need .append(span/span) or .append(span/) just near the beginning. Each append on the chain will append a complete element, so if

[jQuery] Re: jquery lightbox - balupton question

2008-07-10 Thread C.Everson
On Thu, 10 Jul 2008 15:37:58 -0700 (PDT), balupton wrote: Did you get this working? If not could you repost it here: http://plugins.jquery.com/project/issues/jquerylightbox_bal along with a sample url so I can look at it and see what is going wrong. Just a note, your demo page:

[jQuery] Re: SVG animation question

2008-07-10 Thread Vez
Hey, guys. I'd just like to let you know that I solved the problem and it's working perfectly now! The previous version had two bugs. The values in fx.start were strings and not numbers, so they are now converted with parseFloat. The other problem was that I forgot to add in the starting values

[jQuery] Re: SVG animation question

2008-07-10 Thread Vez
I have made some progress, but now I get this zoom in effect every time I try to pan. jQuery.fx.step.pan = function(fx) { if(fx.state == 0) { fx.end = fx.options.curAnim.pan fx.start = fx.elem.attributes.getNamedItem('viewBox').nodeValue.split(' ')

[jQuery] Re: document.write and DOm creation - performance optimization?

2008-07-10 Thread Michael Geary
Try wrapping strHTML in one single wrapper DIV before you insert it into the DOM. I'll bet it will go a lot faster: $('div.displayer').html( 'div' + strHTML + '/div' ); How's the timing on the for loop? Any browsers where it takes any significant time? You may speed it up in some browsers