I'm trying to figure out the proper way to do some things so I can get some jquery plugins to work on specific pages in Drupal. I must say I'm quite a newby concerning javascript or even directly handling PHP. I'm not afraid to get my hands dirty and I'm very willing to learn.

I'm using the Supersized plugin here. I've been doing several static tests to try to make sure I have enough knowledge before I dive in. Here is my latest static test here. My end result is intended to look very much like a subpage at gm.com here.

I've gleaned info from a great video by Bob at mustardseedmedia.com about using a cck checkbox and preprocess_node in the theme template to make node specific theme differences.

I figure (and correct me if you see a better way) that I can use Views to call a title, teaser, link, and background image and from there, assign the necessary parts to do what they should via jQuery and php. What I'm having trouble with is that the Supersized plugin has links to the images in the javascript in the head of the document. I figure I can use php to get them in there, but one problem I have is I want this to be done in an intelligent way. The user creates the node, or edits the node and the image file, the view supplies the info, and it ends up in the javascript automatically.

Yesterday I started working on this in Drupal and I found that I can make views provide a path to the image, but from there, I don't know how to "inject" that path into the javascript. That is hurdle #1 so to speak. I figure if I can get this part working it should be slightly easier going from there.

Ideas? Is my approach wrong? Any help to be had? I'll try to provide any info necessary.

Thanks in advance. This community has been tons of help to me.