Hi,
It's not clear what's wrong from your message or examples.
Fundamentally, if you want your first link to work when you add
Prototype to the page, just add the `noConflict` call *immediately*
after loading the jquery.js file and include the Prototype file, like
so:
<script src="../Scripts/jquery-1.2.6.js" type="text/javascript"
charset="utf-8"></script>
<script>jQuery.noConflict();</script>
<script src="../lightbox/js/prototype.js" type="text/javascript"></
script>
..and then change your two functions that look like this:
$(function () {
if ($.browser.msie && $.browser.version < 7) return;
// ...
});
...to look like this:
jQuery(function($) {
if ($.browser.msie && $.browser.version < 7) return;
// ...
});
Note that I've added `$` as an argument. jQuery passes a reference to
itself into `ready` handlers, and so you can use a local alias for it
and not have to change all your code. *Outside* of that `ready`
handler, `$` will refer to Prototype. (Or just use `jQuery` for jQuery
throughout the page, but for large scripts it can be convenient to use
the local alias.)
Example:
http://jsbin.com/uqugo3
HTH,
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com
On Mar 16, 6:36 pm, Joseph O <
joeordo...@gmail.com> wrote:
> This has been tossed around the net in many variations yet none have
> worked for me. I have done about ever work around for these two so
> they will like each other and have reached a dead end. I need my image
> fade menu to function with my flash driven lightbox. Please let me
> know if this is something anyone can help with. Here are a few links
> to reference.
>
> This shows the menu working.
http://fabritechonline.com/content/awning_marquee.html
>
> This shows the Lightbox Working.
http://fabritechonline.com/content/awning_marquee_test.html
>
> This shows the jQuery / Prototype noConflict script in action.
> (Prototype is disabled)
http://fabritechonline.com/content/awning_marquee_test_conflict.html