Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - message form not inserting at cursor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

message form not inserting at cursor

 Post Reply Post Reply
Author
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Topic: message form not inserting at cursor
    Posted: 14 February 2007 at 11:26am
I've just let loose some of my users on WWF on a test forum on our servers. I've configured it so that WSYWIG message creation is turned off. They found using Prompt Mode rather tedious so started using Basic Mode for adding font attributes. What they've found is that no matter where the cursor is place, the forum code is always placed at the end of the text. This also happens with smilies, so if you want to go back and stick on in halfway through the message, it gets stuck at teh very end.

The biggest pain with this is that it makes it very impracticle to put multiple attributes on some text eg change font, colour and make it bold all in one go as it won't nest the tags without the user either keying them in by hand or doing a lot of cutting and pasting. Is this a known bug or "design feature"?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2007 at 12:39pm
This is more to do with the limitations of how web browsers work with textareas.

I would recommend that you use the WYSIWYG editor instead if you want to have more control over the look of your posts.
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2007 at 1:24pm
Hmmm, how did I know you were going to say that..? Ermm 
 
It's not like it's impossible. I use lots of forums, which use lots of different forum software and they all manage it in non WYSIWYG mode. Oh well, time for some more code surfing.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2007 at 1:46pm
If you can find a way to do it that can work across the various browsers please let me know.
Back to Top
MrMellie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 December 2006
Location: United Kingdom
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrMellie Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2007 at 4:34pm
I've got smilies working on 97% of browsers. I don't have Safari or Opera installed to check the other 3% though.
 
The smilies code was already partly there, it was just missing the JS function to update the current cursor position and the calls to that function in the textarea. I'll have a look at the fonts etc tonight as I need to get back to the programming I'm being paid to do.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.