Forum: JavaScript / DHTML / AJAX Jun 10th, 2008 |
| Replies: 3 Views: 3,432 One script can't see new objects another script creates. It sees only the original document structure at the time the page opened. |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 4 Views: 2,466 Use the onclick option on a web page object to call a JS function that sets the checked value to true. |
Forum: JavaScript / DHTML / AJAX Apr 14th, 2008 |
| Replies: 11 Views: 8,436 You do not have the RIGHT to mess with someone else's computer. That includes the clipboard. It does not belong to you.
That person may have multiple windows open, where he is actively using the... |
Forum: JavaScript / DHTML / AJAX Apr 14th, 2008 |
| Replies: 4 Views: 1,742 Several questions:
1. How are you starting the scripts? If you don't specify how they start (i.e. onclick, etc.), only the last one defined in the body tag will start.
2. Are the scripts in the... |
Forum: JavaScript / DHTML / AJAX Apr 12th, 2008 |
| Replies: 11 Views: 8,436 I am totally sick of website creators trying to control the user's computer.
Such functions belong to the owner of the computer, NOT TO YOU!
If you don't want people printing your precious... |
Forum: JavaScript / DHTML / AJAX Feb 27th, 2008 |
| Replies: 11 Views: 4,707 An id can be used only once. It can NOT appear in multiple tags.
You need to give each tag a unique id, and then cycle through the ids with a loop in js.
e.g.
<a .... id="aa1">
<a ....... |
Forum: JavaScript / DHTML / AJAX Jan 22nd, 2008 |
| Replies: 9 Views: 1,881 Easier:
ans = getinfo();
if(ans!=1 && ans!=2){ans = getinfo();}; |
Forum: JavaScript / DHTML / AJAX Jan 18th, 2008 |
| Replies: 8 Views: 1,969 It could still be a security setting. IP addresses are usually counted as not trusted, and so the security won't allow scripts. |
Forum: JavaScript / DHTML / AJAX Jan 17th, 2008 |
| Replies: 3 Views: 3,789 If the data are on the server computer, javascript can't see them, because javascript runs on the client computer. |
Forum: JavaScript / DHTML / AJAX Jan 17th, 2008 |
| Replies: 8 Views: 1,969 IP addresses as web addresses are obsolete.
1. Don't use IP addresses. Use of an IP address in a web address is usually a sign of sneakiness. Some firewalls block this (keeping your user from... |
Forum: JavaScript / DHTML / AJAX Jan 8th, 2008 |
| Replies: 24 Views: 9,321 Check to see if any of the methods or functions you are using are nonstandard IE extensions to JS. Other browsers can't use them. |
Forum: JavaScript / DHTML / AJAX Jan 8th, 2008 |
| Replies: 4 Views: 3,356 - You have "Value" at one point, and "value" at another point. JS is case-sensitive. |
Forum: JavaScript / DHTML / AJAX Dec 22nd, 2007 |
| Replies: 7 Views: 1,507 "Secure" and "JavaScript" can't exist together.
Anyone can read your JavaScript text by downloading the page. Thus, they can know how to access the secure connection. |
Forum: JavaScript / DHTML / AJAX Nov 6th, 2007 |
| Replies: 3 Views: 4,208 You are using a nonstandard IE extension to JavaScript.
The correct name for the style is "fontWeight", not "font". |
Forum: JavaScript / DHTML / AJAX Oct 15th, 2007 |
| Replies: 3 Views: 3,061 Divs are kind of unpredictable:
- Make sure the div is hidden with the visibility attribute:
.divoff {visibility: hidden;}
.divon {visibility: visible;}
Do not use the collapse property. |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2007 |
| Replies: 9 Views: 2,324 Why are you fussing with scripts? Just include the folder name in the published url:
www.thisismydomain1.com/site1foldername/site1page.htm
www.thisismydomain2.com/site2foldername/site2page.htm |
Forum: JavaScript / DHTML / AJAX Sep 29th, 2007 |
| Replies: 13 Views: 39,732 I find pages that make things appear, grow, shrink, or move to be extremely hard to read.
These things may seem cutesy or fun, or "show off your JS prowess," but in some people, they cause the... |
Forum: JavaScript / DHTML / AJAX Sep 9th, 2007 |
| Replies: 17 Views: 12,688 The computer can't move mope than one piece at a time. But if you alternately move one piece a little, and then move the other one a little, it looks like both are moving at the same time. |
Forum: JavaScript / DHTML / AJAX Sep 6th, 2007 |
| Replies: 17 Views: 12,688 Use one variable to decide which one is out.
Values:
0 = all in
1 = first one out
2 = second one out
3 = third one out
etc.
Keep a previous value variable to tell it which one to slide in. |
Forum: JavaScript / DHTML / AJAX Aug 29th, 2007 |
| Replies: 13 Views: 39,732 Must we really do this. It's annoying. |
Forum: JavaScript / DHTML / AJAX Aug 4th, 2007 |
| Replies: 3 Views: 2,789 |
Forum: JavaScript / DHTML / AJAX Jul 13th, 2007 |
| Replies: 6 Views: 4,425 This is a function of the particular printer's driver and the PAGE SETUP function in the browser the USER of the page is using.
It belongs to the owner of that user's computer, not to the web page... |
Forum: JavaScript / DHTML / AJAX Jul 13th, 2007 |
| Replies: 24 Views: 46,317 Even if you could do that, Firefox closes so quickly that nobody could read it.
If somebody clicks the X, they want to close the program now. They don't want it to do any more.
If IE can do it,... |
Forum: JavaScript / DHTML / AJAX Jul 13th, 2007 |
| Replies: 7 Views: 8,714 Use the visibility property. There are three selections: visible, hidden, and collapse. Visibility is also a recognized style method. |
Forum: JavaScript / DHTML / AJAX Jun 28th, 2007 |
| Replies: 1 Views: 2,628 Just put the caption in a text box under the image, and write to it when you write to the image. |
Forum: JavaScript / DHTML / AJAX May 29th, 2007 |
| Replies: 13 Views: 4,091 Enter? You're doing a reverse polish notation calculator? |
Forum: JavaScript / DHTML / AJAX May 25th, 2007 |
| Replies: 5 Views: 2,770 I was going to suggest that too. |
Forum: JavaScript / DHTML / AJAX May 11th, 2007 |
| Replies: 11 Views: 3,099 The url should be in single quotes when passed as a parameter. It is text at that point.
What do you mean you "have to" do it that way? You got a nut for a boss? |
Forum: JavaScript / DHTML / AJAX May 10th, 2007 |
| Replies: 11 Views: 3,099 You could pass the url as a parameter.
<input type="button" id="quantity" name="ONE" onclick="javascript:menu1(url1.htm)" />
<input type="button" id="quantity" name="TWO"... |
Forum: JavaScript / DHTML / AJAX May 8th, 2007 |
| Replies: 11 Views: 3,099 Fake the links with form input buttons:
<input type="button" id="quantity" name="ONE" onclick="javascript:menu1()" />
<input type="button" id="quantity" name="TWO" onclick="javascript:menu2()"... |
Forum: JavaScript / DHTML / AJAX May 7th, 2007 |
| Replies: 4 Views: 7,181 The simplest way is to use an anchor link. Each link can directly call a multimedia video player. Using an anchor link:
<a href="film123.mpg">Movie Number 123</a>
Use one such link for each... |
Forum: JavaScript / DHTML / AJAX May 7th, 2007 |
| Replies: 11 Views: 3,099 Use the disabled attribute.
Start with the basic html portion of a form (named "order"):
<input type="text" id="quantity" disabled="disabled" />
Then, in JavaScript, you change the... |
Forum: JavaScript / DHTML / AJAX May 7th, 2007 |
| Replies: 4 Views: 7,181 Let me get this straight. You want us to HELP you put MORE advertising on the web?
:angry:
If this is not the case, then don't use a pop-up format, or it will be blocked.
Is the user supposed... |
Forum: JavaScript / DHTML / AJAX Jan 22nd, 2007 |
| Replies: 13 Views: 6,895 Why not just put an anchor tagged link on the page. If I want the extra page, I will click it. I don't need bamboozlers popping up to attract me to the link. |
Forum: JavaScript / DHTML / AJAX Jan 22nd, 2007 |
| Replies: 13 Views: 6,895 If I turn the popup blocker on, it's because I don't want popups. |