Forum Replies Created
-
AuthorPosts
-
mangonycMember
Thanks very much- that worked great. The videos were already encoded with H264, so i just changed the link to what you sent me and it worked fine on the iPad.
Thanks for the help.
mangonycMemberPerfect- everything is understood and I’m a bit wiser concerning jquery and wordpress.
I apologize for the runaround with my confusion.
Thanks again for the support.
mangonycMemberOK- I apologize- I do seem a bit confused.
I appreciate you explaining the process.
Are you telling me that just putting in the script <?php wp_enqueue_script(“jquery”); ?> adds the jquery library and that there is no need to point to a specific file after that, that one line of code will include jquery within wordpress?
If that is the case, it is obviosuly my mistake- on the page
http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/
it explained that after adding the enqueue script, you can call your own jquery files after the <?php wp_head(); ?> function.
So if you can just confirm, I only need to have <?php wp_enqueue_script(“jquery”); ?> and that will add jquery to my theme, I think I’m good to go.
Sorry for the confusion, and thanks for taking the time to explain- the plug-in is amazing and it’s been really helpful, so I’m glad I’ll be able to use it.
Thanks
mangonycMemberHello,
I have more questions:
Hello,
I was curious about the problems with jquery and I have a test blog set up to work on things to make sure they work before making live- this blog uses the base WP theme, “TwentyEleven”, it has no plug-ins installed except “Hello Dolly” and “Askimet” and neither are activated.
this is the test site
http://testblog.christophermelvin.com/
I went into this blog and installed the WP Lightbox Ultimate plug-in, and it worked.
I then went and added the jquery script, this is what is added
<?php wp_enqueue_script(“jquery”); ?> before the enqueue head tag and
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js”></script>
after the enqueue head tag
and then the Lightbox plug-in did NOT work, just like my site, as soon as jquery was introduced, it breaks the plug-in.
also – when I looked on Firebug I got an error pertaining to the plug-in- the error is below
$(“a[rel^=’wp_lightbox_prettyPhoto’]”).prettyPhoto is not a function
[Break On This Error] social_tools: false
any ideas on this? is it the version of WP? this is 3.3, my site was 3.1, both seem to be broken
is there anyway that this plug-in can exist with jquery?
I think this test blog illustrates a problem that is basic to the plug-in vs. jquery.
As I mentioned I’d love to get both working if possible, any help you can provide would be greatly appreciated.
Thanks
mangonycMemberThanks for looking at this I appreciate the help – a couple of things:
I tried adding the version script the way you had it written out-?ver=1.7.1- the plug-in still didn’t work
I tried adding the jquery library directly from jquery itself- the plug-in still didn’t work
I removed the link to the jquery library entirely- and the plug-in works fine- the page is set that way now so you can see it in action.
I removed the “.$ scrollable” function, I saw that was giving me an error as you mentioned, and I will fix the “MM_swapImage” but it’s obvious to me that the jquery is what’s preventing it from working properly.
I use Firebug as well, but I didn’t see the “HYPE.js” errors, I’m using Firefox 9.0- what browser were you testing with? I had Firebug set to the “console” tag and the “error” tab selected-mI’m wondering if its a browser incompatability
The bottom line is I really want to use this Lightbox plug-in esp since I paid for it, and it seems that it cannot exist with calling a jquery script at the same time- so for me it’s one or the other.
I had used other Lightbox plug-ins prior to this and they didn’t cause such a conflict- if you have any ideas on how to get it to work together I’d appreciate it.
Thanks
-
AuthorPosts