By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,403 Members | 891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,403 IT Pros & Developers. It's quick & easy.

Sync menu and product category header via java script

P: 1
Hi, I’m hopping someone can point me in the right direction or provide advice for the following:

I’m currently developing the following website via third-party ColdFusion catalog system which I have limited control over: istOrder=true
I’d like to show relevant “category” matching header content above the products displayed for all of the categories available via menu category selection.
However, this third-party catalog system doesn’t have this type of feature available, so I’d like to add this dynamically via JavaScript if reasonably possible?
Working example: (Note: different catalog system)

Question: Can a JavaScript be written so when the user clicks a menu “category” the JavaScript will capture the menu “category” choice and use it to pull the relevant matching content from (a remote server) and place it into tag <div id=”categoryHeader”> above the matching category products within the catalog page. (Note: I currently have a remote server setup and ready for this purpose.)

Technical details:
Catalog type: <ColdFusion>
Doc type: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
User code integration method: <written content blocks> (i.e. user code pre-uploaded to written content blocks for parsing by ColdFusion into catalog pages)
Available written content areas:
- <table><td>
- <header><meta>
- <root level directory> (i.e. file upload to user root folder) Note: I prefer storing files on my remote server and using links if possible.
Menu type: <Ajatix> (i.e. Advanced CSS Drop Down Menus)
Note: All <written content blocks> are parsed by ColdFusion and dynamically written into its catalog pages as a whole for browser display.

Thank you very much for any help or advice you can offer.
Dec 13 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.