Welcome, Guest
Please Login or Register.    Lost Password?

The box on mouse hover is out of view
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: The box on mouse hover is out of view
#1051
The box on mouse hover is out of view 2 Years ago Karma: 1
We have changed themes to a pre-built theme we like. Now we're having trouble when someone wants to see who's reserved a seat, the box that shows up when you hover the mouse on a taken seat is way off. It's probably about 200-250px off to the left and 150px downwards.

Very annoying since we'd like the box to appear near the mouse.

Does anyone know what this is called in a CSS file? I can't find anything related to this, so I can change the offset.
olahaldor
olahaldor
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1052
Re: The box on mouse hover is out of view 2 Years ago Karma: 9
Are you on com_mls_seatmap 2.0.1? You can check out line 99 in mls_seatmap.html.php and see if you can change it there. You can see I set it to "BELOW" and "RIGHT", to appear below the cursor on the right. Then you can start playing around with different settings overlib doc
moensch
moensch
Administrator
Posts: 678
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1060
Re:The box on mouse hover is out of view 2 Years ago Karma: 1
Thanks for the tip. However, I didn't find what you were talking about on line 90 - but line 66..

It is

Code:

$event = $room->elements[$key]["is_seat"] ? " onmouseover=\"return overlib('".@$room->elements[$key]["popup"]."', BELOW, RIGHT);\" onmouseout=\"return nd();\"" : "";


No matter what I change BELOW and RIGHT to, it doesn't affect anything. I tried using the OFFSETX and OFFSETY with no luck.
olahaldor
olahaldor
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1061
Re:The box on mouse hover is out of view 2 Years ago Karma: 9
So you're not on the latest version. Upgrade to com_mls_events 2.0.1 first.

You can just uninstall the seatmap component and install the new one. It should preserve all your data (obviously, it is always good practice to make a backup first).
moensch
moensch
Administrator
Posts: 678
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1075
Re:The box on mouse hover is out of view 1 Year, 12 Months ago Karma: 0
This worked out for me

Row 100

$link_start_format = '<a href="?option='.$option.'&amp;Itemid='.$Itemid.'&amp;task=seat_details&amp;seatid=%s" onmouseover="return overlib(\'%s\', OFFSETX, -450, OFFSETY, -200);" onmouseout="return nd();">';
VentureSWE
VentureSWE
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1096
Re:The box on mouse hover is out of view 1 Year, 11 Months ago Karma: 1
Allright. Super. That fixed it.
olahaldor
olahaldor
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: moensch