Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
Search Forums
Search Results
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Page 1 of 20
1
2
3
11
>
Last
»
Showing results 1 to 25 of 500
Search took
0.65
seconds.
Search:
Posts Made By:
krycek
Forum:
DOM and JSON scripting
03-30-2007, 09:59 PM
Replies:
9
appendChild clears iframe contents in Firefox
Views:
1,857
Posted By
krycek
You are correct for DOMNodeRemoved, but not...
You are correct for DOMNodeRemoved, but not DOMNodeRemovedFromDocument... the former should fire on the element actually being removed, whereas the latter should fire on any element in that subtree....
Forum:
DOM and JSON scripting
03-30-2007, 03:01 AM
Replies:
9
appendChild clears iframe contents in Firefox
Views:
1,857
Posted By
krycek
Dammit. I have come to the conclusion that...
Dammit. I have come to the conclusion that Firefox supports DOMNodeRemoved, but not DOMNodeRemovedFromDocument. Sucks... :(
[Edit:] And additionally, it appears that DOMNodeRemoved is not fired...
Forum:
DOM and JSON scripting
03-30-2007, 02:40 AM
Replies:
9
appendChild clears iframe contents in Firefox
Views:
1,857
Posted By
krycek
Hmmm. Seems like I may be misunderstanding the...
Hmmm. Seems like I may be misunderstanding the specs, or the implementation, or whatever...
I read the W3C DOM event spec page (http://www.w3.org/TR/DOM-Level-2-Events/events.html) as meaning that...
Forum:
DOM and JSON scripting
03-30-2007, 02:15 AM
Replies:
9
appendChild clears iframe contents in Firefox
Views:
1,857
Posted By
krycek
Unfortunately, I do have to move the iframes...
Unfortunately, I do have to move the iframes around in the document tree, and despite racking my brains for some hours I can't see any way around that.
Also, the iframes are editable rather than...
Forum:
DOM and JSON scripting
03-29-2007, 03:14 PM
Replies:
9
appendChild clears iframe contents in Firefox
Views:
1,857
Posted By
krycek
Dammit... open since 2004! :( Thanks for...
Dammit... open since 2004! :(
Thanks for locating that bug report liorean - seems I didn't use exactly the right keywords to find it myself.
As there doesn't seem to be any workaround, I'm now...
Forum:
DOM and JSON scripting
03-29-2007, 06:00 AM
Replies:
9
appendChild clears iframe contents in Firefox
Views:
1,857
Posted By
krycek
appendChild clears iframe contents in Firefox
Hi all
I'm experiencing a rather annoying issue.
I have an iframe. I want to move this iframe elsewhere in the document tree. So, I use appendChild (or insertBefore)... however, doing this...
Forum:
JavaScript programming
11-01-2006, 04:22 PM
Replies:
4
How to control a radio button named id[15]
Views:
850
Posted By
krycek
document.sampleform["id[15]"].click()
document.sampleform["id[15]"].click()
Forum:
JavaScript programming
10-28-2006, 01:09 AM
Replies:
1
IE7 CSS update problem when changing attributes and using selector-based rules
Views:
1,220
Posted By
krycek
Okay, for anyone who's interested (and for anyone...
Okay, for anyone who's interested (and for anyone else who runs into this problem in the future!) I'm found the solution.
All that is required is:
if (thing.className) thing.className =...
Forum:
JavaScript programming
10-27-2006, 04:33 PM
Replies:
1
IE7 CSS update problem when changing attributes and using selector-based rules
Views:
1,220
Posted By
krycek
IE7 CSS update problem when changing attributes and using selector-based rules
I have some code that relies upon the manipulation of element attributes. A very simple example is to use mousedown to set a "state" attribute to "down", and then mouseup to set it back to "default"....
Forum:
JavaScript programming
09-26-2006, 05:54 PM
Replies:
8
Detecting when dynamically-added script has loaded (NOT Ajax)
Views:
1,074
Posted By
krycek
I tried that already... no joy :(
I tried that already... no joy :(
Forum:
JavaScript programming
09-26-2006, 04:16 PM
Replies:
8
Detecting when dynamically-added script has loaded (NOT Ajax)
Views:
1,074
Posted By
krycek
I actually came darn close to that, but I never...
I actually came darn close to that, but I never thought of using an image. The problem I ran into is that I can create the script element dynamically in both Firefox and IE, but only Firefox supports...
Forum:
JavaScript programming
09-25-2006, 11:24 AM
Replies:
8
Detecting when dynamically-added script has loaded (NOT Ajax)
Views:
1,074
Posted By
krycek
Thanks guys - I just discovered this upon testing...
Thanks guys - I just discovered this upon testing in IE. So it looks as if XHR is the only way to go.
mrhoo - I think you meant synchronous XHR instead of synchronous Ajax ;)
But yeah - that's...
Forum:
JavaScript programming
09-22-2006, 11:49 AM
Replies:
8
Detecting when dynamically-added script has loaded (NOT Ajax)
Views:
1,074
Posted By
krycek
Never mind... I was being thick, as usual :) ...
Never mind... I was being thick, as usual :)
I had started off by using the onload event of the script element that I was dynamically creating - however, I had been adding the onload function as...
Forum:
JavaScript programming
09-22-2006, 11:06 AM
Replies:
8
Detecting when dynamically-added script has loaded (NOT Ajax)
Views:
1,074
Posted By
krycek
Detecting when dynamically-added script has loaded (NOT Ajax)
For various reasons, I have a need to add JavaScript files to a page *after* the initial page has loaded. I am doing this by creating a new script element and setting the src attribute, which works...
Forum:
JavaScript programming
09-15-2006, 11:25 AM
Replies:
7
detecting mouse scroll wheel movement?
Views:
1,586
Posted By
krycek
I'd assumed that you would apply my comments to...
I'd assumed that you would apply my comments to IE as appropriate...
Anyway, your event handler should be returning the value that your function returns, not just calling the function and then...
Forum:
JavaScript programming
09-13-2006, 11:33 AM
Replies:
7
detecting mouse scroll wheel movement?
Views:
1,586
Posted By
krycek
Yes, as I mentioned above, you need to "stop...
Yes, as I mentioned above, you need to "stop propagation and prevent the default action (and return false)".
e.g.
event.stopPropagation();
event.preventDefault();
return false;
Forum:
JavaScript programming
09-11-2006, 01:05 AM
Replies:
7
detecting mouse scroll wheel movement?
Views:
1,586
Posted By
krycek
You can use the onmousewheel handler in IE, or...
You can use the onmousewheel handler in IE, or the DOMMouseScroll event in Mozilla/Opera.
To work out the wheel delta:
if (event.wheelDelta) wheelDelta = event.wheelDelta / 120 *...
Forum:
JavaScript programming
09-01-2006, 05:58 AM
Replies:
7
onfocus bubble problem, and finding related blur element (Firefox)
Views:
1,348
Posted By
krycek
heheh, you just beat me to posting... I've just...
heheh, you just beat me to posting... I've just in the past couple of hours managed to get it working by doing just that. I'm using a combination of an onload procedure that finds all inputs and...
Forum:
JavaScript programming
09-01-2006, 04:21 AM
Replies:
7
onfocus bubble problem, and finding related blur element (Firefox)
Views:
1,348
Posted By
krycek
Well, I could do that, and I could also run...
Well, I could do that, and I could also run backwards up the tree checking for onfocus handlers... but that would mean adding focus handlers to all input elements.
I've tried to do that...
Forum:
JavaScript programming
09-01-2006, 01:39 AM
Replies:
7
onfocus bubble problem, and finding related blur element (Firefox)
Views:
1,348
Posted By
krycek
That would be great... except that Firefox...
That would be great... except that Firefox doesn't seem to know about DOMFocusIn and DOMFocusOut. At least, they don't do anything when I change my focus and blur listeners to them.
Now, I know...
Forum:
JavaScript programming
09-01-2006, 12:17 AM
Replies:
7
onfocus bubble problem, and finding related blur element (Firefox)
Views:
1,348
Posted By
krycek
I can't figure out why this isn't working. Focus...
I can't figure out why this isn't working. Focus bubbles in Firefox - right? (well, I can bubble focus up through divs with no problem.) I'm just not picking up a focus event in a parent div when a...
Forum:
JavaScript programming
08-31-2006, 05:50 PM
Replies:
1
get html element from point
Views:
1,507
Posted By
krycek
I know that jkd has written a function to do...
I know that jkd has written a function to do this. I have the code, but I can't really post it here on his behalf, as it's not mine... I'll let him know about this thread though.
Forum:
JavaScript programming
08-31-2006, 12:00 PM
Replies:
4
javascript for copy, paste functions
Views:
743
Posted By
krycek
This might help you with Firefox: Granting...
This might help you with Firefox: Granting JavaScript access to the clipboard in Firefox (http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard).
Unfortunately, I don't know how it...
Forum:
JavaScript programming
08-30-2006, 09:01 PM
Replies:
7
onfocus bubble problem, and finding related blur element (Firefox)
Views:
1,348
Posted By
krycek
onfocus bubble problem, and finding related blur element (Firefox)
I have a div which is able to take the focus, as it has a tabindex. When clicked on, a focus event fires, and when something else is clicked, a blur event fires. All fine and dandy so far.
Now, I...
Forum:
JavaScript programming
08-26-2006, 04:35 PM
Replies:
2
How to access min and max CSS properties from JS
Views:
737
Posted By
krycek
Cool, that's what I was after. I knew about...
Cool, that's what I was after. I knew about currentStyle but I didn't know about getComputedStyle.
Thanks jkd! :thumbsup:
Showing results 1 to 25 of 500
Page 1 of 20
1
2
3
11
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
07:55 PM
.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.