Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-14-2007, 04:29 PM   PM User | #1
itstheboz
New to the CF scene

 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
itstheboz is an unknown quantity at this point
Non-Typical popup window

I'm using a 3rd party website for a business that has the option to popup a windows after an application submission.. so I do not have the ability to add anything more than a URL to set a location for the popup page. What I need is for the page I created to be sized to width=883,height=400. I've been trying the following script:

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=883,height=400,left = 248.5,top = 280');");
}
// End -->
</script>


This script works when i can link it from one of my own pages, but I cannot do that going through a 3rd party site for the popup. Can someone suggest a code that would allow the page to size and have a bollian value of o for toolbar, location, statusbar, menubar, resizeable, etc? I have tried a 'replace' value, but it doesn't do what I want it to do. Please help.
itstheboz is offline   Reply With Quote
Old 06-15-2007, 07:25 AM   PM User | #2
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,553
Thanks: 9
Thanked 480 Times in 463 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
create a simple wrapper document with an fullscreen iframe.
host the wrapper on your site, and you can have full access to the popup when you create the window.
rnd me is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:29 AM.


Advertisement
Log in to turn off these ads.