Open Browser Window

This is a discussion on "Open Browser Window" within the Web Page Design section. This forum, and the thread "Open Browser Window are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1  
Old Feb 13th, 2004, 23:31
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Open Browser Window

Is there anyway of doing this? I currently have my open browser windows set up, but they are javascript.. I found something on the internet earlier but when I clicked on it the script was blank!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Feb 14th, 2004, 00:06
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
you mean you want to create a new Browser window without using JavaScript?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Feb 14th, 2004, 01:37
Up'n'Coming Member
Join Date: Oct 2003
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
If kulegamr is right, and you just want to open a new browser window, here's why not to do it.

If you right click on any link (assuming you're using Windows) you will have the option to "Open in New Window". So basically, I have the option to open a link in the same window, or in a whole new window. When you force me to open a link in a new window, you have narrowed my options down to one. This is something people often overlook- it may be minor, but it is important.

If you must open a link in a new window, then this will do the trick:

somewhere

However, the "target" attribute is no longer correct, and has been deprecated as of XHTML 1.0, as you are enforcing something upon a user.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Feb 14th, 2004, 01:59
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, But I just always hold in shift and click to open a new window...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Feb 14th, 2004, 09:34
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Which is the same as right-clicking and opening in a new window...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Feb 14th, 2004, 10:59
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Guys, thats for the reply... I need if for my sample wedding website page... When I first set up my site, when they clicked on a thumbnail of a sample wedding website it opened a whole brand new page with the sample ' index ' page on only.

However, I have quite a few of these sample sites so, I saved the index pages as small gifs/ jpgs and set it so that when the user clicks on the thumbnail it opens a much smaller browser window so they get the sample website in the corner...

Jamslam - I'm not quite sure what you mean by this:

<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">However, the "target" attribute is no longer correct, and has been deprecated as of XHTML 1.0, as you are enforcing something upon a user.<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

Thanks

Sarah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Feb 14th, 2004, 11:13
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
This is the code that I have at the moment:

<td height="141" align="center"><a href="javascript:;" onClick="MM_openBrWindow('samplesites/confettisamplesite.htm','Confetti','width=500,heig ht=400')">
[img]/samplesites/confetti_small.jpg[/img]
</a>
<font color="#B2A59F" size="3" face="Arial, Helvetica, sans-serif">

[img]text/sampleweddingwebsites/confetti.gif[/img]
</font></td>

So, I need to keep the open browser window at the same size at the gif image.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Feb 14th, 2004, 11:52
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Then simply change the width and height properties here:
onClick="MM_openBrWindow('samplesites/confettisamplesite.htm','Confetti','width=500,heig ht=400')"

Jamslam was saying that using
Code: Select all
Link Text
Should no longer be used because you are forcing the user to open the link in a new window.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Feb 14th, 2004, 12:43
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Sirkent, thank you!

However, I am a little confused... if I shouldn't use it, what should I do? I need the extra window to open to show the client the sample sites they can use.

I am also in the middle of designing a site for a new lady who wants the same thing... she sells wedding dresses and she wants the user to be able to click on a thumbnail of a dress and it then to maximise in a window with the larger picture of the dress and the text details as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Feb 14th, 2004, 12:45
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
and the new window must open on the same page that the user is already on.... but in the corner..

I think I am confusing myself here.... <banghead>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Feb 14th, 2004, 17:58
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
You could always use frames to do this... You could put a frame in one of the corners to display the site's logo. When you click a thumbnail it would change to the enlarged version of that picture. Just a suggestion...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old Feb 14th, 2004, 18:37
Reputable Member
Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Kule, but I don't want to use frames
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
open, browser, window

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open in a New Browser Window Berk Bonebonce Web Page Design 11 Feb 10th, 2008 21:35
Change open in new window to open in same window nsr500rossi JavaScript Forum 2 Jan 18th, 2008 14:13
[SOLVED] open new window from main window AdRock Other Programming Languages 1 Nov 1st, 2007 02:45
open new browser window snappy Web Page Design 4 Nov 3rd, 2006 17:49


All times are GMT. The time now is 19:18.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42