XMLHttpRequest in DHTML Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Edilsom
Beginner
Beginner
Posts: 2
Joined: Fri Apr 07, 2006 12:37 pm
Contact:

XMLHttpRequest in DHTML Menu

Post by Edilsom »

How do I made that?
Can I make XMLHttpRequest with DHTML Menu? 8)
How do I made call to javascript function? 8)
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

within the menu you can integrate your own function call. This should enable you to activate your own loadXMLDoc or xmlhttpChange JavaScript functions. Please see the documentation of the itemproperties and the sample menu no. 15, where onfunction offfunction and clickfunction are in operation.
(not using XMLHttpRequest Object , but in general calling functions)

http://milonic.com/menusample15.php

http://milonic.com/itemproperties.php

For those who don´t know what it is, a "XMLHttpRequest Object":
By using the XMLHttpRequest object, a web developer can change a page with data from the server after the page has loaded.
The XMLHttpRequest object is not a W3C standard.
The W3C DOM Level 3 "Load and Save" specification contains some similar functionality, but these are not implemented in any browsers yet. So, at the moment, if you need to send an HTTP request from a browser, you will have to use the XMLHttpRequest object.
This is done different for the different browsers and performed for instance by js-functions.

The XMLHttpRequest object is not supported by all browsers.

Michael
Edilsom
Beginner
Beginner
Posts: 2
Joined: Fri Apr 07, 2006 12:37 pm
Contact:

Post by Edilsom »

Thanks for your help...
I use DHTML menu with ajax requests and now works fine...
Many thanks... 8)
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

you´re welcome

Michael
Post Reply