Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Petrolhead-O-Meter :)
#1
got a wee coding issue I could do with some help with. I cant get a HTML page ive made to link to Facebook. even though I C&P the proper code from Facebook  :'(

EDIT

Code is now fixed and working - linky for anyone who wants a wee shot (feel free to post up your score/share the link with anyone you think will get a laugh out it):

Petrolhead-O-Meter

8)
Reply
#2
What is the problem exactly? HTML I can do in my sleep - Javascript I tend not to say anything nice about as it has a habit of biting me but I have plenty of experience with it Tongue
[Image: 242673.png] [Image: 174802.png]
Reply
#3
The page has a button at the end to "share" on facebook. However, it doesn't work. Everything else works fine.
Reply
#4
I believe, there are two parts of the Facebook code you have to copy/paste.


One part goes inside the <head>
and the other part goes where ever you want the FB-Share button on the page (inside <body>).

Did you copy both parts?
Or does it work differently?
Reply
#5
Yes, your spot on, one part initializes the SDK, the other is for the button.

I'm informed I got it working by someone who uses fb, but for some reason it only works on ie/ff/chrome, not safari. Not a major issue for me really, but still, I wish there were more compatibility between browsers.
Reply
#6
just incase anyone was interested. the page I was working on was the Petrolhead-o-meter. found here:

http://www.vivapotenza.com/petrolhead-o-...-meter.htm

8)
Reply
#7
well this seems to have gone down pretty well so far - although I think we will need to do a V2 with proper difficult questions as most people seem to score high on this one. cant have that.
Reply
#8
I got 95% and I think that is only because two out of my three cars are on LPG.  14-16mpg on petrol would be just too much of a pain in the wallet!  Mind you, the one on petrol only does 18mpg......

Yup, make the questions harder.
Reply
#9
90%. Therein lies my problem.

Oh, for question 1 - add the option "can I race it?" :evil
The Deef's apprentice
Reply
#10
100% obviously Wink
[Image: 242673.png] [Image: 174802.png]
Reply
#11
(14-11-13, 02:33 AM)ChristoT link Wrote: 90%. Therein lies my problem.

Oh, for question 1 - add the option "can I race it?" :evil

If i make another one for bikers ill bear that in mind.  :thumbup
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)