123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|513|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> HTA code going crazy?

Fri, 18 Jun 2010, 14:44
ShadowIce
What is WRONG w/ this code!? oO

the "--!>" arrow isnt positioning

and my music isnt playing..

those are the only 2 glitches.



style.js:


Fri, 18 Jun 2010, 15:33
Jayenkai
Are you using a decent text editor?
It becomes glaringly obvious what the issue is when you're using something that properly highlights the code.

Might I recommend Programmer's Notepad 2.

-=-=-
''Load, Next List!''
Fri, 18 Jun 2010, 15:50
ShadowIce
i'm using notepad.

and if its so obvious, whats the problem then?
Fri, 18 Jun 2010, 15:58
Stealth
A <script> tag can only reference either an external file or inline code.



Needs to be:



-=-=-
Quit posting and try Google.
Fri, 18 Jun 2010, 16:04
ShadowIce
um, it was acting up even before i did that
Fri, 18 Jun 2010, 16:57
CodersRule
Try Jay's advice. You'll be better off, ending up with a decent editor. If we just tell you, you'll still be using notepad.

Just take our advice for once and download an editor.
Fri, 18 Jun 2010, 17:14
ShadowIce
or how bout i take it to another forum?

because u dont seem to be good enough to handle hta.

so there.
Fri, 18 Jun 2010, 17:15
JL235
I'd like to recommend Visual Studio and NetBeans. Both are excellent for editing HTML. Including syntax highlighting, error detection and auto-completion!
Fri, 18 Jun 2010, 17:42
steve_ancell
ShadowIce or how bout i take it to another forum?

because u dont seem to be good enough to handle hta.

so there.


With an attitude like that ?, good luck then !
Fri, 18 Jun 2010, 17:57
Erebel55
You do realize that we are all better coders then you obviously...or you wouldn't be posting here for help. So be respectful and you will get your answers.

And please don't talk to Jayenkai like that, since these are his forums!

-=-=-
Lava Monkey
https://play.google.com/store/apps/details?id=com.lvm.lavamonkey
Fri, 18 Jun 2010, 18:38
CodersRule
or how bout i take it to another forum?

because u dont seem to be good enough to handle hta.

so there.


Everyone posting on this thread, except you, knows what the problem is. But you refuse to take our advice, so you can't fix it.

We're under no obligation to help you. Like Erebel said, you really need to be respectful- 'specially to Jay.
Fri, 18 Jun 2010, 18:40
Mog
This will probably incur the wrath of Jay, so J, feel free to smack me for this, but..

or how bout i take it to another forum?

because u dont seem to be good enough to handle hta.

so there.


Seriously, you're the biggest, most stubborn newbie i've ever had the displeasure of reading his ill-conceived cries for help. If you're just going to piss and moan, then by all means, take it to another forum - i'll put money on how long before they'll boot your ass out for your poor attitude. You obviously do not value the help we try to offer you, and every thread you spawn seems to end in you telling everyone to fuck off. So here's the favor returned..




Idiot...



-=-=-
I am Busy Mongoose - My Website

Dev PC: AMD 8150-FX, 16gb Ram, GeForce GTX 680 2gb

Current Project: Pyroxene
Fri, 18 Jun 2010, 19:11
JL235
A few things,..

First Stealth seems to be right and I was wrong, you will get security alerts when using ActiveX components locally. So Flash might be a better solution. Jay has a sound player he uses for the MudChat. He should be able to post the code and where it's from. There is also a tutorial here, but there isn't any explination on how to interact via JavaScript (i.e. play, stop, etc).

Finally I feel this is comming so I'm posting just in case:

Fri, 18 Jun 2010, 21:08
Stealth
or how bout i take it to another forum?

because u dont seem to be good enough to handle hta.

so there.


Please do.

Nevermind the fact that I am a professional web developer with a full time job doing it. Clearly I'm not qualified to be answering your question.

> Reveal 🔎

-=-=-
Quit posting and try Google.
Sat, 19 Jun 2010, 00:22
Cower
I don't know where Rez gets his attitude from, but, if personal experience is anything to go by, it's probably partly to do with age.
Sat, 19 Jun 2010, 04:22
shroom_monk
Going back to Jay's point, throwing the code into Programmer's Notepad shows up this immediately:

<!-- ... --> in HTML is the code for a comment, so everything after the first <!-- is commented out, so ignored. Use something else.

PN has code highlighting (or is it called something else, I forget), which shows how the code is interpreted. Very useful

-----

And, as much as I hate to say it, the others are right. Your disrespectful attitude isn't going to get you anywhere.

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Sat, 19 Jun 2010, 05:04
Jayenkai
Awww, you told him.. See.. I'd have left it unanswered, because it required was something other than "nothing of any use" to have fixed it.
I gave him a link to a free tool that would've given him the exact answer, and additionally helped him in future endeavours.

...
Not that I should've even fucking bothered to give him that much help.

-=-=-
''Load, Next List!''
Sat, 19 Jun 2010, 05:51
shroom_monk
Actually, yeah, in retrospect that was a bad idea on my part. Sawry.

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Sat, 19 Jun 2010, 05:51
JL235
shroom_monk

Going back to Jay's point, throwing the code into Programmer's Notepad shows up this immediately:
div id="leftarr"> <input type="button" name="s1" id="s1" value="<!--"> </div> <div id="rightarr"> <input type="button" name="s2" id="s2" value="--!>"> </div>

<!-- ... --> in HTML is the code for a comment, so everything after the first <!-- is commented out, so ignored. Use something else.

PN has code highlighting (or is it called something else, I forget), which shows how the code is interpreted. Very useful.

No, your wrong. If save the following into a html file and display it you'll clearly see the text in the middle of the comment is displayed as the <!-- and --!> are quoted.


It all being highlighted as a comment is down to a bug in your editor of choice. Both Visual Studio and NetBeans (the editors I recommended) highlight this correctly (as does Dreamweaver).
Sat, 19 Jun 2010, 05:54
shroom_monk
Okay then. But still, surely it's bad practice to be using comment markers in actual code? Particularly if a browser interprets them as PN did?

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Sat, 19 Jun 2010, 06:00
JL235
shroom_monk Particularly if a browser interprets them as PN did?
Your right as well formed XML shouldn't contain angle brackets within attributes (it should be the & gt and & lt ). However you can get away with it as the brackets are clearly quoted.
Sat, 19 Jun 2010, 06:03
ShadowIce
stealth, ur not worth it
Sat, 19 Jun 2010, 06:29
CodersRule
This is amusing.

Edit:
Oh and also DD, he was using --!> to close the comment instead of -->, which was the problem. Did you catch that? Sorry, I'm not following the conversation well.

Edit2: Nevarmind, I get it now.
Sat, 19 Jun 2010, 14:46
Stealth
ShadowIce stealth, ur not worth it


What kind of lame come back is that? Are you 5?

-=-=-
Quit posting and try Google.
Sat, 19 Jun 2010, 14:52
Jayenkai
To be fair "Are you 5?" is actually a pretty lame comeback, too.

It might be one I use often, but it's still fairly lame!

...
Anyhoo, in best Potter style..

topicitico lockarditorio

-=-=-
''Load, Next List!''