[TW5] Responsive modal

89 views
Skip to first unread message

magev958

unread,
Jun 23, 2016, 7:49:33 AM6/23/16
to TiddlyWiki
Hi, I have been trying to build a more responsive lightbox than the built-in tm-modal. I copied the code from http://www.designcouch.com/home/why/2013/11/01/responsive-css3-lightbox-with-no-javascript/ and it works, sort of. It use <a href> as opening link which opens the non-exiting tiddler "goofy". It is close to vaccation-time for me so my brain has stopped working now :)
I'd like help adopt the code to work in TW


/Magnus

Jeremy Ruston

unread,
Jun 23, 2016, 7:58:48 AM6/23/16
to tiddl...@googlegroups.com
Hi Magnus

I’m afraid that the problem is that the CSS lightbox relies on setting the location hash of the url (the part after the #), and that clashes with TiddlyWiki’s use of the location hash to open tiddlers. Sadly, I don’t see an easy way around the issue.

Best wishes

Jeremy



--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/69dc4fce-c877-4f0d-bb25-bcebc23701f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

magev958

unread,
Jun 23, 2016, 8:08:36 AM6/23/16
to TiddlyWiki
Ok, thanks for the quick reply. Then I know that I do not need to spend so much time on the problem :)
Reply all
Reply to author
Forward
0 new messages