EZE Posted January 13, 2007 Share Posted January 13, 2007 I have been attempting to use http://dynamicdrive.com/dynamicindex16/chainedselects/ to make a variable search engine, and the config.js completely baffles me, even with the instructions, could someone help explain it to me? I am trying to make to selects, like this, that are chained: (The Select That Decides Which Select Is Chosen.) [code]<select title="Search For:"><option title="Search For Submission" selected="selected">Submission</option><option title="Search For Author">Author</option></select>[/code] (If Submission Is Selected From The First Select:)[code]<select title="Search For Submissions"> <option title="Search By Submission Name">Submission Name</option> <option title="Search By Submission Description">Submission Description</option></select>[/code] (If Author Is Selected:)[code]<select title="Search For Author"> <option title="Search By Author Name">Author Name</option> <option title="Search By Author's Average Rating">Author's Average Rating</option> <option title="Search By Author's Number Of Submissions">Author's Number Of Submissions</option></select>[/code] Could someone please help me? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 15, 2007 Share Posted January 15, 2007 Not that I generally condone the use of random scripts... but I don't understand the question. Quote Link to comment Share on other sites More sharing options...
EZE Posted January 16, 2007 Author Share Posted January 16, 2007 Simply put, I really don't understand the way the config.js works with dynamic drives [url=http://dynamicdrive.com/dynamicindex16/chainedselects/]chained[/url] select. The way it is set up confuses me. Quote Link to comment Share on other sites More sharing options...
fenway Posted January 16, 2007 Share Posted January 16, 2007 Can you be more specific? I just don't have the time to delve into someone else's entire code. Quote Link to comment Share on other sites More sharing options...
EZE Posted January 17, 2007 Author Share Posted January 17, 2007 You would have to read the tutorial on dynamic drive. What I'm trying to do over all is create chained select menus, do you know how? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 18, 2007 Share Posted January 18, 2007 In principle, it's just a bunch of pre-populated (or AJAX-populated) JS arrays that get synchronized via an onchange handler. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.