Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Web Design Help


It's free to register, to post a question or to start / join a discussion


 

Making my own 'like it' button??


Likes # 0

Hello all, Am trying to find out how to create a 'like it' or 'heart it' button to be used on blog posts. I can find absolutely nothing on how to do this- does anyone have any pointers? I am basically looking to have a little heart shape that, when clicked on, counts up. Any ideas? Please help! Any advice at all very gratefully received! Thanks thanks & thanks in advance.. xx

Like this post

Likes # 0

What are you like with website code?

I can send you some code that will count the number of times an image (or graphic) is clicked. You can easily find a suitable graphic, but you'll need to insert the code in your page.

Like this post

Likes # 0

Hello! Thank you so much that would be brilliant! Yes putting the code in is not a problem, it is the actual code for the count I couldn't find it figure out! You are a star- could you possibly email it? Is that allowed? I am new to the forum so not sure! Thanks again I have been trying to figure this out for days! Sarah x

Like this post

Likes # 0

We've always been careful about posting code into the forum because of the possibility that it would make a mess of the page structure.

I'll email the code to you now. Let me know (here) if you need more help.

Like this post

Likes # 0

Hi, have tried the code and it works great!

Have been trying to get the positioning right with little success. The template I'm using is structured differently to ones that I am used to, so I have no clue where to put the code in. The < body > part is hard to place as there is no clear part in the template for the Blog Posts, and the Homepage is quite heavily scripted (Javascript) which I am not familiar with at all.

Could send you the template if that helps? If it's too much to ask don't worry about it! Sarah x

Like this post

Reply to this topic

close
What is Markdown?

Markdown lets you add more formatting to your post. Simply type in your post and it will display as written.

If you wish to add bold or italic characters, add a hyperlink to another website, a heading or a horizontal line, simply use the relevent icons above the text input field.

A preview of your post will appear in the grey box below. If you make a change and you're not happy, simply press the back arrow icon to undo.






Send to a friend

Email this article to a friend or colleague:


PLEASE NOTE: Your name is used only to let the recipient know who sent the story. Both your name and the recipient's name and address will not be used for any other purpose.

* *