Skip navigation
skeeterz71xxx 167 posts
Nov 5, 2012
Currently Being Moderated

Any clearbox lightbox widget users here? I have a question

Jan 3, 2013 6:19 PM

I installed the widget on a test web page and it works correctly:

http://dirtysouthink.com/test/ch1/01_Begin/portfolio.html

When you click the dog tattoo thumbnail, the picture pops up in front of the panel to show a larger picture. You never leave the page.

 

HOWEVER:

 

When I install the same widget, the same way on the main site, when you click on any of the tattoos, the thumbnail targets a new window to show the larger picture. In other words, the user leaves the page to see the bigger picture.

http://dirtysouthink.com/gallery/jason3.html

 

I have no clue what is different. I installed the widget the exact same way as I did on the test page. Everything on both installs are in their own directory and are not sharing any of the css or js so there should be no conflicts.

 

Any help appreciated

 

!! Problem Solved !!.................................

 

Thanks to a post I found by Sudarshan Thiagarajan

http://forums.adobe.com/message/4769062#4769062

 

The clearbox.js wasn't pointing to the right directory to where the page is located.

This is the line in clearbox.js

 

var     CB_ScriptDir='js/clearbox'; // RELATIVE to your html file!

 

 

The fix is simple and am posting here just incase someone else is having the same problem.

 

I made this change

 

var     CB_ScriptDir='../js/clearbox'; // RELATIVE to your html file!

 

Works like a champ now

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points