Mat,
 Is there anyway to determine the correct position of popup?
The problem is on hover a small popup is shown but it does not consider the 
dynamic position to stay in view (e.g, when the link is close to one edge 
of window)

Mohammad

On Saturday, September 8, 2018 at 3:51:52 AM UTC+4:30, Mat wrote:
>
> Surya wrote:
>
>>
>> Does anybody from youknow, how I can make it, that the preview-popup 
>> closes when I move the mouse away from an internal link (without clicking 
>> anywhere)? (the plugin from 
>> http://tobibeer.github.io/tw5-plugins/#preview)
>>
>
>
> You can use this basic idea for a pure css "show when hovering" popup.
>
> <div class="hover-to-show">
>    [[visible link]]
>    <span class="hover-to-show-inner">
>       content in popup
>    </span>
> </div>
>
> <style>
> .hover-to-show-inner {
>   display:none;
> }
>
>  .hover-to-show:hover .hover-to-show-inner {
>   position:absolute;
>   display:block;
>   width:150%;
>   margin-left:-155%; margin-top:-1.5em;
>   background:white;
>   border:1px solid silver;
>   border-radius:4px;
>   /* ...etc... */
>  }
> </style>
>
> <:-)
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78959361-a517-4fb0-8dfe-33300226642e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to