P
paakwesi
I'm looking to modify the javascript behavior on
http://research.yale.edu/~kamusi/exercises/learners/index.php to do
two things:
Initial State: Both menus are populated with all their entries (as is
the case currently).
1. On selecting a topic, the Skills menu will only show those Topics
with dependencies (which will be provided) and vice versa.
2. On clicking the "Go" button, whichever combination (or just a Topic
or Skill) is selected and passed to the URL field.
Ordinarily, I'm a PHP dude and sweated enough to get the current
javascript working (javascript too finicky
). On doing some research
(ie googling
), I have come across only uni-directional dependencies
(ie, "Skills" is dependent on "Topics", not vice versa). Anyone has any
idea of how to get this bidirectional dependency without creating some
sort of looping behavior(how I see it if I were just to tweak the
uni-directional code that DreamWeaver for example generates)?
Thanks,
paa.kwesi
http://research.yale.edu/~kamusi/exercises/learners/index.php to do
two things:
Initial State: Both menus are populated with all their entries (as is
the case currently).
1. On selecting a topic, the Skills menu will only show those Topics
with dependencies (which will be provided) and vice versa.
2. On clicking the "Go" button, whichever combination (or just a Topic
or Skill) is selected and passed to the URL field.
Ordinarily, I'm a PHP dude and sweated enough to get the current
javascript working (javascript too finicky
(ie googling
(ie, "Skills" is dependent on "Topics", not vice versa). Anyone has any
idea of how to get this bidirectional dependency without creating some
sort of looping behavior(how I see it if I were just to tweak the
uni-directional code that DreamWeaver for example generates)?
Thanks,
paa.kwesi