It seems the code doesn't work on my forum for some reason![]()
its at the very top of my global footers.Code:
- <script>
- /*Color Drop Down v1
- Created By Wrighty
- No Rip, Repost or Claiming*/
- var color = {
- list: [
- ["Black","000000"],
- ["Gray","5C5C5C"],
- ["Red","FF0000"],
- ["Blue","0000FF"],
- ["Green","00FF00"],
- ["Yellow","FFFF00"],
- ["Orange","FFA500"],
- ["Pink","FF69B4"],
- ["Maroon","B03060"],
- ["Beige","F5F5DC"],
- ["NavyBlue","000080"],
- ["Brown","8B4513"],
- ["Silver","C0C0C0"],
- ["Teal","008080"],
- ["Purple","551A8B"],
- ["Gold","CDAD00"]
- ],
- _s: document.createElement('select'),
- _d: document.createElement('span'),
- _p: get('ubbc_buttons','id'),
- add: {
- colors: function(){
- color._s.options[0] = new Option('Choose Color','');
- for(i=0;i<color.list.length;i++){
- color._s.options[i+1] = new Option(color.list[i][0],color.list[i][1]);
- }
- },
- extra_features: function(){
- color._d.style.paddingLeft = '20px';
- color._s.onchange = function(){
- if(color._s.value!=''){
- add_ubbc('[color='+color._s.value+']','[/color]');
- }
- };
- },
- drop_down: function(){
- color._d.appendChild(color._s);
- color._p.firstChild.insertBefore(color._d, color._p.firstChild.getElementsByTagName('br')[0]);
- }
- },
- build: function(){
- if(color._p){
- this.add.colors();
- this.add.extra_features();
- this.add.drop_down();
- }
- }
- };
- color.build();
- </script>
link to forum?![]()
If you're talking about Mad House Creations, the code functions perfectly for me.![]()
Which browser are you using?![]()
http://tropolis.virtualforums.co.uk/
Sorry about not having the link.
No, Yes i knew it works on thereIf you're talking about Mad House Creations, the code functions perfectly for me.![]()
Which browser are you using?![]()
. I'm useing FF3.
Works fine for me on that forum .....![]()
What are you trying to do etc....
Ok i just check it and yes it works for when i am making an new thread, but if i go to an post and i'm replying to the post and i click on an color it will not work.
If i was to click on reply in this post to reply to your and i wanted to do it with an color , and i click on the drop down and then the color but it doesn't show on the typing page. i hope you understand what i mean bro.
That works as well .... I can't seem to find any bugs with it!![]()
It works for me on Mad House Creations.
But on my forum it wouldn't and i also tried it in IE and it did the samething, doen't work.
I have no idea why it works fine on one forum, and then it wouldn't on another.
My forum and Mad House Creations are the only forums i know that use this code.
BTW, it also works fine for me on my test forum .
![]()
![]()
It works fine for me on tropolis, I have just tested it.
Does it just not show? Or is it a matter of it not actually adding the 'colour' to the message box?
It doesn't show this > [color = whatever] [/ color ] .(i did the spacing so you'll now what i mean) . But only when i'm trying to reply.
IT shows that for me fine!![]()
OK but its not only me , i've ask others to try and they say it not working for them as well.
I don't believe its the code Wrighty , i think something may be wrong with the forum itself.![]()
Try it useing your member account ?
I see ...
I have NO idea WHY!![]()
Are you going to have Ross check it ?I see ...
I have NO idea WHY!![]()
let me know when i can try it to see if its working right.
Any word on why this .