Kamis, 15 November 2007

Re: [JavaScript] Lightbox and PVII navigation

So if they have this collision problem, is there no way to fix it?

Mim

--- In JavaScript_Official@yahoogroups.com, Tim Sabin <tim@...> wrote:
>
> If you don't even know the basics of Javascript, this is going to be
tough.
>
> You place alert boxes within JavaScript. This is either within the .js
> files or in the body of the <script> tag. This is a very basic
debugging
> technique in JavaScript; I suspect that your trouble is within your
> code, and not because of a conflict between the two packages.
>
> The function name difficulties would be in the package code
contained in
> the .js files. This is an example of a collision problem:
> In one package you see the line
> function showImage (img) {
> and in the other you see the line
> function showImage (src) {
> Because both packages declare the function showImage, you have a
> collision between the two packages.
>
> Like I said, I suspect that the trouble is in your code, but right now
> there's no way to be sure.
>
> --Tim Sabin
>
>


> >>> I've been trying to resolve what I think is a conflict between
two JS
> >>> users: Lightbox and Pop Menu Magic (PVII program). I've contacted
> >>> staff from both and they haven't been able to resolve this. I
thought
> >>> I'd try this group because I really want to use both programs.
> >>>
> >>> The problems:
> >>> 1) Some pages are working, some are not. If a page WAS working and I
> >>> made a change, like move text or an image, or resize an image,
> >>> Lightbox stops working. I've copied the exact working code (scripts)
> >>> and pasted into the non-working pages to no avail. I've tried
> >>>
> >> absolute
> >>
> >>> vs relative paths, nada. Once a page is broken, there's no going
back
> >>> to working. I've checked Dreamweaver preferences and nothing jumps
> >>>
> >> out
> >>
> >>> at me.
> >>>
> >>> Not Working:
> >>> http://sheltercovepublishing.com/client-pages/Back%20Bay%
> >>>
> >> 20Botanicals/index.shtml
> >>
> >>> Working:
> >>> http://sheltercovepublishing.com/client-pages/Back%20Bay%
> >>>
> >> 20Botanicals/bath-salts.shtml
> >>
> >>> (I know I need hyphens or underscores in the client's name - that
> >>>
> >> will
> >>
> >>> change when the site goes live.)
> >>>
> >>> 2) In working pages, none of the .gif files are visible, after you
> >>> click on the thumbnail. The close link works, though.
> >>>
> >>> Scripts:
> >>> http://sheltercovepublishing.com/client-pages/Back%20Bay%
> >>>
> >> 20Botanicals/Scripts/lightbox.css
> >>
> >>> http://sheltercovepublishing.com/client-pages/Back%20Bay%
> >>>
> >> 20Botanicals/js/prototype.js
> >>
> >>> http://sheltercovepublishing.com/client-pages/Back%20Bay%
> >>>
> >> 20Botanicals/js/lightbox.js
> >>
> >
> >
> >
> >
> > Visit http://aiaiai.com for more groups to join
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>


Visit http://aiaiai.com for more groups to join
Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/JavaScript_Official/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/JavaScript_Official/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:JavaScript_Official-digest@yahoogroups.com
mailto:JavaScript_Official-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
JavaScript_Official-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

Tidak ada komentar: