Is this possible.

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Is this possible.

Post by brynj »

I would like a drop down list a user can select from and based on that selection an image is displayed - There will be about 40 items in the list.

Each selection would have a different image associated.

I understand I can add multiple images and hide them all but how, or what is the best way to create a drop down list and then unhide the associated image until another selection is made.

I can make a list using the 'Drop List' option - but if I try to show the image 'onclick' nothing is shown. Even if this worked I guess it would be a massive job this way as for each entry I would have to hide all the other entries against each selection. ( I am using LayoutGrid with two columns, one for the list and the other for the image.)

Thanks

NOTE: the image shows I selected 'onDrop' but I was experimenting with different options other than 'OnClick' but without success.

https://e.pcloud.link/publink/show?code ... z0az2xevGk

UPDATE: I may have found a possible solution - using 'DropDown Menu' seems to work - still interested in a better solution if possible.
alan_sh
 
 
Posts: 1981
Joined: Tue Jan 01, 2019 5:50 pm

Re: Is this possible.

Post by alan_sh »

Have a look at the go menu and display the image linked in an inline frame. I am sure I've done that in the past.

Alan
User avatar
crispy68
 
 
Posts: 3183
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Is this possible.

Post by crispy68 »

I would use a carousel and control the carousel via a menu event.

The issue is, I don't believe you can use a drop list for this. Although it allows you to add an event, I can't get it to fire a javascript event onclick. So, I'm not sure it can be used in this case (could be wrong here unless an onchange event can be used but its not an option).

Other menus that allow events may work (responsive, css menu, etc). Not sure which one of those you like. Unfortunately, the go menu does not have an option for events.

Let me know what other menu you would want to use and I could put a demo together.

update: Unless Pablo, can give direction on how to use a droplist within WB to fire an onchange event, I have written some javascript code that will work. I could maybe make it into a simple extension if that helps.
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

Thanks guys.

Firstly, I managed to start a solution last night and came up with this (demo) ...

https://e.pcloud.link/publink/show?code ... LvxJQ5Gp4X

Obviously a lot more work to do but it seems to do what I need although I did see the 'clone' option so I guess I could build one entry with all 40 images listed & hidden, copy that to each list entry and then go into each list entry and add 'unhide' to the associated image.

Alan - I will look at the 'GoMenu' later today when I am home again.

Crispy - I will explore the 'Carousel' option later to see if that is easier to implement, I appreciate the offer of assistance.

---------------------------------------------------------------------------------------------------

As a side issue - is it just my system or is the 'New Posts' site not working/updating correctly ?
https://www.wysiwygwebbuilder.com/forum ... id=newpost
Last edited by brynj on Thu May 21, 2026 8:37 am, edited 1 time in total.
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

What is it supposed to do? I can't preview it as the images are not included.

It would help to upload the page to a test folder so that we can preview it there.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

I thought that is what I had done .... when i look on pCloud I see the folder with images but like you when I download I don't get the images!

I will upload again and see if that works.
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

Can you just add a link to your published test page so I can see what you've done so far?
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

AliGW wrote: Thu May 21, 2026 8:19 am Can you just add a link to your published test page so I can see what you've done so far?
I haven't published the page yet as its not complete.

Try this - I have zipped it up:

https://e.pcloud.link/publink/show?code ... LvxJQ5Gp4X

If that fails - I have now published it .....

https://wen.gt.tc/maps.php
Last edited by brynj on Thu May 21, 2026 8:34 am, edited 2 times in total.
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

It doesn't need to be complete. You can publish it as is in a test folder.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

The latest file works.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

AliGW wrote: Thu May 21, 2026 8:36 am The latest file works.
ok thanks
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

Why don't you use a form drop-down list instead of a menu? Then you can keep all the settings within the one control and don't need shapes. I used one for a multi-part form recently.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

AliGW wrote: Thu May 21, 2026 8:41 am Why don't you use a form drop-down list instead of a menu? Then you can keep all the settings within the one control and don't need shapes. I used one for a multi-part form recently.
funny you should say that - I had forgotten about the 'Shape' - when I used the menu it didn't work at first, but by adding the shape with just a couple of entries in, the menu started working. Basically the hidden shape is just there and i don't need to add anything else to it - for some reason it just triggered the menu into working - absolutely no idea why and because it is hidden I forgot i added it :D

I have deleted the shape this morning and the menu still works so just one of those things.

I will investigate the 'Form' list later.

Thanks
Last edited by brynj on Thu May 21, 2026 9:26 am, edited 1 time in total.
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

It did not work without the shape for me, which is why I mentioned it.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

AliGW wrote: Thu May 21, 2026 9:21 am It did not work without the shape for me, which is why I mentioned it.
Spooky - there are some gremlins at work :D
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

No wonder I couldn't work out what it was doing exactly!
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

AliGW wrote: Thu May 21, 2026 9:28 am No wonder I couldn't work out what it was doing exactly!
I would hurry up and make another post as I see you are on 666 - eek
User avatar
AliGW
 
 
Posts: 668
Joined: Thu Dec 19, 2024 3:41 pm

Re: Is this possible.

Post by AliGW »

I have no idea where you have seen that (unless it's in my profile), but I'll humour you. Not superstitious myself!
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
alan_sh
 
 
Posts: 1981
Joined: Tue Jan 01, 2019 5:50 pm

Re: Is this possible.

Post by alan_sh »

You are overthinking this. This is the 'go menu' stuff I was talking about.

WBS file & folder here https://www.dropbox.com/scl/fi/9r68m94k ... yoxuk&dl=1

This is the web site it created. This took me 2 minutes to make.

https://webserve4-nas.synology.me/go-image/

Select an image from the drop down and click 'go'. The image appears in the frame below.
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

AliGW wrote: Thu May 21, 2026 10:27 am I have no idea where you have seen that (unless it's in my profile), but I'll humour you. Not superstitious myself!

On the right hand side of your posts it shows 'Posts' :D

You are ok now - 667 .....
brynj
 
 
Posts: 298
Joined: Fri May 31, 2013 3:56 pm

Re: Is this possible.

Post by brynj »

alan_sh wrote: Thu May 21, 2026 10:49 am You are overthinking this. This is the 'go menu' stuff I was talking about.

WBS file & folder here https://www.dropbox.com/scl/fi/9r68m94k ... yoxuk&dl=1

This is the web site it created. This took me 2 minutes to make.

https://webserve4-nas.synology.me/go-image/

Select an image from the drop down and click 'go'. The image appears in the frame below.
Thanks Alan - will have a look.
User avatar
crispy68
 
 
Posts: 3183
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Is this possible.

Post by crispy68 »

@alan_sh,
Although using frames with the Go menu is a solution, I'm not a fan of using frames and the images appear a bit clunky in the frame.

For me, using the carousel is a bit more elegant solution. Here is a demo I created using a select object, a bit of .js and carousel. Choose an image and it fades in. By using the carousel, you can use other interesting animations if you want.

demo
Post Reply