UNLEASHED YOUR CREATIVITY!
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.
Regards: FSMANIA Team

UNLEASHED YOUR CREATIVITY!


 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in

 

How to make a Extension files

View previous topic View next topic Go down 
Author Message
[AKOSIAMICK]
VIP

avatar


Age : 22 Registration date : 2009-03-11 Number of posts : 60 Location : Job/hobbies : Humor :

PostSubject: How to make a Extension files   Wed Mar 11, 2009 7:37 am

Credits : HCG & The Cradle.
Info: Repost of Rafael from HCG.
More info : Learn more about having an extension files.

CREATING MAIN FILES
a tutorial in creating an extension file, wherein you can compile yer CSS and JS codes.

credits to:
the cradle(generator)

First, create an account @ fileave.com (or to whatever web hosting site ye prefer)
after that

create your own sub folder
Just go to FILES replace the Folder Name with yourfolder then click create subfolder
Spoiler:
 

Spoiler:
 

after creating yer subfolder click on the yourfolder folder and you'll likely find this:
Spoiler:
 

Now, click on the Create Text File and you'll see like this:
Spoiler:
 

--save yer BLANK text file as external.css

NOW for the js files same with yer external.css just replace the filename with external.js AGAIN DON'T PUT ANYTHING here first! here's the sample:
Spoiler:
 

After doing this your folder must have this two links:
Spoiler:
 

-------
now that you have the yer two external files. you will be needed to do this last and final step:

go to Create Text File and copy-paste this code on the text area:

Code:
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "LINK OF YOUR EXTERNAL.JS";
document.getElementsByTagName("head")[0].appendChild(script);

var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "LINK OF YOUR EXTERNAL.CSS";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);

--replace the bold letters with yer own link the one above, yer external css and js.

refer to this:



--
JUST CLICK SAVE make sure that that the last text is external.swf

now you have three links in your own folder!
Spoiler:
 

get the direct link of yer external.swf and

generate the link @

http://the-cradle.forumotion.com/JS-Llinker-Generator-h75.htm

and directions are given at the said generator. paste the code on your Mediabox section(only)

all you have to do is find codes! either css or js just make sure that js codes will be placed on yer EXTERNAL JS while the css on yer EXTERNAL CSS.

is this easy? of course just read the text carefully and follow each steps!


ENJOY!
Back to top Go down
View user profile
pogee aco..
Moderator

avatar


Age : 24 Registration date : 2009-03-10 Number of posts : 116 Location : Job/hobbies : Humor :

PostSubject: Re: How to make a Extension files   Thu Mar 12, 2009 1:30 am

tnx 4 dis kinuha mu sa HCG?? naku bawal un hahaha
Back to top Go down
View user profile

How to make a Extension files

View previous topic View next topic Back to top 
Page 1 of 1
Friendster Mania Members
Follow the rules of this forum!

Permissions in this forum: You cannot reply to topics in this forum
UNLEASHED YOUR CREATIVITY! :: FSMANIA DESIGN AND DEVELOPMENT :: MISCELLANEOUS ADD-ONS,TIPS AND TRICKS -