The basic page is fine now. But I don't see the script. Where is it?
The basic page is fine now. But I don't see the script. Where is it?
I don't get it. Are we talking about the same page? Here's what I did:
1) I went to http://www.theremotedoctor.co.uk/basic.html
2) I did a right-click and selected 'view source'
3) At the top of the source page, I clicked on 'Edit'
4) I then selected 'search' and typed 'scroll'
5) The only thing I got was:
Not the script I gave you.Code:$('html, body').animate({ scrollTop: $("#mainImage").offset().top }, 1000);
Hi,
Sorry about that,internet been on/off today.
I seen the code that you advise and thought i can then just edit the code at the top being <li class="current"><a href="basic.html#top">Home page</a></li>
Thanks for the help.
Have you run your page through the W3C Markup Validation Check? It reports 58 errors and 12 warnings. Any one of those could be the source of your problem.
theremotedr (05-20-2015)
UPDATE
I have gone through my pages and made edits reducing the error messages,thanks for the web link.
Can you advise how i would correct the errors below.
http://www.theremotedoctor.co.uk/basic.html#top
Message 1 & code,
Line 178, Column 83: End tag div seen, but there were open elements.
<center><img src="m-images/uk-seller.jpg" alt="logo" class="border"></div>
Message 2 & code,
Line 178, Column 17: Unclosed element center.
<center><img src="m-images/uk-seller.jpg" alt="logo" class="border"></div>
http://www.theremotedoctor.co.uk/accaudi.html#topnav
Message 3 & code,
Line 160, Column 22: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.
<section id="content">
HTML must be nested correctly so:
will show as an error. The correct sequence is:Code:<div>...<center>...</div>...</center>
Code:<div>...<center>...</center>...</div>
theremotedr (05-20-2015)
Bookmarks