Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,243 Programmers. There are 2,231 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

opening up new resized window

 
Reply to this topicStart new topic

opening up new resized window

musya
post 1 May, 2008 - 11:36 PM
Post #1


D.I.C Head

Group Icon
Joined: 25 Apr, 2007
Posts: 179



Okay I have site that I was suppose to build a media player for, and the previous guys code is confusing, so i dont want to relink every singel page, so instead i want the page that the people go to to open up a seperate screen, with no navigations or anything just the player, and the player is a specific size so my question is how can I make a new window open up with specific sizes and with no navigation options? I tryed googling this but im not quite sure what its called. Thank you guys in advance.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


no2pencil
post 1 May, 2008 - 11:41 PM
Post #2


DIC K-mart

Group Icon
Joined: 10 May, 2007
Posts: 3,321

JavaScript open new window
1st result found on Google, the 1st attributes they talk about setting are height & width.

& then there is also a snippet found in the snippets section.

--enjoy!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

musya
post 1 May, 2008 - 11:46 PM
Post #3


D.I.C Head

Group Icon
Joined: 25 Apr, 2007
Posts: 179

.......... I suck at searching, and yes i did try, but okay, my question now is this, can you apply this with a meta redirect? or when a page opens up that page basically launches the window? you know what i mean? all pages are linked to broadcast.html and i dont wan to go through and relink them all to the new window, instead can i make broadcasts.html open up the resized window? thank you again.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

no2pencil
post 1 May, 2008 - 11:52 PM
Post #4


DIC K-mart

Group Icon
Joined: 10 May, 2007
Posts: 3,321

The reason you might want to avoid meta redirects is it the clients browser properties do not allow for them, they will end up sitting at the page with no way to go forward. In the one situation where I did use them, I provided a link "If your browser does not support forwarding, please click here", which was a link to the do the same action. If you need to add the same code in many places, you might want to write your JavaScript to a .js file & then just remotely link every file. If you have to do it right, do it once! It will be worth the extra effort years down the road as you are maintaining this website. Rather than patch it now, piss off customers, & then have to fix it after they thought it was already fixed.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

musya
post 2 May, 2008 - 09:23 AM
Post #5


D.I.C Head

Group Icon
Joined: 25 Apr, 2007
Posts: 179

QUOTE(no2pencil @ 1 May, 2008 - 11:52 PM) *

The reason you might want to avoid meta redirects is it the clients browser properties do not allow for them, they will end up sitting at the page with no way to go forward. In the one situation where I did use them, I provided a link "If your browser does not support forwarding, please click here", which was a link to the do the same action. If you need to add the same code in many places, you might want to write your JavaScript to a .js file & then just remotely link every file. If you have to do it right, do it once! It will be worth the extra effort years down the road as you are maintaining this website. Rather than patch it now, piss off customers, & then have to fix it after they thought it was already fixed.


Yea im hopeing to take over the whole site soon so ill re build that thing, but yea your right, thanks man. have a good one.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

musya
post 2 May, 2008 - 03:58 PM
Post #6


D.I.C Head

Group Icon
Joined: 25 Apr, 2007
Posts: 179

QUOTE(musya @ 2 May, 2008 - 09:23 AM) *

QUOTE(no2pencil @ 1 May, 2008 - 11:52 PM) *

The reason you might want to avoid meta redirects is it the clients browser properties do not allow for them, they will end up sitting at the page with no way to go forward. In the one situation where I did use them, I provided a link "If your browser does not support forwarding, please click here", which was a link to the do the same action. If you need to add the same code in many places, you might want to write your JavaScript to a .js file & then just remotely link every file. If you have to do it right, do it once! It will be worth the extra effort years down the road as you are maintaining this website. Rather than patch it now, piss off customers, & then have to fix it after they thought it was already fixed.


Yea im hopeing to take over the whole site soon so ill re build that thing, but yea your right, thanks man. have a good one.


Okay I applyed what that page said to do and it works on their page but not on my sites page, could it be something with the page? what could it be? please help.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 5/16/08 08:26AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month