-
-
-
-
-
Cache issue i Chrome
Thanks for the reply @BlueDreamer and @davep The page updated fine in other browsers Incognito (in chrome) didn't make any difference. The only way I could force chrome to reload the page was by entering the filename in the url. But the changes didn't persist when I went back to the folder url However after a few days the problem seems to have solved it self. I do have mod_expires set in my .htaccess, which might have contributed to Chromes behaviour. But anoying anyway.
-
Nillervision started following Cakewalk by BandLab - New Free DAW for Windows , Cache issue i Chrome , Pleasehelp settle argument on front page banner and 4 others
-
Cache issue i Chrome
Hello everyone. It's been a while. I have a problem and I hope someone can help. I have a HTML file in a folder on a domain like this: domain.dk/folder/index.html (Its the ONLY file in the folder) The problem is I cant clear chomes cached version of the page, if I omit the filename in the url like this domain.dk/folder/ I have tried: F5 Ctrl + F5 Ctrl + r Ctrl+ shift + r Opened the inspector, and right-clicked the refresh button to clear cache and hard reload. Logged out of chrome Cleared cache in the inspectors application tab Cleared Local Storage, and Cookies for the domain. No problem if the index.html is in the url, but without, it seems impossible to update the page. Any ideas?
-
-
-
Pleasehelp settle argument on front page banner
What comes to mind first is that the content in both banners isn't suitable. Usually a special designed banner is not an element that gets updated regularly The first one says "New" - Is the product still new a year from now? The other one says "10% off" - Is this product still on sale 6 months from now, or what if the company can't sell the product, then the circle has to contain the following text. "15% off and 50 free opera festival tickets" or something similar A designer should always advice clients about the best use of graphic elements and the best use of banner elements are for emotional statements. Use the banner to catch the users interest, promote the message and the "dream" rather than the product. Discounts and news should be shown in elements that can easily be updated by client with out having to hire designers.
-
Responsive Menu
Have you added a viewport meta tag? If not a phone will normaly just scale down the 'desktop version' of the page.
-
Lazy Loading images and video
Though this is an example of succesfull indexing. I still have my concerns, Google bots can execute scripts and decide to evaluate user experiences on in various viewport sizes, but the bot still doesnt have a viewport. I suppose a reference to an image in a data attribute might result in indexing at some point, but hardly good SEO practice. It's not just the transfer of bytes that slows a page down, the number of requests is also a reason to lazy load
- Lazy Loading images and video
-
Copy of website to test server not displaying correctly!
Most likely because of absolute paths to the stylesheets etc. Open chromes developer tools and check for missing resources under the network tab.
- 14 replies
-
- javascript
- php
- display
- copying
-
Tagged with:
- Lazy Loading images and video
-
-
Edit a website
You will need access to the server for this. If the site is created using .NET there probably will not be any html files for you to edit. The files that generates the markup will be asp or aspx files. If you really own the site you should be able to access the server. Then You could use a text editor and try to search and replace for the menu title in any asp/aspx files, but it is most likely that the whole menu is generated by a function/class file which has been compiled to byte code when saved. The original code behind files might be on the server, in which case you can open them in Microsoft Visual Studio and edit/recompile them. But you will need server access for this. These files can not be downloaded through normal http access. EDIT: You could of cause also download a a static copy of rhe generated HTML and edit it a wysiwig editor like dreamweaver. But you will lose any functionality that runs on the server.
-
-
Cakewalk by BandLab - New Free DAW for Windows
Thanks for sharing. Ive been a Logic user for over 15 years. But Cakewalk is absolutely a great platform.
-
-
-
-
Paul Smith started following Nillervision
-
-
Looking for constructive criticism/feedback
Though these are all valid arguments for using a CMS it is not certain its the best solution for OP. Static HTML/PHP files loads faster than CMS pages because there are no database queries. With a little PHP knowledge you can include a header, menu, footer etc. on a 'static' page as well instead of copy/paste. Wordpress and most other CM systems performs database queries based on parameters in the url. This makes the site much more vonurable to attacks than a static site. The query parameters can also give a beginner problems with duplicate content/multiple urls. The same goes for different post types. All in all a CMS is very powerfull but it takes a lot of experience to set it up the right way. For someone with HTML skills, but no knowledge of backend development, static are often a better solution.
-
-
-
-
Slide Show?
You can build it yourself very easily. A slider like that doesnt even require javascript. I've made a tutorial showing how to do it with pure CSS animations: DEMO AND SOURCE DOWNLOAD: http://nielsharbo.dk/?lang=en&page=tutorials&post=css-slider
-
-
Too Old?
Its not to late. I started to develop webpages in the late 30s. When I was 40, I went to uni to take degrees in design and webdevelopment. Now I am almost 50 and employed as a frontend lead developer at an agency. If you have a pasion and interest for the trade, it is never to late to start Keep in mind that it will take a long time to build experience and skills enough to earn a good pay in this business. And you will have to keep educating yourself to stay up to date with the latest tech, development models, design trends etc.
-
Valuable Feedback
Hello Neik. Welcome to the forum. If you want to build credibility as a theme developer you should really be working on optimizing your own site, https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fwww.themevault.net%2F&tab=desktop A PageSpeed Insights score of 30 is really not good enough Suggestions for better UX. Use a honeypot instead of captcha in your contact form Get rid of the slidetoggle on the FAQ page, unless you plan to have longer answers. Why bother the user with having to click to reveal just one or two lines of text The automatic pop up will most likely just annoy users. Nobody will react to it before having a chance to read your offers. And google might punish you for it; https://www.theverge.com/2016/8/23/12610890/google-search-punish-pop-ups-interstitial-ads Most importantly: I think you need to work a lot on your brand and credibility. Let the user know who you are. Your site has zero information about you: no images of you or your team no about-us page no info about your location, your pasion for design or your values, mission, vision etc. no testimonials from happy clients.
-
Jquery viewport trigger
This method returns true if the current element is in the viewport jQuery.fn.isInViewport = function() { var elementTop = jQuery(this).offset().top; var elementBottom = elementTop + jQuery(this).outerHeight(); var viewportTop = jQuery(window).scrollTop(); var viewportBottom = viewportTop + jQuery(window).height(); return elementBottom > viewportTop && elementTop < viewportBottom; }; Usage: if (jQuery('.my-element').isInViewport()) { //do something } DEMO: https://jsfiddle.net/Nillervision/fmgjbkps/ Note that this example is not listening for scroll events (which can be heavy for the browser) Instead the function is running on each animation frame: I'm not 100% sure but I think this give you a better performance because each frame is parsed by the browsers js engine anyway, and the interval between the frame "events" is determined by the device itself: var scroll = window.requestAnimationFrame; function loop() { if (jQuery('.my-element').isInViewport()) { //do something } // Recall the loop scroll(loop) } // Call the loop for the first time loop(); To support old browsers you can fallback to vendor prefixes or even a timer var scroll = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame || // fallback to timer function(callback) { window.setTimeout(callback, 1000 / 60) };