Support » Plugin: Trackable Social Share Icons » [Plugin: Trackable Social Share Icons] Unterminated string constant in IE

  • Hi.

    For some reason I’m getting the “unterminated string constant” error when using this plugin in IE. It works fine in Firefox.

    We are including buttons from Facebook, Twitter, Linked In and Email. It seems the trouble appears in the code at the email button.

    As you can see from the code below, the Linked In button works correctly as well as the other two first buttons, but in the tracking code for Email one of the single quotes are replaced with a quote sign.

    Can you help me with this?

    Thanks,
    Kjetil

    Code:

    <!-- Linked In works -->
    <a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fwww.startebedrift.no%2Fom-startebedrift-no&title=http%3A%2F%2Fwww.startebedrift.no%2Fom-startebedrift-no&ro=false&summary=&source="  style="text-decoration: none; white-space: nowrap;" title="Linkedin" target="_blank" onclick="that=this;_gaq.push(['_trackEvent','SocialSharing','Linkedin','http://www.startebedrift.no/om-startebedrift-no']); window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); return false;"><img align="absmiddle" src="http://www.startebedrift.no/wp-content/plugins/trackable-social-share-icons/buttons/f4/linkedin.png" alt="Linkedin" width="32" height="32"></a> 
    
    <!-- Email fails -->
    <a href="mailto:?subject=Check out http%3A%2F%2Fwww.startebedrift.no%2Fom-startebedrift-no" style="text-decoration: none; white-space: nowrap;" title="Email" target="_blank" onclick="that=this;_gaq.push(['_trackEvent','SocialSharing','Email','http://www.startebedrift.no/om-startebedrift-no" ]); "><img align="absmiddle" src="http://www.startebedrift.no/wp-content/plugins/trackable-social-share-icons/buttons/f4/email.png" alt="Email" width="32" height="32"></a> </div>

    Sample page can be found here: http://www.startebedrift.no/om-startebedrift-no.

    http://wordpress.org/extend/plugins/trackable-social-share-icons/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ThePres

    (@thepres)

    Sorry for the additional posts didn’t see the edit post link and now unable to delete them.

    Thread Starter ThePres

    (@thepres)

    Plugin Author EcreativeIM

    (@ecreativeim)

    Hello,
    It looks like your last tr tag is unclosed, which could cause the browser to render the page incorrectly.

    <div id="site-generator">
    								<a href="http://wordpress.org/" title="Semantisk personlig publiseringsplattform" rel="generator nofollow">Drives med kraft fra WordPress.</a>
    			</div><!-- #site-generator -->
    					</td>
    				</tr
    			</table>
    
    		</div><!-- #colophon -->
    	</div><!-- #footer -->

    Try closing that last tr and see if it fixes anything.

    Thanks,
    Mike

    Thread Starter ThePres

    (@thepres)

    Hi, sorry for the late response. I wanted to check if the fix worked at the office computer and the error seems to persist here (in IE). Are you getting an error if you visit for example http://www.startebedrift.no/profesjonell-e-postl%C3%B8sning-for-mindre-virksomheter?

    I could swear it worked at home though. If it works for everyone else but the computer at the office I guess I’m contempt..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Trackable Social Share Icons] Unterminated string constant in IE’ is closed to new replies.