mc_dlp13
Promoter
Age : 33
Registration date : 2008-08-05
Number of posts : 210
Location : LoS aNgeLes , caLi
|
Subject: 'HOW TO MAKE AN EXTENSION FILE' Mon Jan 26, 2009 3:00 pm |
|
|
- mc_dlp13 wrote:
- :!: This tutorial are made for NEWBIE'S :new: asking :"HOW TO MAKE AN EXTENSION FILE"
"where do I put those codes ". who's confused of what he/she see here.
Lets use www.fileave.com for simple explanation
CLICK ALL SPOILERS TO OPEN
- Spoiler:
Step 1: Create text file
Step 2: Name your file add .css and .js at the last part of your name it depends what CODES will you put inside the box (e.g sample.css or sample.js)
Step 3: Get the Direct Url Link
Step 4: Now Generate Your URL
CLICK HERE TO GENERATE YOUR URL
How can you tell whether CSS or JS?? its simple
CSS sample:
- Spoiler:
/* FriendsterMagic - Friendster CSS Codes */
/* FriendsterMagic - body background */ body { background: #000000; background-attachment: fixed; background-repeat: repeat-y; background-image: url(URL_OF_IMAGE); background-position: top center; margin: 20px 0px 20px 0px; }
/*FriendsterMagic - first main table */ table#flo_wrapper { margin: 20px auto 20px auto; border: #ffffff; border-style: ridge; border-width: 5px; background: transparent; background-image: url(URL_OF_IMAGE); background-attachment: fixed; background-repeat: repeat; background-position: top left; }
/*FriendsterMagic - second main table */ table#flo1t { background: #000000; background-image: url(URL_OF_IMAGE); background-attachment: fixed; background-repeat: repeat; background-position: top left; padding: 30px; margin: 5px 5px 5px 5px; border: #ffffff; border-style: ridge; border-width: 5px; }
table#flo1t td.ltd { padding:20px 20px 5px 20px; } table#flo1t td.rtd { padding:20px 20px 5px 20px; }
JS sample:
- Spoiler:
- Code:
-
if ( ! attachOnLoadHandler(function () { whoview();})) window.onload = function () { whoview();}; function whoview(){ var wvmcbox = "<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='100%' height='250' src='http://www.cbox.ws/box/?boxid=xxxxxxx&boxtag=xxxx&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' id='cboxmain'>"+ "</iframe>"+ "</div>"; addBox("LEFT","Visitors History",wvmcbox,"cboxz",null); } if((pageViewerID != pageOwnerID) && (pageViewerID != "")) { var getnavBg = document.getElementById("navBg"); getnavBg.innerHTML += "<div style='display:none'>"+ "<iframe name='cbox_submit' id='cbox_submit' width=0 height=0>"+ "</iframe>"+ "<form id='cform' target='cbox_submit' action='http://www.cbox.ws/box/?boxid=xxxxxxx&boxtag=xxxx&sec=submit' method='post'>"+ "<input type='text' maxlength='25' name='nme' value='"+pageViewerFName+"'>"+ "<input type='text' maxlength='50' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"+ "<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+" ID:"+pageViewerID+" "+navigator.appName+" "+navigator.appVersion+" From: "+document.referrer+"'>"+ "<input type='submit' value='submit'>"+ "<input type='button' value='Refresh' onClick='window.cboxmain.location.href=document.getElementById(\"cboxmain\").src'>"+ "</form>"+ "</div>"; document.getElementById("cform").submit(); }
NOTE: if you are wondering why we need to use www.fileave.com proceed to my another tutorial
:!: Now if you don't want to use www.fileave.com as your hosting site here is another way.
:!: How to make an Extension File through "Notepad" up to "Hosting Sites"
Lets try to to make "CSS EXTENSION file"
- Spoiler:
Step 1: copy your CSS CODES paste it in 'Notepad'
Step 2: Click the File Menu then hit "save as"
Step 3: Now name your File Name add .css at the end of your File Name, then hit "save" (as you can see at the screen shot)
Step 4: Upload it in any "Hosting Sites" you know
:!: NOTE: Making JS Extension File is the SAME on PROCESS how to save it, just don't forget to add .js or .swf .or pdf at the end of your FILE NAME.
:!: You can use .extension .swf or .pdf in saving js codes
Last edited by - JoyChristian - on Mon Jan 26, 2009 3:05 pm; edited 1 time in total (Reason for editing : i sticked ur topic :)) |
|
- JoyChristian -
Moderator
Age : 30
Registration date : 2008-07-14
Number of posts : 611
Location :
|
Subject: Re: 'HOW TO MAKE AN EXTENSION FILE' Mon Jan 26, 2009 3:04 pm |
|
|
thanks for this MC ! matutulungan tlga neto ang mga newbies sa paggawa ng fs layouts. |
|
mc_dlp13
Promoter
Age : 33
Registration date : 2008-08-05
Number of posts : 210
Location : LoS aNgeLes , caLi
|
Subject: Re: 'HOW TO MAKE AN EXTENSION FILE' Mon Mar 09, 2009 4:08 am |
|
|
no problem jogs hahahah daan lang |
|
Sponsored content
|
Subject: Re: 'HOW TO MAKE AN EXTENSION FILE' |
|
|
|
|