PDA

View Full Version : Something Broke - Page 1 of X no longer shows up


Kyle D
Feb-04-2009, 03:36 PM
Hi Everyone,

I wonder if someone could give me a hand. I finally got my set laid out the way I want it and was going to start really uploading images to it but I noticed that something broke.

In a gallery with multiple pages, the page 1 of X no longer shows up. Also, when I click on an image it no longer goes to full screen nor when I click next on the image 1 of X it doesn't switch images.

So if someone would kindly come to my rescue that'd be great!

Edited for Stupidity, forgot to include a link to a gallery with multiple pages.

Non-password protected gallery with multiple pages. (http://www.kyledphoto.com/gallery/4870335_ukynB#290278220_Hs55F)

Andy
Feb-04-2009, 03:44 PM
http://img.skitch.com/20090205-pkfd87e895sjesndaptn2mrfce.jpg

Kyle D
Feb-04-2009, 03:58 PM
What browser are you using Andy?

Also, I'm going to clear my cache and see if that helps.

Kyle D
Feb-04-2009, 04:01 PM
Ok, I have no idea what happened, but I cleared my cache and now it's back and working fine. :dunno So, thanks Andy.

Kyle D
Feb-04-2009, 04:06 PM
Ok, I guess I was wrong. Clearing the cache brings the nav stuff back and everything works fine, until I login, then the nav stuff breaks and logging out doesn't fix it. I have to clear the cache for it to work again but again breaks as soon as I login.

Just so you know, I'm running FF3 on Vista Ultimate 64. I wasn't having this problem until this evening.

Andy
Feb-04-2009, 04:19 PM
Ok, I guess I was wrong. Clearing the cache brings the nav stuff back and everything works fine, until I login, then the nav stuff breaks and logging out doesn't fix it. I have to clear the cache for it to work again but again breaks as soon as I login.

Just so you know, I'm running FF3 on Vista Ultimate 64. I wasn't having this problem until this evening.
And what about IE? :ear

Kyle D
Feb-04-2009, 05:31 PM
And what about IE? :ear

It works fine in IE7 64 bit edition and 32 bit edition. Still not working in FF3, you made me reinstall IE. I hate IE, yuck!

Any ideas of why it just stopped working in FF?

Kyle D
Feb-04-2009, 06:42 PM
I figured out what was causing the issue. It's this javascript code that jfriend came up with so I can move the slideshow button down to the same line that the buy and cart buttons are on.

// Because the slideshow button is created itself in onDOMReady,
// we don't know the timing of it's creation relative to our function getting called
// so we trigger our event this way to make it execution order independent
YE.onDOMReady(YE.onContentReady("slideshowButton", MoveSlideshowButtonToCartLine));

function MoveSlideshowButtonToCartLine()
{
var sourceObj = document.getElementById("slideshowButton");
var destObj = document.getElementById("buyButton");
if (sourceObj && destObj)
{
var obj = sourceObj.parentNode.removeChild(sourceObj);
destObj.parentNode.insertBefore(sourceObj, destObj);
}
}

This was pasted in my bottom javascript box.

If I remove that code, the page nav stuff comes back in FF3 and as soon as I put it back in, it disappears again.

Here's the link to the posts about moving the slideshow button:
http://www.dgrin.com/showthread.php?t=119730

jfriend
Feb-04-2009, 06:48 PM
I figured out what was causing the issue. It's this javascript code that jfriend came up with so I can move the slideshow button down to the same line that the buy and cart buttons are on.

// Because the slideshow button is created itself in onDOMReady,
// we don't know the timing of it's creation relative to our function getting called
// so we trigger our event this way to make it execution order independent
YE.onDOMReady(YE.onContentReady("slideshowButton", MoveSlideshowButtonToCartLine));

function MoveSlideshowButtonToCartLine()
{
var sourceObj = document.getElementById("slideshowButton");
var destObj = document.getElementById("buyButton");
if (sourceObj && destObj)
{
var obj = sourceObj.parentNode.removeChild(sourceObj);
destObj.parentNode.insertBefore(sourceObj, destObj);
}
}
This was pasted in my bottom javascript box.

If I remove that code, the page nav stuff comes back in FF3 and as soon as I put it back in, it disappears again.

Here's the link to the posts about moving the slideshow button:
http://www.dgrin.com/showthread.php?t=119730 We'll work on this problem over in this thread (http://www.dgrin.com/showthread.php?t=119730).

Kyle D
Feb-04-2009, 06:50 PM
We'll work on this problem over in this thread (http://www.dgrin.com/showthread.php?t=119730).

Sounds good and thanks a bunch!