₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,147 members, 8,420,550 topics. Date: Friday, 05 June 2026 at 12:55 AM

Toggle theme

CODEEATER's Posts

Nairaland ForumCODEEATER's ProfileCODEEATER's Posts

1 2 3 4 5 6 7 8 ... 25 26 27 28 29 30 31 32 33 (of 53 pages)

PhonesRe: HTC G2 (Android Phone) Owners Thread by CODEEATER(m): 4:50pm On Oct 06, 2013
Ovie56: tun ko unable to find module Pls help also I need unlimited internet access on ma etisalat its the only network with 4G in ma area Pls help
tun.ko module installer is available on playstore, presume u want to use etisalat bis with droidvpn?

dont waste ur ty?,it wont work...etisalat bis dosnt work on andy

besides...its not "unlimited",3gb monthly and 200mb weekly...
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by CODEEATER(m): 4:46pm On Oct 06, 2013
hopefully so far i havnt made u more confused...hopefully you actually learnt something...

now its time to do something with wat you'v learnt...LETS LINK A STYLE SHEET WITH BOTH METHODS..

sinerio one:you are browsing around the web and come across this great site,and you like the styling,or you uploaded your style in a different hosting site,or u just want to use a style sheet that isnt on your server,what method do we use?,obviously...absolute path is the only option...and this is how

<html><head>
<link rel="stylesheet" href="http://example.com/style.css" />
</head><body >blablabla</body></html>


that should work perfectly...obvioiusly what it does it include a style.css file located in the root of example.com site...

next an example with relative,to save time(cuz am typing from a touch device,cumbersome to say the least) am going to just write the link rel part and leave oda html stuff..

<link rel="stylesheet" href="/style.css" />


<link rel="stylesheet" href="../style.css" />



<link rel="stylesheet" href="../../style.css" />


if u'v understood the "jargons" i'v been saying you should understand the above three examples perfectly..hopefully u do,if not,notify..

FAQS
Q. which saves time more?
A. relative..reason obvious

Q. do i need to end the link tag with a trailing slash?
A. not necessary,but advised

Q. cant i just write the style in the html document directly?
A. not advised,if a site should obey all rules of progressive enhancments,then u r required to use external style sheets(dont ask me what P.E is,our teacher would lecture that)

final note:use absolute for only files that r not on your server,otherwise,relative path sytem is adviesd...remember,for each step out/back of a directory/folder u add a "../"


thank you...if i made any errata anywhere,please notify me @gurus in d house
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by CODEEATER(m): 4:15pm On Oct 06, 2013
now,we'v been able to see how relative path makes things shorter,but what if that file is NOT in the root,what if your index.html file is in another folder,say "assets" and the style is in a "style" dir,what do we do?
simple really:

../style/style.css

simple as that...

what just happened?
the index.html file we are calling from is in a folder named assets,this assests sits in d root,the style we are calling is in the style folder,also in the root dir,you might be asking yourself,whynot just roll it in with "/",well the thing is,"/" dosnt always mean the root dir,it is also recognised as the CURRENT DIRECTORY..for instance,u have a "images" floder in ur assets folder,and an image or anoda style.css file in it,puting "/style.css"or "style/style.css" will call the style.css that is in the assets folder or the style.css file in the style folder whiich is in d assets folder,NOT the one in the root dir...that creates a problem,to bypass that,what we do is to add a ".." before the trailing slash:this tells the browser to TAKE ONE STEP OUT of the current directory and enter the style.css file which is in the root dir and fetch the style.css file...
if you have multiple/nested folders(i.e folders in folders in folders in folders),u'l need to add "../" for each step out of the current folder until you get to the location u want..e.g

../../../assets/images/some-random-pic.png

this example,i presume your dir structure as follows: /root containing=aFolder,anodaFolder,yetAnoda,assets,watEver...etc
then in that assets folder=images,something,anodaFolder,blablabla..

the file(maybe an index.html) with which we r calling FROM is located in a folder,which is in another folder,which is in another folder in the "watEver" dir..

if u notice...3 nested folders,3 "../" to represent each level...

FINAL LESSON IN NEXT POST
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by CODEEATER(m): 3:48pm On Oct 06, 2013
RICTPE: PLS AM HAVING PROBLEM WITH LINKING CSS TO HTML.




THANKS IN ADVANCE
ok,make i try help:

first of all,before u understand how to link or as some call it "embed" a stylesheet on a html doc,u need to first understand d different path systems used.
ABSOLUTE PATH:
an absolute path to a file in its simplest non-geeky terms is simply the FULL path to a file,it tell exactly where a file is on a server,consists of three main compaonents namely;protocol-domain/ip of server-file's location.

example

http://yourdomin.com/style.css
or
http://yourdomain.com/style/style.css

the first sends a query for a style.css file located in the ROOT of the server,the second does same but this time not in the root but in a folder or directory called style,inside which the style.css file is..

RELATivE PAtH

this in its simplest form is almost same as absolute,but this time without the protocol and domain..
simply put;it is the location of a file on the server in RELATION to the document that file is being called from..2much eng?,an example will clear the smoke..

lets rewrite the 2 previous examples:
1. /style.css

and

2. /style/style.css

it is presumed that u r trying to call a style.css file from your index.html file,located in the root dir..

now,for the first xample the style file is also on the root dir,so you simply put "/" which most reletive path links start with,it signifies the root of your server,and since the style file is located there u simply add the name of the style file "style.css"...it becomes "/style.css",wat u hav just done is tell the browser to call a file named style.css in the root dir

example 2 is basically the same,except that this time,it isnt in the root dir but rather a folder IN the root dir named style,and the style.css is in it,so it becomes "style/style.css"


LESSON CONTINUES IN NEXT POST
PhonesRe: Tecno L3 Discussion Thread by CODEEATER(m): 2:52pm On Oct 06, 2013
droidvpn has stoped working again cry
ProgrammingRe: How To Start A Programming Career by CODEEATER(m): 2:50pm On Oct 06, 2013
Nastydroid: hello guys I just finished from secondary school and I am think of studying computer science,and now that I am yet to gain admission I am thinking I should go for an IT training to have an idea before I enter school.is this a right choice?.Also I need someone to tell me how to get a Linux and github account I want to take a risk trying to build a custom rom for my android phone I have been following the guides on xda site.I also need a programming practical that won't need the use of PC (I Av PC) I saw that on a thread but I can't remember. waiting for you guys comments.
1. going for an i.t course to keep u busy is a gud idea,but i FEEL u can learn some stuff without it...

2. forget those custom rom tuts,they are for PORTING a rom,not building,building a rom takes years of mastery of the linux system and kernel upon which Android OS is built,u'l need more than what ever you may think youhave learned to build an android rom,porting or as i like to call it MODING a rom is abit more simpler for a noob(AM NT A PRO MYSELF)...

3. as for the programming practical,wat exactly do u mean?...programming without a PC? if thats it,then i might be able to help cuz thats wat i do...i have two droids,one for d usual stuff:gaming,chating and reading...d oda for programming only tnks to some really cool apps
Technology MarketRe: Request Your Droid VPN, Tweakware VPN Nd Open VPN Upgrade Here by CODEEATER(m): 2:40pm On Oct 06, 2013
guys,droidvpn has stoped again...i have been trying to run it,its jst nt working any more...has been working since yestrday,stoped this aftrnoon... cry
PhonesRe: HTC G2 (Android Phone) Owners Thread by CODEEATER(m): 11:49am On Oct 06, 2013
Ovie56: Now that I'm root can anybody pls post step by step guide on how to upgrade.....
dont be lazy...we cant keep repeating same stuff over n over again,dats redondance...

check previous pages...
ProgrammingRe: Do You Wanna Be A Programmer? Start Here! by CODEEATER(m): 10:04am On Oct 06, 2013
wwweb:
new programmers? Are u a newbie or u're a guru (as nigerians say)? I think u're not a newbie 4 knowing that objective c is used to write iOS apps. Lemme ask u a question, did u learn objective c first? And do u knw to build an iOS app u need a mac?. So, starters should not jump! Thanks.
Exactly... was abt saying same...
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by CODEEATER(m): 9:59am On Oct 06, 2013
Djtm: there are some "non standard" web practices in your tutorial.
nope...not mine,my partner's...

Wat r d errs... lemme tell him
ProgrammingRe: Nigerian Online Chat App by CODEEATER(m): 9:56am On Oct 06, 2013
dpuzo: ok. like i said i av server codes for a chat app wit oda social features. i can modify it if u av an app.
OK...what can your server side do...

R we going to need an interface to communicate with server and app?
ProgrammingRe: 3D Animation Programming Join The Team by CODEEATER(m): 9:51am On Oct 06, 2013
csharpjava: @ Javanian, Ajibel and Others,

How good are you with writing codes to draw computer graphics, as we'll need to create objects that will draw graphics on the screen. Take the image below as an example, how good are you with drawing such images in code. We would need more advanced 3D drawings later and this will require knowledge of 3 dimensional arrays i.e. [ , , ] and [][][] for vector images.
Looks similar to webgl...

With some small threejs code,the below image can be reproduced..


But of course webgl is a different case all 2geda,abstract from your work.
PhonesRe: HTC G2 (Android Phone) Owners Thread by CODEEATER(m): 9:46am On Oct 06, 2013
hyuga: I think they are ICS. same with venom. the ROMs to large and will surely tell on d ram of g2. a ROM heavier than stock itself, I don't see how sleek it shud be.
Imagine... any way,m migrating to miui soon
WebmastersRe: Learn Web Design LIVE On Nairaland!!! by CODEEATER(m): 8:38am On Oct 06, 2013
ProgrammingRe: Nigerian Online Chat App by CODEEATER(m): 8:33am On Oct 06, 2013
Brodas...we're all saying same thing, integrating some of the best features off existing apps + adding our own little stuff to it
ProgrammingRe: 3D Animation Programming Join The Team by CODEEATER(m): 7:09am On Oct 06, 2013
I really can't wait to see the outcome of this...

Success or failure...it was a made attempt, like the mumu said b4,non of my outrageous ideas have ever been put to light but,u get d courage... me i know my limits
PhonesRe: HTC G2 (Android Phone) Owners Thread by CODEEATER(m): 7:01am On Oct 06, 2013
This sensewitch sef, how e b...wat OS
PhonesRe: HTC G2 (Android Phone) Owners Thread by CODEEATER(m): 7:00am On Oct 06, 2013
valarinz: same with me bro, have you been able to fix the problem or get the lg charger?
make una go buy Bb charger na
ProgrammingRe: Nigerian Online Chat App by CODEEATER(m): 8:58pm On Oct 05, 2013
dpuzo: So what exactly makes urs click? You know adding everything to your app is not rili a good idea
explain
WebmastersRe: Urgently Need Javascript Ebook Please by CODEEATER(m): 8:03pm On Oct 05, 2013
Ahh my oga is around...

Other good books in the topic:

JavaScript and query missing manual
Head first JavaScript
JavaScript up and running
All available at the above website


@graphics plus: can you help me with something good to learn nodejs with?
Nairaland GeneralRe: If You Are To Meet 5 Nairalanders by CODEEATER(m): 6:09pm On Oct 05, 2013
Seen
Javanian
Phenomenon vfx
Graphics plus
Dhtm
ProgrammingRe: Nigerian Online Chat App by CODEEATER(m): 6:06pm On Oct 05, 2013
We'v seen whatsapp...2go...bbm...

They all have wat makes them click..and what makes dem zNOT CLICK...

2go 4 example is cool especially on Andy, but the one thing people don't like about it is its go credit ish and a way for users to create a permanent group like whatsapp

Whatsapp,as world famous as it is would have been perfect if it was completely free and had chat rooms like 2go + its ability to create a user group...

Bbm....awesome,but available on BlackBerry only+ u have to give people ur pin b4 getin contacts... if only it had chat rooms like 2go..


Now what if we bring out all the traits of all that we like,n leave all d stuff people don't like...I.e an app that has all the good stuff, and non of the bad...+ a little pizazz of our own to spice it all up+ new UI...

That's wat ChatOn is about
ProgrammingRe: How Is The Code For A Calculator (hardware), Written Into It. by CODEEATER(m): 5:54pm On Oct 05, 2013
Come... y Is it that Nairalanders lyk to insult person
ProgrammingRe: 3D Animation Programming Join The Team by CODEEATER(m): 2:37pm On Oct 05, 2013
Infact...buttom line... THE PROBABILITY OF YOU ACCOMPLISHING THIS IS LOWER THE THAT OF MY MUM WAKING UP 2MORO TO BUY A MAC BOOK FOR HERSELF...
#some one who finds it difficult to operate nokia touch light.
ProgrammingRe: 3D Animation Programming Join The Team by CODEEATER(m): 2:29pm On Oct 05, 2013
I don't know image manipulation and this binary crap...I don't know a lot in physics even though am working on it...I don't know how to make a game...

Am the kinda guy that likes to think the unimaginable, I like creating ideas that can be either just brilliant or sound outrageously stupid,seriously u need to see the kinda stuff I can come up with...but when I saw this,. I Took a sec to imagine wat it'l be like,doz brief 10seconds felt good,but den I came back to reality...


My guy,this is NOT impossible... but its not GOING TO HAPPEN...

ok fine, u know ur way around a computer, understand how the thing really works,great 4 u,I envy that Cuz I don't have dat installed in my brain, but
EducationRe: In Memory Of The Aluu Four Boys by CODEEATER(m): 1:23pm On Oct 05, 2013
This goes out to the fantastic 4,the unfortunate 4...THE ALUU 4...

I never knew you,but we all share your pain

I didn't kill you,but we all wear the stain

The scream of pain,the tears they conjure,

The bre*sts we are,its human nature,

Your smiles,laughter and jokes we miss,

I NEVER MET YOU BUT TO U I SAY THIS...

Keep calm my brothers and rest in peace

EducationRe: In Memory Of The Aluu Four Boys by CODEEATER(m): 1:09pm On Oct 05, 2013
cry cry cry

1 2 3 4 5 6 7 8 ... 25 26 27 28 29 30 31 32 33 (of 53 pages)