Help with Mobile Nav

Permalink Browser Info Environment
Hi,
I'm having trouble with the mobile nav. The nav icon is showing in the top right of the phone screen but it's not active. Any guidance would be appreciated.
The site is under construction atwww.www.barmerahotel.com.au/cms...

Thanks.

Type: Pre-Sale
Status: In Progress
anete
View Replies:
MichaelG replied on at Permalink Reply
MichaelG
Not really sure where it came from, but go to themes/barmerahotel/js/functions.js

and where it says
$("#navmobile").toggle(
      function(){
         $(".slide").addClass('slideOver');
      },
      function(){
         $(".slide").removeClass('slideOver');
      }
   );

rename #navmobile to #hamburger
anete replied on at Permalink Reply
anete
Thanks for your prompt response Michael. I did rename the hamburger id at one stage, I had forgotten to change the js back! That has fixed the home page problem, I can now access the other menu items on the home page, but when on the other pages the nav isn't active. Any ideas?
This was the initial problem I was having before fiddling!

Any ideas why
anete replied on at Permalink Reply
anete
Hii,
I'm about to put this website live and am still having an issue with the mobile nav. The mobile nav is working on in the home page but on other pages it isn't active. Any chance of having a look at this for me please. I have purchased your theme.
At the moment the site is atwww.www.barmerahotel.com.au/cms... will be going live at the domain in the next day or so.
Thanks.
MichaelG replied on at Permalink Reply
MichaelG
It looks like the subpages is not including the functions.js file.

I don't know why. Maybe you modified the footer.php include for other pages and didn't include the functions.js file in that? Just a guess.

We can support the theme, but if you're going to make modifications to it, especially renaming elements, removing files etc... it's up to you to understand what it is you're modifying.
anete replied on at Permalink Reply
anete
Thanks Michael, I think that may be it! I understand regarding modifying.

THanks for your help.
anete replied on at Permalink Reply
anete
Hi Michael,

I've just realised why I removed the functions.js from some pages, as it was conflicting with the Mosaic Gallery I have installed on 4 pages. The problem is when you enlarge the image and scroll through the slideshow and go to close the image it opens up a new blank page instead of going back to the page. I discovered when I removed the functions.js from those pages the gallery worked fine and didn't open up the new tab when closing. Do you know what this conflict may be?
If you go to this pagehttp://www.barmerahotel.com.au/cms/facilities/... and click on one of the images in the gallery and close it, you will see how it's opening the new blank page.
MichaelG replied on at Permalink Reply
MichaelG
Gotcha

If you go to functions.js you can remove these lines:

//make a cool 'external' selector. exceptions: mailto: and javscript jazz
   $.expr[':'].external = function(obj){return !obj.href.match(/^mailto:/)
   && !obj.href.match(/^javascript/) && (obj.hostname != location.hostname);};
   //add the class "external", and add popup.
   $("a:external, a[href*='.pdf'], a[href*='.doc'], a[href*='.docx']").addClass("external").click(function(){window.open(this.href); return false;;});
   //add another class for specific file types
   $("a[href*='.pdf']").addClass("pdf");
   $("a[href*='.doc'], a[href*='.docx']").addClass("doc");


That will fix it and not cause any further issues.
anete replied on at Permalink Reply
anete
Thanks so much Michael, that did the trick!

I was searching for the 'external' class in the gallery files, thinking that's probably the issue, didn't look through the functions.js properly did I !!!!

Much appreciated, thank you.
anete replied on at Permalink Reply 1 Attachment
anete
Seems that quite a few of the mobile views aren't hiding the nav once past the home page.I have attached a screenshot. Not sure if there is a fix for this. .
MichaelG replied on at Permalink Reply
MichaelG
set a white background for #mainShell I think....
tccmarietta replied on at Permalink Reply
tccmarietta
Hi Anete, I am having the exact problem you did with the drop-down nav showing through. How did you end up fixing that problem? I am a beginner at web sites and am not experienced modifying code. Appreciate any help you can offer!

Here is the troubled linkhttp://www.transfiguration.com/specials/home-grounds/...
anete replied on at Permalink Reply
anete
HI,
Looks like your mobile nav is showing but being hidden by the slider. I think it's probably a z-index issue, but hopefully Michael might be able to guide you more on that. All the best.

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
Designer Content (3.1.1), Gallery (1.8.1), Mosaic Gallery (1.2.3), Pro Blog (12.4.4), Whale Nivo Image Slider (1.2).

# concrete5 Overrides
blocks/homepage_ctas_grounds, blocks/simple_button_grounds, blocks/form, blocks/product, blocks/recipes_block, blocks/chefs_recipe, blocks/simple_locations_grounds, blocks/problog_list, blocks/recipe_name, blocks/recipes, blocks/autonav, blocks/simple_slider_grounds, blocks/simple_logo_grounds, blocks/simple_hr_grounds, blocks/product_list, blocks/image, js/functions.js, languages/vi_VN, languages/ar, languages/ru_RU, languages/es_PE, languages/fa_IR, languages/ro_RO, languages/it_IT, languages/es_AR, languages/nb_NO, languages/tr_TR, languages/ja_JP, languages/fr_FR, languages/cs_CZ, languages/fi_FI, languages/nl_NL, languages/sl_SI, languages/da_DK, languages/sk_SK, languages/el_GR, languages/es_ES, languages/sv_SE, languages/he_IL, languages/zh_TW, languages/es_MX, languages/zh_CN, languages/pt_PT, languages/de_DE, single_pages/new_blog.php, themes/barmerahotel

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

# Server Software
Apache/2.2.22 (Ubuntu)

# Server API
cgi-fcgi

# PHP Version
5.3.10-1ubuntu3.11

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, ereg, exif, ffmpeg, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, suhosin, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 50
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 20M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 24M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25

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.