Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 20 of 20
Search took 0.07 seconds.
Search: Posts Made By: Spidey1980
Forum: JavaScript programming 05-05-2013, 09:50 PM
Replies: 21
Views: 409
Posted By Spidey1980
@DMN In your markup you do not have elements ...

@DMN
In your markup you do not have elements A1, A2, or A3. if those are added dynamically elswhere then try:

document.getElementById('A1').onclick = "Display_Data(); false;"

or is it .click?...
Forum: JavaScript programming 05-05-2013, 12:09 AM
Replies: 2
Views: 121
Posted By Spidey1980
Thank you so much! That worked, almost. For some...

Thank you so much! That worked, almost. For some reason 100 caused even more lag in the title change. The magic number is 300 milliseconds. Works perfect now! Thank you! This had another positive...
Forum: JavaScript programming 05-04-2013, 11:26 PM
Replies: 4
Views: 185
Posted By Spidey1980
If this is to be used locally and is not hosted...

If this is to be used locally and is not hosted on the web, I would suggest change the .htm extension to .hta, make sure you have <!DOCTYPE html> at the top, and put the following in the head...
Forum: JavaScript programming 05-04-2013, 10:35 PM
Replies: 2
Views: 121
Posted By Spidey1980
Updating Page Title not working as expected

So I have an HTML application that is completed and works perfectly except for one quirk.

As a side project I am make a Zelda-type game, the game is/will be a java app that runs on a webpage.HTA....
Forum: DOM and JSON scripting 01-23-2012, 07:09 AM
Replies: 2
Views: 622
Posted By Spidey1980
SOLVED!!!! It was a Google Chrome issue, I've got...

SOLVED!!!! It was a Google Chrome issue, I've got rid of it and now I use primarily Firefox
Forum: Ajax and Design 01-23-2012, 07:01 AM
Replies: 7
Views: 1,154
Posted By Spidey1980
lol so many typos... I still love your site...

lol so many typos...

I still love your site though, it has just become my primary resource.
You have been very helpful here, everyone else was soooo sarcastic in my other threads.
Thank you...
Forum: Ajax and Design 01-23-2012, 04:02 AM
Replies: 7
Views: 1,154
Posted By Spidey1980
First, Felgall, I want to thank you, I will be...

First, Felgall, I want to thank you, I will be using your site extensively for a while. And from now on I will always separate my javascript out into a .js file. It makes a lot of sense, why go...
Forum: Ajax and Design 01-23-2012, 03:31 AM
Replies: 10
Views: 1,041
Posted By Spidey1980
http://bookofjavascript.com/Chapter16/Fig16-15.txt...

http://bookofjavascript.com/Chapter16/Fig16-15.txt HTML that uses the following PHP
http://bookofjavascript.com/Chapter16/readTextFile.txt PHP file that opens and reads files
Forum: Ajax and Design 01-22-2012, 07:11 AM
Replies: 7
Views: 1,154
Posted By Spidey1980
Thank you for the quick reply. I saw this...

Thank you for the quick reply.

I saw this book at my local library (2nd edition like you guessed) and just snatched it up; it is the only javascript book they had. Most of it still applies, I did...
Forum: Ajax and Design 01-22-2012, 05:33 AM
Replies: 7
Views: 1,154
Posted By Spidey1980
responseText is empty?

Dear friends:

I am working through The Book of JavaScript by thau! and I got stuck near the end. In chapter 16, it is discussing making an-synchronized calls, using a server side .php (which I am...
Forum: DOM and JSON scripting 01-11-2012, 06:28 PM
Replies: 2
Views: 545
Posted By Spidey1980
http://www.codingforums.com/showthread.php?t=24855...

http://www.codingforums.com/showthread.php?t=248554

I have posted a fully working open and center function, I hope that it is useful!
Forum: DOM and JSON scripting 01-11-2012, 06:13 PM
Replies: 1
Views: 494
Posted By Spidey1980
http://bookofjavascript.com/ Chapter's 1 and 2...

http://bookofjavascript.com/
Chapter's 1 and 2 have all the basics you need if taking input and displaying results, Chapter 6 explains functions
http://bookofjavascript.com/Chapter06/Fig06-03.txt...
Forum: Post a JavaScript 01-11-2012, 06:03 PM
Replies: 0
Views: 1,103
Posted By Spidey1980
Open and center window function

100% working code for you to copy and paste:

function openWindow(the_url, the_size)
{
var screen_height = window.screen.availHeight;
var screen_width = window.screen.availWidth;
...
Forum: DOM and JSON scripting 01-10-2012, 10:44 PM
Replies: 1
Views: 615
Posted By Spidey1980
create code to email you the variables that the...

create code to email you the variables that the box input has set
Forum: DOM and JSON scripting 01-10-2012, 10:32 PM
Replies: 1
Views: 645
Posted By Spidey1980
this works for FireFox 4.0 and later sorry buddy....

this works for FireFox 4.0 and later sorry buddy.

try using a browser sniffer to identify archaic browsers then redirect visitors to a page telling them to upgrade

download:...
Forum: DOM and JSON scripting 01-10-2012, 10:30 PM
Replies: 1
Views: 766
Posted By Spidey1980
use the full address, and simplify it. here,...

use the full address, and simplify it.
here, try this:


if ( document.referrer.search('http://www.oursite.com') )
{ include 'mobiledetection.php' }
Forum: DOM and JSON scripting 01-10-2012, 10:25 PM
Replies: 4
Views: 440
Posted By Spidey1980
change tokens to an array by adding '[]', like...

change tokens to an array by adding '[]', like this: tokens[]
tokens[0] and tokens[1] should then hold your two tokens.
The way you have it only the first token gets saved.
Forum: DOM and JSON scripting 01-10-2012, 10:08 PM
Replies: 3
Views: 903
Posted By Spidey1980
using indexOf() like this ...

using
indexOf()
like this
var_name.indexOf('.')
will search the string for the character specified, if found, it is not a valid phone number.


function valid_phone(num)
{
var...
Forum: DOM and JSON scripting 01-10-2012, 09:28 PM
Replies: 2
Views: 545
Posted By Spidey1980
I don't use dreamweaver, but to center the...

I don't use dreamweaver, but to center the window, use the following code:
(this should be made into a function so that it is more readable, but it works just as it is...)


//set size variables...
Forum: DOM and JSON scripting 01-10-2012, 09:20 PM
Replies: 2
Views: 622
Posted By Spidey1980
Post controlling the child window from the parent window

I hope this is considered a DOM question.

Why does the Book of JavaScript, Chapter 5 assignment not work?
http://bookofjavascript.com/Chapter05/

On this website, if you click Run It! by the...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT +1. The time now is 07:03 AM.