Page 1 of 1

how to put on the web - Resolved

Posted: Sun May 25, 2014 9:35 am
by Cool Dji
Hello,

At first, sorry for my bad english (...)

I have a web site with all the Spiderbasics libraries (Catalogs, Complilers...)
and i put SpiderBasic_Compilation0.html and SpiderBasic.js and data (of course) like that:

Spiderbasics (folder)
SpiderBasic_Compilation0.html
SpiderBasic.js

at http://www.jeuxvideobesancon.fr/SpiderB ... tion0.html

but it's not ok
i try with src"../Spiderbasic" on SpiderBasic_Compilation0.html, but no progress

I have use phaser and its more simple : i don't understant its not easy to do the same thing with SpiderBasic.html and js files...

http://jeuxvideobesancon.fr/factory.html coding with phaser

Thank you for help, i need to know what Spiderbasic libraries pu on my web site...

Re: how to put on the web

Posted: Sun May 25, 2014 9:50 am
by Peter
take a look at my SpiderBasicCopier - Tool:

http://forums.spiderbasic.com/viewtopic.php?f=9&t=100

perhaps it fits your needs.

Greetings ... Peter

Re: how to put on the web

Posted: Sun May 25, 2014 9:16 pm
by MrTAToad
There is a slight "mistake" in the filenames, whereby the code wants something lowercase and the actual file is (partly) upper case.

Once that is sorted, everything should be okay.

Re: how to put on the web

Posted: Thu May 29, 2014 7:10 am
by Cool Dji
Thank Peter & MrTAToad for answer.
I try again & again ;) but my poor english can't help me on the SpiderBasic's Forum, but on day, it will be ok !!

I have put all the files like that :
Image
I think the directory inside SpiderBasic_Compilation0.html are not ok...

Code: Select all

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="favicon.png"/>
<title>SpiderBasic</title>
<script type="text/javascript">var spider = {}; spider.nbModules = 0; spider.nbLoadedModules = 0;</script>

<script type="text/javascript" data-main="/spiderbasic/libraries/javascript/main.js" src="/spiderbasic/libraries/javascript/require.js"></script>
<script type="text/javascript" src="/spiderbasic/libraries/javascript/library.js"></script>

<script type="text/javascript" src="/spiderbasic/libraries/javascript/xdate.dev.js"></script>
<script type="text/javascript" src="/spiderbasic/libraries/javascript/pixi.js"></script>
<link rel="stylesheet" title="Default" href="/spiderbasic/libraries/javascript/windows-7/windows-7.css" type="text/css" media="screen" />
<script type="text/javascript" src="SpiderBasic.js"></script>

</head>

<body class="claro" id="SpiderBody" onLoad="SpiderMain();">

</body>
</html>

Re: how to put on the web

Posted: Thu May 29, 2014 11:21 pm
by MrTAToad
Try using "spiderbasic" instead of "SpiderBasic" for the directory name - remember it's all case sensitive!

Re: how to put on the web - Resolved

Posted: Sat May 31, 2014 9:05 pm
by Cool Dji
Yes, of course...Thank you MrTAToad, 'SpiderBasic/Libraries' to 'spiderbasic/libraries' and all is ok... :)