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

CommentFileSizeAuthor
#2 tweme_ui-7.x-1.x.zip1.46 KBanydigital
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

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

anydigital’s picture

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

anydigital’s picture

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

anydigital’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 :)

anydigital’s picture

Thanks for the reference ;)

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