http://brownsteel.com.au/

I have an issue that whenever the lightbox scripts are called on a page
the pop out menu behaves strangely:

- In IE7 it won't close once opened.
- In FF 3 it won't reopen after it has opened and closed once.

an example of this can be seen on this page - http://www.brownsteel.com.au/projects_current.htm

I feel that it is some sort of conflict as when i comment out the lightbox scripts the menu works fine in both browsers listed.

Any Ideas?

Thanks
lance Craig

Recommended Answers

All 3 Replies

http://brownsteel.com.au/

I have an issue that whenever the lightbox scripts are called on a page
the pop out menu behaves strangely:

- In IE7 it won't close once opened.
- In FF 3 it won't reopen after it has opened and closed once.

an example of this can be seen on this page - http://www.brownsteel.com.au/projects_current.htm

I feel that it is some sort of conflict as when i comment out the lightbox scripts the menu works fine in both browsers listed.

Any Ideas?

Thanks
lance Craig

************************
Hi!
I am experiencing right now the same problem while building a new website. I made pop menus with Fireworks, exported them and then added the 3 scripts for the lightbox (version2). The lightbox works but makes a conflict with my pop up menu. when i remove the 3 scripts my menus work again but not the lightbox.
Have you maybe solved the problem since then? If so i would be grateful for some advice as i dont want to give up my menus....

Thanks
nathalie

The creators of programs such as these expect their programs to be used alone.

Are the scripts in the body? If so only one of them will run when the page opens.

Another possibility is that they share a common variable name. If one script sets a global variable for one purpose, and then another one sets the same variable for a different purpose, the two scripts will have an unwanted interaction.

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.