Massachusetts Cop Forum banner

Status
Not open for further replies.
1 - 7 of 7 Posts

·
Thread Killa
Joined
·
6,056 Posts
Discussion Starter · #1 ·
Got a quick question, how can I open link from my webpage, but keep the person at my "site"?

I've seen this done via frames whereby you click on the link and it opens it up in the frame of the website.

Not so much interested in opening it in a seperate window, I know how to do that...target "open blank" or some such thing...

Thanks
 

·
Registered
Joined
·
66 Posts
Got a quick question, how can I open link from my webpage, but keep the person at my "site"?

I've seen this done via frames whereby you click on the link and it opens it up in the frame of the website.

Not so much interested in opening it in a seperate window, I know how to do that...target "open blank" or some such thing...

Thanks
That's really all that you can do. Usually when you want to retain a visitor on a webpage but provide access to external links you would use a new window...

<a href="http://www.whatever.com" target="_blank">Link #1</a> should do the trick.

Bryan
 

·
Founder of MassCops
Joined
·
6,401 Posts
Got a quick question, how can I open link from my webpage, but keep the person at my "site"?

I've seen this done via frames whereby you click on the link and it opens it up in the frame of the website.

Not so much interested in opening it in a seperate window, I know how to do that...target "open blank" or some such thing...

Thanks
That would require the use of frames and your site was not designed with frames in mind. If not setup correctly they can make a site look like garbage and that gets annoying.

Related...

Code:
&lt;HTML>

&lt;HEAD>

&lt;TITLE>Frames Example 5&lt;/TITLE>

&lt;/HEAD>

&lt;FRAMESET cols="20%,80%">
 &lt;FRAME SRC="10frame.htm" name="left_frame">
 &lt;FRAME SRC="11frame.htm" name="right_frame">

&lt;NOFRAMES>
Sorry, you cannot view this page because your browser does not support frames....
 If you would like to view frames, you will need netscape 2.02 or better or internet explorer 3.0 or 
 better. Click 
 &lt;A HREF="frame2.htm">here&lt;/A> to go back to the frames tutorial.
&lt;/NOFRAMES>

&lt;/FRAMESET>

&lt;/HTML>
http://www.pageresource.com/html/frameex5.htm
 

·
Thread Killa
Joined
·
6,056 Posts
Discussion Starter · #6 ·
Yeah I really don't want frames...and I have the open blank set up....so that's the best I can do..

Got a quick question, how can I open link from my webpage, but keep the person at my "site"?

I've seen this done via frames whereby you click on the link and it opens it up in the frame of the website.

Not so much interested in opening it in a seperate window, I know how to do that...target "open blank" or some such thing...

Thanks
That would require the use of frames and your site was not designed with frames in mind. If not setup correctly they can make a site look like garbage and that gets annoying.

Related...

Code:
&lt;HTML>

&lt;HEAD>

&lt;TITLE>Frames Example 5&lt;/TITLE>

&lt;/HEAD>

&lt;FRAMESET cols="20%,80%">
 &lt;FRAME SRC="10frame.htm" name="left_frame">
 &lt;FRAME SRC="11frame.htm" name="right_frame">

&lt;NOFRAMES>
Sorry, you cannot view this page because your browser does not support frames....
 If you would like to view frames, you will need netscape 2.02 or better or internet explorer 3.0 or 
 better. Click 
 &lt;A HREF="frame2.htm">here&lt;/A> to go back to the frames tutorial.
&lt;/NOFRAMES>

&lt;/FRAMESET>

&lt;/HTML>
http://www.pageresource.com/html/frameex5.htm
 

·
Founder of MassCops
Joined
·
6,401 Posts
You can do a pop-up window if you are looking to just post some type of announcement and have the window with no navigation buttons or scroll bars?

Something like (2 examples)

Code:
&lt;a href="#" onclick="window.open('http://www.masscops.com','newWindow','menubar=no,toolbar=no,location=no,status=no')">MassCops&lt;/a>
or
Code:
&lt;a href="javascript:newWin=void(window.open('http://www.masscops.com/','newWin','width=765,height=350,top=60,left=60'))">MassCops&lt;/a>
 
1 - 7 of 7 Posts
Status
Not open for further replies.
Top