Re: Chrome Beta 5 is nice

2010-07-02 Thread Kralik
And now I must say... Chrome 6 is even nicer. =D

LOVING the JavaScript performance wars...

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



[tw] Howto -- control line breaks in bracketed transclusions.

2010-07-02 Thread Alex Hough
Hello there,

I have tiddlers with transclusions generated from FormTemplate and
DataPlugin.
Typically a tiddler would have text like this:

To what extent do you understand the potential conflicts that could
occur between your unit (‘LlanRylwys station’) and its peer units
(’Engine Department’) and does your unit (‘LlanRylwys station’) have
ways of addressing these?

Now it may be difficult to see what is happening thanks to Google
Groups’ line breaks but what I *don't* want to happen is the the
bracketed term -- e.g. (‘LlanRylwys station’) in the second instance
it occurs -- to be broken up. It like it to read all on the same line
if there is not enough space at the end of the line on which it
starts.

Is there a solution for this?

Thanks in advance

yours

Alex

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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.



Re: [tw] Howto -- control line breaks in bracketed transclusions.

2010-07-02 Thread FND

what I *don't* want to happen is the the bracketed term [...] to be
broken up. It like it to read all on the same line


I'm not sure I fully understand your issue, but if you use a 
non-breaking instead of a regular space, the browser will not insert a 
line break at that point:

lorem ipsum foo bar dolor sit amet
vs.
lorem ipsum foonbsp;bar dolor sit amet


-- F.

--
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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: Howto -- control line breaks in bracketed transclusions.

2010-07-02 Thread Alex Hough
I see that can be a solution, thank you.
Now i can see that the real problem lies in the fact that the spaces
are generated by the user in a form via Udo's FormTempate.

Therefore I would have a fuction that goes something like this: find
all spaces, replace with nbsp;

Currently the transculusion is writen using a script like this:

script
var out=DataTiddler.getData(Customising the
Questionnaire,YourManager);
if (out.length0){
q1=' (‘';
q2='’)';
}
else {
q1='';
q2='';
}
return //your manager// ' +  q1 +out + q2
/script

It gets the form value if there is one, wraps it in quotes and
brackets and adds a default text in italics.

So we need to do something with variable out before we wrap it --
find space and replace.
Alas, the solutuion i find involes Reg Exp [1] - something outside my
skill set right now




Alex
[1] http://www.w3schools.com/jsref/jsref_replace.asp

On Jul 2, 9:55 am, FND f...@gmx.net wrote:
  what I *don't* want to happen is the the bracketed term [...] to be
  broken up. It like it to read all on the same line

 I'm not sure I fully understand your issue, but if you use a
 non-breaking instead of a regular space, the browser will not insert a
 line break at that point:
      lorem ipsum foo bar dolor sit amet
      vs.
      lorem ipsum foonbsp;bar dolor sit amet

 -- F.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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.



Re: [tw] Re: Howto -- control line breaks in bracketed transclusions.

2010-07-02 Thread FND
So we need to do something with variable out before we wrap it -- 
find space and replace. Alas, the solutuion i find involes Reg Exp


Try this:
out = out.replace(/ /g, nbsp;);
(the trailing g means global, i.e. repeat after the first match)


-- F.

--
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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.



Re: [tw] Re: Howto -- control line breaks in bracketed transclusions.

2010-07-02 Thread FND

For the record, there's probably a more elegant solution using CSS:
span style=white-space: nowrapfoo bar baz/span

Should be universally supported too:
http://www.webdevout.net/browser-support-css#support-css2propsbasic-whitespace


-- F.

--
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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] Missing Table Features

2010-07-02 Thread Doug Denby
Here is the text for a table:

Publishers of the works of Edgar Rice Burroughs
|sortable|k
| autosort Title |  Link | Code |h
|Bison Books |BisonBooks | Bis |
|~McFarland  Company, Inc. |McFarland | ~McF |
| Munsey (Frank A.) Company |MunseyCo | Mun |
|Townsend Press |TownsendPress | Twn |

When it displays for me, the right edge line and the bottom edge line are 
missing. So is the line between the 2nd and 3rd row. Can someone explain why 
this is happening?

Doug

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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] SetTiddlerBackground with Web url and 2 more ?s

2010-07-02 Thread Måns
Hi TwWizards

I am using Eric's SetTiddlerBackground 
http://www.tiddlytools.com/#SetTiddlerBackground
for adding background images to individual tiddlers based on a custom
field image...

Looks like this in the [[ViewTemplate]] span macro='tiddler
BackgroundColours with: {{store.getValue(tiddler,billede)}}'
style='display:none'/span
and in the [[BackgroundColours]] tiddler: tiddler
SetTiddlerBackground with: url($1) - image

In the EditTemplate I choose images from list of images already used
in other tiddlers made available by Eric's ListBoxPlugin
http://www.tiddlytools.com/#ListboxPlugin - like this:
span class='editor' macro='select imagee rows:1 width:12em
*ImagesInUse image allowBlank allowOther'/span
Tiddler [[ImagesInUse]] uses ForEachTiddlerPlugin from Abego Software
http://tiddlywiki.abego-software.de/#ForEachTiddlerPlugin
to produce the list:
forEachTiddler
where
   'tiddler.tags.contains(slide)  tiddler.fields[image]'
sortBy
   'tiddler.fields.image.toUpperCase()'
write '+store.getValue(tiddler,image)+\n[img(3em+,)
[+store.getValue(tiddler,title)+|+store.getValue(tiddler,image)
+][+tiddler.title+]] used in +tiddler.title+\n\n'
none '// \//'


This is works well - except for three minor obstacles:
1) I'm only allowed to use images, which are on the same server as the
TW - It needs local links /directory/images/image.png
Can I override this with imagePathPlugin 
http://www.tiddlytools.com/#ImagePathPlugin-
or is there some other way around this?
2) I can't find any way to adjust imagesize to fit the size of the
tiddler - I know I could write it into the StyleSheet tiddler - but
then I loose the dynamic advantage of beeing able to set the
background image on the fly.. based on a custom field
3) My fet produced hr-separated list delivers two lines and a line.
The second line is supposed to provide a tooltip for the selection
(first line) - However I don't get anything from the second line - how
come?

Regards 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 tiddlyw...@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: Missing Table Features

2010-07-02 Thread Måns
Hi Doug

 When it displays for me, the right edge line and the bottom edge line are 
 missing. So is the line between the 2nd and 3rd row. Can someone explain why 
 this is happening?

I have just tested your table - and it renders fine for me:
http://maans.bplaced.net/TiddlyHome/HU/#tabelCheck.

When I copied your table there was white space to the left of the
right cellborders - maybe that was just Google wrapping? - However
whitespace isn't allowed - you'll need linebreaks at the end of each
colonne...

If this isn't the problem - it must be a CSS-problem - check your
StyleSheet and see what it tells you about tables.. I havn't got
anything regarding tables myself - but I've added/transcluded Eric's
StyleSheetShortCuts ( http://www.tiddlytools.com/#StyleSheetShortcuts
) in my StyleSheet tiddler  - maybe it's doing something to the tables
- don't know really..

regards 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 tiddlyw...@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: Missing Table Features

2010-07-02 Thread Måns
typo
 When I copied your table there was white space to the left of the right 
 cellborders -
Should have been to the right of the right cellborders - sorry
 regards 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 tiddlyw...@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] Using wasted space for extra links and macros

2010-07-02 Thread colinoldncranky
 As I have use TiddlersBarPlugin to give me a tabbe interface then,
for most tiddler, the subtitle line is always on screen.

After adding lots of extra functions to various places so they are
readily available, it occurred to me that the SubTitle is a really
convenient spot that does no involve waste space. Particularly
attractive as I run my wikis off a USB on various machines including
small-screen netbooks.

So now I now simply place them into the Site subtitle. Things there
are therefore really easy to get to. I don't know why it didn't think
of it before.

I'll just show you what is in my SiteSubtitle tidler.

==MOST OF MY WIKI==

PCAdmin toggleSideBar toolbar jump @@[[Start|``StartHere]]@@
@@[[TagglyTop|``TagglyTop]]@@ @@[[TWTut|DocumentationHowTo
\TiddlyWikiTutorial.html]]@@
*ToggleSidebar which allows me to push the right hand lists aside.
(This does the job of ToggleRightSidebar which I can't get to work - I
suspect that it doesn't work on version 3 engine.
*Tiddly wiki subtitled PCAdmin. It shows Toolbar jump (drop down
list of open tiddlers)
*Link to a tiddler named StartHere. The doubles @'s highlight it
in yellow
*Link to TagglyTop, my top most menu. Again highlighted in yellow.
*Link to one of the TIddlyWiki tutorial wikis for easy reference.
Highlighted

===MGTD===

As well, in my MGTD, I put the main reports and a couple of top-level
projects that never get completed, plus a few reference tiddlers.

In my MGTD the Title and Subtitle does not show at the top. So find
the tiddler MgtdConf, and add these things instead to the line
config.mgtdVersion = 3.0 alpha r9577 the macro command so it becomes
config.mgtdVersion = 3.0 alpha r9577 ; and then save, exit and
reload. The arrow thingy will be at the top again.


Maybe some others will find it useful. ciao.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@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.