I am currently Building a sort of portfolio site. I uses a Lightbox to display content, which is this first script.

<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js'></script>

And a scroll to function from the jquery library below.

<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>

Independently the scrips work flawlessly, but once I incorporate both only one of the two scrips works, which is the second one depending on how they are ordered.

I am assuming the problem occurs when they are initially loaded/run and the second of the two overrides some aspect of the first. Could anyone dissect the code and find the source of the problem, or have any sort of solution to sole this dilemma.

Any help would be appreciated.

Thanks,
Matthew

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.