Jump to content

Recommended Posts

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.curvycorners.packed.js"></script>
<script type="text/javascript" src="/js/mootools.js"></script>
<script type="text/javascript" src="/js/moodalbox.js"></script> 

 

Hi, everyone.

 

I uses the curvy-corners to cast rounded corners on a certain div. Problem happens when I tried to load the modalbox js and the rounded corners is gone. Seems like the both javascript is clashing with each other and there's no way I could edit them. Their codes are bunched together without even indenting or spacing.

 

How can I solve this situation?

Link to comment
https://forums.phpfreaks.com/topic/89042-javascript-clashes/
Share on other sites

 

View the code; look for specific parts of the script that changes css styles.

 

If you can correct and save the css style issue, that the external js cause, do so as needed. Otherwise, add inline css as needed to the html elements; too override js code.

Link to comment
https://forums.phpfreaks.com/topic/89042-javascript-clashes/#findComment-456362
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.