| | |
Redirect with pre-sized pop-up code help
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2005
Posts: 32
Reputation:
Solved Threads: 0
This is for work and I'm just not that good at coding.
The simple redirect code I know:
What I need is for the redirected page to be presized (width=800,height=564). I only know how to do it when a user pushed a button not on a redirect.
The problem is this is a webcast that they are putting on plasma screens so there will be no user interaction.
Using the hardware/software they are trying to use they just put a link in and it goes.
I am sure this is a simple thing.
Any help would be apreciated.
Thank you!
The simple redirect code I know:
HTML and CSS Syntax (Toggle Plain Text)
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">
What I need is for the redirected page to be presized (width=800,height=564). I only know how to do it when a user pushed a button not on a redirect.
The problem is this is a webcast that they are putting on plasma screens so there will be no user interaction.
Using the hardware/software they are trying to use they just put a link in and it goes.
I am sure this is a simple thing.
Any help would be apreciated.
Thank you!
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
You cannot force a page to be a certain size.
The only way to resize a page is to control the window in which it appears, which you already know how to do "when a user pushed a button", meaning, using the window.open() method, I presume.
When you redirect, you aren't creating a new window. You lose control over the window. The new page owns it, so that page will need to contain its own resize code.
The only way to resize a page is to control the window in which it appears, which you already know how to do "when a user pushed a button", meaning, using the window.open() method, I presume.
When you redirect, you aren't creating a new window. You lose control over the window. The new page owns it, so that page will need to contain its own resize code.
•
•
Join Date: Jan 2005
Posts: 32
Reputation:
Solved Threads: 0
Thank you for the reply.
I was hoping there was something I could do.
I can't build a whole new page for these plasmas in time and my prebuilt (by my now deceased predecessor) webcast template isn't full screen. I can give them the direct link to the frameset but without controling the window size everything is distorted.
I thought a redirect may work but I guess not.
Does anyone have any suggestions for a quikish work around?
I was hoping there was something I could do.
I can't build a whole new page for these plasmas in time and my prebuilt (by my now deceased predecessor) webcast template isn't full screen. I can give them the direct link to the frameset but without controling the window size everything is distorted.
I thought a redirect may work but I guess not.
Does anyone have any suggestions for a quikish work around?
•
•
Join Date: Jan 2005
Posts: 32
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Deacon J
Well crap...that only works in IE.
The latest Netscape and FireFox browsers won't let javascript close a window it did not open.
Let me know what your using and I'll give it a try.
Well, for IE, use
HTML and CSS Syntax (Toggle Plain Text)
<script type="text/javascript"> window.open("test2.html",null, "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no"); self.close(); </script>
I guess I'm having a hard time picturing what you are trying to do?
How it the webcast accessed in the first place? By a link from another page? Through a frameset?
It seems like you should be able to contain it inside a div element and set the height and width using css.
Is this something I can look at on the Web to get an idea of what you are working with?
How it the webcast accessed in the first place? By a link from another page? Through a frameset?
It seems like you should be able to contain it inside a div element and set the height and width using css.
Is this something I can look at on the Web to get an idea of what you are working with?
![]() |
Other Threads in the HTML and CSS Forum
- Previous Thread: need help with large anchor
- Next Thread: table shrinking
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






