WordPress.org

Ready to get started?Download WordPress

Forums

Pierre's Wordspew
Change "send" button, Look different in all browsers (4 posts)

  1. jeriksson
    Member
    Posted 3 years ago #

    Using your plugin works great to customize everything needed besides the actual send button.

    Using IE8 the send button will look really strange if you don't have the name / message window selected, it will look like the text is blurred all over the button, not nice.

    In Opera if you select the message or name window the send button will get a black border instead of the normal border....

    In firefox everything looks nice.

    I don't like that it looks different in these browsers, can you please point me in the direction to fix this issue.. I've been attempting to fix this for the past 3 hours and i just can't figure it out.

    I'm guessing it has something to do with:

    if($curthe==1) {
                if($theme || $curadmin==1) {
                    $combo.='<div id="shout_theme" style="display:none;"><b>'.__("Theme:",wordspew).'</b><br/>';
                    $combo.='<select name="shout_cat_theme" id="shout_cat_theme" onchange="document.getElementById(\'chatbarText\').focus();" onblur="CleanBox()"
                    onfocus="oldval=this.options[this.selectedIndex].value">
                    <option value="">'.__("Miscellaneous",wordspew).'</option>';
                    foreach( $theme as $theme_name ) {
                        $the_theme=stripslashes($theme_name->cat);
                        $selected=($SQLCat==$the_theme || $HiddenCat==$the_theme) ? ' selected="true"' : '';
                        $combo.='<option value="'.$the_theme.'"'.$selected.'>'.$the_theme.'</option>';
                    }
                    if($user_level >= $jal_admin_user_level || $curadmin==1)
                        $combo.='<option value="add_custom" style="font-weight:bold">'.__("New theme",wordspew).'</option>';
                    $combo.='</select></div>';
                }

    But i can't figure it out, simply removing all the code that says anything about "select" or "bold" or anything either in the css or wordspew.php does not change this, i can even remove the entire css.php and everything will look different besides this damn button, it still applies these weird things i don't know where it's pulling it from

    Screenshots of the issue in IE8:

    http://img132.imagevenue.com/img.php?image=06612_csserror_122_379lo.jpg

    Thanks for the help, and very nice plugin!! :)

  2. Pierre_02
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Jonny,

    could you, please, give me an url where i can see your box. I have to see it in real conditions to be able to help you with your css problem ;).

    Amicably,

    Pierre.

  3. jeriksson
    Member
    Posted 3 years ago #

    Hi Pierre thanks for your quick reply, I have a test page up on it here: http://jonnyeriksson.com/dd/ (check bottom of the sidebar)

    Thanks a lot :)

  4. jeriksson
    Member
    Posted 3 years ago #

    Thanks to pierre for fast help, the issue wasn't in the plugin but in explorer.

    If anyone else was annoyed by this check the function on line 429 in ajax_shout.php

    cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic