• Welcome to Dark Bit Factory & Gravity.
 

Web Technology Clinic

Started by combatking0, October 05, 2006

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

combatking0

Hello everyone!

I'm Dr. Combat King, and I'm here to try to answer your questions about web coding in HTML, JS, CSS, ASP and PHP.

While I don't know everything there is to know, I'll try to find the answers for you regardless. Unless somebody else knows the answer, and they reply first.
You are our 9001st visitor.
Challenge Trophies Won:

psygate

Sry if I ask you smth like that, but you just joined the forum to answer questions about webcoding?
He who controlles the minds commands the many.
He who commands the many, conqueres the minds.

combatking0

Well, that and learning a few tips in web coding and other languages.

And having a laugh with the good folks up here.
You are our 9001st visitor.
Challenge Trophies Won:

Blitz Amateur

I think you'll like this Ck0 =)

http://elijah.aquivae.com/rasters.html

JS rasterbars ;D

Still, any ideas for optimsing? It's a bit slow for my liking..

combatking0

I'll have a look.

Damn, that's impressive!
You are our 9001st visitor.
Challenge Trophies Won:

Shockwave

Works nice in Firefox too :)
Shockwave ^ Codigos
Challenge Trophies Won:

combatking0

My alternitive (which should run faster) to your brilliant table-based movement thing would use divs - but it wouldn't work in firefox.

I'll have to learn more about JavaScript and tables.
You are our 9001st visitor.
Challenge Trophies Won:

benny!

Quote from: combatking0 on November 06, 2006
My alternitive (which should run faster) to your brilliant table-based movement thing would use divs - but it wouldn't work in firefox.

I'll have to learn more about JavaScript and tables.

Why wouldnt work <div>s in firefox ???
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Blitz Amateur

#8
Quote from: benny! on November 06, 2006
Quote from: combatking0 on November 06, 2006
My alternitive (which should run faster) to your brilliant table-based movement thing would use divs - but it wouldn't work in firefox.

I'll have to learn more about JavaScript and tables.

Why wouldnt work <div>s in firefox ???

Oh, but they do work  ;)

Linky!

(That's JS, HTML, and ONE image file for the rasterbars )

EDIT: Doesn't quite look right in IE as it won't let me set the size on a div  ???

combatking0

In the style attribute, add

overflow:hidden;

That will restrict the size of your divs to the exact size as specified by height:??px; and width:??px;
You are our 9001st visitor.
Challenge Trophies Won:

Blitz Amateur

Thanks! Fixed above code =)

And, for a neat tweak, linky

combatking0

Ah yes, Javascript is capapble of some fine things.

Like division.
The attachment is a work in progress, but if you click on the box on the conveyor, enter a number between 1 and 99, then enter a lower number into the box on top of the machine and hit start, you'll see something I'm making for my employer in action!
MSIE only.
You are our 9001st visitor.
Challenge Trophies Won:

Blitz Amateur

Hah! That's awesome!