Page 2 of 3
Posted: 2003-11-01 02:08pm
by Darth Wong
phongn wrote:Pu-239 wrote:Notepad is for masochists. Even vi or windows emacs is better. At least get syntax highlighting, and more importantly, formatting.
I'm sorry, did you just say that using vi was less masochistic than using Notepad?
Well, vi (or at least, modern versions of it)
does have syntax highlighting, which is more than you can say for Notepad. Personally, I like kwrite. I have only used Notepad on rare occasions for minor changes to an existing page.
Posted: 2003-11-01 02:40pm
by phongn
Oh, I hardly use Notepad these days either - I also prefer something with syntax highlighting (e.g. gedit), but vim is a bit harder to use
Posted: 2003-11-01 03:03pm
by Lord Poe
Notepad BLOWS!
...I use Wordpad for creating all my webpages!
And stop by
http://www.elated.com for some great tips and free web page kits to use/learn from.
BTW Dreamweaver users:
I wanted to create a computer console on my website where the computer screen would show a picture that had something to do with the buttons pressed.
For instance:
http://h4h.com/louis/vsfaq.html
If someone hit the "weapons button" on the computer console, the computer screen would show a blaster, for example.
I could figure this out with tables and a lot of hair pulling, but how easy would this be to do in Dreamweaver, if I drew the computer console myself?
Posted: 2003-11-01 03:07pm
by Darth Wong
Lord Poe wrote:I could figure this out with tables and a lot of hair pulling, but how easy would this be to do in Dreamweaver, if I drew the computer console myself?
That sounds like a Javascript thing to me.
Posted: 2003-11-01 03:51pm
by Nova Andromeda
Darth Wong wrote:phongn wrote:Pu-239 wrote:Notepad is for masochists. Even vi or windows emacs is better. At least get syntax highlighting, and more importantly, formatting.
I'm sorry, did you just say that using vi was less masochistic than using Notepad?
Well, vi (or at least, modern versions of it)
does have syntax highlighting, which is more than you can say for Notepad. Personally, I like kwrite. I have only used Notepad on rare occasions for minor changes to an existing page.
--The main problem with notepad is the hidden characters/white space that screw up linux/unix text.
Posted: 2003-11-01 09:15pm
by Dalton
What is syntax highlighting?
Posted: 2003-11-01 09:27pm
by Crayz9000
Dalton wrote:What is syntax highlighting?
Oh. My. God.
You don't know what syntax highlighting is?
It's where the editor highlights specific parts of various languages' syntaxes in various colors. It can be very useful in trying to debug a program, for example, because if you leave out a closing } it's easier to notice.
Posted: 2003-11-01 09:37pm
by Dalton
Crayz9000 wrote:Dalton wrote:What is syntax highlighting?
Oh. My. God.
You don't know what syntax highlighting is?
Don't get stuck-up like that just because you know more than me.
Crayz9000 wrote:It's where the editor highlights specific parts of various languages' syntaxes in various colors. It can be very useful in trying to debug a program, for example, because if you leave out a closing } it's easier to notice.
I thought it would be something like that.
Posted: 2003-11-01 10:48pm
by Lord Poe
Darth Wong wrote:Lord Poe wrote:I could figure this out with tables and a lot of hair pulling, but how easy would this be to do in Dreamweaver, if I drew the computer console myself?
That sounds like a Javascript thing to me.
It is. I do basically the same thing with the buttons on the site above (they get brighter when you push 'em!) But I need for the mouseover picture to appear in a computer screen I'll draw when your mouse passes over a certain button.
Example:

Posted: 2003-11-01 11:19pm
by Iceberg
Yes. Notepad and related plaintext "editors" are for masochists and purists only. As I am neither, I will continue to write my pages in Mozilla Composer and clean them up in Notepad.
Posted: 2003-11-01 11:51pm
by Pu-239
Nova Andromeda wrote:Darth Wong wrote:phongn wrote:
I'm sorry, did you just say that using vi was less masochistic than using Notepad?
Well, vi (or at least, modern versions of it)
does have syntax highlighting, which is more than you can say for Notepad. Personally, I like kwrite. I have only used Notepad on rare occasions for minor changes to an existing page.
--The main problem with notepad is the hidden characters/white space that screw up linux/unix text.
Yeah. That's also a problem with programming, because Windows is \r\n or something, and Linux/Unix is \n.
For the hover thing, just use onmouseover="functionYouWantToCall()" as an attribute, though you can also do it only in JS. A good cross browser javascript/css/everything guide would be
http://www.quirksmode.org/ (formerly
www.xs4all.nl/~ppk - I hate the new theme, ugly).
Posted: 2003-11-02 05:03am
by Dalton
Wayne, what you're proposing to do seems quite easy with Javascript with the right mouseover code.
Posted: 2003-11-02 09:49am
by His Divine Shadow
Dalton wrote:What is syntax highlighting?
Here's an example of what it looks like in Visual Studio:
http://www.hisdivineshadow.com/misc/images/syntax.jpg
Posted: 2003-11-02 05:46pm
by BoredShirtless
Get real, no "purist" uses notepad. For windows, it's either ultraedit or texteditor. And the IDE which John West doesn't reject is naturally Eclipse.
Posted: 2003-11-02 08:07pm
by Lord Poe
Dalton wrote:Wayne, what you're proposing to do seems quite easy with Javascript with the right mouseover code.
I know the basics, but centering a picture exactly in a computer screen that will be seperate from the background is what I haven't figured out yet.
Posted: 2003-11-02 08:11pm
by Colonel Olrik
Thanks for all the answers, guys. You're great. This page is now bookmarked for future reference.

Posted: 2003-11-02 08:35pm
by Crayz9000
Lord Poe wrote:I know the basics, but centering a picture exactly in a computer screen that will be seperate from the background is what I haven't figured out yet.
I'm pretty sure that you can do that using CSS2. However, due to Microsoft's brain-dead implementation of CSS2 in Internet Explorer 6 (similar to Netscape's brain-dead implementation of CSS1 in NS4), the chances are that it will not work for the majority of your visitors.
The only way is to try it and test it with a variety of browsers.
Posted: 2003-11-02 09:23pm
by Pu-239
Crayz9000 wrote:Lord Poe wrote:I know the basics, but centering a picture exactly in a computer screen that will be seperate from the background is what I haven't figured out yet.
I'm pretty sure that you can do that using CSS2. However, due to Microsoft's brain-dead implementation of CSS2 in Internet Explorer 6 (similar to Netscape's brain-dead implementation of CSS1 in NS4), the chances are that it will not work for the majority of your visitors.
The only way is to try it and test it with a variety of browsers.
I suppose you could make a 3x3 table, stick the picture smack dab in the middle cell, adjusting widths and heigths as necessary, and pull it out of normal flow by making it position:absolute.
Posted: 2003-11-02 10:02pm
by aronkerkhof
Lord Poe wrote:Dalton wrote:Wayne, what you're proposing to do seems quite easy with Javascript with the right mouseover code.
I know the basics, but centering a picture exactly in a computer screen that will be seperate from the background is what I haven't figured out yet.
If I had to use javascript, what I'd do is draw a computer with a blank screen, and this would be the "mouseoff" image. Then I'd make identical computers, all the same except for what is displayed on the screen, and these would be the "mouseon" images swapped when the user scrolled over a button.
In your example, I'd cut the bottom off of the computer (the part with the buttons) and make them a seperate image, with the top part the thing that got swapped in and out. That way you don't have to worry about having the computer be the background image and the blaster being something that floats on top of it.
Posted: 2003-11-02 10:04pm
by aronkerkhof
BoredShirtless wrote:Get real, no "purist" uses notepad. For windows, it's either ultraedit or texteditor. And the IDE which John West doesn't reject is naturally Eclipse.
Finally, the voice of reason. Ultraedit is quite nice for HTML. For php, I like Zend Studio, and for microsoft's asp/asp.net/c#, visual interdev is awesome.
Posted: 2003-11-03 12:38am
by Lord Poe
aronkerkhof wrote:If I had to use javascript, what I'd do is draw a computer with a blank screen, and this would be the "mouseoff" image. Then I'd make identical computers, all the same except for what is displayed on the screen, and these would be the "mouseon" images swapped when the user scrolled over a button.
Hey, VERY interesting idea!
In your example, I'd cut the bottom off of the computer (the part with the buttons) and make them a seperate image, with the top part the thing that got swapped in and out. That way you don't have to worry about having the computer be the background image and the blaster being something that floats on top of it.
I now rule the world......!
Posted: 2003-11-03 01:26am
by kojikun
Anyone know of a good free syntax-highlighting text editor for windows?
Posted: 2003-11-03 11:02am
by aronkerkhof
kojikun wrote:Anyone know of a good free syntax-highlighting text editor for windows?
Ultraedit is only $35, and is worth it.
Posted: 2003-11-03 11:04am
by aronkerkhof
Lord Poe wrote:aronkerkhof wrote:If I had to use javascript, what I'd do is draw a computer with a blank screen, and this would be the "mouseoff" image. Then I'd make identical computers, all the same except for what is displayed on the screen, and these would be the "mouseon" images swapped when the user scrolled over a button.
Hey, VERY interesting idea!
In your example, I'd cut the bottom off of the computer (the part with the buttons) and make them a seperate image, with the top part the thing that got swapped in and out. That way you don't have to worry about having the computer be the background image and the blaster being something that floats on top of it.
I now rule the world......!
Hey, let me know if you need any implementation help. I did almost the exact same type of interface for a counterstrike clan a few years ago.
Posted: 2003-11-03 01:10pm
by Pu-239
kojikun wrote:Anyone know of a good free syntax-highlighting text editor for windows?
SciTE-
http://www.scintilla.org/SciTE.html
You'll need to edit configuration files somewhat to suit your tastes though. Default fonts are too ugly and large.
The text folding feature is extremely useful if you are working on large pages.
Also you can use Eclipse with the
Black Sun or
Solar Eclipse plugins.