[jQuery] Re: $(document).ready(function() is causing scripts to run twice!

2009-03-21 Thread Derek Perkins
Thanks for taking the time to help me out James and MorningZ. The first time the image is loaded, it is loading the large image file (patty1.jpg) into the main scrolling window via PHP into #slideshow. At the same time, I am pulling the thumbnail out (patty1-53x40.jpg) and using it as an anchor t

[jQuery] Re: $(document).ready(function() is causing scripts to run twice!

2009-03-20 Thread Derek Perkins
You can see where it is running twice here: http://derekperkins.com/seatability1/ Basically, in the middle box and in the right sidebar, I am dynamically loading images via Javascript, but they are being double loaded. In the middle of the page, you can see that the thumbnails are loaded twice.

[jQuery] $(document).ready(function() is causing scripts to run twice!

2009-03-20 Thread Derek Perkins
I encase all of my functions inside of a jQuery(document).ready (function() {} block, but I noticed recently that my scripts are running multiple times. After a lot of debugging, I realized that they only ran once after I deleted that segment of code. The first time it ran however, it wouldn't s

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-07 Thread Derek Perkins
After at least 4 hours in Firebug and CSS code, I switched something that started working. I'm amazed at how difficult it was to do, when it should have been so simple, but all's well that ends well. Thanks again.

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-07 Thread Derek Perkins
Another option, though less desirable, would be to make the slides all the same width, even if the picture inside is different. Then I could at least have a background on the entire slide. The way it is now, the slide size is being set by Cycle, so I can't even get the background to look right.

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-07 Thread Derek Perkins
I've been trying to get these centered and I can't for the life of me figure out how to do it. I've tried putting extra divs on the outside, using every display property available and I still can't get it. http://derekperkins.com/seatability1/test-post-on-bill/ I really just want the outer cont

[jQuery] Re: Picasa & getJSON not working properly

2009-02-19 Thread Derek Perkins
I figured out my problem. I found the Google API reference page (http://code.google.com/apis/picasaweb/reference.html) and realized that they won't serve up any images larger than 800px. I changed my code from pic.media$group.media$content[0].url to pic.media$group.media$content[0].url + "?

[jQuery] Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-02-19 Thread Derek Perkins
I'm trying to center my slides in the slide container, but I'm having issues. I have 'a' links as my slides, each containing a single image. What I want is for the link and the img to be the same size, based on the width of the image, and then centered inside of the slide container. I've includ

[jQuery] Re: Cycle Plugin Doesn't Acc

2009-02-19 Thread Derek Perkins
That works great. Thanks! On Feb 19, 4:39 pm, Mike Alsup wrote: > > I'm trying to load the Cycle plugin with a JSON feed from Picasa. > > Everything is pulling in from Picasa just fine.  I can copy the exact > > HTML that it generates and paste it into my code and reload, and it > > works fine,

[jQuery] Cycle Plugin Doesn't Acc

2009-02-19 Thread Derek Perkins
I'm trying to load the Cycle plugin with a JSON feed from Picasa. Everything is pulling in from Picasa just fine. I can copy the exact HTML that it generates and paste it into my code and reload, and it works fine, but not when it is dynamically added via Javascript. http://derekperkins.com/seat

[jQuery] Picasa & getJSON not working properly

2009-02-18 Thread Derek Perkins
I'm trying to pull my Picasa album JSON feed into my website, but I'm having problems. It is pulling in the Picasa thumbnails without a problem, but when I try to pull in the full sized photos (<200kb), it returns nothing, even though I have verified that the links are valid. Below is the code t

[jQuery] Re: Cycle Plugin Adds Relative Position to Slideshow Container

2009-02-11 Thread Derek Perkins
All of my stylesheets are imported above my Cycle script, and all of my calls to JQuery are already running only after document.ready fires. Any other thoughts? My thought for a workaround is to add a little bit to my script that removes the position:absolute inline style, but that seems like an

[jQuery] Cycle Plugin Adds Relative Position to Slideshow Container

2009-02-10 Thread Derek Perkins
I'm using Cycle in a number of places on my site, but I'm having an issue with absolute placement in WebKit browsers (Safari & Chrome). My site is available here: http://derekperkins.com/seatability/super-product-page/ My issue is that in Firefox, IE and Opera, Cycle adds in some inline style el

[jQuery] Re: Menu hide and show

2009-01-10 Thread Derek Perkins
Here's a great tutorial I read to get me started. http://www.detacheddesigns.com/blog/blogSpecific.aspx?BlogId=58