One-time popup for a webpage using jQuery***Updated 5/10/11

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.

There are already more than 250 extensions available!
User avatar
BaconFries
 
 
Posts: 3996
Joined: Thu Aug 16, 2007 7:32 pm

One-time popup for a webpage using jQuery***Updated 5/10/11

Post by BaconFries » Thu Sep 10, 2009 10:52 pm

***Update 05/10/11***
Update to allow the extension to be used with other jQuery Objects or Extensions using the same version of jQuery.
***Updated 10/05/10***
Meets W3C Standards
Built with Extension Builder 2.0.2
Image Image
***Update***
Snall update to fix a couple of minor bugs new download available at bottom of posting..
***Update***
One time popup is a jQuery script that when placed on your page will open a popup message window when a visitor visits your site but will only be shown once for each visit this is controlled by the use of a small cookie that gets stored on the users PC and when they revisit the site it gets recalled to see if they have already visited and if they have the popup window will not get shown again as they have already viewed. Although this extension is very similar to WB JQuery Dialog it doesnt have the fancy skins but the size, color, etc can be modified to suit what you want.

Screen Image
Image

Download
Via the extension manager
Last edited by BaconFries on Mon Oct 03, 2011 6:17 pm, edited 6 times in total.

User avatar
morgan
 
 
Posts: 102
Joined: Fri Jan 04, 2008 12:35 am
Location: Dorset UK
Contact:

Post by morgan » Thu Sep 10, 2009 11:06 pm

Nice one BF, I am sure it will be used soon. :D

User avatar
BaconFries
 
 
Posts: 3996
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Thu Sep 10, 2009 11:15 pm

Thanks... it not as fancy as WB/Pablos but I hope it might be useful to those who want it to have the need to be only shown once by visitor

User avatar
me.prosenjeet
 
 
Posts: 1245
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Fri Sep 11, 2009 1:01 am

Wow!
I find the official WB JQuery Dialog extension had this handicap(unless you change the code manually).
Great job!
I installed it, tested in preview once and now in second preview, the cookie is blocking the view. cookie value is set to 20(default)...somehow, deleting the cookie from my system dosent seem to work for me. The cookie setting 20 means in seconds, minutes?

User avatar
BaconFries
 
 
Posts: 3996
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Fri Sep 11, 2009 2:22 am

Hi me I cant get into my test server right now so that I can test this with a webpage live as soon as I can get in I will test and let you know.
me when you say blocking you mean you cant acces the page/site?? removing the cookie should put things back to normal as if the cookie not there the page should work as normal....I just tried doing a preview in WB with a simple two page template the extension on the first page links to both pages in template previewed in browser popup shows press close try page link ok click link back to page one ok....anyway as soon as I can try live I will get back...off for some needed sleep at last....

User avatar
zinc
 
 
Posts: 1501
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom

Post by zinc » Fri Sep 11, 2009 6:14 am

Well done BF! Another quality piece of work!!!! :)

User avatar
me.prosenjeet
 
 
Posts: 1245
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Fri Sep 11, 2009 12:34 pm

I could make it work ! Nice extension.
Check it live here: http://stfranciscollege.edu.in/pm3

Few issues I am facing:
1) What does cookie time refer to? Days/Hours/Minutes/Seconds?

2) The text input doesn't take multiple blank spaces together...can that be incorporated? See the end of text in the link above... I had put some space after ; -) and before warm regards but it isnt showing

3) A text box (or HTML Text Box) will be better than the text input right now used. The formatting of text will be a great update and will make this extension one step (or rather a few steps) ahead of the official extension!

User avatar
BaconFries
 
 
Posts: 3996
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Fri Sep 11, 2009 1:02 pm

Afternoon me. ok first great to see it in action on your page looks smart let me try and answer your questions

Q.What does cookie time refer to? Days/Hours/Minutes/Seconds?
A. It refers to Days

Q.The text input doesn't take multiple blank spaces together...can that be incorporated? See the end of text in the link above... I had put some space after ; -) and before warm regards but it isnt showing
A. At present this is how is works sorry :( I believe Pablo is incorperating a new text feature in a future Extension Builder as this issue has been mentioned and asked for by star57...

Q. A text box (or HTML Text Box) will be better than the text input right now used. The formatting of text will be a great update and will make this extension one step (or rather a few steps) ahead of the official extension!
A. I will look into seeing if a text box can be added that may be possible as for adding a a HTML Text Box (think your refering to the HTMLTool) I dont know if that possible...it might be possible think I need to ask the wizard about that....Pablo do you think the HMTL Toll could be added into this extension??

As always if I can add fix anything I usually will, but I will let you know outcome...

jordan
 
 
Posts: 837
Joined: Tue Jun 26, 2007 1:56 pm
Contact:

Post by jordan » Fri Sep 11, 2009 10:53 pm

nice extension again!
me.prosenjeet wrote:2) The text input doesn't take multiple blank spaces together...can that be incorporated? See the end of text in the
link above... I had put some space after ; -) and before warm regards but it isnt showing
I think you can use HTML text structure to do that.
<br> for break text.
&nbsp; for multiple spaces.

--------
And yes P-L-E-A-S-E "HTML Textbox" added to the extension builder.
And some new way of dataset with variables would be nice . :roll: . !
--------

+tnx for the index update mail BaconFries.

User avatar
me.prosenjeet
 
 
Posts: 1245
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Fri Sep 11, 2009 11:41 pm

jordan wrote:nice extension again!
me.prosenjeet wrote:2) The text input doesn't take multiple blank spaces together...can that be incorporated? See the end of text in the
link above... I had put some space after ; -) and before warm regards but it isnt showing
I think you can use HTML text structure to do that.
<br> for break text.
&nbsp; for multiple spaces.

--------
And yes P-L-E-A-S-E "HTML Textbox" added to the extension builder.
And some new way of dataset with variables would be nice . :roll: . !
--------

+tnx for the index update mail BaconFries.
Thanks Jordan,
That never came to my mind :oops:
Did that and the text looks formatted now. Thanks for the hint :lol:

User avatar
BaconFries
 
 
Posts: 3996
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Fri Sep 11, 2009 11:50 pm

Thanks Jordan yes <br> &nbsp; works very well thanks for pointing that out hope me reads this and tries it out...

User avatar
me.prosenjeet
 
 
Posts: 1245
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Fri Sep 11, 2009 11:54 pm

BaconFries wrote:Thanks Jordan yes <br> &nbsp; works very well thanks for pointing that out hope me reads this and tries it out...
Lol Bacon, me has already read and incorporated! :wink:
Delete your cookies and have a look at : http://stfranciscollege.edu.in/pm3
:idea: This extension rocks and wins over the official one! :idea:

jordan
 
 
Posts: 837
Joined: Tue Jun 26, 2007 1:56 pm
Contact:

Post by jordan » Sat Sep 12, 2009 12:05 am

He yes me. is faster then light . :D .
Looks very good.

If you really want to get crazy.
You could just use the HTML text box to create your text,
with all the bells and whistles.
Then copy/paste the HTML into the text input . 8) .

User avatar
BaconFries
 
 
Posts: 3996
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Sat Sep 12, 2009 12:06 am

lol looks great on your site me.... glad you like this extension think it time for sleep :roll: eyes starting to roll and shut to much work not enough hours in day.....

User avatar
me.prosenjeet
 
 
Posts: 1245
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sat Sep 12, 2009 12:07 am

jordan wrote:He yes me. is faster then light . :D .
Looks very good.

If you really want to get crazy.
You could just use the HTML text box to create your text,
with all the bells and whistles.
Then copy/paste the HTML into the text input . 8) .
Jordan, you keep posting good hints!
Thanks again that is "Mr. Things made easy" lol
BaconFries wrote:lol looks great on your site me.... glad you like this extension think it time for sleep :roll: eyes starting to roll and shut to much work not enough hours in day.....
Bacon, its 05:38 AM here so Good Morning to both of you

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests