Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Forum News, Suggestions and Discussion

 
 
Thread Tools Display Modes

 
Reply
Posted 2008-02-17, 03:22 PM in reply to WetWired's post "New version chatbox"
The new log page is in place. I'm still working out what kind of stats I'm going to do.
The new corner chatbox is in place.

You can now personalize the color of your name in the chatbox (Click here, scroll down). Don't abuse it.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2008-02-17, 03:34 PM in reply to WetWired's post starting "The new log page is in place. I'm..."
Just something about the name colour which I said in the Chatbox, but you might have missed:

When the standard colour is selected, if you hover over the name, it turns white, as links are prone to do. If the user has a colour selected, however, and you hover over their name in the Chatbox, there is no change.

I don't know whether this is intentional or not. The cursor still turns into the hand, by the way, it's just that the link doesn't turn white on mouse hover.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2008-02-17, 03:53 PM in reply to Lenny's post starting "Just something about the name colour..."
Nothing I can do about that. Really, I'd rather the names be the normal text color, but since that varies, it's a pain to fix it up that way.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2008-02-17, 03:55 PM in reply to WetWired's post starting "Nothing I can do about that. Really,..."
Can I ask how things like that work with the Chatbox?

And a question that's slightly off-topic, but still relevant - can PHP variables (I think would be the right name for them) be used in CSS documents?
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2008-02-17, 04:24 PM in reply to Lenny's post starting "Can I ask how things like that work..."
Quote:
Can I ask how things like that work with the Chatbox?
Not sure what you mean.

You can use PHP variables in CSS if the CSS is being output by PHP
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2008-02-17, 04:34 PM in reply to WetWired's post starting "Not sure what you mean. You can use..."
Sorry. What I mean is the name colour, mostly, and how it works as a link. What type of scripting is used to achieve that within the Chatbox?

The relation of CSS to this is that... in fact, I'll post some CSS code I use on my sites for menus:

Quote:
A.menu:link {
color: #000000;
text-decoration: none
}

A.menu:visited {
color: #000000;
text-decoration: none
}

A.menu:active {
color: #FFFFFF;
text-decoration: none
}

A.menu:hover {
color: #FFFFFF;
text-decoration: none
}
I don't need to explain it to you.

My thoughts were that, if the Chatbox makes use of stylesheets for it's style, code such as that above could be used to set the links - for the first two (:link and :visited), the colour code could be replaced by a PHP variable, whilst the bottom two (:active and :hover) could have the #FFFFFF colour code to make them white.

Just to go to the PHP variable - I have very little knowledge of PHP, so I'm probably wrong, but is it possible to send what the user chooses as their name colour in their user options as a PHP variable, which can then be placed into something like that above?

---

I have doubts that above would work, but they're my thoughts on the link hover =/= white matter. A lot of fuss for a tiny... well, it's not even a problem.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2008-02-17, 05:04 PM in reply to Lenny's post starting "Sorry. What I mean is the name colour,..."
The issue is that the PHP code doesn't have access to the default color and that the set color overrides the color for all states of the link, including hover.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zelaron Frappr Version 2 !King_Amazon! General Discussion 8 2007-10-14 11:51 AM


All times are GMT -6. The time now is 12:12 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.