-
Gübreler
-
Teller
-
Toprak Karışımları
-
Zararlılarla Mücadele
-
Diğer Sarf Malzemeleri
GLOBAL
// For full API documentation, including code examples, visit http://wix.to/94BuAAs
$w.onReady(function () {
});
// export function marketButton_click(event) {
//Add your code for this event here:
//if ($w('#marketStrip').hidden) {
// $w('#marketStrip').show();
// }
// else
// $w('#marketStrip').hide();
//}
var isMouseInBox = false;
var isMouseInButton = false;
export function marketButton_mouseIn(event) {
$w('#marketStrip').show();
isMouseInButton = true;
}
export function marketStrip_mouseIn(event) {
$w('#marketStrip').show();
isMouseInBox = true;
}
export function marketButton_mouseOut(event) {
isMouseInButton = false;
closeBox();
}
export function marketStrip_mouseOut(event) {
isMouseInBox = false;
closeBox();
}
////
export function onlineokulButton_mouseIn(event) {
$w('#onlineokulStrip').show();
isMouseInButton = true;
}
export function onlineokulStrip_mouseIn(event) {
$w('#onlineokulStrip').show();
isMouseInBox = true;
}
export function onlineokulButton_mouseOut(event) {
isMouseInButton = false;
closeBox();
}
export function onlineokulStrip_mouseOut(event) {
isMouseInBox = false;
closeBox();
}
////
export function hizmetlerimizButton_mouseIn(event) {
$w('#hizmetlerimizStrip').show();
isMouseInButton = true;
}
export function hizmetlerimizStrip_mouseIn(event) {
$w('#hizmetlerimizStrip').show();
isMouseInBox = true;
}
export function hizmetlerimizButton_mouseOut(event) {
isMouseInButton = false;
closeBox();
}
export function hizmetlerimizStrip_mouseOut(event) {
isMouseInBox = false;
closeBox();
}
////
export function blogButton_mouseIn(event) {
$w('#blogStrip').show();
isMouseInButton = true;
}
export function blogStrip_mouseIn(event) {
$w('#blogStrip').show();
isMouseInBox = true;
}
export function blogButton_mouseOut(event) {
isMouseInButton = false;
closeBox();
}
export function blogStrip_mouseOut(event) {
isMouseInBox = false;
closeBox();
}
//// MARKET SAYFASINA YÖNLENDİRME
function closeBox() {
if (!(isMouseInBox && isMouseInButton)) {
$w('#marketStrip').hide();
$w('#onlineokulStrip').hide();
$w('#hizmetlerimizStrip').hide();
$w('#blogStrip').hide();
// $w('#dekorasyonBox').hide();
}
}
import wixLocation from 'wix-location'
export function collapse2_func(id) {
$w("#grid0, #grid1, #grid2, #grid3, #grid4, #grid5, #grid6").collapse()
$w('#grass1, #grass2, #grass3, #grass4, #grass5, #grass6').hide()
$w("#marketStrip").hide()
if ($w('#grid' + id).collapsed) {
$w('#grid' + id).expand();
}
else
$w('#grid' + id).collapse();
if ($w('#grass' + id).hidden) {
$w('#grass' + id).show();
}
else
$w('#grass' + id).hide();
//Add your code for this event here:
}
export function agaclarGlobalButton_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(1)
}
export function saksilarGlobalButton_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(2)
}
export function aracGereclerGlobalButton_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(3)
}
export function sarfMalzemeleriGlobalButton_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(4)
}
export function yeniBaslayanlaraOzelGlobalButton_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(6)
}
export function aracGerecImage_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(3)
}
export function sarfMalzemeleriGallery_itemClicked(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(4)
}
export function agaclarImage_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(1)
}
export function saksilarImage_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(2)
}
export function yeniBaslayanlaraOzelImage_click(event) {
// Add your code for this event here:
wixLocation.to("/market")
collapse2_func(6)
}