Re: MonkeyGTD makes Firefox crash

2010-02-12 Thread Marijn Vriens
I've had similar experiences with FF 3.5.? on XP . I worked around it by
using Chrome, now that i've upgraded to FF 3.6.x, the problems have gone
away for me.

Regards,
  Marijn Vriens.

On Thu, Feb 11, 2010 at 12:58 PM, Erik andre.e...@gmail.com wrote:

 Hi all,
 MonkeyGTD 3.1.1 beta crashes when I try to run it with Firefox 3.5.7
 (few plugins) and Windows XP professional.
 Anyone knows what I could do about it?

 I've used mgtd for a little less than a year and the problem started
 when I got a new computer a few months ago (I guess I upgraded Firefox
 then too). Since then Firefox crashes when I try to open my mgtd-file.
 In IE it works, but not good (warnings and errors).

 I've tried: upgrading Firefox, upgrading mgtd (earlier then 3.1.1
 version also crashed), downloading an empty mgtd-file.

 Am I missing something? (It might even be something basic, I'm
 afraid...)

 All hints are much appreciated!

 /Erik

 --
 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.comgtd-tiddlywiki%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/gtd-tiddlywiki?hl=en.



-- 
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.



Re: [tw] TiddlyWiki's save file section

2010-02-12 Thread FND

Strictly development-related issues are better discussed on the dev group:
http://groups.google.com/group/TiddlyWikiDev/
You're more likely to get competent help there.

I believe there was a post somewhere recently that had a demo page 
featuring the save file section of TiddlyWiki.


I believe this is what you're looking for:
http://jquery.tiddlywiki.org

However, that jQuery plugin (which constitutes a large-scale refactoring 
of TiddlyWiki's original functionality) is not currently used in the 
TiddlyWiki core, as there are some backwards compatibility issues 
(character encoding is a pain... ).



Also let me know if there are any good docs or tutorials on this. I
checked out http://tiddlywiki.org/wiki/Dev:SaveChanges but it was a 
little light on details. Ideally there would be a walkthu of the

flow/process involved in backing up a TW to the local filesystem.


I'm afraid there's only the source right now.
Note that the original source comes with more detailed code comments 
than the regular TiddlyWiki distribution:

http://svn.tiddlywiki.org/Trunk/core/js/

Please let us know if you need any further pointers or explanations.


-- 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: Is it possible to directly redirect one tiddler to another?

2010-02-12 Thread PMario
Hi,
I think what you are looking for is PrettyLinks see 
http://tiddlywiki.com/#PrettyLinks
If you type format into the search box, you may find some more
interesting things about formating.

And have a look at http://tiddlywiki.org/wiki/TiddlyWiki_Markup

regards
-m

On Feb 12, 7:37 am, Anubitz lord.anub...@gmail.com wrote:
 I am very new to TiddlyWiki, and my question is simple.

 I have a couple of terms that mean the same thing, and I want them to
 redirect to the same tiddler where I will define the term, without the
 end user seeing a useless (to them) tiddler saying See XX for
 explanation. I just want that second term's tiddler to redirect to
 the first as a shadow tiddler, but I have no idea how to do it.

 Can someone point me in the right direction?

 The project I am working on is a Wiki Encyclopedia for a Fantasy
 writing setting that I am working on. It is to be set up like a
 magical book that contains all knowledge about the setting.

 Thanks,

 Anubitz

-- 
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: Request: Firebug tutorial for TiddlyWiki

2010-02-12 Thread MGT
Shavinder,

Thanks for pointing out the link to Eric's site: 
http://www.tiddlytools.com/insideTW/

Very useful.

Marl

On Feb 11, 11:49 am, shavinder shavinderpalsi...@gmail.com wrote:
 I have used firebug in past some years. Some of the uses are:

 1. to inspect DOM in order to find out what div.class and div.id I
 need to target and manipulate for formatting TW.
 2. to actually try out changing the css attribute values in the live
 DOM before including them in a Styling tiddler.
 3. to inspect DOM in order to find out what divs and their classes do
 what in a TW interface, like what is a displayArea and what is a
 tiddlylinkExisting etc
 4. to run short lines of javascript code from console line just to see
 their effect before actually including them into an inline script
 5. to debug inline script by sending flag values to console.log of
 firebug.

 Besides firebug another tool which is indispensible when it comes to
 any coding in TW is Eric Shulman'shttp://www.tiddlytools.com/insideTW/

 -shavinder

 On Feb 11, 2:26 am, Mark S. throa...@yahoo.com wrote:

  Just thinking out loud. So much of the code that you're likely to want
  to edit is stored in tiddlers as plugins or systemConfig code which
  gets evaluated *after* the core code has loaded. So I don't think you
  can find it in the FireBug code window. Anyway, I wasn't able to use
  FireBug on any of the code I was writing. But maybe there's some
  special technique. I suppose it would be possible to temporarily park
  code in the Markup section so that it would get evaluated like real
  javascript. Then move it to its containing tiddler once its been
  debugged.

  Mostly I've used FB to help me see what styles TW is applying. In the
  code itself I use alerts to let me know where the code is executing,
  and what key variables have been set to. I've found in other
  environments that debuggers often gets in your way more than they
  help.

  Mark

  On Feb 11, 4:09 am, Mike eris...@gmail.com wrote:

   Looking for a TW experts point of view on how to use Firebug with
   TW. . .

   Not sure if anyone has the time or energy to put something together,
   but I think it would be a good contribution to the general knowledge
   base.  This also would be a good resource for people learning how to
   troubleshoot and write their own scripts / macros / plugins.

   Slowly making all of us users into mini experts :P

   Any Thoughts?

   Mike

-- 
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 systemConfig

2010-02-12 Thread skye riquelme
Hi All

I want to have a tiddler with a simple line such as  -
loadTiddlers tag: Update URL quiet norefresh noreport
and the tiddler tagged as systemConfig..thinking that when a
student opens their local TW this tiddler have it read the TW at URL
and upload any tiddlers tagged Update - thus keeping the local TW
synchronized with the mother TW at URL.

But I get an error illegal XML character from the Plugin Manager
when I open the local TW - what do I need to have this tiddler be read
and activated on opening of the TW - (the tiddler is labeled something
lile zzz_Update...so that it gets aactualized last on opening!)

Thanks in Advance

Skye

-- 
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: Format cells in a table

2010-02-12 Thread whatever
Using CSS, you can define classes. Then for the cells that need a
different look, you simply specify the class.
html
style
td {background: yellow;}
td.custom {background: pink;}
/style
table
tbody
tr
tdcell1/td
td class=customcell2/td
tdcell3/td
/tr
/tbody
/table
/html
In this case, the first and the third cell will be yellow and the
second pink.

Or you can directly specify the style for those cells.
html
table
tbody
tr style=background: yellow;
tdcell1/td
td style=background: pink;cell2/td
tdcell3/td
/tr
/tbody
/table
/html
In this example, the whole row will be yellow, except cell2, which
will be pink.

w

On Feb 11, 9:38 pm, AndrewMc newsp...@post.com wrote:
 Thanks for the suggestion. I will try installing and using Firebug.
 However, I am not sure that knowing the actual CSS will help me. If I
 add the CSS to StyleSheet and create a custom style, I can only apply
 that style to the whole table, I believe. What I want to do is affect
 the appearance of just a few cells in a table rather than the whole
 table. While the inline CSS looks confusing, when I apply it to only a
 few cells, it is a manageable confusion. :-)

 Cheers
 Andrew Mc

 On Feb 11, 9:25 pm, Alex Hough r.a.ho...@googlemail.com wrote:

  I'd use Firebug to cut and paste the actual CSS into StyleSheet, then change
  it.
  I think it gets a bit confusing doing it inline.

  Alex

  On 11 February 2010 00:42, AndrewMc newsp...@post.com wrote:

   Hi All

   I wish to modify the appearance of some cells in a table. I want to
   remove some of the borders and change the background colour of some
   cells in the table.

   I can set the background colour but only if I use a hex value for the
   colour. Setting the colour using [[ColorPalette::PrimaryPale]] does
   not work for me. Can I use the [[ColorPalette::]] values to set the
   colour of a table cell?

   !!Change background colour in cells 2-4, and 6-8 (~PrimaryPale =
   #9b9).
   |cell #1|bgcolor(#9b9):cell #2|bgcolor:#9b9;cell #3|background-
   color:#9b9;cell #4|
   |cell #5|bgcolor([[ColorPalette::PrimaryPale]]):cell #6|bgcolor:
   [[ColorPalette::PrimaryPale]]; cell #7|background-color:
   [[ColorPalette::PrimaryPale]]; cell #8|

   I can successfully remove the vertical line between two columns but
   cannot remove the horizontal line between two rows. How can i remove
   the horizontal border between two rows?

   !!Remove vertical line between column 1 and column 2 (Successful).
   |border-right-width:0; cell #1 |border-left-width:0; cell #2 | cell #3
   |
   |border-right-width:0; cell #4 |border-left-width:0; cell #5 | cell #6
   |

   !!Remove horizontal line between row 1 and row 2 (Unsuccessful).
   |border-bottom-width:0; cell #1 |border-bottom-width:0; cell #2 |
   |border-top-width:0; cell #3 |border-top-width:0; cell #4 |
   |cell #5|cell #6|

   I am using MPTW with Firefox 3.5.7 on Windows XP.
   I have also tried the examples above in an empty TW 2.5 and had the
   same results.

   Cheers
   Andrew Mc

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

  --http://www.multiurl.com/g/64

-- 
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: Is it possible to directly redirect one tiddler to another?

2010-02-12 Thread whatever
If you have a lot of such terms, you can save on confusion and dboule
writing by creating a second tiddler, which simply displays the
content of the first tiddler. For example:
You have terms Michael Jackson and Jacko and they both mean the
same thing. You can create a tiddler named Michael Jackson and write
in it whatever you need to. Then you create a second tiddler named
Jacko and in it you put this:
tiddler Michael Jackson##Michael Jackson
So when you go to the Jacko tiddler, you actually see the contents
of the Michael Jackson tiddler.
Why is that a good thing?
If you use just PrettyLinks, you would create a tiddler Michael
Jackson. A PrettyLink for that would be [[Michael Jackson]]. But
every time you would want to write Jacko in the text, you would need
to write [[Jacko|Michael Jackson]]. In my example, you would simply
write Jacko or [[Jacko]] and you would always see the contents of the
Michael Jackson tiddler.

Further more, this method is useful in cases when you're making lists
of tiddlers, you just use different tags. For example:
person: Anakin Skywalker; tags: Jedi; content: the life and times of
Anakin Skywalker
person: Darh Vader; tags: Sith; content: tiddler Anakin
Skywalker##Anakin Skywalker
So when you make a list of the Jedi, you see Anakin listed as Anakin
Skywalker and when you're making a list of the Sith, you see Anakin
listed as Darth Vader. In both cases, however, you get the contents
of the Anakin Skywalker tiddler when you click on the link.

On Feb 12, 7:37 am, Anubitz lord.anub...@gmail.com wrote:
 I am very new to TiddlyWiki, and my question is simple.

 I have a couple of terms that mean the same thing, and I want them to
 redirect to the same tiddler where I will define the term, without the
 end user seeing a useless (to them) tiddler saying See XX for
 explanation. I just want that second term's tiddler to redirect to
 the first as a shadow tiddler, but I have no idea how to do it.

 Can someone point me in the right direction?

 The project I am working on is a Wiki Encyclopedia for a Fantasy
 writing setting that I am working on. It is to be set up like a
 magical book that contains all knowledge about the setting.

 Thanks,

 Anubitz

-- 
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: Is it possible to directly redirect one tiddler to another?

2010-02-12 Thread Anubitz
Thank you both for your swift replies. I will report back on the
method that works best for me.

Anubitz

-- 
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] How does the collapsible paragraphs work?

2010-02-12 Thread stevek
Hi TiddlyWiki group,

A Newbie to TiddlyWiki .
I want to learn how the author did these collapsible paragraphs in
TiddlyWiki.
I came across the, in the embed Tiddler  at http://twhelp.tiddlyspot.com/site.
Direct link is http://twhelp.tiddlyspot.com/#embed.

Any help welcomed.

Thanks in advance

steve

-- 
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] How does the collapsible paragraphs work? part II

2010-02-12 Thread stevek
Hi all ,

I left out another part of the same question from my previous post.
The collapsible sections has the following syntax +++[Your Text].
I'm still clueless what possible plugin or macro or script that uses
the above notation.
If anyone knows, please reply.

Thanks in advance.
steve

-- 
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: d3 plugin problem: Adding EasyEdit or EasyFormat

2010-02-12 Thread Mark Cooper
OK, found an alternative from here:
http://www.tiddlytools.com/quickstart/basics.html

To install in d3 I did the following:

   1. Goto *backstage* in my standard d3 and then *import*...
   2. Entered this as the *URL*:
   http://www.tiddlytools.com/quickstart/basics.html
   3. Selected all plugins with a name beginning *QuickEdit*
   4. Chose not to keep anything synchronised (cleared 2 tickboxes at bottom
   of page)
   5. Ran the import.
   6. Next, had to edit the EditTemplate (as explained in the instructions
   at http://www.tiddlytools.com/quickstart/basics.html)
   7. I chose to have the new editting tools permanently visible, so added
   this to my *EditTemplate*. To find the EditTemplate, goto the panel on
   the right of the screen, chose the *More* tab, then the *Shadowed*
   tab.

div macro='tiddler QuickEditToolbar with: show'/div

8. My EditTemplate looks like this:

!--{{{--
div class='toolbar' macro='toolbar
[[ToolbarCommands::EditToolbar]]'/div
div class='title' macro='view title'/div
div class='editor' macro='edit title'/div
div macro='annotations'/div
div macro='tiddler QuickEditToolbar with: show'/div
div class='editor' macro='edit text'/div
div class='editor' macro='edit tags'/divdiv
class='editorFooter'span macro='message
views.editor.tagPrompt'/spanspan macro='tagChooser'/span/div
!--}}}--


   9. Saved my d3 file, reloaded (F5 in my browser), and all appears to work
   :)

Hope this is of use to some other newbie. Apologies if the simplicity
offends any of the experts.

Mark

On 11 February 2010 15:15, Mark Cooper m...@mhc-online.co.uk wrote:

 Joe,

 Thanks. Looks like a neat plugin (vi rocks!), but not what I need. I'm
 after something that will let you do WYSIWYG text entry in d3 i.e. turn
 WYSIWIG text into TW formatted text. The EasyFormat plugin looks ideal, and
 I've seen it in use, but not with d3.

 Mark



 On 11 February 2010 15:02, Joe Hewitt mr.joe.hew...@gmail.com wrote:

 Mark,

 You might want to try the firefox plugin called It's All Text which
 allows to you use whatever editor you choose in any text box in the browser,
 including tiddlywiki form boxes.  Being a recovering sysadm,  I use vim, but
 you can use any plain text editor you like with this plugin.

 Joe

 On Wed, Feb 10, 2010 at 3:02 PM, Mark m...@mhc-online.co.uk wrote:

 Hi,

 Is it possible to add a WYSIWYG plugin such as easyEdit or EasyFormat
 to d3?

 I'm new to d3 and fairly new to TW. I've followed the instructions yet
 nothing happens. ie, when I reload my d3 file and edit a tiddler, I
 don't get the new editting features

 Am sure it's a dumb newbie problem :(

 Thanks,

 Mark

 --
 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.comgtd-tiddlywiki%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/gtd-tiddlywiki?hl=en.


  --
 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.comgtd-tiddlywiki%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/gtd-tiddlywiki?hl=en.




-- 
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] Re: How does the collapsible paragraphs work? part II

2010-02-12 Thread TonG
Hi Steve,

That is Eric's NestedSliderPlugin
http://www.tiddlytools.com/#NestedSlidersPlugin

Ton

On Feb 12, 4:57 pm, stevek ssfkw...@gmail.com wrote:
 Hi all ,

 I left out another part of the same question from my previous post.
 The collapsible sections has the following syntax +++[Your Text].
 I'm still clueless what possible plugin or macro or script that uses
 the above notation.
 If anyone knows, please reply.

 Thanks in advance.
 steve

-- 
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: How does the collapsible paragraphs work? part II

2010-02-12 Thread steve kwong
Thanks . Much Appreciated.

steve

On 12 February 2010 18:14, TonG ton.ger...@gmail.com wrote:

 Hi Steve,

 That is Eric's NestedSliderPlugin
 http://www.tiddlytools.com/#NestedSlidersPlugin

 Ton

 On Feb 12, 4:57 pm, stevek ssfkw...@gmail.com wrote:
  Hi all ,
 
  I left out another part of the same question from my previous post.
  The collapsible sections has the following syntax +++[Your Text].
  I'm still clueless what possible plugin or macro or script that uses
  the above notation.
  If anyone knows, please reply.
 
  Thanks in advance.
  steve

 --
 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.comtiddlywiki%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/tiddlywiki?hl=en.



-- 
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] Working Javascript code for improvement suggestions

2010-02-12 Thread Mike
I tend to take the long way of doing things . . .
So here is my code (working) (script placed in div fD)
Looking for any suggestions or areas of improvement

Using MatchTagsPlugin + Inline JavascriptPlugin (www.tiddlytools.com)

{{center{script
var tids=store.getMatchingTiddlers(Cigar  ! excludeLists  !
Trash,modified).reverse();
var rr=tids.length
//check Raw Array
//document.write('br' + rr + ' raw array items' + 'br')

var fmt='[[%0|%0]]';
var filter=[];
for (var i=0; itids.length; i++) {
var val1=tids[i].title;
if (store.getTiddlerSlice(val1,PersonalRank)  9) continue;
if (store.getTiddlerSlice(val1,PersonalRank) == Not Rated)
continue;
if (store.getTiddlerSlice(val1,Purchased) != Yes) continue;
filter.push(fmt.format([val1]));
}
filter.join('\n');
var ra=filter.length
//check filtered array
//document.write('br' + ra + ' filtered array items' + 'br')

var out=[];
if (!filter.length) out=[No Cigars found];
var ry=Math.floor(Math.random()*filter.length)

return(filter[ry] + ' {{small{(random cigar rated 9 or above) ' +ry
+'/'+ra+'}}}')
/scriptscript
 
setTimeout(config.refreshers.content(document.getElementById('fD')),
6);
/script}}}

Thanks,

Mike

-- 
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: Format cells in a table

2010-02-12 Thread Mike
Originally you had mentioned using ColorPalette colors in your table.

Might want to look at:
http://www.tiddlytools.com/#StyleSheetShortcuts

At the End you will find (did not include all of the code. . .)
/* [[ColorPalette]] text colors */
.Background { color:[[ColorPalette::Background]];}

/* [[ColorPalette]] background colors */
.BGBackground { background-color:[[ColorPalette::Background]];  }

Can copy the sections into your StyleSheet
or
import the StyleSheetShortcuts tiddler and transclude it via placing
[[StyleSheetShortcuts]] at the top or bottom of your StyleSheet.
(Effectively launching your StyleSheet + StyleSheetShortcuts at start
up)

Then could use the {{BGBackground{ My cool text here }}}

Mike

On Feb 12, 6:29 am, whatever kbrezov...@gmail.com wrote:
 Using CSS, you can define classes. Then for the cells that need a
 different look, you simply specify the class.
 html
 style
 td {background: yellow;}
 td.custom {background: pink;}
 /style
 table
 tbody
 tr
 tdcell1/td
 td class=customcell2/td
 tdcell3/td
 /tr
 /tbody
 /table
 /html
 In this case, the first and the third cell will be yellow and the
 second pink.

 Or you can directly specify the style for those cells.
 html
 table
 tbody
 tr style=background: yellow;
 tdcell1/td
 td style=background: pink;cell2/td
 tdcell3/td
 /tr
 /tbody
 /table
 /html
 In this example, the whole row will be yellow, except cell2, which
 will be pink.

 w

 On Feb 11, 9:38 pm, AndrewMc newsp...@post.com wrote:

  Thanks for the suggestion. I will try installing and using Firebug.
  However, I am not sure that knowing the actual CSS will help me. If I
  add the CSS to StyleSheet and create a custom style, I can only apply
  that style to the whole table, I believe. What I want to do is affect
  the appearance of just a few cells in a table rather than the whole
  table. While the inline CSS looks confusing, when I apply it to only a
  few cells, it is a manageable confusion. :-)

  Cheers
  Andrew Mc

  On Feb 11, 9:25 pm, Alex Hough r.a.ho...@googlemail.com wrote:

   I'd use Firebug to cut and paste the actual CSS into StyleSheet, then 
   change
   it.
   I think it gets a bit confusing doing it inline.

   Alex

   On 11 February 2010 00:42, AndrewMc newsp...@post.com wrote:

Hi All

I wish to modify the appearance of some cells in a table. I want to
remove some of the borders and change the background colour of some
cells in the table.

I can set the background colour but only if I use a hex value for the
colour. Setting the colour using [[ColorPalette::PrimaryPale]] does
not work for me. Can I use the [[ColorPalette::]] values to set the
colour of a table cell?

!!Change background colour in cells 2-4, and 6-8 (~PrimaryPale =
#9b9).
|cell #1|bgcolor(#9b9):cell #2|bgcolor:#9b9;cell #3|background-
color:#9b9;cell #4|
|cell #5|bgcolor([[ColorPalette::PrimaryPale]]):cell #6|bgcolor:
[[ColorPalette::PrimaryPale]]; cell #7|background-color:
[[ColorPalette::PrimaryPale]]; cell #8|

I can successfully remove the vertical line between two columns but
cannot remove the horizontal line between two rows. How can i remove
the horizontal border between two rows?

!!Remove vertical line between column 1 and column 2 (Successful).
|border-right-width:0; cell #1 |border-left-width:0; cell #2 | cell #3
|
|border-right-width:0; cell #4 |border-left-width:0; cell #5 | cell #6
|

!!Remove horizontal line between row 1 and row 2 (Unsuccessful).
|border-bottom-width:0; cell #1 |border-bottom-width:0; cell #2 |
|border-top-width:0; cell #3 |border-top-width:0; cell #4 |
|cell #5|cell #6|

I am using MPTW with Firefox 3.5.7 on Windows XP.
I have also tried the examples above in an empty TW 2.5 and had the
same results.

Cheers
Andrew Mc

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

   --http://www.multiurl.com/g/64

-- 
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] Trailing White space after preformat markup causing issues

2010-02-12 Thread Kelly N
All,

Not sure if this is already a known issue or just accepted as how it
is but I noticed that if I use the preformat markup - {{{  -
Mozilla Firefox 3.6 and Chrome Beta miss the closing braces if there
is trailing whitespace.

Took me a few minutes to figure out why my code blocks were getting
applied to more code than I had intended. . .

I'm using the latest version of TiddlyWiki (2.5.3).

BTW, I love TiddlyWiki and use it for my notes/todos/everything at
work and home.

Thanks,
Kelly

-- 
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: Trailing White space after preformat markup causing issues

2010-02-12 Thread Mike
Replicated this in my tw

{{{
testcode
}}} (space or any characters here breaks markup)

{{{testcode}}} (no problems here)

Mike

On Feb 12, 2:33 pm, Kelly N 36l...@gmail.com wrote:
 All,

 Not sure if this is already a known issue or just accepted as how it
 is but I noticed that if I use the preformat markup - {{{  -
 Mozilla Firefox 3.6 and Chrome Beta miss the closing braces if there
 is trailing whitespace.

 Took me a few minutes to figure out why my code blocks were getting
 applied to more code than I had intended. . .

 I'm using the latest version of TiddlyWiki (2.5.3).

 BTW, I love TiddlyWiki and use it for my notes/todos/everything at
 work and home.

 Thanks,
 Kelly

-- 
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] Different ordered lists in tiddlers

2010-02-12 Thread Mjh
I understand how to set up ordered lists in StyleSheet. But can I use
a numeric ordered list in one tiddler and an alpha ordered list in
another tiddler?

For example:

TiddlerNumber1

1. Item 1
2. Item 2
3. Item 3

TiddlerNumber2

A. Item 1
B. Item 2
C. Item 3

Thanks to anyone responding.

-- 
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] iframe source text wrap

2010-02-12 Thread agrissom
i am using html that contains the command iframe src= in order to
display the contents of a text file in an iframe within tiddlywiki.
is there any way to get the text that is within the iframe to wrap to
the frame?

-- 
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: Working Javascript code for improvement suggestions

2010-02-12 Thread Mark S.
Hi Mike,

Without actually trying it, it looks pretty good. Small things only.
The rr variable goes unused. It looks like you were testing using
document.write. Usually I test using

  wikify(string, place) ;

But I don't know if it matters, but I believe it will work in most
cases whereas document.write might write to the wrong place. Variable
place is provided by the plugin script.

The setTimeout routine looks useful. Is this something that is
documented somewhere?

If you're planning to have people besides yourself do data entry, then
you might consider adding additional validation on your various
responses. Look for Y/y/Yes/yes/true for the places requiring
affirmative inputs, and maybe multiple formats for Not Rated (like
N/R, Not, NR,not rated,Not rated) ... users will always
forget and punch in something novel.

Good luck!
Mark

On Feb 12, 12:40 pm, Mike eris...@gmail.com wrote:
 I tend to take the long way of doing things . . .
 So here is my code (working) (script placed in div fD)
 Looking for any suggestions or areas of improvement

 Using MatchTagsPlugin + Inline JavascriptPlugin (www.tiddlytools.com)

 {{center{script
 var tids=store.getMatchingTiddlers(Cigar  ! excludeLists  !
 Trash,modified).reverse();
 var rr=tids.length
 //check Raw Array
 //document.write('br' + rr + ' raw array items' + 'br')

 var fmt='[[%0|%0]]';
 var filter=[];
         for (var i=0; itids.length; i++) {
                 var val1=tids[i].title;
                 if (store.getTiddlerSlice(val1,PersonalRank)  9) continue;
                 if (store.getTiddlerSlice(val1,PersonalRank) == Not Rated)
 continue;
                 if (store.getTiddlerSlice(val1,Purchased) != Yes) 
 continue;
                 filter.push(fmt.format([val1]));
         }
 filter.join('\n');
 var ra=filter.length
 //check filtered array
 //document.write('br' + ra + ' filtered array items' + 'br')

 var out=[];
         if (!filter.length) out=[No Cigars found];
 var ry=Math.floor(Math.random()*filter.length)

 return(filter[ry] + ' {{small{(random cigar rated 9 or above) ' +ry
 +'/'+ra+'}}}')
 /scriptscript

 setTimeout(config.refreshers.content(document.getElementById('fD')),
 6);
 /script}}}

 Thanks,

 Mike

-- 
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: Format cells in a table

2010-02-12 Thread AndrewMc
Thanks Mike for the information about StyleSheetShortcuts. I already
use this tiddler but did not have the latest version that included the
ColorPalette colours.
When using this approach in table cells, the text background is
formatted correctly, but not the entire background of the cell. This
can be seen in cell #2 below:

|cell #1|{{BGPrimaryPale{cell #2}}}|
|background-color:#8cf;cell #3|background-color:
[[ColorPalette::PrimaryPale]]; cell #4|

Cheers
Andrew Mc

On Feb 13, 10:10 am, Mike eris...@gmail.com wrote:
 Originally you had mentioned using ColorPalette colors in your table.

 Might want to look at:http://www.tiddlytools.com/#StyleSheetShortcuts

 At the End you will find (did not include all of the code. . .)
 /* [[ColorPalette]] text colors */
 .Background     { color:[[ColorPalette::Background]];    }

 /* [[ColorPalette]] background colors */
 .BGBackground     { background-color:[[ColorPalette::Background]];      }

 Can copy the sections into your StyleSheet
 or
 import the StyleSheetShortcuts tiddler and transclude it via placing
 [[StyleSheetShortcuts]] at the top or bottom of your StyleSheet.
 (Effectively launching your StyleSheet + StyleSheetShortcuts at start
 up)

 Then could use the {{BGBackground{ My cool text here }}}

 Mike

 On Feb 12, 6:29 am, whatever kbrezov...@gmail.com wrote:

  Using CSS, you can define classes. Then for the cells that need a
  different look, you simply specify the class.
  html
  style
  td {background: yellow;}
  td.custom {background: pink;}
  /style
  table
  tbody
  tr
  tdcell1/td
  td class=customcell2/td
  tdcell3/td
  /tr
  /tbody
  /table
  /html
  In this case, the first and the third cell will be yellow and the
  second pink.

  Or you can directly specify the style for those cells.
  html
  table
  tbody
  tr style=background: yellow;
  tdcell1/td
  td style=background: pink;cell2/td
  tdcell3/td
  /tr
  /tbody
  /table
  /html
  In this example, the whole row will be yellow, except cell2, which
  will be pink.

  w

  On Feb 11, 9:38 pm, AndrewMc newsp...@post.com wrote:

   Thanks for the suggestion. I will try installing and using Firebug.
   However, I am not sure that knowing the actual CSS will help me. If I
   add the CSS to StyleSheet and create a custom style, I can only apply
   that style to the whole table, I believe. What I want to do is affect
   the appearance of just a few cells in a table rather than the whole
   table. While the inline CSS looks confusing, when I apply it to only a
   few cells, it is a manageable confusion. :-)

   Cheers
   Andrew Mc

   On Feb 11, 9:25 pm, Alex Hough r.a.ho...@googlemail.com wrote:

I'd use Firebug to cut and paste the actual CSS into StyleSheet, then 
change
it.
I think it gets a bit confusing doing it inline.

Alex

On 11 February 2010 00:42, AndrewMc newsp...@post.com wrote:

 Hi All

 I wish to modify the appearance of some cells in a table. I want to
 remove some of the borders and change the background colour of some
 cells in the table.

 I can set the background colour but only if I use a hex value for the
 colour. Setting the colour using [[ColorPalette::PrimaryPale]] does
 not work for me. Can I use the [[ColorPalette::]] values to set the
 colour of a table cell?

 !!Change background colour in cells 2-4, and 6-8 (~PrimaryPale =
 #9b9).
 |cell #1|bgcolor(#9b9):cell #2|bgcolor:#9b9;cell #3|background-
 color:#9b9;cell #4|
 |cell #5|bgcolor([[ColorPalette::PrimaryPale]]):cell #6|bgcolor:
 [[ColorPalette::PrimaryPale]]; cell #7|background-color:
 [[ColorPalette::PrimaryPale]]; cell #8|

 I can successfully remove the vertical line between two columns but
 cannot remove the horizontal line between two rows. How can i remove
 the horizontal border between two rows?

 !!Remove vertical line between column 1 and column 2 (Successful).
 |border-right-width:0; cell #1 |border-left-width:0; cell #2 | cell #3
 |
 |border-right-width:0; cell #4 |border-left-width:0; cell #5 | cell #6
 |

 !!Remove horizontal line between row 1 and row 2 (Unsuccessful).
 |border-bottom-width:0; cell #1 |border-bottom-width:0; cell #2 |
 |border-top-width:0; cell #3 |border-top-width:0; cell #4 |
 |cell #5|cell #6|

 I am using MPTW with Firefox 3.5.7 on Windows XP.
 I have also tried the examples above in an empty TW 2.5 and had the
 same results.

 Cheers
 Andrew Mc

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

--http://www.multiurl.com/g/64

-- 
You received this message