Velcrobelly
12-29-2005, 02:16 PM
Hi everyone,
I'm new to the forum and Javascript itself, so apologies for any stupidity.
I am in the planning stages of a website and am researching the best methods to implement certain features.
What I need advice with is whether it is possible to trigger action groups (set to onCall) placed in the Head section of an html page based on user selection from two popup menus. I'm using Adobe GoLive CS by the way.
This particular page will feature 200+ div layers, each of whch need to have their visibility switched using a Show/Hide action depending on the user selection from two popup menus.
The first menu would have three options: City1; City2; City3.
While the second menu would have genre options such as: Art; Film; Exhibition etc. What I would like to achieve is a system where a user selects from either of the popup menus, hits a Submit button and that triggers an appropriate Action Group altering the visibility of select Div layers.
For example, choosing City1 and pressing Submit triggers the City1 action group hiding all designated Divs, while choosing City2 and Art triggers another action group to hide all Divs except those designated.
In short, is it possible to trigger Action Groups (set to onCall) based on the user selection from two popup menus? If it is possible can you clue me in as to where would be a good place to start learning the code/techniques required? I've not had much sucess so far with various Google searches on the subject.
Thanks for your patience and apologies for the long post.
I'm new to the forum and Javascript itself, so apologies for any stupidity.
I am in the planning stages of a website and am researching the best methods to implement certain features.
What I need advice with is whether it is possible to trigger action groups (set to onCall) placed in the Head section of an html page based on user selection from two popup menus. I'm using Adobe GoLive CS by the way.
This particular page will feature 200+ div layers, each of whch need to have their visibility switched using a Show/Hide action depending on the user selection from two popup menus.
The first menu would have three options: City1; City2; City3.
While the second menu would have genre options such as: Art; Film; Exhibition etc. What I would like to achieve is a system where a user selects from either of the popup menus, hits a Submit button and that triggers an appropriate Action Group altering the visibility of select Div layers.
For example, choosing City1 and pressing Submit triggers the City1 action group hiding all designated Divs, while choosing City2 and Art triggers another action group to hide all Divs except those designated.
In short, is it possible to trigger Action Groups (set to onCall) based on the user selection from two popup menus? If it is possible can you clue me in as to where would be a good place to start learning the code/techniques required? I've not had much sucess so far with various Google searches on the subject.
Thanks for your patience and apologies for the long post.