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.
|
|
|
|
|
![]() |
||
Open Browser Window
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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!
|
|
|
|
#2
|
|||
|
|||
|
you mean you want to create a new Browser window without using JavaScript?
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
Yeah, But I just always hold in shift and click to open a new window...
|
|
#5
|
|||
|
|||
|
Which is the same as right-clicking and opening in a new window...
|
|
#6
|
|||
|
|||
|
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 |
|
#7
|
|||
|
|||
|
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. |
|
#8
|
|||
|
|||
|
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
|
|
#9
|
|||
|
|||
|
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. |
|
#10
|
|||
|
|||
|
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> |
|
#11
|
|||
|
|||
|
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...
|
|
#12
|
|||
|
|||
|
Thanks Kule, but I don't want to use frames
|
![]() |
| Tags |
| open, browser, window |
| Thread Tools | |
|
|
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 |