Rank: Member
Joined: 1/15/2008(UTC) Posts: 58
|
Hello crew,
I need some direction. I want to create some popup windows that I can display things like a list of Promotional Codes, Special Print Forms etc..
I have used Jimco Spawn on my old site, will it work in BVC 5 ?
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
Try this:
<a onclick="javascript:window.open('REPLACE-URL-TO-FILE.HTML','popup','width=600, height=530, menubar=no, scrollbars=yes, resizable=yes, status=no, toolbar=no')" href="javascript:void(0);">REPLACE WITH TEXT</a>
Replace the stuff that's caps. URL needs to be the full link to the page, can be whatever file type you're using. all the other variables can be adjusted. Replace the text part with descriptive text. |
|
|
|
|
Rank: Member
Joined: 1/15/2008(UTC) Posts: 58
|
OK, Let me pre run this.
I have an HTML page named: Coupons.html
Would this be correct ?
<a onclick="javascript:window.open('HTTP://MYDOMAIN.COM/COUPONS.HTML','popup','width=600, height=530, menubar=no, scrollbars=yes, resizable=yes, status=no, toolbar=no')" href="javascript:void(0);">COUPONS</a>
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
yes, don't need the http://mydomain.com<a onclick="javascript :window. open('Coupons.html,'popup','width=600, height=530, menubar=no, scrollbars=yes, resizable=yes, status=no, toolbar=no')" href="javascript :void(0);">COUPONS</a> |
|
|
|
|
Rank: Member
Joined: 1/15/2008(UTC) Posts: 58
|
Thanks, Matt. You've been a great help. I'll give it try
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Matt, will the shopper need to have pop-ups enabled in his browser? |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
hey mitch, in my experiences here on several browsers I have not seen it blocked with default security settings. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.