Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Closed Thread
 
LinkBack Thread Tools
Old February 13th, 2004, 07:31 PM   #1
Reputable Member
 

Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Galaxyblue is on a distinguished road
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!
Galaxyblue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 13th, 2004, 08:06 PM   #2
Highly Reputable Member
 

Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 courtjester is on a distinguished road
you mean you want to create a new Browser window without using JavaScript?
courtjester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 13th, 2004, 09:37 PM   #3
WebForumz Member
 

Join Date: Oct 2003
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 jamslam is on a distinguished road
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.
jamslam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 13th, 2004, 09:59 PM   #4
Highly Reputable Member
 

Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 courtjester is on a distinguished road
Yeah, But I just always hold in shift and click to open a new window...
courtjester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 05:34 AM   #5
WebForumz Admin Badge
 

Join Date: Jul 2003
Posts: 1,848
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 117 Webforumz Staff is on a distinguished road
Which is the same as right-clicking and opening in a new window...
Webforumz Staff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 06:59 AM   #6
Reputable Member
 

Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Galaxyblue is on a distinguished road
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
Galaxyblue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 07:13 AM   #7
Reputable Member
 

Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Galaxyblue is on a distinguished road
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.
Galaxyblue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 07:52 AM   #8
WebForumz Admin Badge
 

Join Date: Jul 2003
Posts: 1,848
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 117 Webforumz Staff is on a distinguished road
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:
Link Text
Should no longer be used because you are forcing the user to open the link in a new window.
Webforumz Staff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 08:43 AM   #9
Reputable Member
 

Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Galaxyblue is on a distinguished road
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.
Galaxyblue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 08:45 AM   #10
Reputable Member
 

Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Galaxyblue is on a distinguished road
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>
Galaxyblue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 01:58 PM   #11
Highly Reputable Member
 

Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 courtjester is on a distinguished road
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...
courtjester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old February 14th, 2004, 02:37 PM   #12
Reputable Member
 

Join Date: Jan 2004
Location: United Kingdom
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Galaxyblue is on a distinguished road
Thanks Kule, but I don't want to use frames
Galaxyblue is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Bookmarks

Tags
open , browser , window


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 HTML, XHTML and CSS 11 February 10th, 2008 05:35 PM
Change open in new window to open in same window nsr500rossi JavaScript 2 January 18th, 2008 10:13 AM
[SOLVED] open new window from main window AdRock Other Languages 1 October 31st, 2007 11:45 PM
open new browser window snappy HTML, XHTML and CSS 4 November 3rd, 2006 01:49 PM


Search Engine Optimization by vBSEO 3.2.0 RC8