[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-04 Thread Erik R. Peterson
Where am I placing the link for each tag? Are the link identified in the JS or the html? E On Jul 4, 2009, at 10:18 AM, Charlie wrote: I gave you slideUp twice...oops...bad copy paste Erik R. Peterson wrote: Thanks Charlie, I'll put it in now. thanks. E On Jul 4, 2009, at 9:56 AM,

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-04 Thread Charlie
I gave you slideUp twice...oops...bad copy paste Erik R. Peterson wrote: Thanks Charlie, I'll put it in now.  thanks. E On Jul 4, 2009, at 9:56 AM, Charlie wrote: could shorten this all up and make it accessible for _javascript_ disabled by putting the

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-04 Thread Erik R. Peterson
Thanks Charlie, I'll put it in now. thanks. E On Jul 4, 2009, at 9:56 AM, Charlie wrote: could shorten this all up and make it accessible for javascript disabled by putting the url into the href of your links. Haven't looked at plugin but since you're just loading html will use load()

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-04 Thread Charlie
could shorten this all up and make it accessible for _javascript_ disabled by putting the url into the href of your links. Haven't looked at plugin but since you're just loading html will use load() in jQuery core: hideLoading(); $("#cs_links a").click(function () {        showLoading();   

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-04 Thread Erik R. Peterson
Can;t get it to work correctly. Here is my existing code: $(document).ready(function(){ //References var sections = $("#cs_links a"); var loading = $("#loading"); var content = $("#cst_wrap_mid"); //Manage click events sections.click(function(){

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-04 Thread Erik R. Peterson
Works great... Would you be able to show me how to make the links change via css after selected? Erik On Jul 4, 2009, at 6:40 AM, MOZ wrote: Hi, on your page: http://www.enaturalskin.com/needhelp.htm each time the window scroll to the top because of anchor #, use preventDefault(); to

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-04 Thread MOZ
Hi, on your page: http://www.enaturalskin.com/needhelp.htm each time the window scroll to the top because of anchor #, use preventDefault(); to avoid this, just a suggestion. Also see the improved version: http://yensdesign.com/2009/06/safe-ajax-links-using-jquery/ This trick will make your web

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-03 Thread Erik R. Peterson
Hi buddy! I'm undecided on the final buttons and graphics, but thanks to your help I got the script down. I actually fixed my own problem after posted this last email. Have a great weekend. Erik On Jul 3, 2009, at 5:14 PM, Cesar Sanz wrote: Hello. I see you succed retrieving data u

[jQuery] Re: Need help on How to load content via AJAX in jQuery

2009-07-03 Thread Cesar Sanz
Hello. I see you succed retrieving data using ajax, Which is the problem? - Original Message - From: "Erik R. Peterson" To: Sent: Friday, July 03, 2009 2:48 PM Subject: [jQuery] Need help on How to load content via AJAX in jQuery I found this script: http://yensdesign.com/2008