Implemented Jumpto/Jumpfrom BBCode.

Discussion in 'Feedback & Assistance' started by Stardust, Dec 21, 2010.

Thread Status:
Not open for further replies.
  1. Stardust Chaser

    Joined:
    Apr 17, 2007
    1,288
    This is sort of trivial, and I'm probably the only one who wants it enough to make a thread, haha. But basically, we can link to threads and specific posts within threads, but it appears we can't link to certain parts of posts.

    The idea is, say you had a long list of something in a post and you wanted to make the post a little easier to navigate. You could provide links at the top to certain points in the post so users could simply click on a link and instantly go to the part of the post they wanted. On most forums with this feature, it looks like this is called [jumpto] and [jumpfrom], but I've also seen [jumplink], [jump]/[anchor], etc. I think it would be especially useful for posts with tables of contents and whatnot.

    Does anyone else think it'd be worth trying, and is there a way to implement this?
     
  2. Jayn

    Joined:
    Sep 30, 2007
    4,214
    I would absolutely love this, honestly. <3 It would be awesome for things like stories/chapters in the Creativity corner, and my role plays are normally very long and it's be great to just provide links at the top to certain parts like the profile outline and the rules and stuff. If this is possible, I would love it.
     
  3. Misty gimme kiss

    Joined:
    Sep 25, 2006
    Gender:
    Cisgender Female
    Location:
    alderaan
    6,590
    I did a bit of Googling and apparently there's some sort of bug in vB that doesn't allow us to use anchor tags. :l It's reported and they say that they're "working on it," which might mean that we're out of luck. Sorry guys. :c I'll keep poking around though.
     
  4. Kubo Kingdom Keeper

    Joined:
    Feb 6, 2010
    Gender:
    Male
    Location:
    Penalty area, ready to shoot
    108
    983
  5. Misty gimme kiss

    Joined:
    Sep 25, 2006
    Gender:
    Cisgender Female
    Location:
    alderaan
    6,590
    Thanks Kubo! Seems to be working. Here's how to do it, guys:

    Your original post, without anchor links:
    Anchor Link 1
    Anchor Link 2

    When you click 'Anchor Link 1', you want it to bring you to this paragraph:
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ipsum lobortis augue rutrum convallis. Duis sit amet nisl eu sapien commodo venenatis sed nec metus. Fusce et nisi eget ante aliquet pulvinar. Quisque in nunc at dui fringilla auctor. Sed vel libero sed lacus vestibulum vehicula. Vivamus ac est felis. Integer blandit, augue sit amet ultrices cursus, turpis dolor commodo mi, id congue tellus dui id ipsum. Morbi interdum sagittis urna, quis sagittis lectus suscipit mattis. Phasellus pretium pharetra volutpat. Nulla vel vehicula libero. Nunc ac condimentum turpis. Integer tincidunt pulvinar vehicula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam adipiscing sapien eget diam gravida ut pharetra sem hendrerit.

    When you click 'Anchor Link 2', you want it to bring you to this paragraph:
    Praesent accumsan neque sed enim pretium malesuada. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras tincidunt turpis ac libero ultricies pellentesque. Sed mattis, purus ac vestibulum vehicula, libero urna vehicula nisl, nec dictum enim tellus vel nulla. In hac habitasse platea dictumst. Nunc eu purus est. Vestibulum imperdiet rhoncus tempus. Pellentesque elementum nibh interdum dui varius feugiat ut non augue. Nullam mollis adipiscing eleifend. Vivamus quis ligula arcu, vitae congue dui. Phasellus ultricies, mauris lacinia bibendum pellentesque, elit urna vestibulum purus, a tempor purus risus et risus.

    When you add the anchor links, it will work like this:
    Anchor Link 1
    Anchor Link 2

    When you click 'Anchor Link 1', you want it to bring you to this paragraph:
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ipsum lobortis augue rutrum convallis. Duis sit amet nisl eu sapien commodo venenatis sed nec metus. Fusce et nisi eget ante aliquet pulvinar. Quisque in nunc at dui fringilla auctor. Sed vel libero sed lacus vestibulum vehicula. Vivamus ac est felis. Integer blandit, augue sit amet ultrices cursus, turpis dolor commodo mi, id congue tellus dui id ipsum. Morbi interdum sagittis urna, quis sagittis lectus suscipit mattis. Phasellus pretium pharetra volutpat. Nulla vel vehicula libero. Nunc ac condimentum turpis. Integer tincidunt pulvinar vehicula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam adipiscing sapien eget diam gravida ut pharetra sem hendrerit.

    When you click 'Anchor Link 2', you want it to bring you to this paragraph:
    Praesent accumsan neque sed enim pretium malesuada. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras tincidunt turpis ac libero ultricies pellentesque. Sed mattis, purus ac vestibulum vehicula, libero urna vehicula nisl, nec dictum enim tellus vel nulla. In hac habitasse platea dictumst. Nunc eu purus est. Vestibulum imperdiet rhoncus tempus. Pellentesque elementum nibh interdum dui varius feugiat ut non augue. Nullam mollis adipiscing eleifend. Vivamus quis ligula arcu, vitae congue dui. Phasellus ultricies, mauris lacinia bibendum pellentesque, elit urna vestibulum purus, a tempor purus risus et risus.

    Here's the code to make it like that, just remove the stars:
    [*jumpto=customname1]Anchor Link 1[/jumpto]
    [*jumpto=customname2]Anchor Link 2[/jumpto]

    [*aname=customname1]When you click 'Anchor Link 1', you want it to bring you to this paragraph:[/aname]
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ipsum lobortis augue rutrum convallis. Duis sit amet nisl eu sapien commodo venenatis sed nec metus. Fusce et nisi eget ante aliquet pulvinar. Quisque in nunc at dui fringilla auctor. Sed vel libero sed lacus vestibulum vehicula. Vivamus ac est felis. Integer blandit, augue sit amet ultrices cursus, turpis dolor commodo mi, id congue tellus dui id ipsum. Morbi interdum sagittis urna, quis sagittis lectus suscipit mattis. Phasellus pretium pharetra volutpat. Nulla vel vehicula libero. Nunc ac condimentum turpis. Integer tincidunt pulvinar vehicula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam adipiscing sapien eget diam gravida ut pharetra sem hendrerit.

    [*aname=customname2]When you click 'Anchor Link 2', you want it to bring you to this paragraph:[/aname]
    Praesent accumsan neque sed enim pretium malesuada. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras tincidunt turpis ac libero ultricies pellentesque. Sed mattis, purus ac vestibulum vehicula, libero urna vehicula nisl, nec dictum enim tellus vel nulla. In hac habitasse platea dictumst. Nunc eu purus est. Vestibulum imperdiet rhoncus tempus. Pellentesque elementum nibh interdum dui varius feugiat ut non augue. Nullam mollis adipiscing eleifend. Vivamus quis ligula arcu, vitae congue dui. Phasellus ultricies, mauris lacinia bibendum pellentesque, elit urna vestibulum purus, a tempor purus risus et risus.
    What's highlighted in red can be changed to whatever you'd like, they just have to match one another.

    Let me know if there are any issues. :]
    But for now...
    _CLOSED
     
Thread Status:
Not open for further replies.