|
|
|
Joined: Jan 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 13 |
hi all, how do i go about changing the color on my main forum page (ie where the forum names and descriptions are) i want to change the text color from white to red when there a mouse over detected? thanks for the help ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif)
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
moving to HTML, Javascript, & CSS ------------------ parallel parking job------------------ 
|
|
|
|
Joined: Jan 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 13 |
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
And now that you're here, I can tell you that I wrote a tutorial on doing this, and you can find it here . ------------------ a nothing thing
|
|
|
|
Joined: Jan 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 13 |
thanks empire reading it as i type ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif)
|
|
|
|
Joined: Jan 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 13 |
sorry ive read it and it means nothing to me ![[Linked Image]](https://ubbdev.com/ubb/smilies/frown.gif) ive managed to set up my forums but what uve putin the tutorial means nowt to me ![[Linked Image]](https://ubbdev.com/ubb/smilies/frown.gif) prob me being thick so if any1 else knows a simpler way ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ...........
|
|
|
|
Joined: Sep 2000
Posts: 1,304
Addict
|
Addict
Joined: Sep 2000
Posts: 1,304 |
It doesn't get any simpler than that. That's the most basic way to have a different color when hover. Sorry man, it's a situation where people say "Take it or leave it" ------------------ 
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
Yeah...what can I say? Thats as simple as it gets, really. You can basically just copy and paste that code from the tutorial into your header, change the color vakues, and everything will be right on. ------------------ a nothing thing
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
That does work... and you can experiment with the colors as well. I paste it into our "headerinsert" box about 1/3 the way down in general settings.. it places the code between the tags... ------------------ Allen - http://www.stand318.com
|
|
|
|
Joined: Jan 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 13 |
Im sorry if i came across ungreatful (that wasn't what i intended to come across as (me wacks myself on everyones behalf) i'll try copy and pasting the tutorial, i only ment that the tutorial was above my head new to this html and web stuff me creeps back under the stone i came from ![[Linked Image]](https://ubbdev.com/ubb/smilies/frown.gif)
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
Thats all right. If you want to learn more about HTML and CSS, try going to webmonkey.com and reading their tutorials. Or, buy a book on the subject. I reccommend HTML 4.0: for the world wide web by Elizabeth Castro (a Quickstart Guide, Peachpit Press). Thats a good book from a good line of books...If not that, a book on XHTML would put you even farther ahead. ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ a nothing thing
|
|
|
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I put the code between the tags on one of my pages and it didn't do anything. What am I doing wrong, and also where can i get a list of colors in that hexidecimal code?
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
which code did you add? Are you using a new browser, or some 3.0 clunker, or webtv, etc? Hexidecimal codes can also be found at webmonkey.com ------------------ a nothing thing
|
|
|
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I'm using IE 5.5 latest version with service pack.
I can see the white mouseovers just fine here at UBBDEV.
This message has been edited by NBAustin on January 10, 2001 at 05:50 PM
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
It's as simple as that. The comment tags you're using are the wrong ones. Comment tags for styles aren't really necessary anyway, unless you want backwards compatibity with version 2 and 3 browsers. I should note that the comment tags you are using are basically telling the browser to interpret the following: ------------------ a nothing thing
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
commenting out things eliminates them from being parsed. i wouldn't comment out things that you want to be included, if i were you... in HTML, this: has the same effect as this: # in Perl. ------------------ parallel parking job------------------ 
|
|
|
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Tried it both ways.
Nothing happens.
|
|
|
|
Joined: Aug 2000
Posts: 469
Member
|
Member
Joined: Aug 2000
Posts: 469 |
well, sorry. It works. I use it on everything I do, I've never had a problem. Countless other people use the exact same syntax and it works fine. ------------------ a nothing thing
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
This is what we put it our header insert box: odd, it works in IE and NS6, do a "view source" and check it... ------------------ Allen - http://www.stand318.com
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
you are right if you are using an *old* browser ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) it hides the code only from old browsers or from the browsers that does not support it...
|
|
|
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I've got it working with the code that is NOT using the . BUT...only IE and Netscape 6 can see it.
|
|
|
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I guess I need to put the code within tags too huh?
I have links within tables that won't change color when moused-over.
|
|
|
Joined: Jan 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 13 |
eeeek now look what i started ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif)
|
|
|
|
Joined: Aug 2000
Posts: 594
Member
|
Member
Joined: Aug 2000
Posts: 594 |
I can't believe this thread is still going... NBAustin, the older browsers will not show the mouseovers. For a list of what will and will not work check here : http://hotwired.lycos.com/webmonkey/reference/stylesheet_guide/ The results you are reporting are the correct ones like it or not. You may want to make multiple styles sheets and load them (with javascript) based on the browser if that fact that they do not mouseover in the old browsers are unacceptable. Good luck, jeremiah ------------------ Jeremiah FreakScene - The Dinosaur Jr Audio/Visual Archive My UBB In ( ((((((((((((((STEREO))))))))))))) ) ) Where Available
jeremiah
|
|
|
|
Joined: Jan 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Jan 2001
Posts: 13 |
thanks empire for your perseverance ive sussed it now ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) using the stuff off your tutorial thanks
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|
 |
 |
 |
|