-
AuthorPosts
-
edd Friend
edd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
October 9, 2015 at 4:26 pm #704054Hi, I’m looking to enable or create a simple “content alert” on the home page, with its “close button”, in this way when I click on it, the aler message disssapear.
Take a look to the attachement file to see what I mean
Is there a way?
I was trying with bootstrap but is is not working for me.
Please, any idea?Thanks a lot 🙂
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 11, 2015 at 4:42 pm #704447Hi @edd,
I guess you will want to use Bootstrap modal to implement the modal box, then use Bootstrap Collapse to show / hide it.
1 user says Thank You to Adam M for this useful post
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 11, 2015 at 4:42 pm #751263Hi @edd,
I guess you will want to use Bootstrap modal to implement the modal box, then use Bootstrap Collapse to show / hide it.
1 user says Thank You to Adam M for this useful post
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
October 12, 2015 at 7:41 am #704569Hi Adam M,
yeah, that’s is… great… I got this code to use:<div class="alert alert-info alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">?</span></button>
<strong>The text I want to display goes here</strong>
</div>But there is a thing: I placed this alert on the home page, I close it. Then I visit the web site and when I back to the home page, this alert is again there.
How can I dissable it once I close it the first time?Thanks a lot for help 😉
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
October 12, 2015 at 7:41 am #751341Hi Adam M,
yeah, that’s is… great… I got this code to use:<div class="alert alert-info alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">?</span></button>
<strong>The text I want to display goes here</strong>
</div>But there is a thing: I placed this alert on the home page, I close it. Then I visit the web site and when I back to the home page, this alert is again there.
How can I dissable it once I close it the first time?Thanks a lot for help 😉
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 12, 2015 at 10:21 am #704610Hi @edd,
I’m afraid you will need to write a custom plugin / JS code instead in order to handle cookies (that’s where you close the bar and it won’t open again until next session). I also made a quick search but look like 3rd party extensions that suite your need are all commercial.
1 user says Thank You to Adam M for this useful post
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 12, 2015 at 10:21 am #751382Hi @edd,
I’m afraid you will need to write a custom plugin / JS code instead in order to handle cookies (that’s where you close the bar and it won’t open again until next session). I also made a quick search but look like 3rd party extensions that suite your need are all commercial.
1 user says Thank You to Adam M for this useful post
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
October 13, 2015 at 12:14 pm #704845<em>@Adam M 496988 wrote:</em><blockquote>Hi @edd,
I’m afraid you will need to write a custom plugin / JS code instead in order to handle cookies (that’s where you close the bar and it won’t open again until next session). I also made a quick search but look like 3rd party extensions that suite your need are all commercial.</blockquote>
Hi Adam,
Uhhmm I see…Anyway, thanks a lot for great help 🙂
edd Friendedd
- Join date:
- May 2006
- Posts:
- 350
- Downloads:
- 11
- Uploads:
- 73
- Thanks:
- 76
- Thanked:
- 8 times in 2 posts
October 13, 2015 at 12:14 pm #751508<em>@Adam M 496988 wrote:</em><blockquote>Hi @edd,
I’m afraid you will need to write a custom plugin / JS code instead in order to handle cookies (that’s where you close the bar and it won’t open again until next session). I also made a quick search but look like 3rd party extensions that suite your need are all commercial.</blockquote>
Hi Adam,
Uhhmm I see…Anyway, thanks a lot for great help 🙂
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by edd 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum