If I understand right you would like to generate here a button, and then you would like to simply insert this button without adding the surrounding code to this:
<a href="siteurl?loginFacebook=1&redirect=siteurl" onclick="window.location = \'siteurl?loginFacebook=1&redirect=\'+window.location.href; return false;">
</a>
Am I right?
Thread Starter
Martin
(@rastarr)
Well, I’m just playing around with a new site at http://www.africansinaustralia.com/ and the only code I’ve got is:
<a href="http://www.africansinaustralia.com?loginFacebook=1&redirect=http://www.africansinaustralia.com" onclick="window.location = 'http://www.africansinaustralia.com?loginFacebook=1&redirect='+window.location.href; return false;">Login or Register with Facebook</a><br />
<a href="http://www.africansinaustralia.com?loginGoogle=1&redirect=http://www.africansinaustralia.com" onclick="window.location = 'http://www.africansinaustralia.com?loginGoogle=1&redirect='+window.location.href; return false;">Login or Register with Google</a>
This is just text and isn’t really inviting.
I’d love to place the text with the buttons produced by your cool button generator. I just don’t know how without a little help.
Just generate a button on our site, copy the code for example this:
<div class="new-fb-btn new-fb-10"><div class="new-fb-10-1"></div></div>
and the place it instead of Login or Register with Facebook in the code in your post.
The result will be:
<a href="http://www.africansinaustralia.com?loginFacebook=1&redirect=http://www.africansinaustralia.com" onclick="window.location = 'http://www.africansinaustralia.com?loginFacebook=1&redirect='+window.location.href; return false;"><div class="new-fb-btn new-fb-10"><div class="new-fb-10-1"></div></div></a>
Thread Starter
Martin
(@rastarr)
Oh that is freaking sweet!!!!!
thank you so very much. It looks fabulous now – wow!
Thread Starter
Martin
(@rastarr)
The very reason why I gave you guys a 5 Star rating the other day too – kudos!
Thanks, we saw and appreciate you rating. That motivates us!