|
Everyone has their preferrence, but my reasoning stands. I have written many programs/scripts in many languages: html, css, javascript, php, sql, c, c++, java, and even python and perl. And prefer to not add to the complexity of programming by having to learn a new editor for any language I use.
NP++ is clean and simple even if it is filled with 40 other languages that I will most likely never use. But if I do use them I take comfort in knowing I do not have to learn a new editor.
In my experience a WYSIWYG editors all fail and add more bloat and bad code to your files. I have never found one that generated code like what I write, nor do they save me time when hand coding when you consider having to fix the WYSIWYG mistakes.
Nuf Said
=)
|
|
|
|
|
cjoki wrote: I have never found one that generated code like what I write, nor do they save me time when hand coding when you consider having to fix the WYSIWYG mistakes.
Your WYSIWYG experiences mirror my own. Where we differ is in regards to editors. I like having a dev environment specific to what I'm doing. I use VS for all my VB.Net projects, my HTML editor for web work, etc. One thing I have noticed about NP++ is that its find-replace tool is pleasingly fast when I use regular expressions. Noticeably faster than NoteTab or my own text editor.
While VS occasionally causes me to consider eating my computer, I do enjoy the drag-n-drop interface and all the tools it places at my disposal. And the tools I write for my own use are tailored for what I do, which removes the learning curve. I guess that's at the root of where we differ on editors. I often use my own tools from VB so I can make changes when I need to while working on something else. That's a wonderful (to me at least) convenience.
Everybody SHUT UP until I finish my coffee...
|
|
|
|
|
I just prefer to write in a text editor over a gui interface. I feel much closer to the code.
Although for full disclosure I have delphi expereince and loved the RAD environment for application development. I also got to demo the early PHP GUI Editor when code gear (now embarcadero) first released it. My experience was just like that of MS Editor, although it did do a better job of keeping the code clean, but the code produced was way out of date. It made use of tables for page lay out instead of divs and css as was common for the day.
My end result is the same tho....a good text editor allows more control over the code made.
Just me 2 Cents.
|
|
|
|
|
cjoki wrote: Although for full disclosure...
Full disclosure: I still use tables quite often. So easy to arrange a page that way. Especially if a page requires a sidebar. I'm a tad lazy in that regard.
Everybody SHUT UP until I finish my coffee...
|
|
|
|
|
Hi,
I have been asked to develop a web-based application for work, but I've never done any web-based development or programming before, ever!
So, I'm looking for some recommended books or sites to get started. I've spent many years developing software - C++, some C#, Excel VBA, VB6, SQL etc. I'm leaning towards HTML5 and javascript based on some of what I've read.
However, I've had a look at some programming - some javascript, php etc and it just doesnt' seem to have the same rigour and structure as regular programming.
So, on the basis that I'm as ignorant as they come when it comes to web development, what do you recommend I read as a good starting point?
Thanks in advance,
John.
|
|
|
|
|
|
Thanks Eswa,
However, looking for non-Microsoft solutions only (internal decision)!
|
|
|
|
|
just Google it,you can see lot of resources or
Checkout msdn or also there are lot of free ebooks available something like OReilly publication
which i feel very gud.
|
|
|
|
|
Hello,
I need some recommendations for books that help me learn web services. I don't know anything about web services, so I need books that are Petzoldish; I mean, like that Windows Programming book of Charles Petzold that really gives in depth understand on how things are and how things can be used.
I see a lot of material on the web about web services use C#. I am a C++ guy so I don't mind learning C#. It would be helpful if the book has a primer on C#. If not, please recommend a suitable book.
Thanks for reading this.
|
|
|
|
|
I'm not sure about web services, apart from ASP.NET[^], but .NET Book Zero[^] helped me in the jump from C++ to C#.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Thanks for that Petzold link.
|
|
|
|
|
Hello,
My name is Willie Jammer. I used to use this website to send braille to my friend in Winters, California.
It's to bad I can't do that online anymore.
Is there anyway that you can bring it back?
There were fields where I would put my friend's mailing address and zipcode and post my braille letter to the postoffice.
I'd like that back.
Sincerely yours,
Willie Jammer
|
|
|
|
|
This question would probably get a better response if posted in "Site Bugs/Suggestions".
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Not sure if this is what you are after?
Text to Braille Converter[^]
Just download the Zip file and away you go.
If Pac-Man had affected us as kids, we'd all be running around in dark rooms, munching pills and listening to repetitive electronic music.
|
|
|
|
|
My dot net application displays a Html page on a web control.
The html page has a javascript embedded in it.
The html page has button on it.
When the html button is clicked, Java script lanches a print dialog using JScript's <code>Window.print().</code>
There is some other application (Kind of Monitor) which closes the Dot net Window. As the control in the Dot net window hosts the Html, the html also unloaded.
Problem:
The print dialog launched by the JScript <code>Window.print()</code> call still displayed. <big>How do I close the print dialog using the JScript?</big>
Thanks in Advance
|
|
|
|
|
I don't think you can close the print dialog from javascript. If that is possible, think of all the security issues that could arise.
|
|
|
|
|
|
Hi,
Inside a div I have a horizontal navigation bar and some images, which are links, below the bar. I am unable to control the spacing between the images and the bar, i.e. I wish to move the images up, closer to the bottom of the bar, but am unable to do so. I have tried everything I could think of, margins, padding, etc. but nothing seems to be working. I wonder if anyone has any solutions? All help would be greatly appreciated.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
body
{ text-align: center;
min-width: 1044px;
margin: 0px;
padding: 0px;
font-family: arial;
}
#wrapper
{ position: relative;
text-align: left;
width: 1044px;
height: 100%;
margin: 0px auto;
}
#top-header-block
{ width: 1010px;
height: 170px;
background-color: cyan;
}
ul#list-nav
{ list-style:none;
clear: both;
margin-top:12px;
padding:0;
width:1104px;
float:left;
}
ul#list-nav li
{ display:inline
}
ul#list-nav li a
{ text-decoration:none;
padding:5px 0px;
width:100px;
height: 3.20em;
line-height: 3.20em;
background: url(blue_square_A.jpg) #0d2474 bottom left repeat-x;
color:#FFFFFF;
float:left;
text-align:center;
border-left:1px solid #fff;
font-size: 12px;
font-weight: bold;
}
ul#list-nav li a.noBorder
{ border-left: 0;
}
ul#list-nav li a.widthA
{ width:90px;
}
ul#list-nav li a.widthB
{ width:72px;
}
ul#list-nav li a.widthC
{ width: 80px;
background: #990000;
}
ul#list-nav li a.widthD
{ padding: 0px;
background: #FF8C00;
width: 80px;
height: 48px;
}
ul#list-nav li a img.noBorder
{ border-style: none;
}
ul#list-nav li a:hover
{ text-decoration:none;
background-color: #3333CC;
color:#FFFFFF;
}
img.delivery
{ margin-left: 15px;
float: left;
}
img.lorry
{ float: right;
margin-right: 25px;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="top-header-block">
<ul id="list-nav">
<li><a class="noBorder"
href="#">****** ******</a></li>
<li><a href="#">*** *******</a></li>
<li><a href="#">*** ** *** **</a></li>
<li><a href="#">***********</a></li>
<li><a class="widthA"
href="#">*********</a></li>
<li><a href="#">*********</a></li>
<li><a href="#">*************</a></li>
<li><a class="widthB"
href="#">****</a></li>
<li><a class="widthC"
href="#"
onMouseOver="this.style.background='#DC143C'"
onMouseOut="this.style.background='#990000'">******</a></li>
<li><a class="widthB"
href="#">****</a></li>
<li><a class="widthD"
href="#"
onMouseOver="this.style.background='#FF8C00'">
<img class="noBorder" src=""
alt="" width="73" height="44" /></a></li>
</ul>
<a href="#">
<img class="delivery" src="" alt="" width="122" height="25"/>
</a>
<a href="#">
<img class="delivery" src="" alt="" width="90" height="25"/>
</a>
<a href="#">
<img class="delivery" src="" alt="" width="85" height="25"/>
</a>
<a href="#">
<img class="delivery lorry" src="" alt="" width="288" height="25"/>
</a>
</div>
</div>
</body>
</html>
|
|
|
|
|
Have you tried using negative margin values?
Jack of all trades ~ Master of none.
|
|
|
|
|
In JScript1.js, I defined a function like this:
=================================================
var count = 0;
function changeDefaultStatus() {
var arr = new Array("haoyong", "hao123", "12wangzhi", "123", "state");
if (count >= 5)
count = 0;
top.defaultStatus = arr[count];
count++;
}
=================================================
And use the function like this:
=================================================
//the code below does not work
<script>
setInterval("changeDefaultStatus();", 2000);
.......
//But if I move the code to here, it works
setInterval("changeDefaultStatus();", 2000);
====================================================
when a page is being loaded, how does the "src" works? the explorer will wait for "JScript1.js"'s loading, or just load it in the background.
Thank you
|
|
|
|
|
Every opening <script> tag requires a closing </script> tag, including the one with src="" .
The opening <script> you have with the src="./JScript1.js" attribute is being closed by the </script> that is after the setInterval call. Any code within <script></script> that has a src attribute is ignored.
|
|
|
|
|
In Dreamware~press "CTRL+ALT+F" you ca isnert a FLASH video with URL,see code as follows
----------------------------------------------
1. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="32" height="32">
2. <param name="movie" value="http://player.56.com/v_NTcxMTA1Njc.swf" />
3. <param name="quality" value="high" />
4. <embed src="http://player.56.com/v_NTcxMTA1Njc.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
5. </object>
--------------------------------------------------------
my script is not very good~ but i'm guess this is FLALSH's address~
<embed src="http://player.56.com/v_NTcxMTA1Njc.swf"
------------------------------------------------------------------------
so, i would like to ask the question~as i'm in the middle with Javascript<boyd> defines a variable to hold the FLASH's address,as follow~
1. <script>
2. var a = "http://player.56.com/v_NTcxMTA1Njc.swf";
3. </script>
---------------------------------------------------------------------------
so~that's question is how to insert FLASH address in "<embed src=" use this variable instead of the full character~??? thx in advances~
<div class=" signature"="" />
modified on Sunday, December 12, 2010 5:23 PM
|
|
|
|
|
You could use the following piece of code in place of the string constant currently in the HTML
<script type="text/javascript">document.write(a);</script>
So it may look like:
<script type="text/javascript">
var a = "http://player.56.com/vNTcxMTA1Njc.swf";
</script>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="32" height="32">
<param name="movie" value="http://player.56.com/v_NTcxMTA1Njc.swf" />
<param name="quality" value="high" />
<embed src=">script type="text/javascript">document.write(a);</script>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
</object>
|
|
|
|
|
Thx very much~
|
|
|
|
|
i'll make my web page to just like desktop of windows.
there are small icons, and they can move by user drag, as you know.
so, i plan to use jquery ui, http://jqueryui.com/demos/sortable/display-grid.html[^].
i wonder how to add item dynamically, and notify item double-click.
help.
|
|
|
|