[tw] Re: sticky popup / show popup plugin

2012-04-27 Thread skye riquelme
Hi Wim

The essence of the system is -

*the clickable lists that you see are created using a javascript
search (using store.getTaggedTiddlers) and then outputing in the
format script label=+tiddler.title
+localStorage.select=tiddler.title;config.refreshers.content(document.getElementById(explainMenu));/
script - (see EtiquetaMenu for the exact code) - this makes the
clickabe link and when clicked sets the condition parameter (I use
localStorage...but config.options would also work) and refreshes the
appropriate panel (defined with DIV named explainMenu in the Page
Template).

* the explainMenu has a code which simply transcludes what it is
displaying depending on the condition parameter.. something like -
wikify {{'[['+localStorage.explica+']] : tiddler
[['+localStorage.etiqueta+']]'+''}} - which shows the text in the
tiddler that was clicked above..here I am displaying the
text...you could equally have the explanation as a Slice ou Section
and change the code appropriately to select that part

And the rest is just playing around in StyleSheet to get the panels
(created in PageTemplate) to position and appear as you want.

Hope that helps, Have fun.
Skye


On 26 abr, 03:22, Wim w...@zeggetwaalf.be wrote:
 Hi Skye,

 thanks for your answer.  It gives me a possible solution for my
 problem.
 I will have a further look on the source code to see how you did it.

 Wim

 On 26 apr, 00:36, skye riquelme riquelme.s...@gmail.com wrote:







  Hi Wim

  I actually responded to this thread a few days ago...but my response
  didnt show upthanks Google

  Anyway, your question actually resolved a small challenge I had so
  I made a TW for my needs, that does show a little of what could be an
  answer for you...MAYBE.

  Its here in my site 
  -http://www.unigaia-brasil.org/Cursos/tagsGerador/index.html
  - the content is in portuguesbut you should be able to see how it
  works - for example click on the icon that looks like list...its a
  List! and select say Economia the left side panel will show
  the sub-items of the topic Economiaif you click on one of those
  subItems...note that the right panel now shows the sub-sub-items, AND
  in the heading at the top right a bit o text appears..the
  explanation for the sub-item you just clicked. If you click on a
  sub-sub-item in the right panel...the heading text will also
  change !!!

  Note that I have not put the explanation into a popup panel.rather
  it appears in a fixed position panel that hovers over the right side
  of the topHeading panel. this hovering panel has a transparent
  background. but text is set to black so it shows up when there
  is something to show up!!!

  This doesnt use any special plugins. the panels are defined and
  positioned in PageTemplate and StyleSheet. while the making of
  lists and text appearing in different locations is all done with some
  simple bits of javascript.

  I still have to clean up a few details in this TW...but I hope you get
  the idea...and its useful.

  Hope that helps a little.

  Skye

  On 24 abr, 03:02, Wim w...@zeggetwaalf.be wrote:

   Hi Måns,

   thanks for your answer, but that's not really what I want.

   I tried to change the ShowPopupPlugin like    ... Popup.show(1,1,{x:
   650,y:400});

   This shows the popup on another place on the screen, BUT relative to
   the link.   I want to have the popup on a fixed place (like it is
   possible with the ScrollBox - plugin) i.e. given x, y, w, h

   Or can ScrollBox could be combined with ShopPopup?

   Wim

   On 23 apr, 17:19, Måns humam...@gmail.com wrote:

HiWim

 Is it possible to put a sticky popup-box (tiddler) on a particular
 place on the screen?  Like you can do with ScrollboxPlugin?

 I want to have 2 boxes on my screen; on the left side a scrollbox
 with keywords (OK, I can do that...) and on the right side a
 popupbox with the explanation of the keyword a users has clicked on.
 The explanation-box should stay on the same place.  And should
 display another explanation when a user chooses another keyword.

 But with ShowpopupPlugin, it is only possible to choose above or
 not.

 Or is there another solution?  Like filling a ScrollBox with the
 tiddler of the choosen keyword.

 LIKE: if there's a keyword Tiddlywiki in my left box, with a link to
 the tiddler named Beginners, clicking on that link should display
 the tiddler Beginners in my right Scrollbox.

You can have a scrolling tabs effect in the sidebartabs tiddler with
Tobias' tabscroll macro:http://tobibeer.tiddlyspace.com/#TabScroll

It has been setup to work only with the sidebarTabs div - maybe we
could convice Tobias to make it more generic??

Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To 

[tw] Re: sticky popup / show popup plugin

2012-04-26 Thread Wim
Hi Skye,

thanks for your answer.  It gives me a possible solution for my
problem.
I will have a further look on the source code to see how you did it.

Wim

On 26 apr, 00:36, skye riquelme riquelme.s...@gmail.com wrote:
 Hi Wim

 I actually responded to this thread a few days ago...but my response
 didnt show upthanks Google

 Anyway, your question actually resolved a small challenge I had so
 I made a TW for my needs, that does show a little of what could be an
 answer for you...MAYBE.

 Its here in my site 
 -http://www.unigaia-brasil.org/Cursos/tagsGerador/index.html
 - the content is in portuguesbut you should be able to see how it
 works - for example click on the icon that looks like list...its a
 List! and select say Economia the left side panel will show
 the sub-items of the topic Economiaif you click on one of those
 subItems...note that the right panel now shows the sub-sub-items, AND
 in the heading at the top right a bit o text appears..the
 explanation for the sub-item you just clicked. If you click on a
 sub-sub-item in the right panel...the heading text will also
 change !!!

 Note that I have not put the explanation into a popup panel.rather
 it appears in a fixed position panel that hovers over the right side
 of the topHeading panel. this hovering panel has a transparent
 background. but text is set to black so it shows up when there
 is something to show up!!!

 This doesnt use any special plugins. the panels are defined and
 positioned in PageTemplate and StyleSheet. while the making of
 lists and text appearing in different locations is all done with some
 simple bits of javascript.

 I still have to clean up a few details in this TW...but I hope you get
 the idea...and its useful.

 Hope that helps a little.

 Skye

 On 24 abr, 03:02, Wim w...@zeggetwaalf.be wrote:







  Hi Måns,

  thanks for your answer, but that's not really what I want.

  I tried to change the ShowPopupPlugin like    ... Popup.show(1,1,{x:
  650,y:400});

  This shows the popup on another place on the screen, BUT relative to
  the link.   I want to have the popup on a fixed place (like it is
  possible with the ScrollBox - plugin) i.e. given x, y, w, h

  Or can ScrollBox could be combined with ShopPopup?

  Wim

  On 23 apr, 17:19, Måns humam...@gmail.com wrote:

   HiWim

Is it possible to put a sticky popup-box (tiddler) on a particular
place on the screen?  Like you can do with ScrollboxPlugin?

I want to have 2 boxes on my screen; on the left side a scrollbox
with keywords (OK, I can do that...) and on the right side a
popupbox with the explanation of the keyword a users has clicked on.
The explanation-box should stay on the same place.  And should
display another explanation when a user chooses another keyword.

But with ShowpopupPlugin, it is only possible to choose above or
not.

Or is there another solution?  Like filling a ScrollBox with the
tiddler of the choosen keyword.

LIKE: if there's a keyword Tiddlywiki in my left box, with a link to
the tiddler named Beginners, clicking on that link should display
the tiddler Beginners in my right Scrollbox.

   You can have a scrolling tabs effect in the sidebartabs tiddler with
   Tobias' tabscroll macro:http://tobibeer.tiddlyspace.com/#TabScroll

   It has been setup to work only with the sidebarTabs div - maybe we
   could convice Tobias to make it more generic??

   Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: sticky popup / show popup plugin

2012-04-25 Thread skye riquelme
Hi Wim

I actually responded to this thread a few days ago...but my response
didnt show upthanks Google

Anyway, your question actually resolved a small challenge I had so
I made a TW for my needs, that does show a little of what could be an
answer for you...MAYBE.

Its here in my site - 
http://www.unigaia-brasil.org/Cursos/tagsGerador/index.html
- the content is in portuguesbut you should be able to see how it
works - for example click on the icon that looks like list...its a
List! and select say Economia the left side panel will show
the sub-items of the topic Economiaif you click on one of those
subItems...note that the right panel now shows the sub-sub-items, AND
in the heading at the top right a bit o text appears..the
explanation for the sub-item you just clicked. If you click on a
sub-sub-item in the right panel...the heading text will also
change !!!

Note that I have not put the explanation into a popup panel.rather
it appears in a fixed position panel that hovers over the right side
of the topHeading panel. this hovering panel has a transparent
background. but text is set to black so it shows up when there
is something to show up!!!

This doesnt use any special plugins. the panels are defined and
positioned in PageTemplate and StyleSheet. while the making of
lists and text appearing in different locations is all done with some
simple bits of javascript.

I still have to clean up a few details in this TW...but I hope you get
the idea...and its useful.

Hope that helps a little.

Skye

On 24 abr, 03:02, Wim w...@zeggetwaalf.be wrote:
 Hi Måns,

 thanks for your answer, but that's not really what I want.

 I tried to change the ShowPopupPlugin like    ... Popup.show(1,1,{x:
 650,y:400});

 This shows the popup on another place on the screen, BUT relative to
 the link.   I want to have the popup on a fixed place (like it is
 possible with the ScrollBox - plugin) i.e. given x, y, w, h

 Or can ScrollBox could be combined with ShopPopup?

 Wim

 On 23 apr, 17:19, Måns humam...@gmail.com wrote:







  HiWim

   Is it possible to put a sticky popup-box (tiddler) on a particular
   place on the screen?  Like you can do with ScrollboxPlugin?

   I want to have 2 boxes on my screen; on the left side a scrollbox
   with keywords (OK, I can do that...) and on the right side a
   popupbox with the explanation of the keyword a users has clicked on.
   The explanation-box should stay on the same place.  And should
   display another explanation when a user chooses another keyword.

   But with ShowpopupPlugin, it is only possible to choose above or
   not.

   Or is there another solution?  Like filling a ScrollBox with the
   tiddler of the choosen keyword.

   LIKE: if there's a keyword Tiddlywiki in my left box, with a link to
   the tiddler named Beginners, clicking on that link should display
   the tiddler Beginners in my right Scrollbox.

  You can have a scrolling tabs effect in the sidebartabs tiddler with
  Tobias' tabscroll macro:http://tobibeer.tiddlyspace.com/#TabScroll

  It has been setup to work only with the sidebarTabs div - maybe we
  could convice Tobias to make it more generic??

  Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: sticky popup / show popup plugin

2012-04-24 Thread Wim
Hi Måns,

thanks for your answer, but that's not really what I want.

I tried to change the ShowPopupPlugin like... Popup.show(1,1,{x:
650,y:400});

This shows the popup on another place on the screen, BUT relative to
the link.   I want to have the popup on a fixed place (like it is
possible with the ScrollBox - plugin) i.e. given x, y, w, h

Or can ScrollBox could be combined with ShopPopup?

Wim

On 23 apr, 17:19, Måns humam...@gmail.com wrote:
 HiWim









  Is it possible to put a sticky popup-box (tiddler) on a particular
  place on the screen?  Like you can do with ScrollboxPlugin?

  I want to have 2 boxes on my screen; on the left side a scrollbox
  with keywords (OK, I can do that...) and on the right side a
  popupbox with the explanation of the keyword a users has clicked on.
  The explanation-box should stay on the same place.  And should
  display another explanation when a user chooses another keyword.

  But with ShowpopupPlugin, it is only possible to choose above or
  not.

  Or is there another solution?  Like filling a ScrollBox with the
  tiddler of the choosen keyword.

  LIKE: if there's a keyword Tiddlywiki in my left box, with a link to
  the tiddler named Beginners, clicking on that link should display
  the tiddler Beginners in my right Scrollbox.

 You can have a scrolling tabs effect in the sidebartabs tiddler with
 Tobias' tabscroll macro:http://tobibeer.tiddlyspace.com/#TabScroll

 It has been setup to work only with the sidebarTabs div - maybe we
 could convice Tobias to make it more generic??

 Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: sticky popup / show popup plugin

2012-04-23 Thread Måns
Hi Wim

 Is it possible to put a sticky popup-box (tiddler) on a particular
 place on the screen?  Like you can do with ScrollboxPlugin?

 I want to have 2 boxes on my screen; on the left side a scrollbox
 with keywords (OK, I can do that...) and on the right side a
 popupbox with the explanation of the keyword a users has clicked on.
 The explanation-box should stay on the same place.  And should
 display another explanation when a user chooses another keyword.

 But with ShowpopupPlugin, it is only possible to choose above or
 not.

 Or is there another solution?  Like filling a ScrollBox with the
 tiddler of the choosen keyword.

 LIKE: if there's a keyword Tiddlywiki in my left box, with a link to
 the tiddler named Beginners, clicking on that link should display
 the tiddler Beginners in my right Scrollbox.

You can have a scrolling tabs effect in the sidebartabs tiddler with
Tobias' tabscroll macro: http://tobibeer.tiddlyspace.com/#TabScroll

It has been setup to work only with the sidebarTabs div - maybe we
could convice Tobias to make it more generic??

Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.