How did they do that?

Hi

http://www.simpsonphotography.co.uk/

At first glance there appears to be nothing much on this page for google to feed on. Poor SEO. However, its there, but its simply not easy to get to. Lower down the page - if you can get it to scroll down is a ton of keywords, phrases, links etc. clever stuff - bet google loves that.

But - how did they achieve this?

As photographers ourselves, we don’t like much text on our homepage, but have it there to keep google happy. Would be great to do something similar to this, to hide it away better. Usually I’d consider it bad practice to break the ability to scroll the page. But truth is, that info is not really for people to read. Its for google. So I see why they’ve done it like that.

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

These pages use a bit of JS that enables the Vertical mousewheel scroll to be translated to the horizontal - http://paulicio.us/items/view/24/horizontal-page-scrolling-using-javascript

This means that on pages that have nowhere to scroll horizontally the mousewheel will not work.

But on a page like this one http://www.simpsonphotography.co.uk/recent-weddings.asp it becomes quite useful.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you Dave. That makes sense. Will give it a go.

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hmm

Not as easy as I hope. Where should I actually put this piece of code on the page?

Regards Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

JavaScript link to the hscroll.js in the Before section of your page.

You will need to add the js file to your server via FTP or an action like Upload Extra Resources

Sorry not at computer to give you exact code/path

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you Dave.

Still got issues with it. So, I’ve done the following. I’ve copied the actual script into a text document (textedit). Then saved the file. I’ve taken off the rtf ending leaving the .js ending. I am presuming like a .exe file on a PC, that this will work? I’ve never saved a Javascript file before, so not sure.

Next, I’ve uploaded that file to my server in a folder called javascript which resides in my main site folder.

In my freeway doc, I’ve then put this line in the Before section

But no joy!

My google analytics code is just above this line of code. I presume that the scripts run one after the other. They don’t clash or anything.

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Got It

Yay - dances around room…

My mistake was saving the JS file as rich text in text edit. Needs converting to plain text first. Duh!

Thanks again for the help David, much appreciated.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Let me put in my semi-weekly plug for the FREE TextWrangler from http://barebones.com (makers of BBEdit). This is a full-caffeine programmer’s text editor, and it will give you many of the bells and whistles of its 25-year-old $50 big brother – for the nice price. Yes, TextEdit is already installed, and if you switch it to plain-text mode, it will work. But you won’t have syntax highlighting, line numbers, smart indenting; all that stuff that makes the hieroglyphics of code easier for mere humans to parse.

Walter

On May 17, 2012, at 5:44 AM, Paul Tansley wrote:

Got It

Yay - dances around room…

My mistake was saving the JS file as rich text in text edit. Needs converting to plain text first. Duh!

Thanks again for the help David, much appreciated.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options