Forums

RS-Linkify Thread is sticky

Quick find code: 261-262-33-65181208

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Original message details are unavailable.
­And not to seem naggy, because this is awesome, but will we see the alignment tag(s) and font tags added to an option button somewhere above the reply box?

Would be convenient to type things out in advance, then highlight text and choose something to apply to it, as I'm accustomed to that

~~~Zaros is the way Forward~~~


­ Lol naggy, that'll be the day!

And yep, I do plan doing that. Tbh I'm still not sure about a few things with the tags. They seem to be working as I intended but I need to refine a few things first.

I want to focus on the bookmarks and forum navigation
(I feel I have neglected that for far too long)
Then I'll work on a decent tag system :)

Oh dear, I'm going
overboard with
the new
center
tag
:)


­~ Blame Rowley if it doesn't work ~

11-Oct-2013 01:47:34

Charles
Dec Member 2023

Charles

Posts: 9,155 Rune Posts by user Forum Profile RuneMetrics Profile
Original message details are unavailable.
­
@Huge Charlie
,
try updating to version 2.0.5.4


The new tag is [ c]text to center[ /c]

­
Excuse the colours


I'm just throwing both RS-Linkify tags
and BB tags in between the center tags
to make sure they nest correctly.



This post may look a little odd without the latest version,
so update and refresh page to get the effect :)


Edit: Seems to work :)

­~ Blame Rowley if it doesn't work ~



­WOOT! YOU'RE THE BEST!

Join the HLF Teamspeak!

11-Oct-2013 01:53:06

Lifer
Jul Member 2008

Lifer

Posts: 12,424 Opal Posts by user Forum Profile RuneMetrics Profile
Original message details are unavailable.
­And not to seem naggy, because this is awesome, but will we see the alignment tag(s) and font tags added to an option button somewhere above the reply box?

Would be convenient to type things out in advance, then highlight text and choose something to apply to it, as I'm accustomed to that

~~~Zaros is the way Forward~~~


This. I have no idea how to use the new options o.o

11-Oct-2013 02:27:59

Lifer
Jul Member 2008

Lifer

Posts: 12,424 Opal Posts by user Forum Profile RuneMetrics Profile
Original message details are unavailable.
How do we force update our extension? I usually just wait til it does it by itself.


Tools -> Extensions -> Check Developer mode -> 'Update Extensions Now' button

11-Oct-2013 02:28:51

Blasty
Feb Member 2017

Blasty

Posts: 9,319 Rune Posts by user Forum Profile RuneMetrics Profile
What do you think about keyboard navigation?

This makes l go to the next page:

$('body').on("keypress",function(e){if(e.keyCode==108&&document.activeElement==document.body){$('.PageControlAdvancedRight a + a')[0].click()}})


+ change Right to Left for previous page

This function brings you to the next post:

$('html, body').animate({scrollTop:$('div.message').filter(function(a,b){return jQuery(b).offset().top>window.pageYOffset}).offset().top},500)


This function brings you to the previous post:

$('html, body').animate({scrollTop:$('div.message').filter(function(a,b){return jQuery(b).offset().top<window.pageYOffset}).last().offset().top},500)


This function brings you to the containing forum/forums:

$('#info>span>span>span:contains("Return" )').click()


+ change Return to Reply, Refresh, Rules, New Thread

There's probably a better way to do those though

This function brings you to the reply box:

$('html, body').animate({scrollTop:$('.message').last().offset().top},500)


­
<
Blasty
the Blue
>

Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of Mine Nation

11-Oct-2013 05:09:44 - Last edited on 11-Oct-2013 06:40:53 by Blasty

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
Yeah, I could do that, but not with jquery. I prefer not to use libraries. RS-Linkify is pure js.

I can try it and see, what keys would you suggest for page navigation?

I won't make any promises because, I have been removing hooks on these pages and reassigning them to my own handler using event delegation. I think I've reduced the occurrences of aw snap errors by doing so. I'm simply not keen on hooking keypresses until I know things are stable.




.
­­­
­~ Blame Rowley if it doesn't work ~

11-Oct-2013 06:45:41

Blasty
Feb Member 2017

Blasty

Posts: 9,319 Rune Posts by user Forum Profile RuneMetrics Profile
Asking around Sha ky's fc, no one seemed interested in keyboard navigation so it might not be worth doing

I think I've seen some websites use j/k/l for navigating forwards and backwards, n could be for new reply/new thread, r for refresh

Maybe customizable keys if possible, but that would put even more time into something I'm not sure would be used much

Is anyone on forums interested in keyboard navigation?

­
<
Blasty
the Blue
>

Blasty
// @BlastytheBlue // Blasty#5167
| Co-owner of Mine Nation

11-Oct-2013 07:04:38

Quick find code: 261-262-33-65181208 Back to Top