Expand Menu On Click instead of On Hover

Permalink Browser Info Environment
I would like to know if its possible to make the menu expand when the user clicks on the parent page instead of on hover. I purchased a 5 pack so I'm hoping this is possible = )

Type: Discussion
Status: Resolved
clovisusd
View Replies:
ChrisWatterston replied on at Permalink Reply
ChrisWatterston
Hey,

Your be able to achieve this by changing one word from 'hover' to 'click' in the 'am_menu.js' file.

$('#am_menu li a').hover(function() {

.....to.....
$('#am_menu li a').click(function() {



Hope the above helps,
Cheers

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
Accordion Menu (2.0), Add Multiple Pages (2.1.1), PC5 Custom Templates (3.5), Plus Sign Nav (2.1.1).

# concrete5 Overrides
languages/ja_JP, languages/pt_PT, languages/cs_CZ, languages/sk_SK, languages/sv_SE, languages/ar, languages/es_ES, languages/da_DK, languages/es_PE, languages/fa_IR, languages/es_MX, languages/nl_NL, languages/es_AR, languages/sl_SI, languages/zh_CN, languages/fi_FI, languages/el_GR, languages/it_IT, languages/zh_TW, languages/he_IL, languages/de_DE, languages/nb_NO, languages/vi_VN, languages/ru_RU, languages/tr_TR, languages/fr_FR, languages/ro_RO, themes/subpage, themes/login, themes/full width centered, themes/guest, themes/homepage, themes/full width, themes/full width tabs, themes/category spread

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.4.35

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 32M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.