p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4
This is the forum to discuss the Wrox book ASP.NET AJAX Programmer's Reference: with ASP.NET 2.0 or ASP.NET 3.5 by Dr. Shahram Khosravi ; ISBN: 978-0-470-10998-4

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET AJAX Programmer's Reference : with ASP.NET 2.0 or ASP.NET 3.5 ISBN: 978-0-470-10998-4 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 17th, 2007, 09:20 AM
Registered User
 
Join Date: Oct 2007
Location: Gerrards Cross, , United Kingdom.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default DomEvent Example 6-15 Firefox Problem

This example doesn't work correctly in Firefox 2.0.0.4.

I thought the whole idea of the AJAX library was to deal with browser inconsistencies.

Even changing the code to use $addHandler and $removeHandler doesn't make it work properly.

Could somebody explain what the problem is?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old October 18th, 2007, 05:29 PM
AGS AGS is offline
Wrox Technical Editor
Points: 229, Level: 4
Points: 229, Level: 4 Points: 229, Level: 4 Points: 229, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: Russia
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Could you clarify the question a bit?

File Listing6_15.aspx from code download is not DomEvent example. Which example/listing do you mean?

Best regards
Alexei

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old October 19th, 2007, 04:07 AM
Registered User
 
Join Date: Oct 2007
Location: Gerrards Cross, , United Kingdom.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are correct. It is not a DomEvent example.

Listing 6-15 is an example of using getLocation and setLocation methods of the DomElement.

It works fine in IE7 but not in Firefox 2.0.4 and I just wanted to understand why.

Curiously, as the book develops the idea of using Delegates and introduces the Mover class in example 6-22 to do the same thing, this does work in Firefox as well as IE.

The code in the Delegates.js file to handle the mouse events looks the same as example 6-15 so i'm just trying to understand why one works and the other doesn't.

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with AJAX in Firefox geoko BOOK: Professional Ajax ISBN: 978-0-471-77778-6 2 June 27th, 2009 12:57 PM
Firefox vs. IE - Javascript problem VerbatimBOT ASP.NET 2.0 Professional 2 September 25th, 2008 04:28 AM
xpath problem in firefox 3 asadallahi BOOK: Professional Ajax ISBN: 978-0-471-77778-6 0 August 13th, 2008 02:07 AM
firefox problem axeman XSLT 0 November 21st, 2005 10:35 AM
firefox session problem fender79 Classic ASP Professional 0 April 12th, 2005 03:51 AM



All times are GMT -4. The time now is 12:26 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc