Massachusetts Cop Forum banner

Any web gurus out there?

809 Views 6 Replies 5 Participants Last post by  Gil
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
Status
Not open for further replies.
1 - 2 of 7 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:
<HTML>

<HEAD>

<TITLE>Frames Example 5</TITLE>

</HEAD>

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

<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 
 <A HREF="frame2.htm">here</A> to go back to the frames tutorial.
</NOFRAMES>

</FRAMESET>

</HTML>
http://www.pageresource.com/html/frameex5.htm
See less See more
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:
<a href="#" onclick="window.open('http://www.masscops.com','newWindow','menubar=no,toolbar=no,location=no,status=no')">MassCops</a>
or
Code:
<a href="javascript:newWin=void(window.open('http://www.masscops.com/','newWin','width=765,height=350,top=60,left=60'))">MassCops</a>
1 - 2 of 7 Posts
Status
Not open for further replies.
Top