Search found 11 matches

by drahneir
Wed Jul 13, 2016 3:54 pm
Forum: Coding Questions
Topic: SB creates diffent files in Export and Run
Replies: 0
Views: 2303

SB creates diffent files in Export and Run

I have noticed, that SB generates files that have different pathes for the SB library references.
This is the export file when clicking "Export":

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>SpiderBasic</title>
<script type="text/javascript">var spider = {}; spider.nbModules = 0 ...
by drahneir
Wed Jul 13, 2016 10:20 am
Forum: Coding Questions
Topic: No action on website
Replies: 12
Views: 8079

Re: No action on website

So what must I do?
by drahneir
Wed Jul 13, 2016 9:22 am
Forum: Coding Questions
Topic: No action on website
Replies: 12
Views: 8079

Re: No action on website

Yes, I filled the names of the HTML and Javascript files:
c:\users\rl\documents\sb\like.html
c:\users\rl\documents\sb\like.js
by drahneir
Tue Jul 12, 2016 4:03 pm
Forum: Coding Questions
Topic: No action on website
Replies: 12
Views: 8079

Re: No action on website

In homepage maker I create a page and insert there the html code. Then the whole project is uploaded.
But I don't know what to do with the Javascript file.
by drahneir
Tue Jul 12, 2016 11:52 am
Forum: Coding Questions
Topic: Error when enabled "Optimize javascript output"
Replies: 0
Views: 2289

Error when enabled "Optimize javascript output"

I get an error message
"...constant document assigned a value more than once ....."
when executing this code:

EnableExplicit

Global Number

Procedure FileHandler()

EndProcedure

Procedure ButtonHandler()
Number + 1
SetGadgetText(2, Str(Number))
EndProcedure

OpenWindow(0, 0, 0, 150, 30 ...
by drahneir
Tue Jul 12, 2016 10:19 am
Forum: Coding Questions
Topic: No action on website
Replies: 12
Views: 8079

Re: No action on website

Homepage maker ultimate 10 is a program that allows you to build your own homepage.
by drahneir
Tue Jul 12, 2016 8:51 am
Forum: Coding Questions
Topic: No action on website
Replies: 12
Views: 8079

Re: No action on website

Hello Fred,

I suspected that the reference to the script file would be the cause.
I used the export function of homepage maker for uploading the project.
What is the correct reference to the script file?
by drahneir
Tue Jul 12, 2016 8:40 am
Forum: Coding Questions
Topic: No action on website
Replies: 12
Views: 8079

Re: No action on website

Hello falsam,

thanks for your reply.
My website is public, the url is dk1io.darc.de.
The app should be on site Test.
My browser (Firefox) doesn't show any error.
I use homepagemaker to build the website and have inserted the html code in the appropriate file
and exported it.
by drahneir
Mon Jul 11, 2016 3:36 pm
Forum: Coding Questions
Topic: No action on website
Replies: 12
Views: 8079

No action on website

Hello,

i have written a tiny application.


EnableExplicit
Global Number

Procedure ButtonHandler()
Number + 1
SetGadgetText(2, Str(Number))
EndProcedure

OpenWindow(0, 0, 0, 150, 30, "Click test", #PB_Window_BorderLess | #PB_Window_ScreenCentered)
ButtonGadget(1, 0, 0, 100, 30, "Gefällt mir ...
by drahneir
Sun Feb 21, 2016 11:23 am
Forum: Coding Questions
Topic: Help needed
Replies: 4
Views: 3632

Re: Help needed

Thanks, you helped me a lot.
Will see, if I can apply it in practice.