Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 31
Search took 0.01 seconds.
Search: Posts Made By: kaos_frack
Forum: Javascript How-To February 17th, 2007, 09:52 AM
Replies: 4
Views: 21,487
Posted By kaos_frack
I've found solution! Here's the code: ...

I've found solution! Here's the code:

Object.prototype.addChild = function(property, child) {
child._parent = this;
this[property] = child;
return;
};

You shoud enter the above code before...
Forum: Javascript How-To February 12th, 2007, 02:27 AM
Replies: 4
Views: 21,487
Posted By kaos_frack
Hi Dj Kat, I'm not about DOM elements I...

Hi Dj Kat,

I'm not about DOM elements
I have create user defined objects:

var Garage = {
location: "2920 6th Ave",
car1: {
color: "red",
sayColor: function() {
Forum: Javascript How-To February 7th, 2007, 03:39 AM
Replies: 4
Views: 21,487
Posted By kaos_frack
how to access parent object properties

I have nested objects and a child object needs to access parent object's properties and/or methods. How do I accomplish that?
I've seen somewhere '__parent__' property of objects that point to the...
Forum: BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 February 4th, 2007, 11:06 AM
Replies: 1
Views: 1,468
Posted By kaos_frack
inheritance problem

I'm trying to create an object (car1) inside another object (Garage).
car1 object should inherit from Car object and define it's own members. But the code below is not working. Can someone tell me...
Forum: CSS Cascading Style Sheets January 21st, 2007, 02:00 PM
Replies: 4
Views: 1,639
Posted By kaos_frack
you're finding your mistakes... maybe after...

you're finding your mistakes...
maybe after some time you can find the solution too...
Forum: Beginning PHP January 10th, 2007, 03:51 PM
Replies: 4
Views: 1,021
Posted By kaos_frack
curly braces do not perform any role here ...

curly braces do not perform any role here
probably the auhor just tried to separate the "$objEntity->__toString()" from other content preventing it from getting messed up with other text
it's just...
Forum: Beginning PHP January 10th, 2007, 03:48 PM
Replies: 3
Views: 1,223
Posted By kaos_frack
it sure does, thanks a lot!

it sure does, thanks a lot!
Forum: Other Programming Languages January 10th, 2007, 03:42 PM
Replies: 3
Views: 1,837
Posted By kaos_frack
want to start gui programming

i've been learning c++ for about 3 months
i've created lots of very simple console based apps
now i want to start creating apps with gui
but i don't know which framework/library to choose:
MFC,...
Forum: Beginning PHP January 5th, 2007, 11:10 AM
Replies: 3
Views: 1,223
Posted By kaos_frack
how do i determine size of file being uploaded?

is it possible to identify the size of a file that is being uploaded?
if yes, what if there are several files being uploaded?
tnx
Forum: Javascript January 4th, 2007, 10:19 AM
Replies: 3
Views: 991
Posted By kaos_frack
Wow! What a sentence! I didn't get a word!...

Wow! What a sentence! I didn't get a word! However, this a good example of how can a sentence get messed without punctuation.
Forum: HTML Code Clinic January 3rd, 2007, 02:23 PM
Replies: 15
Views: 9,820
Posted By kaos_frack
if you cannot view source try entering this in...

if you cannot view source try entering this in the address bar:

javascript:alert(document.getElementsByTagName("html")[0].outerHTML);
Forum: CSS Cascading Style Sheets January 3rd, 2007, 02:04 PM
Replies: 3
Views: 1,737
Posted By kaos_frack
what do the errors say?

what do the errors say?
Forum: Ajax January 3rd, 2007, 01:54 PM
Replies: 5
Views: 38,735
Posted By kaos_frack
This is not about your problem, but I see from...

This is not about your problem, but I see from reading posts that people are using different methods to create XmlHttp object by trying to identify what version/type of this object is available.
I...
Forum: Ajax January 3rd, 2007, 01:39 PM
Replies: 1
Views: 1,328
Posted By kaos_frack
http://www.google.com/search?q=introduction+to+aja...

http://www.google.com/search?q=introduction+to+ajax
Forum: Ajax January 3rd, 2007, 01:31 PM
Replies: 1
Views: 787
Posted By kaos_frack
With this post no one can help unless you write a...

With this post no one can help unless you write a better description for your problem.
Explain your problem with your first post, don't make people ask questions about it. Also post the piece of...
Forum: CSS Cascading Style Sheets December 11th, 2006, 10:57 AM
Replies: 5
Views: 1,872
Posted By kaos_frack
Well, yes. it's a navigation tool. Different...

Well, yes. it's a navigation tool. Different browsers use different methods. But for my project I'm using a method that is the same for IE, FF, Opera, Mozilla and Netscape. So, if also the border is...
Forum: CSS Cascading Style Sheets December 11th, 2006, 04:43 AM
Replies: 5
Views: 1,872
Posted By kaos_frack
How do i remove active link border in IE & FF?

You all know that IE and FF draws a dotted line around a link when it is focused. When I create custom button using images and stuff, that border around the link makes my buttons look very ugly. Is...
Forum: Javascript How-To October 25th, 2006, 01:39 AM
Replies: 2
Views: 1,155
Posted By kaos_frack
it is really hard or maybe even impossible to...

it is really hard or maybe even impossible to implement all those in one regular expression
you might need to right several tests to ensure that password meets the requirements
Forum: Javascript How-To October 24th, 2006, 07:11 AM
Replies: 6
Views: 64,278
Posted By kaos_frack
another trick is to echo your script from a php...

another trick is to echo your script from a php file
everytime request is made to the script, you can check with php for referer, session id or something like that
Forum: Javascript How-To October 24th, 2006, 01:14 AM
Replies: 11
Views: 13,045
Posted By kaos_frack
you might wanna try 'watching' the window's...

you might wanna try 'watching' the window's 'closed' property
something like this:

window.watch("closed", someFunction());

i never tried it, maybe it works
but why would you log the user off...
Forum: Javascript October 24th, 2006, 12:24 AM
Replies: 1
Views: 2,115
Posted By kaos_frack
the problem is on this line: for (i = 2; i >...

the problem is on this line:

for (i = 2; i > 4; i++);

i'm sure you wanted to write i < 4 instead of i > 4
and also you mustn't have a semicolon after the closing brace
Forum: BOOK: Professional Ajax ISBN: 978-0-471-77778-6 May 17th, 2006, 11:12 PM
Replies: 10
Views: 2,307
Posted By kaos_frack
so first of all here's the url:...

so first of all here's the url: http://www.jayzeekay.info/fman.php

i'm using childNodes[1] to test the document for compatibility with opera

i found out very strange thing when testing my...
Forum: BOOK: Professional Ajax ISBN: 978-0-471-77778-6 May 14th, 2006, 11:28 PM
Replies: 10
Views: 2,307
Posted By kaos_frack
yes the response text was valid xml as i've...

yes
the response text was valid xml
as i've posted in the first post
finally i've decided to get the response text and parse through it
instead of using xmldom
Forum: BOOK: Professional Ajax ISBN: 978-0-471-77778-6 May 11th, 2006, 11:40 PM
Replies: 10
Views: 2,307
Posted By kaos_frack
yes header("Content-Type: text/xml");

yes
header("Content-Type: text/xml");
Forum: Beginning PHP May 11th, 2006, 05:59 AM
Replies: 3
Views: 1,505
Posted By kaos_frack
shek_lko is right server executes and removes...

shek_lko is right
server executes and removes the php code and outputs the rest (text, html, javascript, etc)
so don't worry about that, no one can steal your php code
but if the server does not...
Showing results 1 to 25 of 31

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.