Totally Zenned
- Join Date:
- Jul 2012
- Posts:
- 16,908
- Plugin Contributions:
- 2
Blackberry display and operation issues with docs.zen-cart.com
Trying to update my links to point to the applicable docs.zen-cart.com locations equivalent to previous/current FAQ locations; however, I am currently not looking to point users to those locations as long as the issues (other than the last) such as described below are occurring.
First is that on my mobile device, Blackberry Classic, any page visited has the footer black area with the mailing list, twitter, github, etc.. is located at the bottom of the initial screen load, but does not "float" (nor do I really want it to) or get out of the way of the screen. Basically there are about 1.5" of screen where text can not be read behind it.
To this I do not yet know what CSS will make it work. I thought that it would resolve itself if I moved the <footer></footer> outside of the ```
<div class="container-fluid td-outer">
Then there are console errors from javascript/jQuery with the first having any negative effect with the following script information:
**SyntaxError: Unexpected token ')' at the first line**
const disableButtons=COLOR=#000000[/COLOR]=>{
yesButton.disabled = true;
noButton.disabled = true;
};
Then I have "alert" information though it doesn't seem to be an error, I think it is the reason that the line below that identifies that "undefined" is not a function:
jQuery.Deferred exception: undefined is not a function (evaluating 'headings.forEach') https://docs.zen-cart.com/js/main.min.e67709780baf9b96e718d9cd19859799e70b8d106c0200b245581e72e78142df.js:5:80l@https://code.jquery.com/jquery-3.3.1.min.js:2:29379https://code.jquery.com/jquery-3.3.1.min.js:2:29677 undefined
[URL="https://code.jquery.com/jquery-3.3.1.min.js"]jquery-3.3.1.min.js:2[/URL]
And I have this one (possibly as a result of the above issue(s)?):
TypeError: undefined is not a function (evaluating 'headings.forEach')[URL="https://docs.zen-cart.com/js/main.min.e67709780baf9b96e718d9cd19859799e70b8d106c0200b245581e72e78142df.js"]main.min.e67709780baf9b96e718d9cd19859799e70b8d106c0200b245581e72e78142df.js:5[/URL]
With the associated code of line 5 of that file that also does not have "undefined" in its text (likely something returned from within the forEach loop) from what I can see...:
varheadings=article.querySelectorAll('h1, h2, h3, h4, h5, h6');headings.forEach(functionCOLOR=#000000{[/COLOR]ifCOLOR=#000000{[/COLOR]vara=document.createElementCOLOR=#000000;[/COLOR]a.style.visibility='hidden';a.setAttributeCOLOR=#000000;[/COLOR]a.innerHTML=' <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>';a.href='#'+heading.id;heading.insertAdjacentElement('beforeend',a);heading.addEventListener('mouseenter',function(){a.style.visibility='initial';});heading.addEventListener('mouseleave',function(){a.style.visibility='hidden';});}});});}(jQuery));(function($){'use strict';var Search={init:function(){$(document).ready(function(){$(document).on('keypress','.td-search-input',function(e){if(e.keyCode!==13){return}
Lastly, while not "problematic" and doesn't really bother me other than if I mistakenly scroll off screen to the right, screen has white space to the right of the main page about equivalent to the width of the "left" side... I can't seem to find anything that visually takes or makes that space; however, I can't find any source code that prevents its presence as well.
Note that I am using Microsoft Edge to post this and it may have caused some "formatting" issues in the above content. There does not appear to be spacing issues with the original content, nor are there additional ```
[COLOR]
``` type tags included... That seems to happen when using edge even though I have updated it to the most recent version thinking it would fix that junk.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...