Opened 11 years ago

Closed 6 years ago

#430 closed bug (fixed)

Multiple Popup in Volunteers board

Reported by: feuerdaemon Owned by:
Priority: trivial Milestone: Legacy Resolved
Component: BW General Keywords:
Cc:

Description

In the Volunteer Dashboard is the function to view a "popup" for every VolunteerTracWikiChanges?, etc.. It's done via a mouseover java script to hide/show a div container. I figured out, that the popups didn't minimize if you move the mouse out while the popup is enlarging, cause the javascript miss that "mouseout" action in that case.

{...}
<h3>Latest work tasks:</h3>
<br/>
<p>
<a onmouseover="RollIt.showPopup('1')" onmouseout="RollIt.hidePopup('1')" target="blank" href="http://www.bevolunteer.org/trac/ticket/407">#407: Translating the newsletter #7 in french (TEST)</a>
</p>
<div id="1" onmouseover="RollIt.showPopup('1')" onmouseout="RollIt.hidePopup('1')" style="">
<p> From that link : fjfjfjffjfj you can translate the last newsletter in french. </p>
<p> If you don't have access to the tool or have any problem, please contact jejejeej. </p>
<p> If you assume the task, please assign it to yourself and close it once you've achieved it (and only then!). For more details see djdjdhssh </p>
</div>
{...}

Therefor it's possible to open multiple Popups on the Page. (Maybe call it feature - but reading the code it seems like a bug).

-> A quick solution should be to call all funktion which close all (open) popups on the page ( for each (popup_on_page) - popup_on_page.close ) and then open the specified popup from the actual Popup. (I know, thats quick but dirty)

Attachments (1)

multiple Popup in volunteer page.png (35.8 KB) - added by feuerdaemon 11 years ago.
Multiple Popup in Volunteer Board

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by feuerdaemon

Multiple Popup in Volunteer Board

comment:1 Changed 11 years ago by feuerdaemon

  • follow_up changed from review code to test
  • version changed from alpha to production

I set down the timeout to 0 and the duration time to 0.1 to get a better reaction from the browser. Now the page react a bit nervous/tippy when you move the mouse over the page. I will see, if I can digg a bit intto the java and make a better result. Any suggestions, how to the Popups should react? How much delay or no delay for the mouseover effect? You can still test on http://test.bewelcome.org/volunteer

comment:2 Changed 11 years ago by micha

actually there's far better javascript available to produce the wanted effect. Usually you call this an "accordion" and find severel scripts out in the web. I would favor the current prototype/scriptaculous solution as we already rely on that framework:

http://www.stickmanlabs.com/accordion/

Best one out there it seems. Easy to implement.

comment:3 Changed 11 years ago by feuerdaemon

  • Milestone changed from unassigned to Bugs - not sheduled

comment:4 Changed 11 years ago by philipp

  • Milestone changed from Bugs - not sheduled to unassigned

Milestone Bugs - not sheduled deleted

comment:5 Changed 10 years ago by philipp

  • follow_up changed from test to none
  • Priority changed from major to trivial

comment:6 Changed 6 years ago by TimLoal

  • Milestone changed from Future to Legacy Resolved
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.