Webworldx
-
Posts
347 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Webworldx
-
-
Search
in JavaScript
We are not going to write the full script for you here - but yes, it is possible to do.
-
Have you tried the old WebFX way?http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
-
Apologies, it was unanswered and was wondering why Glad you got it working
-
Will the file holding the data always have the days in order, or could they appear randomly?If it's in order, then you could always check [x-1] to see if it's the same as the current [x] value (if it is, don't print the date).If not, you could sort the data first then do the above, or you could hold all the dates in a temporary array as you find them, and query that list every time [x] increases?
-
If your clients are running FireFox, have you tried SVG? There's no "nice" way to do it in Javascript unfortunately, so either mass pixel copying or do it in Flash.
-
Without knowing what browser he's using - and what (if any) extensions he has running i'm not sure what we can do for you.
-
ECMA-262 3ed is all you're looking for in a browser really. I wrote about the 1.7 -> 2.0 phase of JS in my blog a couple of months ago: http://blogs.ifcode.com/webworldx/56/javas...t-20-proposals/Opera supports the entire ECMA-262 2ed and 3ed standards, with no exceptions. They are more or less aligned with JavaScript 1.3/1.5 Core. -
Passed validation for me.
-
arrays
in JavaScript
I'm probably a bit lost here, but what's wrong with:my_array[0] = [ "Name" , "Value" ]my_array[1] = [ "Name" , "Value" ]??
-
Just add<script type='text/javascript'>alert('Some Text Here');</script>Into your HTML somewhere
-
Unless the setTimeout is changing every time, setInterval seems a better option. You can't keep the object local unfortunately either, due to the nature of the function combined with the setInterval/setTimeout (can you imagine the memory leakage?). A global variable/array as adservio suggested would be a good idea, and easy to keep track ofHow would setInterval help out? -
Give each archiveCell an id on creation, and pass it to your ajax call back?
-
Combined with AJAX technologies, have a look at: http://www.componentart.com/demos/callback...r/WebForm1.aspxAnd all of the componentart demos I think they highlight the power and usefulness of Javascript well.
-
Have you thought about setInterval() instead?
-
It looks like you're writing the table faster than the AJAX can execute. Your code seems to go
I could be wrong, but an alert() in your stateChanged should tell you when it's being executed, and how much of the table has been created at the time.Write first row + cellSend first AJAX requestWrite second row + cellSend second AJAX requestReceived first AJAX requestReceived second AJAX request -
What does your regular expression involve? Surely there's a better (neater/more efficient) way than executing it across the whole page?
-
It's not the problem, but it's not a good solution to use. Think about it, document.body.innerHTML.replace(/</g,"") destroys the entire DOM tree in an instant, and you'll probably end up with an operation aborted or similar. Also, the script you use will probably end up inside the body of the page 60% of the time, so any innerHTML replace of an exact text in the body also replaces it in the script. You can see where the errors come in...
-
Nope, just PMed an admin and asked him to do itI looked around and apparently IPB has a change display name feature under My Controls but it appears to be turned off here. Perhaps there was a cliche that allowed blue ot change his name or something. -
Really, don't do a document.body.innerHTML.replace... it's asking for trouble
-
You may have seen: http://dean.edwards.name/my/misbehaviors/ which might be useful for you.
-
I was around last night - but world cup is on!!
-
Is this in relation to a previous post?
-
Instead of window.location, FRAMENAME.location.href =...
-
You can't use XMLHttpRequest cross site, so that's not an option.How about something like:
<script type='text/javascript'>function site_noexist(){ alert('there was an error loading the image from the site');}//This will work, as the image exists on the site, and can be reached.var testSite = new Image();testSite.onerror = site_noexist;testSite.src = 'http://www.google.co.uk/intl/en_uk/images/logo.gif';//This will fail, as the site gogle does not hold the image.var testSite = new Image();testSite.onerror = site_noexist;testSite.src = 'http://www.gogle.co.uk/intl/en_uk/images/logo.gif';</script>
How to stop the Information toolbar in IE from blocking JS
in JavaScript
Posted
Hi Boen_Robot, have you tried dropping Maxthon on top of IE7? After a bit of GUI manipulation to give it a simpler look - I think it adds every feature you could need for web browsing.