Hemmel
New Coder
Hello everyone,
I'm using the template "Ocean Vibes" from TemplateMo and it uses popups. I know there's a way to create a button to go to the next popup, but I can't find how to make a button to go to the popup that I want. For example, popups "about", "gallery" and "contact". In popup "gallery", there's a button that calls the next popup, which is "contact". If I want to create a button in popup "about", it would call popup "gallery" (next popup), but I want it to call "contact".
This is the best way I found to explain the situation....
The code for this button is this:
[CODE lang="html" title="Popup button"]<a href="#" class="tm-btn tm-btn-primary mfp-prevent-close tm-btn-next">[/CODE]
I have tried using:
[CODE lang="html" title="Popup button"]<a href="#" class="tm-btn tm-btn-primary mfp-prevent-close tm-btn-contact">[/CODE]
thinking it would call the "contact" popup but no, it just goes to the next popup, or even simply closes the popup.
I would also post the CSS file but it is 11.5KB, a bit too big. I'm not sure which part of the CSS to post.
So perhaps it is best that I redirect you to the website itself : http://www.hemmelaudio.com/test.html
The best example is in the first popup I have a normal link "Contact Me" that simply closes the popup. But I want that normal link (not a button) to call the "contact" popup.
Any help would be greatly appreciated.
Thanks,
Hemmel
I'm using the template "Ocean Vibes" from TemplateMo and it uses popups. I know there's a way to create a button to go to the next popup, but I can't find how to make a button to go to the popup that I want. For example, popups "about", "gallery" and "contact". In popup "gallery", there's a button that calls the next popup, which is "contact". If I want to create a button in popup "about", it would call popup "gallery" (next popup), but I want it to call "contact".
This is the best way I found to explain the situation....
The code for this button is this:
[CODE lang="html" title="Popup button"]<a href="#" class="tm-btn tm-btn-primary mfp-prevent-close tm-btn-next">[/CODE]
I have tried using:
[CODE lang="html" title="Popup button"]<a href="#" class="tm-btn tm-btn-primary mfp-prevent-close tm-btn-contact">[/CODE]
thinking it would call the "contact" popup but no, it just goes to the next popup, or even simply closes the popup.
I would also post the CSS file but it is 11.5KB, a bit too big. I'm not sure which part of the CSS to post.
So perhaps it is best that I redirect you to the website itself : http://www.hemmelaudio.com/test.html
The best example is in the first popup I have a normal link "Contact Me" that simply closes the popup. But I want that normal link (not a button) to call the "contact" popup.
Any help would be greatly appreciated.
Thanks,
Hemmel
Last edited: