Goto Page: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
Actual Results
- trip of the tongue
- Forum: Website Design Forum
- Topic: Transparent scrollbar?
- Subject: Transparent scrollbar?
- Replies: 27
- Views: 2479
- Subject: Transparent scrollbar?
Posted: November 23rd, 2005, 2:34 pm
Another 95% solution is to design your site so that it explicitly refuses to work with Opera and Safari. Joni1 I gather you've already come to this conclusion, but it's worth repeating. Never listen to people who recommend you design a web site so that it's completely unusable by 5% of your potentia...
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript data and nodeValue methods
- Subject: Javascript data and nodeValue methods
- Replies: 1
- Views: 300
Posted: November 20th, 2005, 5:11 pm
The way I approach these things is to use whatever works. Each is what it is, is all. Here's one somewhat pedantic example of the difference between the data and nodeValue attributes:[code]<html><head> <script> function showClick(node) { var attr = node.getAttribut...
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Real Basic Framing Question
- Subject: Real Basic Framing Question
- Replies: 2
- Views: 246
- Subject: Real Basic Framing Question
Posted: November 15th, 2005, 9:35 am
This isn't something that I would spend any time worrying about, but OK... The best way to determine load times is to set up a little test suite yourself, using your server and the browser you're most interested in, and time a few thousand page loads. But in general terms it's probably fair to say t...
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: .....javascript
- Subject: .....javascript
- Replies: 2
- Views: 267
- Subject: .....javascript
Posted: November 14th, 2005, 8:48 am
conn2prince wrote:
".....There are two ways to write error-free programs. Only the third one works....."
I think you should go straight to #1. In Firefox, open Tools Menu -> JavaScript Console. What's the error, and which line of code does it happen to?- trip of the tongue
- Forum: Website Design Forum
- Topic: problems with pics
- Subject: problems with pics
- Replies: 8
- Views: 425
- Subject: problems with pics
Posted: November 14th, 2005, 8:44 am
In my experience this sort of problem is always caused by the person installing Adblock, and then forgetting what it is that Adblock does. Oh and sometimes, firewalls.
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript - document.getElementById("id_name").on
- Subject: Javascript - document.getElementById("id_name").on
- Replies: 4
- Views: 373
Posted: November 13th, 2005, 12:04 pm
setAmount is a JS custom user defined function... I had hoped by now to have built a reputation that would preclude my being schooled on any point as basic as that. Whether or not the complete source would reveal additional errors, it seems worthwhile to begin with the obvious one, being that a str...
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript - document.getElementById("id_name").on
- Subject: Javascript - document.getElementById("id_name").on
- Replies: 4
- Views: 373
Posted: November 12th, 2005, 10:47 am
- trip of the tongue
- Forum: Website Design Forum
- Topic: Postition problems in browers
- Subject: Postition problems in browers
- Replies: 12
- Views: 462
- Subject: Postition problems in browers
Posted: November 12th, 2005, 10:39 am
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript Error
- Subject: Javascript Error
- Replies: 7
- Views: 325
- Subject: Javascript Error
Posted: November 8th, 2005, 8:03 pm
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript Error
- Subject: Javascript Error
- Replies: 7
- Views: 325
- Subject: Javascript Error
Posted: November 8th, 2005, 5:51 pm
You didn't mention that |bar| is the name of a form element at http://www.azoundria.com. IE 5 isn't nearly so old that it can't find document elements in a page of HTML. I'm surprised to hear that IE5 can't locate a form element by name. But if this is so, you'll have to jigger an alternative, IE 5-...
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Removing a page from back button history
- Subject: Removing a page from back button history
- Replies: 6
- Views: 465
Posted: November 8th, 2005, 5:49 pm
Ain't no secret. Use location.replace.
PS Cache-control wouldn't affect browser session history.
PS Cache-control wouldn't affect browser session history.
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: C++ string manipulation (NODES)
- Subject: C++ string manipulation (NODES)
- Replies: 10
- Views: 2038
- Subject: C++ string manipulation (NODES)
Posted: November 6th, 2005, 11:55 am
strcpy doesn't do any kind of insertion or intelligent replacement. It only copies. It could reasonably be used as a piece of an implementation of a substring replacement algorithm, but only one minor piece. The only reasonable solution is to write your own string class that takes care of this for y...
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: C++ string manipulation (NODES)
- Subject: C++ string manipulation (NODES)
- Replies: 10
- Views: 2038
- Subject: C++ string manipulation (NODES)
Posted: November 5th, 2005, 6:46 pm
std is useful and elegant, and you want to learn to like it. But to answer your question, I believe you meant to write something like this:
That will fix the problem with parameter 1. Parameter 2 similarly requires an address, not a cha...
strcpy(&main_Char[i], rpl_Char);
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript: onClick event
- Subject: Javascript: onClick event
- Replies: 8
- Views: 714
- Subject: Javascript: onClick event
Posted: November 2nd, 2005, 10:53 am
(With apologies to Carnix. I started writing this before I noticed his post. Some information in this post is redundant with his.) Some simple, obvious changes would help readability. Most of the interesting JavaScript functions in tips_message.js are not indented. Many functions are compressed into...
- trip of the tongue
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript: onClick event
- Subject: Javascript: onClick event
- Replies: 8
- Views: 714
- Subject: Javascript: onClick event
Posted: November 1st, 2005, 9:29 am
All this agreement is heart-warming, but let's not lose sight of the fact that mousedown and click are different events, suitable for different user gestures, not to be confused with one another. Regardless I would have been surprised had swapping click for mousedown helped with the site mentioned. ...

