<  [CUSTOMIZATION] hover color?

Author Message
[CUSTOMIZATION] hover color?
PostPosted: May 13th, 2009, 2:36 pm
Posts: 2Joined: May 9th, 2009, 8:49 pm
hello
i've benn editing nosebleed's stylesheet and everything is fine a part that i cant find anewhere the color code for the hover of this table (the main), could someone help me?

Image

thank you
cris


Offline Profile


Re: [CUSTOMIZATION] hover color?
PostPosted: May 14th, 2009, 11:34 pm
User avatarSite AdminPosts: 480Joined: November 1st, 2007, 6:12 pm
Hi there,

The hovering color is not controlled by the css style but directly in the template. To amend this in Nosebleed, here is what you should do:

1. make a backup of the forumlist_body.html file located in the /styles/nosebleed/template/ folder.

2. open the forumlist_body.html file. At line 42 or thereabouts, you should find the following code:
Code:
onmouseover="this.style.backgroundColor='#EBEBEB'; this.style.cursor='pointer'"
Replace #EBEBEB by the color code you want.

3. Save the file, clear your cache and you are done.

M



_________________
For a full showcase of the templates, please go here.
Offline Profile WWW
Re: [CUSTOMIZATION] hover color?
PostPosted: August 6th, 2009, 3:27 am
Posts: 1Joined: August 5th, 2009, 7:49 am
strangest thing... i followed these instructions to exactment, no problem right?

Yet.... i am still getting the same color mouseover on as i was before...

anyone have a solution?

G


Offline Profile
Re: [CUSTOMIZATION] hover color?
PostPosted: August 6th, 2009, 8:00 am
User avatarSite AdminPosts: 480Joined: November 1st, 2007, 6:12 pm
Hello!

Did you clear your cache after making the change?

M

chambermusik wrote:
strangest thing... i followed these instructions to exactment, no problem right?

Yet.... i am still getting the same color mouseover on as i was before...

anyone have a solution?

G



_________________
For a full showcase of the templates, please go here.
Offline Profile WWW
Re: [CUSTOMIZATION] hover color?
PostPosted: January 26th, 2010, 2:06 am
Posts: 3Joined: December 26th, 2008, 1:26 am
Hi mgoi,

can you give me a hint how i can replace a color to an image?

I read a bit about the "this.value" code on a german coder page, but they have only an example for a text, but not for an image...

Hope you can help me...

Thanks


Offline Profile
Re: [CUSTOMIZATION] hover color?
PostPosted: January 26th, 2010, 6:50 pm
ContributorPosts: 73Location: hunJoined: January 4th, 2009, 4:09 am
you are searching for the this.src attribute.

use it like this:
Code:
onmouseover="this.src = 'newfile.gif'" onmouseout="this.src = 'original.gif"


beware that if you want to change an other picture, not just the one you hovered over, than you can use
Code:
document.getElementById(The ID of your object).src="replacement.gif"

and dont forget to change it back on mouseout.

If you want to learn a little javascript, then I recommend w3schools.com they have a lot of useful examples and they teach everything from the basics, so you will have no difficulty understanding it.

You can really modify everything dynamically through javascript on your page, you just have to understand the Document Object Model.


Offline Profile WWW ICQ YIM

Display posts from previous:  Sort by:

All times are UTC + 8 hours
Page 1 of 1
6 posts
Users browsing this forum: No registered users and 1 guest
Post new topic  Reply to topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum