Page 2 of 2

Re: Change another colour

Posted: Wed Oct 22, 2008 8:46 am
by Graham
Just shows if you ask and listen, you'll learn.

I'm seeing this
this.form.addbbcode22.selectedIndex is undefined

I click on th link posting.php

The only difference I can see between the Font style drop down and the Font size drop down, is this upper case letters
small text
Your Text

Do you think it should be
your text

or does that not matter in a php file?

Re: Change another colour

Posted: Wed Oct 22, 2008 9:01 am
by DavidIQ
That shouldn't matter...that's just a help line anyways. Try making the change I gave you last...hopefully that does it.

Re: Change another colour

Posted: Wed Oct 22, 2008 9:49 am
by Graham
Brilliant David, that's worked a treat :D

Can I add more fonts to the list?
I think if members have a selection of, say 10, that would be enough.

Are you going to place this in the Mod section of your site, or in the Mod section at phpBB, I'm sure others would be interested in it.

If you post it in your site, I'll go and shout about it at at phpBB with a link back here if you like?

Graham

Re: Change another colour

Posted: Wed Oct 22, 2008 10:05 am
by DavidIQ
You can certainly add as many fonts as you'd like but realize that if the user doesn't have a particular font in their system they'll just see the default font. Some common Windows fonts might not be so common on a Mac or Linux but if that's alright then it would be perfectly fine to do so.

As far as advertising this place on phpBB.com...don't worry about it. My signature over there already does enough of that ;-) But I'll go ahead and add to the "My phpBB3 MODs" section. I should probably have been doing that with all of the code I've published over there...

And voila!

Re: Change another colour

Posted: Wed Oct 22, 2008 11:24 am
by Graham
Dave,
Thanks for all your help over the past few days.
I've sent a small donation to show my appreciation.

No doubt will be back to ask other questions.

Graham

PS
Just found this site :)
http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html

Re: Change another colour

Posted: Wed Oct 22, 2008 11:33 am
by DavidIQ
Excellent! Thaks for the support!

I've also added the link to the MOD topic.

Re: Change another colour

Posted: Tue Jun 28, 2011 4:22 am
by Clair
thanks for sharing its working ...............