FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Announcements » FUDforum 2.6.0RC7 Released
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: FUDforum 2.6.0RC7 Released [message #14851 is a reply to message #14822] Sat, 22 November 2003 06:27 Go to previous message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma:
Senior Member
Quote:

# Make insertion of FUDcode at cursor or around selected text work in Mozilla.


Not sure what you mean, but if I highlight a block of text and click a fudcode button the text is replaced with a set of fudcode tags, not wrapped in the tags.

This occurs with Mozilla Firebird 0.7 after upgrading to rc7.

I noticed that my old boards used the following for Mozilla:

// From http://www.massless.org/mozedit/
function mozWrap(txtarea, open, close)
{
	var selLength = txtarea.textLength;
	var selStart = txtarea.selectionStart;
	var selEnd = txtarea.selectionEnd;
	if (selEnd == 1 || selEnd == 2)
		selEnd = selLength;

	var s1 = (txtarea.value).substring(0,selStart);
	var s2 = (txtarea.value).substring(selStart, selEnd)
	var s3 = (txtarea.value).substring(selEnd, selLength);
	txtarea.value = s1 + open + s2 + close + s3;
	return;
}


Perhaps it would be of use for tagging mozilla (or at least Firebird).
[Message index]
 
Read Message
Read Message
Previous Topic: FUDforum 2.6.0RC6 Released
Next Topic: FUDforum 2.6.0RC8 Released
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 12 09:32:03 GMT 2024

Total time taken to generate the page: 0.04016 seconds