Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 2.14 seconds.
Search: Posts Made By: xelawho
Forum: JavaScript programming 05-17-2013, 05:27 AM
Replies: 3
Views: 132
Posted By xelawho
this thread...

this thread (http://www.codingforums.com/showthread.php?t=284491) may be of some use. If you want to use your own graphics you would have to supply your own logic, to dictate which graphic to show...
Forum: JavaScript programming 05-12-2013, 04:14 PM
Replies: 9
Views: 210
Posted By xelawho
if @Agent.user_name@ is in fact a variable I...

if @Agent.user_name@ is in fact a variable I would suspect that this:
agent = '@Agent.user_name@';

is one of your problems - wrapping a variable in quotes will make it a string. Without knowing...
Forum: JavaScript programming 05-10-2013, 08:56 PM
Replies: 9
Views: 155
Posted By xelawho
cssFloat is correct, unless it's IE8 & below. See...

cssFloat is correct, unless it's IE8 & below. See first note here:
https://developer.mozilla.org/en-US/docs/CSS/float

(turns out that "float" was reserved as a keyword but never implemented and...
Forum: DOM and JSON scripting 05-07-2013, 07:52 PM
Replies: 8
Views: 346
Posted By xelawho
I know that I won't get an answer to this, but...

I know that I won't get an answer to this, but I'm asking anyway:
which bits of W3Schools are written for Netscape 4?

I agree that MDN is better for best-practices and cutting-edge stuff, but for...
Forum: JavaScript programming 05-07-2013, 01:09 AM
Replies: 4
Views: 173
Posted By xelawho
array[0][1] but I agree - if you describe...

array[0][1]

but I agree - if you describe what you are trying to do you will almost certainly get a suggestion for a better way to do it.
Forum: JavaScript programming 05-06-2013, 12:34 PM
Replies: 5
Views: 297
Posted By xelawho
what happens if your name is Q, like that guy in...

what happens if your name is Q, like that guy in the Bond movies? :eek:
Forum: JavaScript programming 05-06-2013, 04:06 AM
Replies: 29
Views: 463
Posted By xelawho
you must be looking at a different page, because...

you must be looking at a different page, because for me
http://www.mesquiteweather.net/wxwarning_map.php
and
http://www.mesquiteweather.net/googlemap.html

both tell me that expires is not...
Forum: JavaScript programming 05-06-2013, 03:36 AM
Replies: 29
Views: 463
Posted By xelawho
error console

error console
Forum: JavaScript programming 05-06-2013, 02:38 AM
Replies: 29
Views: 463
Posted By xelawho
Not even close. Well, maybe by a little but...

Not even close.

Well, maybe by a little but not by much.

Unless every region suddenly has a child abduction alert that expires at 9pm on Sunday.

I told you how to fix it, there's not much...
Forum: JavaScript programming 05-06-2013, 12:42 AM
Replies: 29
Views: 463
Posted By xelawho
although really, looking at it, it would make...

although really, looking at it, it would make more sense to put all the code that Philip gave you into one function:


function dateFromString(expires) {

var bits = expires.split(/[-T:+]/g);...
Forum: JavaScript programming 05-06-2013, 12:14 AM
Replies: 29
Views: 463
Posted By xelawho
it looks to me like a scope issue - you define a...

it looks to me like a scope issue - you define a variable expires in your downloadUrl function, but it is local to that function. At the time that function is running the variable is set correctly...
Forum: JavaScript programming 05-03-2013, 09:22 PM
Replies: 3
Views: 163
Posted By xelawho
it is getting cleared, it's just getting redrawn...

it is getting cleared, it's just getting redrawn again, with the new drawing added - put an alert() at the end of your clearCanvas function and you can see it happen as the code pauses
Forum: JavaScript programming 05-02-2013, 07:53 PM
Replies: 5
Views: 152
Posted By xelawho
it would make sense to me to: - on mousedown,...

it would make sense to me to:
- on mousedown, register which element is receiving the event (you can give your draggables a class name, and so css style them all at once instead of by their...
Forum: JavaScript programming 05-01-2013, 02:12 AM
Replies: 21
Views: 409
Posted By xelawho
generally with this.id, although there are...

generally with this.id, although there are various ways to implement that
Forum: JavaScript programming 04-30-2013, 07:48 PM
Replies: 2
Views: 98
Posted By xelawho
I'm guessing that a tablet does not have an...

I'm guessing that a tablet does not have an "onmousedown" event. There's really no reason why it would, unless I guess if you connected a mouse to it. The touch equivalent would appear to be...
Forum: JavaScript programming 04-30-2013, 02:08 AM
Replies: 6
Views: 151
Posted By xelawho
so, it turns out that it is working in firefox -...

so, it turns out that it is working in firefox - it just gives no indication of the fact, down to firebug saying that there are 0 items in offline cache :mad:

You can see them when you go to...
Forum: JavaScript programming 04-29-2013, 09:46 PM
Replies: 6
Views: 151
Posted By xelawho
thanks again for sticking with me. 1. yes,...

thanks again for sticking with me.

1. yes, "app.appcache" is the name of the manifest file (apparently .manifest is deprecated?) and I have set up the MIME type on the server for .appcache to be...
Forum: JavaScript programming 04-29-2013, 06:13 PM
Replies: 6
Views: 151
Posted By xelawho
the problem isn't the caching of the online page,...

the problem isn't the caching of the online page, it is that if it gets cached then it will want to load when there is no connection, despite the FALLBACK section saying otherwise.

I don't get...
Forum: JavaScript programming 04-29-2013, 05:12 PM
Replies: 6
Views: 151
Posted By xelawho
accessing application Cache data from online page

so, I've been playing around with application Cache and it's pretty sweet, but there's one thing I can't get my head around - I don't know if I'm missing something fundamental or if it just can't be...
Forum: JavaScript programming 04-28-2013, 06:58 AM
Replies: 4
Views: 184
Posted By xelawho
I'm going with function closure in a for loop,...

I'm going with function closure in a for loop, because it's late and I'm feeling lucky and a little bit reckless.

You can read about it, and one way around it here:...
Forum: JavaScript frameworks 04-27-2013, 11:06 PM
Replies: 7
Views: 288
Posted By xelawho
you have 7 external scripts (including 2 versions...

you have 7 external scripts (including 2 versions of jQuery), as well as inline javascript . try simplifying your code until you find out what the problem is
Forum: JavaScript frameworks 04-27-2013, 10:06 PM
Replies: 7
Views: 288
Posted By xelawho
that can't be good...

that can't be good...
Forum: JavaScript programming 04-26-2013, 11:18 PM
Replies: 14
Views: 350
Posted By xelawho
It wasn't snide. Or wasn't meant to be, anyway -...

It wasn't snide. Or wasn't meant to be, anyway - there are two fundamental differences between the code you posted in #4 and #6, but both do the same thing. Kind of.

fwiw, my understanding of...
Forum: JavaScript programming 04-26-2013, 08:26 PM
Replies: 14
Views: 350
Posted By xelawho
(kind of) ;)

(kind of)

;)
Forum: JavaScript programming 04-26-2013, 05:18 PM
Replies: 8
Views: 254
Posted By xelawho
function makeList(words){ var listContainer...

function makeList(words){

var listContainer = document.createElement("ul");
var numberOfListItems = words.length;
for ( var i = 0; i <numberOfListItems; i++ ) {
var item =...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 05:52 PM.