Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Changing spoiler type.

Options
  • 10-05-2005 5:03pm
    #1
    Registered Users Posts: 11,979 ✭✭✭✭


    I presume the way you have spoilers styled on boards is, the background colour of the text and the text become the same colour.

    Is there a way you could implement, so it has the background colour and the text color the same, but on a mouse hover, the background colour disappears, making the text visible?


Comments

  • Registered Users Posts: 11,979 ✭✭✭✭Giblet


    OK I did the code of what I mean.

    For CSS file:
    .spoiler
    {
    color:#666666;
    background-color:#666666;
    }


    For HTML

    <SPAN class="spoiler" onmouseover="this.style.color='#FFFFFF';" onmouseout="this.style.color=this.style.backgroundColor='#666666'">TEXT HERE</span>


  • Registered Users Posts: 11,987 ✭✭✭✭zAbbo


    What about people with different styles/theme's like that hidious cloud theme, eh, how would that work Horatio Alger


Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.

Advertisement