phplayers horiz menu breaks overlib popups like userlink
- Status
- Closed
- Subject
- phplayers horiz menu breaks overlib popups like userlink
- Version
- 1.9.x
- Category
- Error
- Feature
- Menu
Theme: Look & feel, Styles, CSS, Theme Control Center - Resolution status
- Wont Fix
- Submitted by
- Nelson Ko
- Volunteered to solve
- Nelson Ko
- Rating
- Description
When you rollover any of the phplayers horiz menu, causing the menu to popup, and then subsequently try to use an overlib, e.g. the userlink popup that appears when you rollover the name of a user, the overlib will fail with javascript error "windowWidth is not a function".
The reason is because phplayers layersmenu.js (or if you have copied its contents into another file like layersmeny-header.ijs) defines windowWidth as it works, destroying the overlib function.
- Solution
The reason is because phplayers layersmenu.js (or if you have copied its contents into another file like layersmeny-header.ijs) defines windowWidth as it works, destroying the overlib function.
Possible solution is to rename windowWidth variable in phplayers whereever it is used to avoid conflict.
-- update: I think the best solution is to change all windowWidth references and calls in overLIB to olWindowWidth. However, this is a case of 2 external libraries clashing with each other. I have written to the author of overLIB to suggest he include this change in his next version. Keep watch for it.
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 928
- Created
- Friday 03 November, 2006 07:56:47 UTC
by Unknown - LastModif
- Tuesday 12 June, 2007 18:47:42 UTC