Forums
View unanswered posts | View active topics It is currently Mon Apr 21, 2014 8:43 am



Reply to topic  [ 5 posts ] 
 Is there any conflict with other js???? 
Author Message

Joined: Sun Nov 28, 2010 1:10 pm
Posts: 3
Post Is there any conflict with other js????
Hi,

I am trying to use this wonderful solution on a joomla website, and I tried everything , I crawled into other posts also but I couldn't found anything useful. My last guess is the conflict between pie.htc and mootool. (I have also jquery on the page but I have previously used the pie with jquery and there was no conflict)

I am sure the pie.htc is implemented since the view is quite different from the one I remove the behavior:url...
But it just doesn't work. It simply doesn't act!!

Is there anything come to your mind?!

Here is the html source:

<head>
....
<script type="text/javascript" src="/RPL2/includes/js/joomla.javascript.js"></script>
<script type="text/javascript" src="http://localhost:8080/RPL2/components/com_mycomponent/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="http://localhost:8080/RPL2/components/com_mycomponent/js/gallery/eye.js"></script>

<script type="text/javascript" src="http://localhost:8080/RPL2/components/com_mycomponent/js/gallery/utils.js"></script>
<script type="text/javascript" src="http://localhost:8080/RPL2/components/com_mycomponent/js/gallery/spacegallery.js"></script>
<script type="text/javascript" src="http://localhost:8080/RPL2/components/com_mycomponent/js/gallery/layout.js"></script>
<script type="text/javascript" src="/RPL2/media/system/js/mootools.js"></script>
<script>jQuery.noConflict();</script>
<style type="text/css">
.rplhome_main {
border: 1px solid #696;
padding: 60px 0;
text-align: center;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #666 0px 2px 3px;
-moz-box-shadow: #666 0px 2px 3px;
box-shadow: #666 0px 2px 3px;
background: #EEFF99;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33));
background: -moz-linear-gradient(#EEFF99, #66EE33);
background: linear-gradient(#EEFF99, #66EE33);
-pie-background: linear-gradient(#EEFF99, #66EE33);
behavior: url(components/com_mycomponent/css/PIE.php);
}

</style>


<link rel="stylesheet" href="http://localhost:8080/RPL2/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="http://localhost:8080/RPL2/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="http://localhost:8080/RPL2/templates/ja_purity/css/template.css" type="text/css" />


Sun Nov 28, 2010 1:23 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: Is there any conflict with other js????
It's possible there will be conflicts in individual cases, it all depends on what your JS is doing.

I'm confused, you first say the view is changed but then you say it does nothing. Can you clarify what problem you're seeing? Also double-check the Known Issues documentation page as the most common problems people run into are described there.


Sun Nov 28, 2010 6:17 pm
Profile

Joined: Sun Nov 28, 2010 1:10 pm
Posts: 3
Post Re: Is there any conflict with other js????
Dear Jason,

I attached 3 screen shots, one in Firefox to see what we want to get, and two in IE8 which one is when PIe.htc is set as behavior and one which is not. By this I want to clarify what I said previously, and clear the ambiguity.

Regards,
Mahdi


Attachments:
IE_without_PIE.jpg [44.63 KiB]
Downloaded 402 times
IE_with_PIE.jpg [35.99 KiB]
Downloaded 402 times
FIREFOX.jpg [47.34 KiB]
Downloaded 402 times
Mon Nov 29, 2010 12:03 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: Is there any conflict with other js????
I see, so the background is disappearing.

Have you read the section regarding disappearing backgrounds on the Known Issues documentation page?


Mon Nov 29, 2010 12:38 pm
Profile

Joined: Sun Nov 28, 2010 1:10 pm
Posts: 3
Post Re: Is there any conflict with other js????
In fact I read that before, I read the whole documentation. But It was not only the background missing but also corners and shadows were missing which I couldn't guess that was for this z-index problem. now relative positioning solved the problem.

Thank you,
sorry if I bothered.


Mon Nov 29, 2010 3:56 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Steeler [Crawler] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.