#search_click, #searchAppController1, #searchBox1
export function search_click(event) {
$w(‘#searchAppController1’).show();
$w(‘#searchBox1’).show();
}
I want one more click → #search_click
#searchAppController1, #searchBox1 hide
how command?
#search_click, #searchAppController1, #searchBox1
export function search_click(event) {
$w(‘#searchAppController1’).show();
$w(‘#searchBox1’).show();
}
I want one more click → #search_click
#searchAppController1, #searchBox1 hide
how command?
Your description is like…
I want click! How to do it?
When you ask questions, please do it in detail!!!
There are 100 different scenarios which could be to generate your action.
The more INPUT = the more OUTPUT!!!
sorry
i want only one button click
search bar show / hide
no doubleclick(dbonclick)
just one click show
reclick(one click) hide
$w.onReady(()=>{
$w('#button1').onClick(()=>{
if($w('#searchbox').hidden) {
$w('#searchbox').show();
}
else {$w('#searchbox').hide();}
});
});
Tahnk you
Thank you so much
Lowercase and uppercase letters had to be exact.
#searchbox, #searchBox
It was solved thanks to you. Love it. Thank you.
How can I add more than 2 conditions to the if value?
if (( $w ( ‘#searchBox’ ). hidden ) $w ( ‘#searchAppController1’ ). hidden )
if($w('#searchBox').hidden && $w('#searchBox2').hidden) {
$w('#searchAppController1').hidden;
}
export function searchbutton_click ( event ) {
if ( $w ( ‘#searchBox’ ). hidden ) && $w ( ‘#searchAppController’ ). hidden ) {
$w ( ‘#searchAppController’ ). show ();
$w ( ‘#searchBox’ ). show ();
}
else {
$w ( ‘#searchAppController’ ). hide ();
$w ( ‘#searchBox’ ). hide ();
}
// This function was added from the Properties & Events panel. To learn more, visit Velo: Working with the Properties & Events Panel | Help Center | Wix.com
// Add your code for this event here:
}
&& Error: Expression expected. Parsing error: Unexpected token &&
else Error: Declaration or statement expected.
#searchController Error : Property ‘hide’ does not exist on type ‘Node’.
if($w('#searchBox').hidden &&
$w('#searchBox2').hidden){$w('#searchAppController1').hidden;}
Tutorial-Overview | WixWorld (russian-dima.wixsite.com)
this is your spenden?
I am not rich.
The amount may be small, but I want to express my gratitude to you.
Thanks to you, I was able to create the design I wanted.
I sincerely thank you.
And please reply quickly. It is frustrating.