16 years 3 months ago
Hmm..... it's not work like I well hab it:(
What files shulds the ccs code puts in - I have try a lot?
I think my index is okay:
@import "/templates//css/styles.css";
@import "/templates//css/template_css.css";
@import "/templates//css/.css";
id ) initEditor(); ?>
window.addEvent('domready', function() {
new SimpleSlide("SimpleSlide",{type: "", direction: "forward", auto: "loop", time: , duration: });
});
@import "/templates//slimbox/slimbox_ex.css";
img, div, a img { behavior: url(/templates/getTemplate(); ?>/css/iepngfix.htc); }
showDelay: 0, // Delay for 500 milliseconds
onShow: function(toolTip) {
this.fx.start(1);
},
onHide: function(toolTip) {
this.fx.start(0);
}
});
var myTips1 = new MooTips($$('.toolTipImg'), {
maxTitleChars: 100 // long caption
});
// Simple offset tooltip with no fade
var myTips3 = new MooTips($$('.toolTipImgDOM2'), {
fixed: true,
offsets: {'x':-200,'y':-200}
});
// Tooltips with fading transition, slight offset and new class name and longer title caption
var myTips2 = new MooTips($$('.toolTipImgDOM'), {
maxTitleChars: 80, // long caption
fixed: true,
hideDelay: 2500,
className: 'advert1',
offsets: {'x':120,'y':-110}, // offset by 100,100
initialize:function(){
this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
},
showDelay: 200, // Delay for 500 milliseconds
onShow: function(toolTip) {
this.fx.start(1);
},
onHide: function(toolTip) {
this.fx.start(0);
}
});
// Tooltip with a hide and show delay and fading transition
var myTips7 = new MooTips($$('.toolTipImgDOM7'), {
hideDelay: 2500,
initialize:function(){
this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
},
showDelay: 200,
onShow: function(toolTip) {
this.fx.start(1);
},
onHide: function(toolTip) {
this.fx.start(0);
}
});
// Tooltip for the drop boxes the offset is relative to the width defined in the css
var myTips = new MooTips($$('.toolTipImgDOMmenu'), {
fixed: true,
className: '',
offsets: {'x':-80,'y':25},
initialize:function(){
this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 280, wait: false}).set(0);
},
showDelay: 0, // Delay for 500 milliseconds
onShow: function(toolTip) {
this.fx.start(1);
},
onHide: function(toolTip) {
this.fx.start(0);
}
});
// Tooltip for the ajax requests
var myTips5 = new MooTips($$('.toolTipImgAJAX'), {
maxTitleChars: 100,
hideDelay: 2000,
offsets: {'x':0,'y':0}, // offset by 100,100
initialize:function(){
this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
},
showDelay: 200, // Delay for 500 milliseconds
onShow: function(toolTip) {
this.fx.start(1);
},
onHide: function(toolTip) {
this.fx.start(0);
}
});
});
Joomla BambooBack to top
window.addEvent('domready', function(){
var mySlide = new Fx.Slide('advert1', {
duration: 400,
transition: Fx.Transitions.quadOut
}).hide();
$('toggle').addEvent('click', function(e){
e = new Event(e);
mySlide.toggle();
e.stop();
});
var mySlide2 = new Fx.Slide('advert2', {
duration: 400,
transition: Fx.Transitions.quadOut
}).hide();
$('toggle2').addEvent('click', function(e){
e = new Event(e);
mySlide2.toggle();
e.stop();
});
var mySlide3 = new Fx.Slide('advert3', {
duration: 400,
transition: Fx.Transitions.quadOut
}).hide();
$('toggle3').addEvent('click', function(e){
e = new Event(e);
mySlide3.toggle();
e.stop();
});
});
::