Vladimir’s WordPress Forum


 
Current User: Guest
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Color Box Option Breaks Other Scripts

Add a New Topic Reply to Post
UserPost

1:54
16 December, 2011


m1st0

Guest

Post edited 1:56 – 16 December, 2011 by m1st0


I am currently using Smart YouTube Pro v. 1.0 and WordPress v. 3.3. If I turn the color box option on, I cannot get other scripts to work normally. For example: http://www.mitya.co.uk/scripts…..-dialog-99 does not operate correctly on a page containing the following link using the lightbox plugin (links removed and replaced as necessary):

<a href="javascript:lbdialog({content:'Hello World', cancelButton: {text: 'Cancel', callback: function() { hidelightbox(); }}, OKButton: {text: 'OK', callback: function() { location.href = '[place a http:// link here]" ; hidelightbox(); }}})">Download Software</a>

The JavaScript error returned was:

$(box).lightbox is not a function

However, turning off showing a video in a color box allows the link to work normally showing the lightbox. Is the plugin itself using similar code that is in conflict?

1:56
16 December, 2011


m1st0

Guest

I also removed the message above, so don't be too concerned about that operation either. It still works normally without the color box option turned on.

7:26
16 December, 2011


Zach

Guest

Vladimir,

First, thanks for a great plug-in.

I'm having the same issue with the color box, but I thought to add a little detail.

I have the most current WP and Smart Youtube, and I'm running Thesis, too.
The issue is that when the color box is enabled, the text below the thumbnail on the page/post turns into a hyperlink that also launches the color box.
The malfunctioning hyperlink appears to be disabled when it hits an anchor text….

I could probably put an invisible hyperlink in immediately after the page/post thumbnail, but I don't want to be fighting one fire with another smaller fire.

I really appreciate the color box. It's a VERY cool feature, and I look forward to using it again when this little bug is worked out.

If I can help with any further clarification, please let me know.

My best,

Zach
Sitka, Alaska

Reply to Post

Reply to Topic:
Color Box Option Breaks Other Scripts

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
6 + 5