Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

beelzebomb

Members
  • Joined

  • Last visited

Everything posted by beelzebomb

  1. I am now using slightly different code - how would I implement this in the below, any idea anyone? $(function(){ $(document).on( 'scroll', function(){ if ($(window).scrollTop() > 200) { $('.scroll-top-wrapper').addClass('show'); } else { $('.scroll-top-wrapper').removeClass('show'); } }); $('.scroll-top-wrapper').on('click', scrollToTop); }); function scrollToTop() { verticalOffset = typeof(verticalOffset) != 'undefined' ? verticalOffset : 0; element = $('body'); offset = element.offset(); offsetTop = offset.top; $('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); }
  2. The code I'm using is semi transparent, I noticed yesterday that the shop Zalando use a similar idea - their back to top button disappears completely when scrolling stops anywhere on the page, so not interfering with the viewpoint. I'm sure it's just a JS tweak, but I don't know.
  3. I am using the following code to make an opaque Back to Top button appear on mobile devices when the user scrolls down. It fades in as the user scrolls, and fades away when the user scrolls back up - or touching the button glides the page to the top (obviously!) But mob devices are limited space, so to avoid the button covering the footer content, I would like it to fade away when the user stops scrolling or hits the bottom of the page, to reappear when the user scrolls again - is this possible/simple to do? HTML <a href="#" class="back-to-top">Back to Top></a> CSS .back-to-top { position: fixed; bottom: 1em; right: 0px; text-decoration: none; color: #000; background-color: rgba(235, 235, 235, 0.80); font-size: 90%; padding: 1em; display: none; font-family: 'open_sansbold', Arial, Helvetica; z-index: 999; border-radius: 14px 0 0 14px; moz-border-radius: 14px 0 0 14px; webkit-border-radius:14px 0 0 14px; o-border-radius: 14px 0 0 14px; } .back-to-top a { color: #000!important;} /* .back-to-top:active { color: #000!important;} */ .back-to-top:hover { /* background-color: rgba(135, 135, 135, 0.50); */ color: #000!important; } footer { z-index: ;} JS jQuery(document).ready(function() { var offset = 420; var duration = 500; jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > offset) { jQuery('.back-to-top').fadeIn(duration); } else { jQuery('.back-to-top').fadeOut(duration); } }); jQuery('.back-to-top').click(function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; }) });
  4. Thanks but that's a dead link. I'v since spoken to ebay and been informed that they're phasing out the ability to completely redesign stores so the button doesn't exist for new stores - they want to streamline them all to be simpler.
  5. Anyone? Or even point me in the right direction to a specific forum for this subject. EBay, like google, is near impossible to contact if something isn't right.
  6. I'm trying to create an eBay store for a client - but, rather like dealing with that other big anonymous corporation, Google, it's proving pretty painful. The client has opted for the basic package (£20pm approx). I've added a banner, I've added a logo but cannot see anywhere to add a theme or actually style the store. I seem to have some fields missing? No Display Settings: Apparently, I should find display setting here: My eBay > account tab (hover) > manage my store (click) > display settings (click) But there is no display settings option, so I can't change the layout, add a them or background - not anything! Any help appreciated.
  7. Thanks Weedy101, I'm going to completely fresh install my WP blog and re-upload all the posts to be safe. Quite a few people recommend Sucuri and I guess at 50 odd quid a year it's good value - I've had 2 hacks in the past 2 years and it stuffs up your google listing, SEO and takes a huge amount of time to sort out - well worth it. I am considering completely deleting the database and creating a new one, or is this overkill? Guess the downside is that I will lose all the comments? I can't think of a way round this really.
  8. Thanks for the suggestions, thumping every hacker in the face would make me feel much better right now!
  9. Yes it is the same path, I've now reloaded my entire site and all javascript files etc - also contacted host who have restarted (?) the firewall as google suggests one reason might be that host is blocking googlebot (though surely that's insane!) or their firewall is blocking it. The redirect seems to be conditional, so doesn't show up each time I check, so not sure if it's gone or not. FVS aren't providing free hosting - it's a paid package, bit of a rubbish name though they do provide some limited free hosting packages as well. Came highly recommended by fellow web designers and hosters a few years back but service really seems to be on a downward spiral & I know some of those have now left them.
  10. Thanks I have already done exactly that and found nothing - I've now taken down my blog (deleted off server) and put up a maintenance page. But Google still can't find my robots file so won't crawli my site - same message each time I 'fetch' - I've now slipped off page one so this is getting desperate for my income.
  11. Sure - this is for the site as a whole, not the blog part. Options +FollowSymlinks RewriteEngine on RewriteCond %{http_host} ^mysite.co.uk [nc] RewriteRule ^(.*)$ http://www.mysite.co.uk/$1 [r=301,nc] RewriteRule ^index\.html$ / [R=301,L] RewriteRule ^(.*)/index\.html$ /$1/ [R=301,L] AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml .htm .html #AddHandler fcgid-script .php5 .php4 .php .php3 .php2 .phtml .html .htm #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php5 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php4 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php3 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php2 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .phtml #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .htm #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html But it also turns out that I've been hacked with a conditional redirect to adult sites, so it doesn't happen every time you try to replicate it. This is what aw-snap.info is finding - but I can't find it on my site anywhere, last night I reloaded WordPress, but no joy.. Content that was returned by your request for the URL: http://www.mysite.co.uk Note: Content displayed is from the redirect location, the URL http://xe67sxcdb1v1n3s5muwre7p.sanalmatik.net/index.php?g=aW1wc3Z6PWJ4bmsmdGltZT0xNDA2MDExNjUwMjkxNzkxMzQxOSZzcmM9MTA5JnN1cmw9d3d3LmZpenp3ZWJkZXNpZ24uY28udWsmc3BvcnQ9ODAma2V5PUExREFFRDE3JnN1cmk9Lw== 1:< html> < head> < title> index< /title> < /head> < body> < sc​ript > if (typeof(location.re​place)!='undefined') { top.location.re​place( "hxxp://95wbe830tumxyapvz​tcz6ix.adultvideoz.net/adsort.php?xx=1&aid=2&atr=dirs&src=109" ); } else { top.location.href = "hxxp​://95wbe830tumxyapvztcz6ix.adultvideoz.net/adsort.php?xx=1&aid=2&atr=dirs&src=109" ; }; < / sc​ript > Note: The sc​ript call above looks suspicious! Check to make sure it is legit. < /body> < /html>
  12. Right, where do I begin. Free Virtual Servers' server updates kept changing my htaccess file making the code that parses the site as php to redirect to my mobile version broken, so the code displays at the top of the page - they managed to do this twice in a week. I was given the solution to make htaccess immutable, so it couldn't be changed - fine I thought... Then less than 24 hours they made more server changes, and because my htaccess file was now immutable didn't change it, the result being that as it was such a big change, my site went down! The site itself exists and is fine - but the blog post links were all 404'ing - I naturally blamed FVS, who were vague about any potential cause - I recreated the blog's htaccess file after deleting the one already there and this solved it. To add insult to this, Google tried to crawl the site while it was down and I dropped off page one as a result. The message being that google couldn't find my robots.txt file - well I didn't have one! So I tried to "fetch as google" and index my site again but the robots error is still showing - so I created a damn robots file as FVS were too vague in their response again. I now find that I can't submit all linked urls as this box in webmaster tools is now greyed out - and to top it all, I'm told when it tries to fetch and index my blog (inserted inside my site) that it's 301 redirected to the same url it is already on! Here's the google message: HTTP/1.1 301 Moved Permanently Date: Sat, 31 May 2014 21:17:39 GMT Server: Apache Location: http://www.fizzwebdesign.co.uk/blog/ Content-Length: 244 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://www.fizzwebdesign.co.uk/blog/">here</a>.</p> </body></html> I haven't set up a 301 for the blog - it's in the same place it always has been. I feel like I'm being sabotaged, any help as to what's going on? Is it all FVS' fault?
  13. Thanks all, yes I've seen _s & bones and thought _s especially interesting so will give both a deeper look at. Yes I built my in-site blog in a similar way junior, I understand html, but not much php, so adapted the existing site code to become WP. Though it was pretty tough work to get working and I've no idea if this approach would be solid enough to incorporate any complicated plugins I might want to use without problems - at least a theme is (hopefully!) longterm tested.
  14. I've got a dilemma -whether to use a completely bespoke WordPress design or go with an existing flexible template that I can adjust. I've designed my own blog that sits in my own site, but it was hard work! Here are my dilemmas: 1. Using my own design (HTML with the crucial php added in) I can put everything exactly where I want it & will know the code inside out. But a template is tried & tested whereas mine isn't.. 2. Using a template will surely be limiting in various ways (exactly how much I can change things) & I will be faced with alien code? 3. Will my own design be capable of taking on board the huge range of plugins which make WP so attractive to use? 4. WP advertises itself as being responsive, but using my design will only be as responsive as I design it (unless I'm missing some magical part of WP!)? 5. For all the downsides of using my own design, it will be code I understand, most templates are purely php which I don't understand much at all. What do you think are the advantages/disadvantages of each route? Just how flexible and user-friendly are the templates on offer out there? I realise I need to read up on all this in detail but would appreciate any pointers from anyone who has been in a similar dilemma so I don't go off down the wrong road from the off. Thanks
  15. Ok sorted uploading it, codepen worked perfectly where jsfiddle wouldn't, here: http://codepen.io/beelzebomb/pen/GFevC
  16. Thanks for replies, I've not used jsfiddle before and cannot get it to link to 2 separate ,js files - & learning/getting a workaround to this kinda adds another problem rather than helps with the original if you see what I mean! The code/demo files are all at the links provided if that helps? As for accordion, thanks, I'll bear it in mind but as I've got Expander working nicely, apart from one this one minor issue, I'd rather stick with it.
  17. I'm using jquery expander (http://plugins.learningjquery.com/expander/) which is all good and working fine, though I can't see a way that I can customise to be able to have an expanded section automatically collapse if another section is expanded. I would like it to work rather like it does on this page: http://architectureforlondon.co.uk/london-architects/ I think it's neater this way and doesn't allow the user to completely upset the page style/look. Many thanks
  18. Thank you mteam, sometimes you look at something so hard and long you can't see the wood for the trees! That has worked, interesting how IE8 etc render fine without.
  19. Ok, I'm now stumped. All solutions googled don't seem to work or I'm already doing: Here's a sample page: http://www/fizzwebdesign.co.uk/sample The H1 tag (the main on page title) should be using an installed font - it works for IE7 & 8, but not upwards. Font folder loaded in root, H1 html code linking correctly. This CSS is generated from fontsquirrel, so surely should work? @font-face { font-family: 'sansita_oneregular'; src: url('../fonts/sansitaone-webfont.eot'); src: url('../fonts/sansitaone-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/sansitaone-webfont.woff') format('woff'), url('../fonts/sansitaone-webfont.ttf') format('truetype'), url('../fonts/sansitaone-webfont.svg#sansita_oneregular') format('svg'); font-weight: normal; font-style: normal; } Any similar experiences or ideas folks?
  20. Thanks Renaissance Design, that does look pretty good and worth the small outlay
  21. With Snippetmaster now unstable, seemingly unsupported and generating faults, I'm looking for a way to allow my client to be able to edit one tiny section of their existing website. I've looked at textpattern, ckeditor & nicEdit but each suffers the same problem - if you aren't born with a basic knowledge of how to get them up & running it's an uphill struggle (basic instructions would be nice!) & one I don't have the time for. Installation instruction for each is fine, but it all seems to just stop there! I don't want to use the likes of cushy or other online editors, so any alternatives to snippetmaster welcomed. There does seem to be a gap in the market right now. Thanks
  22. I can relate to that! Yes, Google+ is also - allegedly, if you read between the lines - good for your SEO as well. Not like Google to be biased of course.
  23. I do tend to agree, I've quoted a low price to get business in the past only to be royally stuffed by not making a penny on a rather complicated database driven site - but you live and learn by your mistakes I guess.
  24. Haha! I'm not that naive or new to the game to likely fall victim to such scams, although I appreciate it can happen to anyone. But any business that gets offered a site at a cheaper price by someone else immorally busting in on your potential work would be fool not to go with the best option for the best price. That's business I'm afraid.
  25. yes but doesn't networking also find you work? I do social networking for a couple of businesses in that basis.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.