The Grey Labyrinth is a collection of puzzles, riddles, mind games, paradoxes and other intellectually challenging diversions. Related topics: puzzle games, logic puzzles, lateral thinking puzzles, philosophy, mind benders, brain teasers, word problems, conundrums, 3d puzzles, spatial reasoning, intelligence tests, mathematical diversions, paradoxes, physics problems, reasoning, math, science.

   
The Grey Labyrinth Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fix those handy tag buttons

 
Reply to topic    The Grey Labyrinth Forum Index -> Feature Requests / Site Problems
View previous topic :: View next topic  
Author Message
pikachamp
swore in chat!



PostPosted: Mon Sep 10, 2007 10:39 pm    Post subject: 1 Reply with quote

The post message menu has these handy little tag buttons that make it a bit easier to insert tags if you don't remember them. It also has clickable smiley faces.

Unfortunately, when you click them, it inserts the tag into the end of the text. Is there a way to have them insert the tag into the cursor position?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
worm
unregistered



PostPosted: Mon Sep 10, 2007 11:00 pm    Post subject: 2 Reply with quote

if you insert them as you type Almost Fonz Cool it's not a problem
Back to top
View user's profile Send private message AIM Address
pikachamp
swore in chat!



PostPosted: Mon Sep 10, 2007 11:17 pm    Post subject: 3 Reply with quote

I'm the type of person that constantly backs up in his text to change things.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Antrax
ESL Student



PostPosted: Tue Sep 11, 2007 6:44 am    Post subject: 4 Reply with quote

I don't know if it's technologically possible. If it is, it's complex. I don't think Javascript has a method to query the position of the cursor in a text box, as it's something handled by the OS and not the HTML form.
_________________
After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
a lurker*
Guest



PostPosted: Mon Sep 24, 2007 8:54 pm    Post subject: 5 Reply with quote

Antrax wrote:
I don't know if it's technologically possible. If it is, it's complex. I don't think Javascript has a method to query the position of the cursor in a text box, as it's something handled by the OS and not the HTML form.

(Bolding mine)

Huh. I just highlighted the sentence I wanted bold before I clicked the button. The tags were automatically inserted where I wanted them. Doesn't seem to work for smilies, though.
Back to top
Antrax
ESL Student



PostPosted: Mon Sep 24, 2007 9:37 pm    Post subject: 6 Reply with quote

Yes, that's not the same as inserting at cursor position. Again, I'm hardly an expert on these subjects, so if anyone knows a way, go right ahead.
_________________
After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Courk
Daedalian Member



PostPosted: Mon Sep 24, 2007 11:45 pm    Post subject: 7 Reply with quote

Antrax wrote:
I don't know if it's technologically possible. If it is, it's complex. I don't think Javascript has a method to query the position of the cursor in a text box, as it's something handled by the OS and not the HTML form.

I'll be honest, I haven't a clue what this really means. I know vBulletin can do it. Does that help?
Back to top
View user's profile Send private message Send e-mail AIM Address
Neo
Daedalian Member



PostPosted: Mon Sep 24, 2007 11:54 pm    Post subject: 8 Reply with quote

Let this be a lesson to you Pika. Think your posts out before you start typing.
_________________
Ad Astra
Back to top
View user's profile Send private message
wordcross

<memstat>



PostPosted: Tue Sep 25, 2007 3:38 am    Post subject: 9 Reply with quote

Courk wrote:
Antrax wrote:
I don't know if it's technologically possible. If it is, it's complex. I don't think Javascript has a method to query the position of the cursor in a text box, as it's something handled by the OS and not the HTML form.

I'll be honest, I haven't a clue what this really means. I know vBulletin can do it. Does that help?


What Antrax is saying is that when you type a message in your reply box, the position of the cursor is something that the Operating System (Windows or Linux, or Mac OSX, or whatever) keeps track of. Your browser (Internet Explorer, Firefox, Opera, etc.) doesn't have access to this information (or at least doesn't have easy access). So to write something that would affect the cursor position, it would have to be written in browser code (Javascript, PHP, Perl, what have you), but access Operating System code, interpret it, change it, do stuff, then clean it all up nice and pretty. This is not easy (even if you know what you're doing with both parts), and is nearly impossible in regards to all the combinations of the two that are possible.

I don't know enough about how cursors are handled to know if that's strictly true, but Antrax usually knows what he's on about

vBulletin may use some alternate code language that allows better access to OS information. Or maybe the programmers who developed it were awesome and can do magic, I don't know Revenge most foul!
_________________
Has anyone really been far even as decided to use even go want to do look more like?
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger
Antrax
ESL Student



PostPosted: Tue Sep 25, 2007 6:50 am    Post subject: 10 Reply with quote

If vBulletin does it, then I may be wrong. I'll add it to my To Do list, which means I can start looking at it Oct. 8.
_________________
After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Antrax
ESL Student



PostPosted: Tue Sep 25, 2007 1:17 pm    Post subject: 11 Reply with quote

A quick google revealed something unsurprising - IE lets you do that, so I implemented a feature that works only on IE. Now I feel dirty Melancholy
_________________
After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Ragin' South Asian
Head Poncho



PostPosted: Tue Sep 25, 2007 3:47 pm    Post subject: 12 Reply with quote

Wow. I never realized how much Antrax looooves IE.
Antrax wrote:
I looooove Internet Explorer.
Razz
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Courk
Daedalian Member



PostPosted: Tue Sep 25, 2007 7:17 pm    Post subject: 13 Reply with quote

vBulletin can do it in Firefox...

(That sounds like a little kid. "Billy's mom lets him stay up 'til 10!")
Back to top
View user's profile Send private message Send e-mail AIM Address
Antrax
ESL Student



PostPosted: Tue Sep 25, 2007 7:35 pm    Post subject: 14 Reply with quote

Then I'll make a note to steal their code in two weeks or so.
_________________
After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous: by   
Reply to topic    The Grey Labyrinth Forum Index -> Feature Requests / Site Problems All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Site Design by Wx3