CSS Image Gallery Support Product Page

CSS Image Gallery breaks when adding JQUERY Widgets

Asked 09 Jan 2011 19:00:07
1
has this question
09 Jan 2011 19:00:07 Chuck Borrelli posted:
I was using the Dreamweaver CS5 JQuery tab widget, which works nicely, and I placed the CSS Image Gallery inside of one of the tabs:

www.perchpub.com/index_jqconflict.php

I tried changing the order of some of the script file calls, as well as removing call to jquery-latest-pack, no luck. Then removed call to jquery-1.4.2, again did not fix.

Is there any way that jquery widgets from Dreamweaver and DMXZone extensions can coexist on the same page? If so, what is the best way to do this?
Edited by - Chuck Borrelli on 09 Jan 2011  19:02:03

Replies

Replied 10 Jan 2011 10:32:58
10 Jan 2011 10:32:58 Teodor Kuduschiev replied:
Hello Chuck,

The CSS image gallery uses jquery 1.3.2. Although it does work with 1.4.2.

I have 2 solutions for your problem:
1. You can remove the following line from your code:

<script src="ScriptLibrary/jquery-latest.pack.js" type="text/javascript"></script>


But if you edit the gallery, it will recreate it again, so i have another solution for you:
2. Copy the jquery-1.4.2.js and paste it in the scriptlibrary folder, renaming it to: jquery-latest.pack.js.
Then, remove from your code the first include:

<script src="jQuery/includes/jquery-1.4.2.js" type="text/javascript"></script>


And move to its place the
<script src="ScriptLibrary/jquery-latest.pack.js" type="text/javascript"></script>

Reply to this topic