Hi everybody. I have a Question. You can skip to the bottom for a direct access to it, or read about the context. Remember to turn your cellphones back on when you're done ;)

Heres is my problem :

I have a website that lists albums, Then it lists song from the chosen album. This is a PHP script that generates one album list page, then one page per album. When the user clicks an album, the album page is built ; When the user clicks a song, a flash audio player (jw FLV) appears thanks to a jQuery "show" and everything was fine and dandy. This was the 1st version.

Now users requested to be able to continue browsing the albums while keep listening to a given one. So I made the script generate all albums on one page, and used jQuery to ScrollTo(400) the album divs in a overflow:hidden container and everything was fine and dandy. This was the 2nd version.

It is worth noting that in doing so, I gained functionality (the persistent player) but lost dearly cherished ones, like the ability to use the album sleeve image as the favicon - this is just a silly example of one of the many simple "html page" aspect that we take for granted, that disappear when using "logic" pages instead of "real" pages - and other ones, like the ability to direct link one album.

Now users (don't you hate them when they're always right ?) request to be able to link directly to a song from a regular http link. The user would post the link on a blog somewhere, and when clicked, the correct album "page" would load, the player would show up, and the correct song would autoplay. When that said song would end, the player would then proceed to the next one in the XML (XSFP) playlist.

Problem is, the show(player) is triggered by a onclick in a href link, and AFAIK, you cant just http://mydomain.org/myscript.php?album=X&onclick=javascript:playSong(N)"

So here is my question : Using jQuery TOOLS/flowplayer, is there a way I could achieve what I want : To allow users to externally trigger my effects :
  1. reach the page w/ all album divs
  2. scroll to URL-selected album div
  3. spawn player
  4. autoplay URL-selected song

I'd really like to give scrollable and flowplayer a try, but I need to know if what I want to do is even possible.

Sorry if this is unclear, I really tried my best, I know my english is bad at best, thank you for bearing w/ me :)

Remember, even if this is a long question, the potential answers can be simple = Yes :), or No :(

-ph

EDIT Hey ! I got it ! I guess I can grab a variable from the query string in the URL, say myscript.php?album=plop&playsong=2 and pass them to jQuery..