views:

83

answers:

1

I am using a coda slider plugin and when you click different segments, it will then load:

site.com/#1, site.com/#4

Is there a way to check for that using jQuery, then run a function. I have a slider with 4 parts

sunrise, day, sunrise, night

And on night ,I want to overlay a transparent PNG. And it is #4, so when the user clicks that and #4 is in the URL as an anchor, overlay.

I understand all the other code, but not sure if it is possible to check for that anchor?

Thanks,

Ryan

A: 

You could try using the jQuery History plugin, but it will be a lot simpler if you can find a way to extend the Coda slider plugin to notify your code directly.

Tobias Cohen