Hi, thanks for your theme.

you mentioned that this theme has built-in automatic ScrollSpy navigation for content region, could you please advise how to use this feature?

Cheers

Files: 

Comments

tonystar’s picture

Hi NecroHill,

To use this feature you need to add anchors to headers in your content region. For example:

...
<h2 id="jump-overview">Overview</h2>
<p>This theme delivers all the power of amazing Twitter Bootstrap web framework directly to your Drupal site. It is lightweight, responsive and ready to use out of the box. And perfect for subtheming as well.</p>
...

This code will produce a ScrollSpy navigation block with link to "Overview" heading.

tonystar’s picture

StatusFileSize
new1.46 KB

NOTE: In the new version of Tweme I separated ScrollSpy functionality into the separate module called Tweme UI. You can download both theme and module here: http://tonystar.ru/projects/tweme

tonystar’s picture

I'm going to publish supporting Tweme module after full project application process is finished for me.

tonystar’s picture

Status:Active» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Argus’s picture

Version:» 7.x-1.x-dev
Status:Closed (fixed)» Active

Cool, now all we would need was a way to add the id's automatically. Any update on the tweme_ui application process?

Argus’s picture

Ah There's a module for that: use http://drupal.org/project/headerid :)

tonystar’s picture

Thanks for the reference ;)

tonystar’s picture

Status:Active» Fixed

Finally I did it!

Meet TwemeX - Tweme extension module with automatic ScrollSpy navigation block:

PS: I'm not sure that id's should be added automatically. May be I will add that as configurable option later.

Argus’s picture

Cool!

I agree auto-id's should be an option at best.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.