Simple (first) web template
Re: Simple (first) web template
hey how about the security for that template?
did u learn on how to make script for anti-flood/ddos
its just like tricks...
Re: Simple (first) web template
Quote:
Originally Posted by
fadfunky
hey how about the security for that template?
did u learn on how to make script for anti-flood/ddos
its just like tricks...
What? Anti DDOS in a web template. You are a genius sir.
Re: Simple (first) web template
Re: Simple (first) web template
Re: Simple (first) web template
Quote:
Originally Posted by
fadfunky
hey how about the security for that template?
did u learn on how to make script for anti-flood/ddos
its just like tricks...
What the fu..?
Re: Simple (first) web template
Quote:
Originally Posted by
Kore
What? Anti DDOS in a web template. You are a genius sir.
How a 'denial of service' attack works - CNET News
facepalm.jpg
Re: Simple (first) web template
Code:
@font-face {
font-family:'delicious';
src:url(fonts/delicious.otf);
}
useless
Code:
margin:0 auto 0 auto;
instead code it as
Code:
background-attachment:scroll;
background-image:url(images/bckground.gif);
background-repeat:repeat-x;
Do it like this, it can save up for your time and the loading speed.
Code:
background:url(images/bckground.gif) scroll repeat-x;
Code:
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/general.js"></script>
Place it before </head> instead at the bottom of the page.
I ran a checkup on The W3C Markup Validation Service ,no errors found.
Well, you have to keep it up.
Re: Simple (first) web template
Quote:
Originally Posted by
NubPro
Code:
@font-face {
font-family:'delicious';
src:url(fonts/delicious.otf);
}
useless
say what?
Re: Simple (first) web template
Quote:
Originally Posted by
NubPro
Code:
background-attachment:scroll;
background-image:url(images/bckground.gif);
background-repeat:repeat-x;
Do it like this, it can save up for your time and the loading speed.
Code:
background:url(images/bckground.gif) scroll repeat-x;
u talk about nano seconds. would u even prefer not to use any comments just the file isnt that large to download then? pff
although, his method is easier to read and understand, specially for newbies.
Re: Simple (first) web template
Quote:
Originally Posted by
NubPro
Code:
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/general.js"></script>
Place it before </head> instead at the bottom of the page.
Actually, it is quite common practice to put javascript at the bottom of the page (despite it being against standards). Because if you put it in the header, it all needs to load before the page can actually display. Putting javascript at the bottom of the page allows the actual page to display while the javascript is still being loaded.
Re: Simple (first) web template
Quote:
Originally Posted by
Smitty
Actually, it is quite common practice to put javascript at the bottom of the page (despite it being against standards). Because if you put it in the header, it all needs to load before the page can actually display. Putting javascript at the bottom of the page allows the actual page to display while the javascript is still being loaded.
i would prefer to do it before the </head> and simply put it in a function that i call via onload. thats the most valid.
Re: Simple (first) web template
Quote:
Originally Posted by
VibeTribe
i would prefer to do it before the </head> and simply put it in a function that i call via onload. thats the most valid.
Yes, but if you're loading several other functions, that may be timely to load, it will slow down the load-time of your page. So instead of loading the page, and letting the user do what they want while the 'extras' are loading, you're stopping them from accessing the page until everything (even stuff they wont necessarily use) is being loaded.
Here is a small writeup about why you should put scripts below your page:
Best Practices for Speeding Up Your Web Site
Re: Simple (first) web template
Quote:
Originally Posted by
foxx
say what?
What talking you!?
Anyway, why the hell you need that script when its completely pointless
Quote:
Originally Posted by
VibeTribe
u talk about nano seconds. would u even prefer not to use any comments just the file isnt that large to download then? pff
although, his method is easier to read and understand, specially for newbies.
Hey you should improve a lot more before posting this
Re: Simple (first) web template
Quote:
Originally Posted by
NubPro
What talking you!?
Anyway, why the hell you need that script when its completely pointless
Hey you should improve a lot more before posting this
Delicious is a font that needs to be imported...