Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,624 members, 7,820,211 topics. Date: Tuesday, 07 May 2024 at 11:29 AM

Ajax Dropdown Menu Scripts - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Ajax Dropdown Menu Scripts (1462 Views)

Complete Tutorials On Designing A Wapka.m0bi Site.(codes/scripts Etc) / Form Validation Tutorial Using Javascript, Php And Ajax! / Dynamic Web Design Tutorials Ft Javascript,Ajax,DOM,PHP,MySQL... (2) (3) (4)

(1) (Reply) (Go Down)

Ajax Dropdown Menu Scripts by Syvalam(m): 7:01pm On Mar 26, 2010
Pls i urgently need AJAX dropdown menu scripts for ongoing web project pls kindly help me out
Re: Ajax Dropdown Menu Scripts by DualCore1: 7:14pm On Mar 26, 2010
dynamicdrive.com
Re: Ajax Dropdown Menu Scripts by Nobody: 11:46pm On Mar 26, 2010
simply google "code for a Ajax Drop Down Menu" and test all scripts you see from sites for the best that suits ur desire.

Thanks.
Re: Ajax Dropdown Menu Scripts by Syvalam(m): 9:58pm On Mar 27, 2010
Thanks a lot @ Dual Core , Donpuzo

i got the script below from w3schools.com and it works properly but am still having problem with handling multiple XMLHttpRequestObject

var xmlhttp;

function listBranch(str)
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
{
alert ("Browser does not support HTTP Request"wink;
return;
}
var url="getBranch.php";
url=url+"?cpn="+str;
url=url+"&sid="+Math.random();
xmlhttp.onreadystatechange=stateChanged;
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}

function stateChanged()
{
if (xmlhttp.readyState==4)
{
document.getElementById("branchList"wink.innerHTML=xmlhttp.responseText;
}
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
{
// code for IE7+, Firefox, Chrome, Opera, Safari
return new XMLHttpRequest();
}
if (window.ActiveXObject)
{
// code for IE6, IE5
return new ActiveXObject("Microsoft.XMLHTTP"wink;
}
return null;
}// JavaScript Document
Re: Ajax Dropdown Menu Scripts by Nobody: 10:42pm On Mar 27, 2010
You r welcome. grin
Re: Ajax Dropdown Menu Scripts by Nobody: 9:13am On Mar 28, 2010
there is a reason why i dont use that xmlrequest stuff, i think it is not crossplatform, that is the problem
you get on w3schools atimes, they teach stuffs, but are not always practical.
Re: Ajax Dropdown Menu Scripts by mikkyphp(m): 12:56pm On Apr 01, 2010
dynamicdrive.com it is!

(1) (Reply)

Php Maker / Fanbox Is Offering More Than Facebook And Attracting More Fans / How Do I Advertise My Kids Clothing Website?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.