i just noticed that the forum seems to automatically place a space between java & script, when it's written together. That's not only incorrect, it's just plain bad for the javascript forum. is there any way that can be turned off?
Announcement
Collapse
No announcement yet.
space between java & script?
Collapse
X
-
Yes, we've discussed this in the conference room (Zvona brought the issue up). Here's a work around Zvona posted that you can use to overcome this until the issue is fixed: javascript.
Produces:
Code:javascript
boxer_1
CodingForum Moderator
"How did a fool and his money get together in the first place?"
-
Ah, makes things a bit simpler...nice!
Test 1 (w/o colon, should not break)
Code:javascript
Code:javascript:
boxer_1
CodingForum Moderator
"How did a fool and his money get together in the first place?"
Comment
-
Originally posted by Dave Clark
It's only a "problem" when the colon is used -- so, just code the colon in HTML escape code:
javascript:alert('Hi');
which will display as:
javascript:alert('Hi');
See? ...no space.Zvona
First Aid for
Web Design
Comment
-
this sure is an old thread... but will this issue ever be fixed??? (quote : "until the issue is fixed") its been more than a year since this has been talked about. Why was it even desighned in the forum software anyway?... was it to prevent javascript links... and any way why wasnt it coded so it would just replace javascript with entities, or something like that, adding a space just creates an anoying problem.Last edited by kwhubby; Oct 10, 2003, 04:51 AM.Kris Hubby
kwhubby site
Comment
-
you could use javascript to do a search and replace on submit or have a button that inputs the necessary code to output it correctly.
scrootsSpammers next time you spam me consider the implications:
(1) that you will be persuaded by me(in a legitimate mannor)
(2)It is worthless to you, when i have finished
Comment
-
Well, I always use java&#0115;cript to avoid that.liorean <[[email protected]]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
Comment
Comment