MyBB Community Forums

Full Version: Add noConflict to link (onClick)?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

I'm using this link to get a popup to display:

<a href="http://www.youtube.com/" onClick="centerPopup();loadPopup(); return false;"></a>

I tried both of these:
<a href="http://www.youtube.com/" onClick="noConflict();centerPopup();loadPopup(); return false;"></a>

<a href="http://www.youtube.com/" onClick="jQuery.noConflict();centerPopup();loadPopup(); return false;"></a>

The only other code is:
<link rel="stylesheet" href="css/popup.css" type="text/css" media="screen" />
<script src="jscripts/popup.js" type="text/javascript"></script>

None were successful. Anyone able to help?

Cheers,
Jack Clarke