Search Results

Showing results 1 to 40 of 97
Search took 0.01 seconds.
Search: Posts Made By: itsjareds
Forum: JavaScript / DHTML / AJAX Sep 21st, 2009
Replies: 3
Views: 1,964
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
Forum: JavaScript / DHTML / AJAX Sep 16th, 2009
Replies: 7
Views: 604
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
Try this:
onBlur="isNumeric(this.value)"
Forum: JavaScript / DHTML / AJAX Jun 11th, 2009
Replies: 6
Views: 510
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
What errors are you getting or not getting in Opera?
Forum: JavaScript / DHTML / AJAX Jun 10th, 2009
Replies: 7
Views: 1,921
Posted By itsjareds
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
Posted By itsjareds
+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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
+1

Is that not the answer to everything?
Forum: HTML and CSS May 27th, 2009
Replies: 15
Views: 1,614
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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
Posted By itsjareds
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...
Showing results 1 to 40 of 97

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC