Home
Welcome, Guest
Please Login or Register.    Lost Password?
Please take a couple of minutes to search previous discussions and documentation for solutions before starting new threads.

PS plugin for JS destroys template
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: PS plugin for JS destroys template
#25988
PS plugin for JS destroys template 5 Months, 3 Weeks ago Karma: 0
We're using:

hwdPhotoShare 2.1.3 Revision 240 Alpha [ Nightly Build ] 2010 01 30 19:03:08 GMT

JS 1.6.248 with Blackout template
Joomla 1.5.15

Issue occurs in IE

Upon turning on the plugin, the page just goes to hay.

Pictures attached on shows how it look with the plugin off, the other with it on
dezblanco
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/02 17:19 By dezblanco.Reason: insert wrong image
The administrator has disabled public write access.
 
#26046
Re:PS plugin for JS destroys template 5 Months, 3 Weeks ago Karma: 189
Issue occurs in IEDoes the issue ONLY occur in Internet Explorer? Does the page display correctly in other browsers when you enable the plugin?
Davros
Administrator
Posts: 13078
graph
User Online Now Click here to see the profile of this user
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
The administrator has disabled public write access.
 
#26238
Re:PS plugin for JS destroys template 5 Months, 3 Weeks ago Karma: 0
This problem ONLY occurs on the users profile page with the plugin enabled.

Here is an error reporting from ie deveoper; 'Class' is undefined, some where is this:
var iCarousel=new Class({options:{animation:{type:"fadeNscroll",direction:"left",amount:1,transition:Fx.Transitions.Cubic.easeInOut,duration:500,rotate:{type:"manual",interval:5000,onMouseOver:"stop"}},item:{klass:"item",size:100},idPrevious: "previous",idNext:"next",idToggle:"toggle",onClickPrevious:Class.empty,onClickNext:Class.empty,onPrevious:Class.empty,onNext:Class.empty,onGoTo:Class.empty},initialize:function(_1,_2){this.setOptions(_2);this.container=$(_1); this.aItems=$A($$("."+this.options.item.klass));this.isMouseOver=false;if(this.options.idPrevious!="undefined"&&$(this.options.idPrevious)){$(this.options.idPrevious).addEvent("click",function(_3){new Event(_3).stop();this._previous(); this.fireEvent("onClickPrevious",this,20)}.bind(this))}if(this.options.idNext!="undefined"&&$(this.options.idNext)){$(this.options.idNext).addEvent("click",function(_4){new Event(_4).stop();this._next();this.fireEvent("onClickNext",this,20)} .bind(this))}if(this.options.idToggle!="undefined"&&$(this.options.idToggle)){$(this.options.idToggle).addEvent("click",function(_5){new Event(_5).stop();this._toggle()}.bind(this))}var _6=this.options.animation; switch(this.options.animation.type.toLowerCase()){case"fade":this.aItems.each(function(_7){_7.fx=_7.effect("opacity",{duration:_6.duration,transition:_6.transition});_7.setStyle("opacity",0);_7.addEvents({"mouseenter":function() {this.isMouseOver=true;if(this.options.animation.rotate.type=="auto"){this.timer=$clear(this.timer)}}.bind(this),"mouseleave":function(){this.isMouseOver=false;if(this.options.animation.rotate.type=="auto") {this.timer=this._autoRotate.periodical(this.options.animation.rotate.interval,this)}}.bind(this)})}.bind(this));this.height=this.container.getStyle("height").toInt();this.atScreen=0;this._animate(this.atScreen);break;default:(2).times(function() {this.aItems.each(function(_8){_8.clone().injectInside(this.container)}.bind(this))}.bind(this));this.aItems=$A($$("."+this.options.item.klass));this.aItems.each(function(_9){_9.addEvents({"mouseenter":function(){this.isMouseOver=true; if(this.options.animation.rotate.type=="auto"){this.timer=$clear(this.timer)}}.bind(this),"mouseleave":function(){this.isMouseOver=false;if(this.options.animation.rotate.type=="auto") {this.timer=this._autoRotate.periodical(this.options.animation.rotate.interval,this)}}.bind(this)})}.bind(this));this.fx=this.container.effects({duration:_6.duration,transition:_6.transition,wait:false});this.atScreen=this.aItems.length/3; this.container.setStyle(_6.direction,-this.atScreen*this.options.item.size);break}if(this.options.animation.rotate.type=="auto"){this.timer=this._autoRotate.periodical(this.options.animation.rotate.interval,this)}},goTo:function(n) {switch(this.options.animation.type.toLowerCase()){case"fade":var _b=this.atScreen;this.atScreen=Math.abs(n%(this.aItems.length/3));this._animate(this.atScreen,_b);break;default:this.atScreen=Math.abs(n%(this.aItems.length/3)); this.atScreen+=this.aItems.length/3;this._animate(this.atScreen);break}this.fireEvent("onGoTo",this,20)},_previous:function(){switch(this.options.animation.type.toLowerCase()){case"fade":var _c=this.atScreen;this.atScreen- =this.options.animation.amount;if(this.atScreen<0){this.atScreen=(this.aItems.length-1)}this._animate(this.atScreen,_c);break;default:this.atScreen-=this.options.animation.amount;if(this.atScreen<this.aItems.length/3) {this.container.setStyle(this.options.animation.direction,-this.options.item.size*this.aItems.length*2/3);this.atScreen=this.aItems.length*2/3-this.options.animation.amount}this._animate(this.atScreen);break}this.fireEvent("onPrevious",this,20)} ,_next:function(){switch(this.options.animation.type.toLowerCase()){case"fade":var _d=this.atScreen;this.atScreen+=this.options.animation.amount;if(this.atScreen>=this.aItems.length){this.atScreen=0}this._animate(this.atScreen,_d);break;default: this.atScreen+=this.options.animation.amount;if(this.atScreen>this.aItems.length*2/3){this.container.setStyle(this.options.animation.direction,-this.options.item.size*this.aItems.length/3);this.atScreen=this.aItems.length/ 3+this.options.animation.amount}this._animate(this.atScreen);break}this.fireEvent("onNext",this,20)},_toggle:function(){(this.container.getStyle("height").toInt()==0)?this.container.effect("height",{duration:1000,transition: Fx.Transitions.Sine.easeInOut}).start(this.height):this.container.effect("height",{duration:1000,transition:Fx.Transitions.Sine.easeInOut}).start(0)},_autoRotate:function(){if(this.options.animation.rotate.onMouseOver=="stop"&&!this.isMouseOver) {this._next()}},_animate:function(a,b){switch(this.options.animation.type){case"fade":if($defined(b)){this.aItems[b].fx.start(0).chain(function(){this.aItems[a].fx.start(1)}.bind(this))}else{this.aItems[a].fx.start(1)}break;case"scroll":var _10=this; if(_10.options.animation.direction=="top"){_10.fx.start({"top":-a*_10.options.item.size})}else{_10.fx.start({"left":-a*_10.options.item.size})}break;case"fadeNscroll":var _10=this;if(_10.options.animation.direction=="top"){_10.fx.start({"opacity": 0.75}).chain(function(){_10.fx.start({"top":-a*_10.options.item.size}).chain(function(){_10.fx.start({"opacity":1})})})}else{_10.fx.start({"opacity":0.75}).chain(function(){_10.fx.start({"left":-a*_10.options.item.size}).chain(function() {_10.fx.start({"opacity":1})})})}break}}});iCarousel.implement(new Events);iCarousel.implement(new Options);


right now we have the plug enabled, but it is not set as a core ap, so a user has to add it from their profile. so if they have IE, they will the page disrupted as previously described.
dezblanco
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26239
Re:PS plugin for JS destroys template 5 Months, 3 Weeks ago Karma: 0
just a bit of extra information on this.

I took a profile and then added the photoshare application to the profile.

At this point there were no issues with the page layout. The app was present in the profile, but there were no picture associated with the profile.

after uploading a picture to the profile, the profile page once again lost its layout.
dezblanco
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#26396
Re:PS plugin for JS destroys template 5 Months, 2 Weeks ago Karma: 189
I don't think you answered either of my questions which would have made it easier to give you a quicker answer. I have your website details from looking at a recent issue with hwdPhotoShare. Therefore, I have looked at your website and the problem is caused by this:
documentation.hwdmediashare.co.uk/wiki/M...in_Internet_Explorer
Davros
Administrator
Posts: 13078
graph
User Online Now Click here to see the profile of this user
If you like hwdVideoShare please consider rating it in the Joomla Extensions Directory
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop

Copyright © 2007-2010 Highwood Design | Your Details | Terms of Use | About