Ok. I couldn't have done half of what I've acomplished without you Eric and
I wish I had some money to tip you because you are The Guru. I want to give
back in some way so I'll tell you a little about what I did. I still don't
like having to transclude bullets into my tables but I'll live with it
because I figured out how to transclude it in from a hidden section within
the same tiddler. I have a top fixed menu so the problem was, I could't
figure out where to put the anchors since SectionLinkPlugin does't work
with hidden sections. Well, I finally figured out that if I put the anchor
at the top of my hidden section and then
@@display:block;padding-top:60px;margin-top:-60px;@@ then when it
transcuded in, it would scroll to where I want it to when I click the
bookmark. How cool that I've learned this from previous tiddlytools plugins
and Eric's valuable instruction. I didn't stop there though, I also then
used AliasPlugin again Eric I bow to you and actually for each of my
bookmarks in my huge table transcluded the actual anchors and formatting so
all I have to put at the top of each hidden section is <<a a>> or whatever
letter I want to use as the tag ID for my Alias and then the second letter
for the bookmark. That saved me so much space and time that I feel like a
time lord. Thank you again Eric for all your help.
On Feb 17, 2012 6:00 PM, "Eric Shulman" <[email protected]> wrote:

> > Is there a css way to affect where a section link scrolls to when using
> the
> > SectionLinksPlugin? I am needing it farther down on the screen and not
> sure
> > what to apply the padding to in stylesheet. I hope that makes sence.
>
> SectionLinksPlugin scrolls you to the section heading that defines the
> section.  It is not based on CSS, so there is no "padding" that you
> can add to a class in your StyleSheet.
>
> If you want to scroll to a different location within the tiddler, you
> need to create either a section heading at that location, e.g.,
>   !somename
> or an HTML "anchor" at that location, e.g.,
>   <html><a name="somename" /></html>
>
> The first method creates an actual section definition within the
> tiddler, using standard TWCore heading syntax.  You can then link to
> that section (e.g., [[TiddlerName##somename]]) or transclude that
> section (e.g., <<tiddler TiddlerName##somename>>)).
>
> However, that method also renders the section heading as a header (H1)
> format within the content, so it is visible to the user.  If you want
> to create an *invisible* location for scrolling, you need to use the
> second method, which creates a named HTML anchor that can be used in
> links that hot-scroll (e.g., [[TiddlerName##somename]]), but does
> *NOT* create a section definition or visible heading output.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
>
> ----
> WAS THIS ANSWER HELPFUL?  IF SO, PLEASE MAKE A DONATION
>   http://www.TiddlyTools.com/#Donations
> note: donations are directly used to pay for food, rent,
> gas, net connection, etc., so please give generously and often!
>
> Professional TiddlyWiki Consulting Services...
> Analysis, Design, and Custom Solutions:
>   http://www.TiddlyTools.com/#Contact
>
> --
> 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.
>
>

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