VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Double code ... and display problem
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Double code ... and display problem

Double code ... and display problem 28 Nov 2012 14:28 #1423

Hello,
Ich have the problem that some coding is double on the server and I get a withe bar on the top. (see attachment)
The code starting with "window.addEvent('domready',function(){" is coming a second time some lines later.
Where I have to look for the reason?

The code which come from the server:


window.addEvent('load', function() {
new JCaption('img.caption');
});
window.addEvent('domready', function() {

SqueezeBox.initialize({});
SqueezeBox.assign($$('a.modal'), {
parse: 'rel'
});
});
window.addEvent('domready',function(){
var topofthepage = new Element('a',{'id':'topofthepage','style':'height:0;width:0;line-height:0; display:inline; font-size:0;','html':' '}).inject(document.body,'top');
var gototop = new Element('a',{'id':'gototop','href':'/italo-fashion/index.php/de/#topofthepage','html':'Return to Top'}).inject(document.body);
document.id('gototop').set('opacity','0').setStyles({'position':'fixed','display':'block'});
document.id('gototop').setStyles({'right':'0px','bottom':'0px'});
var plg_sys_topofthepage = new ScrollSpy({
min: 200,
onEnter: function(position,enters) {
//if(console) { console.log('Entered [' + enters + '] at: ' + position.x + ' / ' + position.y); }
document.id('gototop').fade('in');
},
onLeave: function(position,leaves) {
//if(console) { console.log('Left [' + leaves + '] at: ' + position.x + ' / ' + position.y); }
document.id('gototop').fade('out');
},
onTick: function(position,state,enters,leaves) {
//if(console) { console.log('Tick [' + enters + ', ' + leaves + '] at: ' + position.x + ' / ' + position.y); }
},
container: window
});
new SmoothScroll({duration:500});
});
window.addEvent('load', function() {
new JCaption('img.caption');
});
window.addEvent('domready', function() {

SqueezeBox.initialize({});
SqueezeBox.assign($$('a.modal'), {
parse: 'rel'
});
});
window.addEvent('domready',function(){
var topofthepage = new Element('a',{'id':'topofthepage','style':'height:0;width:0;line-height:0; display:inline; font-size:0;','html':' '}).inject(document.body,'top');
var gototop = new Element('a',{'id':'gototop','href':'/italo-fashion/index.php/de/#topofthepage','html':'Return to Top'}).inject(document.body);
document.id('gototop').set('opacity','0').setStyles({'position':'fixed','display':'block'});
document.id('gototop').setStyles({'right':'0px','bottom':'0px'});
var plg_sys_topofthepage = new ScrollSpy({
min: 200,
onEnter: function(position,enters) {
//if(console) { console.log('Entered [' + enters + '] at: ' + position.x + ' / ' + position.y); }
document.id('gototop').fade('in');
},
onLeave: function(position,leaves) {
//if(console) { console.log('Left [' + leaves + '] at: ' + position.x + ' / ' + position.y); }
document.id('gototop').fade('out');
},
onTick: function(position,state,enters,leaves) {
//if(console) { console.log('Tick [' + enters + ', ' + leaves + '] at: ' + position.x + ' / ' + position.y); }
},
container: window
});
new SmoothScroll({duration:500});
});
var slideshowSpeed=9000;
var effectTime=600;
var photos=[{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_1010.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_3030.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_3050.png"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_4020.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_4030.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_4040.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_5010.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_6010.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_8030.png"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_9010.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_9020.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_9040.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_9060.jpg"},{"image" : "http://www.italo-fashion.com/italo-fashion/images/website/italo-fashion/slideshow/backgrounds/img_9090.png"}];
preload(photos);



Is there a solution?

Best regards
Peter
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.

  • Posts:3
  • maier
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Double code ... and display problem 29 Nov 2012 08:25 #1427

Pls send administrator and ftp info to This e-mail address is being protected from spambots. You need JavaScript enabled to view it . I need to check your backend configuration and debug directly on your server

  • Posts:266
  • kurtcobain
  • Gold Boarder
  • OFFLINE
  • Karma: 0

Re: Double code ... and display problem 29 Nov 2012 10:03 #1430

Hello. Thank you for the support.
I just sent the user entrys.

  • Posts:3
  • maier
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Double code ... and display problem 29 Nov 2012 10:57 #1432

Hi Maier

The plugin Top of the Page caused the error.
I have disabled this plugin in backend. Your site is fine now.
The following user(s) said Thank You: basharmes

  • Posts:266
  • kurtcobain
  • Gold Boarder
  • OFFLINE
  • Karma: 0

Re: Double code ... and display problem 29 Nov 2012 11:08 #1433

Super ... Thank you.
May you can say me what you was changing - the name of the Plugin?
So others may be able to do this by them self
Best regards
Peter

  • Posts:3
  • maier
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Double code ... and display problem 30 Nov 2012 02:39 #1439

I just disabled (unpublished) that plugin in Joomla backend (administrator/index.php?option=com_plugins). The name of plugin is "Top of the Page"
Last Edit: 30 Nov 2012 02:43 by kurtcobain.

  • Posts:266
  • kurtcobain
  • Gold Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.77 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.