Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying the contents of the popups. #5

Open
pedrofurla opened this issue Aug 5, 2010 · 4 comments
Open

Copying the contents of the popups. #5

pedrofurla opened this issue Aug 5, 2010 · 4 comments

Comments

@pedrofurla
Copy link

It would be nice to be able to copy the contents of the popups.

I see two solutions to this:

  • Wait sometime before hiding the popup. If the mouse is over the popup it wouldn't be hidden.
  • A invisible div between the hovered element and the popup. The mouse over the element, the said div or the popup wouldn't let the popup be hidden.

I made the Scaladoc's popups and I would be able to help with JS issues. Don't hesitate contacting me.

@harrah
Copy link
Owner

harrah commented Aug 5, 2010

Just fyi, I put very little time into sxr and when I do, it goes into the backend. I'm personally concerned with the correctness of the output (and there is a lot that is not correct) and not so much the appearance. Improvements to the user interface have been contributed almost entirely by others. So, please hack away!

@rorygraves
Copy link
Contributor

@harrah It would be possible (and possibly quite nice to get this working) - I think with qtip2 and zeroclipboard it is possible to make this function (and updating qtip2 fixed the 2 earlier open issues). Would you be happy to use something like this? (it uses a flash trick to make copy work - this is how github do it as well).

@harrah
Copy link
Owner

harrah commented Jan 3, 2014

If it is strictly an improvement, sure! If there are tradeoffs (such as decreased usability for people with flash disabled or something), maybe describe them first.

@rorygraves
Copy link
Contributor

I will need to do some experimenting/testing - I'm far from an expert of the front end stuff. Upgrading to jquery/qtip2 would be a prerequisite anyway so I will get that working and generate a PR for that on its own then experiment with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants