Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Building custom gallery display, multiple scripts won't play nice
Old 05-28-2010, 10:29 AM Building custom gallery display, multiple scripts won't play nice
Junior Talker

Posts: 2
Trades: 0
Ok, here's the page as it is right now:
http://www.crackin.com/dev/index.php

The paganation for the top 3 images is Sweet Pages: http://tutorialzine.com/2010/05/swee...tion-solution/
The content loading below is a page-replace script I got here: http://css-tricks.com/dynamic-page-replacing-content/
And I'm also trying to integrate shadowbox (or lightbox, whichever will work) into the lower set of images.

I have 2 problems right now I can't figure out, and I'm sure it somehow has to do with the fact I'm trying to mash 3 different JS addons into a single page, I'm still pretty new to this whole JS thing...

First problem I'm having is that IE7, FF 3.5.9 and Opera don't like the links in the upper images. Clicking a gallery image does not load the associated page below from those browsers, however IE8 and FF 3.6 seem to work fine.

I've disabled the pagination and the gallery replace script works in all browsers I tested it in. So basically, I'm trying to find exactly where the conflict between those two scripts is.

Page with pagination enabled and clicks don't work. (same as link above)
Page with pagination disabled and clicks do work.

Second problem is getting shadowbox/lightbox to work on those lower images. I tried a couple different things but main thing I did is make sure the script is actually working by setting the header text to a link with shadowbox attached and that worked. That same link doesn't work when applied to the lower images (loads image in new window). Lightbox does the same thing.

I know I'm begging for problems by trying to shove 3 independent scripts onto a single page and trying to get them to play nice, and I'm open to other suggestions for this page if anybody knows of a script or other solution that allows a gallery list via images, gallery display and image display, that's somewhat similar to what I'm trying to do here. Also must be embedded in the page (not floating over the page) and be able to create custom header and footers.

thanks for any help you guys can give.
relic180 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-28-2010, 02:29 PM Re: Building custom gallery display, multiple scripts won't play nice
Novice Talker

Posts: 5
Name: Basant
Trades: 0
I have used two scripts on one page its works without any problem here www.webpusseo.com
freemegabytes is offline
Reply With Quote
View Public Profile
 
Old 06-01-2010, 09:35 AM Re: Building custom gallery display, multiple scripts won't play nice
Junior Talker

Posts: 2
Trades: 0
Ok, I got my first issue figured out, so gallery content loads correctly in all the browsers i have installed (IE7,8 ,FF3.6, Opera 10.53) on my machine (No thanks to 'freemegabytes's apparent spam message).

NOW my only issue is to figure out why shadowbox isn't working. It loads up correctly when you click the header link, so that tells me it's loading correctly and it is working... just not working with the gallery images. Any ideas?
relic180 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Building custom gallery display, multiple scripts won't play nice
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.05475 seconds with 12 queries