Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 changing forum code modes
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ewyglend
New Member

83 Posts

Posted - 27 June 2002 :  13:59:15  Show Profile
I would like to edit the forum code modes so that insted of the format buttons just throwing in [b] for bold, I would like to be able to highlight the text that I want bold and have the tags go around it. I'm not sure if this is possible or not, but if anyone has any suggestions that would be great.



Edited by - ewyglend on 27 June 2002 14:21:46

Edited by - ruirib on 27 June 2002 14:50:51

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 27 June 2002 :  14:10:03  Show Profile
Would a javascript function like this work


function menu( cell,text )
{
If cell.innerText=="" then
{
cell.innerText = " [ b ] [ / b ]";
}
else
{
cell.innerText = "[ b ] " + text + " [ / b ]";
}
}


But im not sure how u could only pass the selected text.

I feel sorry for people who don't drink. When they wake up in the morning, that's as good as they're going to feel all day.
--Frank Sinatra


Edited by - Hamlin on 27 June 2002 14:11:08
Go to Top of Page

ewyglend
New Member

83 Posts

Posted - 27 June 2002 :  14:22:30  Show Profile
So would I just throw that in on the top of the topic page or something?

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 27 June 2002 :  15:14:56  Show Profile
No, you would need to make some other changes. The code its just part of a function i use to add text round links, so it could be adapted, but i dont know enough about javascript to do it


I feel sorry for people who don't drink. When they wake up in the morning, that's as good as they're going to feel all day.
--Frank Sinatra
Go to Top of Page

ewyglend
New Member

83 Posts

Posted - 28 June 2002 :  01:21:26  Show Profile
hheh, alright. I know nothing about javascript either, so I guess that's the end of that.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 28 June 2002 :  01:28:39  Show Profile
This is going to be a feature in the upcoming v3.4. It only works in Internet Explorer though.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07