[jQuery] Re: Bug in my gallery, wtf?!

2009-04-14 Thread @oscargodson
hard to test it but it looks > like an event bubbling issue in the click binding for '#carousel_nav > a'. Could you try this: > > $('#carousel_nav a').click(function(event) > { > event.stopPropagation(); > c_slide($(this)); > > }); > > Rey... &g

[jQuery] Is this a Safari/WebKit bug?

2009-04-14 Thread @oscargodson
I got this to work, so this isn't a issue anymore, but I'm curious if this is a bug and I should report it, or if it's a bug everywhere else :) $('a').click(function(){ //Following works in Firefox, but not in Safari 3-4 //event.stopPropagation(); //Works in both Safari as well as Firefo

[jQuery] Bug in my gallery, wtf?!

2009-04-13 Thread @oscargodson
Before I post a link: A. Yes, the code is messy, I have been trying to fix this all day, and I have restructured my code at least a dozen times, and that is why it is so messy, so please don't say "try cleaning it up" :) B. There are 100s of images, I just haven't sliced them all out from the cl

[jQuery] Re: Firefox and JS Function Overloading My Computer?

2008-11-18 Thread OscarGodson
can't you just put your site in a wrapper div and give it the css > property of margin:0 auto > no need for javascript to center a site. > > OscarGodson wrote: >> I'm writing a site in a lot of javascript that has a lot of effects. I'm >> really trying to p

[jQuery] Re: Update div works in IE but not in FF?

2008-11-18 Thread OscarGodson
You don't ever remove the content inside of the div it looks like. e.g. If you want p.a to have content from p.b you need to: var newContent = $('p.b').text(); //Could also use html(); or load(); it $('p.a').empty().append(newContent); //Notice the empty! Obviously you would want to

[jQuery] Firefox and JS Function Overloading My Computer?

2008-11-18 Thread OscarGodson
I'm writing a site in a lot of javascript that has a lot of effects. I'm really trying to push the limits on jQuery. Right now my site has animated background image that moves slowly moves up, multiple clouds moving across the sky then loops around again, animated content area (when you click on

[jQuery] Re: ThickBox Bug - Back Button in IE

2008-10-31 Thread OscarGodson
back it goes back to the previous page in all the major browsers, and I couldn't find anything in the ThickBox code to override the back button. Are you using a key command or just pressing the button and what version of FF are you using? ripcurlksm wrote: > > > > OscarGodson w

[jQuery] Re: Advanced jQuery Animation Problem

2008-10-31 Thread OscarGodson
t; or: > $('.site_thumbs').children('img').removeClass('clicked'); > or: > $('.clicked').removeClass('clicked'); > > don't know. something like that. > > -weidc > > On 31 Okt., 07:13, Omid S <[EMAIL PROTECTED]>

[jQuery] Re: Advanced jQuery Animation Problem

2008-10-31 Thread OscarGodson
wrote: > > > wow, I cant say much about your code, but your page looks awesome. > > > > On Oct 30, 8:13 pm, OscarGodson <[EMAIL PROTECTED]> wrote: >> This is a fairly advanced jQuery animation I am doing on a site I am >> doing, >> but I know it'

[jQuery] Re: ThickBox Bug - Back Button in IE

2008-10-30 Thread OscarGodson
ripcurlksm wrote: > > I’ve had some users that accidentally hit back on their browsers when > trying to close the thickbox (instead of hitting the Close Button)... is > there a way to make it so the user can click back on their browser and > it’ll close the thickbox, instead of the browser goi

[jQuery] Advanced jQuery Animation Problem

2008-10-30 Thread OscarGodson
This is a fairly advanced jQuery animation I am doing on a site I am doing, but I know it's failing at alert('2'); as you will see it in the comments. I have tried TONS of things and nothing is working, but it's only not working after a user pushes the back button. The entire thing totally tweaks

[jQuery] Simple AJAX Question

2008-10-19 Thread OscarGodson
I have searched the web over and over and I can't figure out how to do this. I know jQuery very, very well, but I just haven't used AJAX before. All I want to do is simply When someone clicks a I want to get its text() Use that text as var name = $(this).text(); Use name as the row (var name w