Alright, This is really messy, but it works. If anyone's got any tips
on cleaning it up, have at it.
if ($('body').is('#page-photography')) { //I only want it to fire
on one page. Guessing I save some miniscule amount of overhead on the
other pages.
var loc =
Thanks--that definitely got it a lot cleaner. I ended up needing to
do:
var $slide = $(window.location.hash);
if ($slide.length) {
// found a match on hash id
var $slideshow = $slide.parent().parent();
var
Hi Isaac,
Do you have a link you could post? It's unclear to me exactly what the
question is.
Cheers,
-Jonathan
On Oct 22, 2008, at 6:59 PM, isaacn wrote:
Is there a way to do a direct link to an arbitrary slide, from another
page? I saw the demo where the link was on the same page, but
Well, Cycle won't do that for you, but it lets you tell it which slide
you want it to start on. So when your pages loads you can interrogate
the current window.location.href value and determine from that which
slide needs to be the first one displayed. Then call cycle with the
'startingSlide'
I don't yet. Basically, there are 10 slides on Page A. On Page B, I
want to have a link to Slide 3, Slide 6, and Slide X. There was a demo
that showed how to do it if everything was on Page A, but nothing for
if the links were on separate pages. I think I can follow Mike's lead
below and get
Thanks. I'll give it a shot.
Isaac
On Oct 22, 7:08 pm, Mike Alsup [EMAIL PROTECTED] wrote:
Well, Cycle won't do that for you, but it lets you tell it which slide
you want it to start on. So when your pages loads you can interrogate
the current window.location.href value and determine from
Alright, This is really messy, but it works. If anyone's got any tips
on cleaning it up, have at it.
if ($('body').is('#page-photography')) { //I only want it to fire
on one page. Guessing I save some miniscule amount of overhead on the
other pages.
var loc =
7 matches
Mail list logo