Forum Moderators: not2easy

Message Too Old, No Replies

Changing the frame of a pop-up to custom design?

How?

         

magray

10:35 am on Jul 2, 2003 (gmt 0)

10+ Year Member



Can anybody help me? I've been trying to create a custom frame for a pop-up but i'm not getting very far.
even making the frame boarder disapear is side-stepping me!
Please i need HELP!
Thanks

korkus2000

2:32 pm on Jul 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the board,

I am not sure I understand what you are asking. Is the popup like a regular browser popup with a frame?

Alfasys

2:47 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



Hi magray,

Try using following code:

<A HREF="#" onClick="MyWindow=window.open('page','MyWindow','toolbar=no,location=no, directories=no,status=no,menubar=no,scrollbars=no, resizable=no,width=x,height=x,left=x,top=x'); return false;" target="_blank">x</A>

There are no spaces between elements MyWindow=window.open ... top=x');

page = your webpage or image to be opened
toolbar, location, directories, status, menubar = window bars etc., you can enable these by choosing yes
scrollbars = let you scroll up and down or left and right, use yes to enable
resizable = let you resize your window, yes to enable
width and height = settings for the format of the window
left, top = settings for the coördinates of the window

target = _blank let the page open a new window

x at the end of the code = link text or image

Hope this will help you,

Karl

[edited by: korkus2000 at 5:13 pm (utc) on July 2, 2003]
[edit reason] fixed sidescroll [/edit]

magray

8:38 am on Jul 3, 2003 (gmt 0)

10+ Year Member



thanks for the help.
I already have switched off all the location bars and scroll bars and all that. but thank you for your script. its a lot more simplified. thank you. hope you don't mind if i use it.
but what i'm trying to do is take a normal IE pop up window, and change the actual IE window frame. Turn it off if that is possibile. and then incorporate in my design an IE frame Look-alike.
with minamize and close. I hope i've explained properly.
thanks again for the help.
magray

mivox

4:52 pm on Jul 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't believe it's possible to remove the browser window frame itself, if the pop-up is actually in a new window... You'd have to do some kind of "pseudo-pop-up" with Flash to have a borderless look to it, I think.

korkus2000

5:11 pm on Jul 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can add fullscreen=yes to the window.open parameters to make ie go into fullscreen mode. This will only work on IE though.