Forum: JavaScript / DHTML / AJAX Sep 21st, 2009 |
| Replies: 3 Views: 1,964 Oooh, I didn't know of that. Oh well, it was interesting to give a shot at it myself. |
Forum: JavaScript / DHTML / AJAX Sep 17th, 2009 |
| Replies: 7 Views: 604 I don't think Greasemonkey works with Firebug as far as breakpoints because GM scripts are inserted and removed quickly at the end of a page load.
AFAIK, my script doesn't call the prototype... |
Forum: JavaScript / DHTML / AJAX Sep 17th, 2009 |
| Replies: 7 Views: 604 A) I waited a day with no response and my thread was already 9 or 10 posts down. I would prefer not to actually post "bump" if there was another way to bump it up the list, say every 24 hours.
B)... |
Forum: JavaScript / DHTML / AJAX Sep 17th, 2009 |
| Replies: 7 Views: 604 |
Forum: JavaScript / DHTML / AJAX Sep 16th, 2009 |
| Replies: 7 Views: 604 Hi, I'm trying to create a Youtube video inserter script for my site. Long story short, I need to be able to prototype an HTML element and add a string into the element's innerHTML, like this:
... |
Forum: JavaScript / DHTML / AJAX Jun 18th, 2009 |
| Replies: 5 Views: 539 Here is the link to the JavaScript snippets page. (http://www.daniweb.com/code/javascript.html) (mine is the binary one :)) |
Forum: JavaScript / DHTML / AJAX Jun 18th, 2009 |
| Replies: 6 Views: 913 You can't nest <form> elements. If one <form> is started, then you must close it before adding a new form.
As far as onChange, you have it almost correct. Your only problem is that you included... |
Forum: JavaScript / DHTML / AJAX Jun 17th, 2009 |
| Replies: 15 Views: 1,503 Heh, I never noticed that button. Disabled now, and that long with unchecking "Disable Context Menus". I hate when sites don't let me right click. |
Forum: JavaScript / DHTML / AJAX Jun 16th, 2009 |
| Replies: 15 Views: 1,503 I still don't believe that a user should ever have to resort to closing their browser, even if they aren't using tabs.
Atli, tell us if you find anything about disabling it :D. I've been disabling... |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 15 Views: 1,503 Nope, and the reason I know this is from experience, sadly :$
I was testing it on my own local file probably a year ago when I tried making the window go in a circle around the border of the... |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 15 Views: 1,503 One major consequence of this is for users who have multiple tabs open and go across a site that plays with their windows. They are forced to end the program and lose tabs and login sessions. |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 15 Views: 1,503 It is possible to move windows.
http://www.java2s.com/Code/JavaScriptReference/Javascript-Methods/moveToExample.htm |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 3 Views: 754 You could also try:
<html>
<body>
<script type="text/javascript">
function notAQuote(e) {
var keynum;
var keychar;
var numcheck;
if(window.event) // IE |
Forum: PHP Jun 15th, 2009 |
| Replies: 7 Views: 595 Just change the file extension to .php instead of .php3, if your web server can handle anything more than PHP3.
What is your PHP version? If you don't know, make a new .php file with only this... |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 3 Views: 1,964 Here's a script I worked up to convert binary code into ASCII. Didn't work out an ASCII to binary conversion yet. |
Forum: JavaScript / DHTML / AJAX Jun 15th, 2009 |
| Replies: 4 Views: 672 Oh.. well that code I posted above does what you need.
Is your question solved? |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 5 Views: 545 Could you add an HTML example? I'm not sure how to visualize what you're trying to do. |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 1 Views: 402 Try this:
onBlur="isNumeric(this.value)" |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 6 Views: 510 Thanks for the reply, but that won't work. I thought of converting the array to a string as well, but the array I'm trying to reference is an array of all <form> tags using... |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 6 Views: 510 I asked her, but I think she's away. Not sure if iPhones can copy and paste. I also can't provide a literal javascript link because the forum we're on blocks javascript links. |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009 |
| Replies: 4 Views: 672 Are you talking about something like this?
<html>
<head>
<script>
function AB() {
alert("Ran function AB()");
}
function BC() {
alert("Ran function BC()"); |
Forum: JavaScript / DHTML / AJAX Jun 10th, 2009 |
| Replies: 6 Views: 510 I was helping a friend fix some issues with her iPhone connecting to a JavaScript-heavy (and buggy) site. Long story short, her iPhone cannot type brackets ([]), and I need another way of getting the... |
Forum: PHP Jun 10th, 2009 |
| Replies: 6 Views: 477 This, sir, is exactly what JavaScript was created for.
Here is an example of how to access a form element with the name "input1":
<html>
<body>
<form onSubmit="return getFormValue()">
<input... |
Forum: JavaScript / DHTML / AJAX Jun 10th, 2009 |
| Replies: 4 Views: 1,136 Is your problem not getting the function to work, or that PHP is not echoing the <script> tag?
It seems that you don't have correct closing brackets in your AnalyseFaultCheck() function. Here's... |
Forum: JavaScript / DHTML / AJAX Jun 10th, 2009 |
| Replies: 3 Views: 494 What errors are you getting or not getting in Opera? |
Forum: JavaScript / DHTML / AJAX Jun 10th, 2009 |
| Replies: 7 Views: 1,921 Actually, change this line:
row.parentElement.removeChild(row);
To this:
row.parentNode.removeChild(row);
parentElement is not defined in Firefox, but parentNode will be evaluated in both IE... |
Forum: JavaScript / DHTML / AJAX May 29th, 2009 |
| Replies: 3 Views: 586 +1
You can always provide an easy-to-use navigation menu if you need your users to be able to get around easily. |
Forum: JavaScript / DHTML / AJAX May 28th, 2009 |
| Replies: 6 Views: 3,123 I think it would be more efficient to make it dynamic since you don't want to have to load many iframes.
Try:
preview.js
function preview(obj) {
if (obj.innerHTML)
closePreview(obj);
... |
Forum: JavaScript / DHTML / AJAX May 28th, 2009 |
| Replies: 4 Views: 782 Please note that this will not work on many OSes (mainly Unix-based such as Mac and Linux). I think the only supporting browser is Internet Explorer for Windows, since WScript can only be accessed... |
Forum: HTML and CSS May 28th, 2009 |
| Replies: 15 Views: 1,614 He was saying to literally make each and every image with text that is in a certain font. Microsoft Paint should let you change the font by default when you use the Text Tool. |
Forum: HTML and CSS May 27th, 2009 |
| Replies: 5 Views: 1,653 +1
Is that not the answer to everything? |
Forum: HTML and CSS May 27th, 2009 |
| Replies: 15 Views: 1,614 Hehe, I did something similar on another forum with greasemonkey and PHP so that when I submitted a post, GM would take my text and change it to an image script on my site, like this:
<img... |
Forum: HTML and CSS May 27th, 2009 |
| Replies: 15 Views: 1,614 You could use a method like this to dynamically place PHP image fonts. However, beware that this will slow down page serve time for the server, and lengthen page rendering time for the end user. Only... |
Forum: JavaScript / DHTML / AJAX May 27th, 2009 |
| Replies: 9 Views: 713 Yep, basically Airshow's method was much cleaner and involved writing no regular expressions. The way I went about it just re-invented the wheel -- I didn't know about the other way :P. I would... |
Forum: HTML and CSS May 26th, 2009 |
| Replies: 15 Views: 1,614 Custom fonts are not supported currently by enough browsers to be a useable method. The only real way to create your own fonts is to either have a PHP script write an image with a font, or get an... |
Forum: JavaScript / DHTML / AJAX May 26th, 2009 |
| Replies: 1 Views: 517 Might be an infinite loop. Check to see if there are any properties that IE does not recognize, ie:
for (var i=0; i<myObject.MozillaOnlyProperty; i++) {
If IE doesn't recognize... |
Forum: JavaScript / DHTML / AJAX May 26th, 2009 |
| Replies: 5 Views: 1,095 Try this:
<html>
<head>
<script type="text/javascript">
function randomize(min, max) {
if (!min)
min = 0;
if (!max) |
Forum: JavaScript / DHTML / AJAX May 26th, 2009 |
| Replies: 6 Views: 977 Hmm, try using this script as a guide:
http://4umi.com/web/javascript/hilite.php
Except clear the results, then call it again on each keypress. |
Forum: JavaScript / DHTML / AJAX May 26th, 2009 |
| Replies: 9 Views: 713 Ah, I didn't know there was such a thing as location.hash. I think your method is better :P |
Forum: JavaScript / DHTML / AJAX May 26th, 2009 |
| Replies: 6 Views: 977 So basically, you're asking for something similar to Google autosuggest, except with names?
Try this:
<html>
<body>
<script type="text/javascript">
function suggest(e, o) {
var suggestDiv... |