Hallo everyone

I've searched around and couldn't find a solution for this one:

I keep my blog at http://thetwilightkid.tiddlyspot.com/
It's default view is a number of tiddlers (''posts''), arranged
chronologically.
Each of them contains one, or more, embedded media players (wmp,
flash, real), under a nested slider tipped
''open / close player'', which, by the way, I hope you'll enjoy
listening to.

The problem:

if a visitor opens a player at the bottom of the page and then decides
to open another one at the top, he/she'll have to scroll the entire
document up and down looking for the first player, in order to close
it, so as to avoid listening to nonsense produced by both players
being open at the same time.

SinglePageModePlugin would not be an option in my case, as I'm
interested in having all tiddlers open at all times, so that a user
could listen to a stream while reading the other posts at the same
time.

The Question:

Is it possible to send tiddler content from the main page - display
area (ie from each post) directly to the MainMenu Bar?

To be more specific:

can you get the tiddler content under the nested slider button (open/
close player) to open in a fixed area in the MainMenu Bar?

or, having created separate  tiddlers with media players in them, is
it possible to have tiddly-links to them (inside the ''posts''
tiddlers), that would open to a fixed target area placed in the
MainMenu Bar?

That area would then act as a ''universal'' media player area - a sort
of a widget, so to speak, inside which one stream would be open at a
time, according to the visitors selection from the posts area.

I've setup a test page trying to demonstrate what I'm talking about at

http://thetwilightkid.r.tiddlyspot.com/ (password: 12345),

where an iframe, named and id'd ''PlayerTarget''  is inserted into a
tiddler with the same name.
(instructions: http://twhelp.tiddlyspot.com/#TargetIframe).

The PlayerTarget tiddler is then inserted into the MainMenu by adding
the line

<span id='PlayerTarget' refresh='content' tiddler='PlayerTarget'></
span>

into the MainMenu section of the PageTemplate.

The MainMenu is then set as fixed by adding the line

position:fixed !important;

in the appropriate section of the StyleSheet so it ''floats'' along
with the  the page and is always visible.

That way you can get players to open in the display area, by setting
links to them to open in the target frame, provided the media players
are embeded in pages hosted outside the tiddlywiki file.
(see the links play Kendra Smith_external and play Sofia
Zerva_external in the  ''PlayerTest'' tiddler).

And that is of course a major problem: it undermines the tiddlywiki
autonomy and simplicity  I fell in love with in the first place, as
one has to exit the tw environment and is in need of external
applications (html editors) to set up and format separate web pages
that look ok in the main tiddlywiki page (fonts, colors etc) and
external hosting services to host these pages, which may or may not
always work and so on.

Plus: the iframe approach has problems of it's own if the tw contains
other iframes, as mine does:
the player pages will sometimes open in another Firefox tab and not in
the target area and the iframes will quite often open the wrong
startup page, and not the one they're set to, both for no apparent (or
at least not apparent to me), reason.

Besides, as I found out having already written the previous paragraph,
this approach doesn't really work if you need nested sliders in your
mainmenu. You can get the target area to display media players hosted
outside the tiddlywiki file. But you can't use the mainmenu nested
sliders (Timeline, Music and Resources in my case) cause each time you
do the media player page in the target frame gets refreshed and
everyone gets to listen track 1 of each stream. For ever. I've set the
target frame at a very low height to show just that.

Setting links to the desired tiddler content using the each tiddlers
permalink
( see the links play Kendra Smith_permalink and play Sofia
Zerva_permalink in the Player Test tiddler) doesn't really work either
cause it opens the entire tw page and not the specific content in the
target area, rendering it unusable. Plus the permalink approach only
allows you to open one permalink per session (if you open one, none of
the others will open in the same session).

So the whole problem would be how to get the Player Test tiddler links

Kendra Smith

Sofia Zerva

or the buttons

open / close Kendra Smith player

open / close Sofia Zerva player

to open in the PlayerTarget tiddler / iframe that's embedded in the
MainMenu Bar
or, possibly, in some other, non iframe dependent, display area that
would be fixed into the MainMenu Bar.

Really sorry this had to be this long.

And since this is my first post in the group, thank you all for all
the advice I took from it over the last couple of years. Being in
total ignorance of javascript (or any other  coding or scripting
language for that matter) this group's been a treasure vault for the
tw world.

Thanks

sklpns


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to