I have a tclet that runs perfectly in a client/server environment but when I install it on my laptop for demo purposes it doesn't work. I have the laptop set up with apache2triad and it does HTML pages fine. I have the plugin (3.1) installed to Firefox, all installed to Win XP Home. I changed...
Yes, the first code section has php in it. The second is HTML with a call to a javascript function (setcolor()). The third is a function that the previous code is calling. It includes some svg stuff, which might be confusing if you aren't familiar with it. I don't have an up to date test site...
I am embedding a SVG drawing into a HTML page. There are several javascript function within the SVG that I need to run. There are several variables that the SWG functions need to access also which are external to the embeded SVG (i.e. in a javascript section within the HTML). How do I "get at"...
I shut down apache and did a netstat -ano and there were no processes accessing port 80. Then I started apache and did another netstat -ano. That gave me one process listening on port 80. I then launched Firefox and type in the URL http://localhost/ which it did not find anything. I then did...
Thanks for your reply. Everything seems fine in the logs. I have shut it down several times and the shutdown looks good and the start up looks good also.
I have installed apache to my laptop (running XP home) but cannot seem to get apache to deliver pages using http://localhost. I have placed some HTML pages in htdocs and changed the listen port (Listen 80) to various values with no luck (though it changes the error message I get). The apache...
Actually the data being passed to the parent window is a row of data from a table. The table is made up of several records from a database. The user will pick a row to examine. Isn't there a way to id each of the cells in a table? If so your previous post might be real nice for pulling that info...
There probably is a better way. Something like your first post using DOM. Maybe assigning an id to each of the controls or something. I'm just not very good with DOM. Your solution worked great, by the way. Thanks.
Ok, this is more like what I am doing:
Itms = new Array ('2', '3', '1', '7', '1', '3', 'C', 'M', 'Z', 'S', 'S', 'C', 'y', 'P', 'x', 'h', 'a', 'l', 'L', 'W');
NumItms = Itms.length;
var Cntls = new Array ('CuName', 'CuMAddr1', 'CuSAddr1', 'CuMAddr2', 'CuSAddr2', 'CuMCity', 'CuSCity', 'CuMState'...
I am looking for a method to change several text control object values by doing the following:
var Control = 'myText';
document.myForm.(Control).value = 'wow';
which doesn't work. The following does:
document.myForm.myText.value = 'wow';
but I need to change many controls within a loop. So I...
I'm sorry, but I tried to work out something to that effect using the following modified code:
proc myButtons {path idx} {
button $path.btnmnu -text "Show Menu" -command {
yourProc $idx
}
grid $path.btnmnu
}
proc yourProc {idx} {
puts "idx: $idx"
#foreach itm [list Save Load Quit] {
#...
I need to identify the button the user has pushed within it's own command script. The buttons are identical but each operate on a different cell (frame). An example that somewhat demonstrates the problem follows:
proc myButtons {path} {
button $path.btnmnu -text "Show Menu" -command {
#...
Hey!! That may be it! I have never done sockets before so may need help with it. As I understand it, when a secondary app is launched it will become the socket server. Any time any one of the app that can potentially launch the secondary app does attempt to launch a duplicate of the secondary...
Doesn't that have the same problem as the database in that if the secondary app crashes without the flag/file being deleted then the secondary app cannot be launched thereafter (or at least until somebody manually deletes the flag/file)?
My fault -- the secondary application can be launched from several others but there should be only one instance of it. If I set a flag in one app the other apps will not be aware and will launch their own copy (a bad deal). There are several secondary apps that need the same restraints. None the...
I have written a tcl app which launches a secondary app and it is important that there be only one instance of the secondary app. Currently I am using the following to launch the secondary app:
.mnuBar.mnuUtil add command \
-label "Calc Room Sound" -command {
open "| wish.exe...
I have downloaded several libraries for Tcl but cannot determine how to get them to load into the Tcl base system. I get errors like this:
couldn't load library "./Mk4tcl.dll": this library or a dependent library could not be found in library path while executing
"load ./Mk4tcl.dll"
(file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.