Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – Links being redirected (not popping up)
- This topic has 2 replies, 2 voices, and was last updated 11 years, 3 months ago by wpCommerce.
-
AuthorPosts
-
August 15, 2013 at 4:34 pm #9478Thai StyleMember
Hi There!
First post here so please let me know if I am requesting support correctly!
I am new to Lightbox Ultimate. I have previously tested WP Video Lightbox and my YouTube videos worked perfectly. As I also require PDFs and MP3s to be displayed on my site I made the upgrade to Ultimate.
The issue I am having is when I use the following short codes the links for my TEST PDF and TEST VIDEO simply redirect and do not pop-up in Lightbox. I cannot work out why? I have tested with the fancybox, colourbox codes but with no luck. Any help and advice is appreciated!
PDF CODE:
[wp_lightbox_prettyPhoto_anchor_text_pdf link=”https://dl.dropbox.com/u/47510840/Students/New%20Speak%20Thai%20Course/Stage%20 One/Stage%20One%20Learning%20Materials/2.%20Transliteration%20%26%20pronunciation%20guide.pdf” width=”640″ height=”480″ title=”Worksheet 2″ text=”Worksheet 2″]
YOUTUBE CODE:
[wp_lightbox_prettyPhoto_anchor_text_video link=”http://www.youtube.com/watch?v=1PaRedZu76Q” width=”500″ height=”500″ text=”1. Thai Consonants” description=”1. Thai Consonants”]
Test Webpage: [http://clients.thai-style.co.uk/test-lightbox/]
August 15, 2013 at 5:00 pm #57190Thai StyleMemberFYI – I am using WordPress 3.6
August 16, 2013 at 12:51 am #57191wpCommerceModeratorHi, lightbox heavily relies on JavaScript. So you need to make sure that your shortcode page doesn’t have any JavaScript error in it.
Currently I can see the following errors on your webpage:
Uncaught SyntaxError: Unexpected end of input (line 126)
Uncaught TypeError: Object #<Object> has no method 'carouFredSel' (line 87)You can also easily check for errors by yourself:
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
Where are the errors coming from?
I believe your theme is not following the WordPress api for including jQuery. It seems to be directly including a very old version of jQuery:
<script type="text/javascript" src="http://clients.thai-style.co.uk/wp-content/themes/theme/js/jquery-1.4.2.min.js"></script>
WordPress 3.6 comes with jQuery 1.10.2 which every plugin and theme should be using.
Please note that only one copy of jQuery can be included on a particular page and it needs to be included using the proper WordPress api (two or more copies will trigger errors). You can learn more about it here: https://support.tipsandtricks-hq.com/forums/topic/lightbox-ultimate-clicking-on-the-anchor-does-not-display-any-overlay
-
AuthorPosts
- You must be logged in to reply to this topic.