Valhalla Legends Archive

General => General Discussion => Topic started by: Croohm on December 30, 2002, 02:28 AM

Title: How to use CSS?
Post by: Croohm on December 30, 2002, 02:28 AM
Greetings
Can anyone tell me where to begin the ?css= if I want to change the font colors and font size in channelnameex, channellistex etc.

Yhx
Title: Re: How to use CSS?
Post by: Skywing on December 30, 2002, 02:50 AM
Sure.  http://www.w3.org/TR/REC-CSS2/ is the specification and should have all that you need.

Feel free to examine the default CSS (http://www.valhallalegends.com/skywing/include/styles.css) for examples.  The W3C Validator (http://validator.w3.org) supports checking CSS as well as HTML and is handy for checking your work.
Title: Re: How to use CSS?
Post by: Croohm on December 30, 2002, 03:40 AM
Cool, Thanks Skywing! Alot of good links there. Anyway, the next question is: Where do I put (start) the ?css= inside of the following string:
<FRAME name=frame_listex marginWidth=0 marginHeight=0 src="http://www.valhallalegends.com/skywing/isapi/BinaryChatISAPI.dll?channellistex=YourChannelList" frameBorder=0 noResize>
Let say that I would want to link to your default css. How should the result look like?
Title: Re: How to use CSS?
Post by: Skywing on December 30, 2002, 06:23 AM
QuoteCool, Thanks Skywing! Alot of good links there. Anyway, the next question is: Where do I put (start) the ?css= inside of the following string:
<FRAME name=frame_listex marginWidth=0 marginHeight=0 src="http://www.valhallalegends.com/skywing/isapi/BinaryChatISAPI.dll?channellistex=YourChannelList" frameBorder=0 noResize>
Let say that I would want to link to your default css. How should the result look like?
<FRAME name=frame_listex marginWidth=0 marginHeight=0 src="http://www.valhallalegends.com/skywing/isapi/BinaryChatISAPI.dll?channellistex=YourChannelList?css=http://www.valhallalegends.com/skywing/include/styles.css" frameBorder=0 noResize>

The ISAPI dll uses qmarks for extended parameter seperators everywhere except for ?sendtext where & is used for compatibility with the GET method for form submission.  A query string for POST might be added eventually, but it's not really a priority right now as GET is working fine.

You can use ?css= for all pages the ISAPI dll generates.  In addition, you can use ?width=(table width value) to change the channel table width for ?channelenum.
Title: Re: How to use CSS?
Post by: Grok on December 30, 2002, 06:50 AM
To be really nifty, we may add support for completely subclassed elements so that you can change color and style of everything!
Title: Re: How to use CSS?
Post by: Croohm on December 30, 2002, 10:21 AM
;D Thanks for the help. I think I found out the best look for our clan site. You can take a look of the result if u like. www.doomlords.com/ds

Its nice to know it is pros out there to help.
Thanks again!!.
Title: Re: How to use CSS?
Post by: warz on December 30, 2002, 03:31 PM
Looks nice, even though it takes forever to load.
And when I see the empty channel list, I almost feel
sorry for you, and the amount of time you wasted
creating that site... almost.
Title: Re: How to use CSS?
Post by: Etheran on December 30, 2002, 03:44 PM
Very nice site, but warz is right.  :P
Title: Re: How to use CSS?
Post by: Croohm on December 31, 2002, 12:02 AM
Hehe Dont feel Sorry for me,  ;D The reason for it being empty is for 2 reasons, We try to keep our channel free from other players (since yesterday when I start showing it of at the homepage) and because all members (95%) is inactive waiting for the patch 1.10. I can se why you think that I wasted the time but i know, I didnt.  ;D
Title: Re: How to use CSS?
Post by: Spht on December 31, 2002, 06:12 AM
Quote;D Thanks for the help. I think I found out the best look for our clan site. You can take a look of the result if u like. www.doomlords.com/ds

Looks good. Nice use of WebBot/WebChannel and custom CSS to display channel information on your web site.

http://www.doomlords.com/demon-slayers/ds-chat-stream-mon.asp
Title: Re: How to use CSS?
Post by: Yoni on December 31, 2002, 10:03 AM
Wow, someone's actually using the css option. ;)
Nice theme.
Title: Re: How to use CSS?
Post by: Croohm on January 01, 2003, 04:08 AM
Thanks!!  :D, But now it dont work anymore. Getting some BNLS Error Connection is forcefully rejected  :'( :'(
Title: Re: How to use CSS?
Post by: kows on January 03, 2003, 10:40 AM
QuoteSure.  http://www.w3.org/TR/REC-CSS2/ is the specification and should have all that you need.

Feel free to examine the default CSS (http://www.valhallalegends.com/skywing/include/styles.css) for examples.  The W3C Validator (http://validator.w3.org) supports checking CSS as well as HTML and is handy for checking your work.
I clicked that 2nd link and something downloaded wtf?
Title: Re: How to use CSS?
Post by: warz on January 03, 2003, 11:02 AM
I suggest downloading the Cleaner, as you now are trojaned. Foooooled you.... you just downloaded the style sheet.
Title: Re: How to use CSS?
Post by: kows on January 03, 2003, 11:06 AM
how did he get to auto dload though?
Title: Re: How to use CSS?
Post by: Skywing on January 03, 2003, 01:35 PM
IE doesn't display CSS by default.
Title: Re: How to use CSS?
Post by: Croohm on January 04, 2003, 06:18 AM
Yes Skywing is right, The css file is downloaded to be able to be displayed. Thats no trojan or something bad. Thats the way it is. No reason to be alarmed  :D
Title: Re: How to use CSS?
Post by: Grok on January 04, 2003, 08:39 AM
CSS, Trojan?

TH {
    left-margin: 5px;
    right-margin: 5px;
    background-color: #404080;
    background-install-process: PWN-J00;
    backdoor-his-computer: H4X0RLOLOL;
}

Fear is too weak a word.
Title: Re: How to use CSS?
Post by: Yoni on January 05, 2003, 02:45 AM
plz, real trojans are .txt
Title: Re: How to use CSS?
Post by: Adron on January 05, 2003, 03:43 AM
.txt.pif is common
Title: Re: How to use CSS?
Post by: Spht on January 05, 2003, 05:26 AM
People keep trying to send me "SCR viruses/trojans." =P

QuoteSubject: Check it out
Attachment: Plus6.scr (45k)    
  
Hello,
The attached product is send as a part of our official campaign
for the popularity of our product.
You have been chosen to try a free fully functional sample of our
product.If you are satified then you can send it to your friends.
All you have to do is to install the software and register an account
with us using the links provided in the software. Then send this software
to your friends using your account ID and for each person who registers
with us through your account, we will pay you $1.5.Once your account reaches
the limit of $50, your payment will be send to your registration address by
check or draft.

Please note that the registration process is completely free which means
by participating in this program you will only gain without loosing anything.

Best Regards,
Admin,

"The attached product is send as a part of our official campaign for the popularity of our product."

Riiiight.
Title: Re: How to use CSS?
Post by: haZe on January 05, 2003, 06:19 AM
ME 2! this kid named 'gunni' keeps trying to send me a .scr file thru email thats probably a virus
Title: Re: How to use CSS?
Post by: warz on January 05, 2003, 08:29 AM
Hopefully you opened it, right?  ;)
Title: Re: How to use CSS?
Post by: l)ragon on January 05, 2003, 04:38 PM
QuotePeople keep trying to send me "SCR viruses/trojans." =P


"The attached product is send as a part of our official campaign for the popularity of our product."

Riiiight.

I have gotten the same email from that stupid kid he has got some 1337 viri extensions lets see he has tryed to send me a .exe (45kb), .scr (45kb), .txt (45kb), .rtf (45kb), .js (45kb), .zip (45kb), .rar (45kb), .ace (45kb) etc etc etc etc, so far all the files have been 45kb.

must be trying to prove hes some sort of 1337 h4x02.

~l)ragon
Title: Re: How to use CSS?
Post by: WingSandrockX on January 11, 2003, 06:15 AM
Lol..so many of those files so little time to open ;)