close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

On-Click not working for Facebook link

Thread began 1/20/2012 9:34 am by kelly291243 | Last modified 1/23/2012 4:51 am by kelly291243 | 1061 views | 4 replies


On-Click not working for Facebook link

I have a blank HTML page with nothing in except the social media Toolkit. I insert share buttons for Facebook, Twitter, Linkedin and Google+. All these buttons bring up a blank window except the facebook link. It simply adds a # to the end of the URL but does not open a new facebook window. The server I have this on runs PhP with no problems but I need to have this running on a simple HTML page. The code on the page is below. Hope you can help resolve this issue.

<div class="wasocial">

<div class="icons">
<a name="fb_share" type="icon" href="#" onclick="'!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]', 'Facebook', 'toolbar=0,status=0,width=626,height=436'); return false;" title="Facebook">
<img src="/webassist/social/icons/facebook.png" />

<div class="icons">
<div id="custom-tweet-button">
<a href="!empty($_SERVER["HTTPS"])) ? "https://" : "http://") . $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]" target="_blank"><img src="/webassist/social/icons/twitter.png" alt="Twitter" border="0" title="Twitter" /></a>

<div class="icons">
<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="medium" count="false" href="undefined"></g:plusone>

<!-- Place this tag after the last plusone tag -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);

<div class="icons">
<script type="text/javascript" src=""></script><script type="in/share" data-url="undefined"></script>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...