Get up to 80 % extra points for free! More info:

Discussion: How Do I Create Buttons Which Change Lists?

Activities
Avatar
JensenBreck
Member
Avatar
JensenBreck:12/11/2017 4:57

Hey everyone,
I'm creating a site (using a program called OpenElement) and I want to create a menu with three buttons which, when pressed, change the content of a small list/accordion menu on the page. I don't want to have to have to simply link to a different url for this.
It's a bit hard to explain my intent in detail with only words,
So does anyone have any idea how I can accomplish this? Fair warning, I'm a novice at using HTML and CSS. My only experience with coding languages before I started this site was with Papyrus and similar ones for modding video games like Skyrim.
I'm sorry if I posted this in the wrong place or something like that, I'm quite new here.
Please help.
Thanks!
I didn't find the right solution from the Internet.
References:http://www.webdesignerforum.co.uk/…hange-lists/

product marketing examples

 
Reply
12/11/2017 4:57
Avatar
Replies to JensenBreck
David Capka Hartinger:12/12/2017 7:13

I don't know OpenElement but to change the contents of a page you usually need to use JavaScript. You typically hook the OnClick event of the buttton(s) and perform DOM modifications to add/remove/change page contents. See our JavaScript course for more information.

Up Reply
12/12/2017 7:13
You can walk through a storm and feel the wind but you know you are not the wind.
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

2 messages from 2 displayed.