/    Sign up×
Community /Pin to ProfileBookmark

slide show generator

[URL=http://216.117.199.237/slideshower-generator-alpha.html]http://216.117.199.237/slideshower-generator-alpha.html[/URL]

Your inputs will be
test
.img
1
2
unchecked
n/a

The generated window shows a syntax error, and when I click the buttons it says “object expected”

the pic shouldn’t come up at all because there is no “test1.jpg” in that folder.

the generated code is all on one line, so I’m expecting this to be the problem. Anyone have any possible solutions?

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJul 09.2003 — Here are th eobvious errors

if (num>2?{num=1;};

remove the last ;

and the one thats right after>2

it should be like this

if (num>2){num=1;}

and the second part is

num=num-1;if (num<1?{num=2;};

same remove the ; and it will be like

this

num=num-1;if (num<1){num=2;}
Copy linkTweet thisAlerts:
@MadCommandoauthorJul 09.2003 — http://216.117.199.237/slideshower-generator-alpha2.html

still doesnt work, same errors with the same input.
Copy linkTweet thisAlerts:
@Khalid_AliJul 09.2003 — When I mention the errors earlier that meant that you re visit your code that generates the popup window code...obviously there are some serious errors there
Copy linkTweet thisAlerts:
@MadCommandoauthorJul 09.2003 — I did fix my orginial, and I can't find the errors, it's all in the output. I'm still ?
Copy linkTweet thisAlerts:
@MadCommandoauthorJul 09.2003 — would it work better if I altered the script and made it a .asp or something like that?
Copy linkTweet thisAlerts:
@Khalid_AliJul 10.2003 — The problem is with your code generation script,it tends to create invalud code...
Copy linkTweet thisAlerts:
@MadCommandoauthorJul 10.2003 — I know the generated code is the one with errors, and I have absoloutely no idea why it's buggy, exactly why I came here.
×

Success!

Help @MadCommando spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...