How to call the overlay

Status
Not open for further replies.

Stormraven

Trusted Member
Oct 24, 2010
1,836
0
150
36
Wales, UK
www.prowebforums.com
I've got a link and I'm trying to get the overlay to display when I click on it, so I can put some HTML into it. Although I'm having trouble calling the overlay. I've been trying for so long now that I hope it's not something simple that I've just overlooked lol.

:)
 

Stormraven

Trusted Member
Oct 24, 2010
1,836
0
150
36
Wales, UK
www.prowebforums.com
Thanks for your reply Fuhrmann, but I don't want to set a url. I just want the overlay with some custom text in it. And I'm having trouble doing this :(

I want it for example, just a piece of text, not a link, but when you click on it it'll bring up an overlay like the one when you click on the 'contact us' link. :)
 

Floris

I'm just me :) Hi.
Staff member
Jan 1, 2001
60,241
1,472
930
48
Netherlands
mrfloris.com
Okay, let's rewrap this :)

Fuhrmann is right, it's how you get to the overlay. It's how you trigger the page.
How to get it? You have to "be" a page with content.
So you need a destination and have content in it, content is done via a template.

You will need a route, and then populate it with the template.
You get to the page manually by typing it, and it will work.
To overlay it, you need to add a link somewhere, with a class, with overlaytrigger in it.
It will then load that page, within the overlay.
 
  • Like
Reactions: 1 person

Veer

OMG Member
Mar 18, 2011
160
0
65
45
You can just set the class of the link you are clicking to this:

"OverlayTrigger"

Example:

Code:
<a href=my_link" class="OverlayTrigger">Test</a>
Is it possible to do this in a post message?
 
Status
Not open for further replies.