Current location: Hot Scripts Forums » Programming Languages » ASP » Working with Frames


Working with Frames

Reply
  #1 (permalink)  
Old 08-25-04, 12:11 PM
pakpoint pakpoint is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Working with Frames

all the time I have seen that when I click an external link from my hotmail inbox the link open in a new page whic has a default fram displaying "You are visiting a site outside of Hotmail. To return to Hotmail, close this browser window. "

How this fram is added automaticaly to only the external URLs
How we can add this fram to our site that whenever some one click an external link a frame at the top is added automaticaly displaying that user is visiting out side of our site.
What is this type of frame technically called?

Reply With Quote
  #2 (permalink)  
Old 08-25-04, 03:21 PM
Mikeirv Mikeirv is offline
Newbie Coder
 
Join Date: May 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
I don;t know what they technically call this, but it is very easy.

Make a frameset document with the frame type you want. save it your your server. make a html doc for th top part that says "You are visiting a site out side my site". then just reference the site they are viewing in the bottom frame.
Reply With Quote
  #3 (permalink)  
Old 08-25-04, 07:06 PM
nivek's Avatar
nivek nivek is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Huh......

Well you can do that if your smart on proggraming in whatever language, you can also right click on the frame and View the source. That can help you some.

My website, please view and add your site!

linkfarm.tk
Reply With Quote
  #4 (permalink)  
Old 08-26-04, 05:05 AM
pakpoint pakpoint is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Well this is not answer to my question?

The actual questin is this

that if I have a site http://www.sample.com
so if there is a link in the site that refere to external site when ever some one click those external links they are opened in a fram automaticaly. and the head frame should have our site ligo and detail and the bottom fram shold open the external site
Reply With Quote
  #5 (permalink)  
Old 09-02-04, 09:09 PM
Mikeirv Mikeirv is offline
Newbie Coder
 
Join Date: May 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
I Answered your Question.

Make a frameset doc on your server. Call it Frame.html

the link to the external site should go to http://www.sample.com/Frame.html

Make one more page on your site. Call it Top.html. Top.html has your site logo and detail.

In Frame.html you have 2 frames, one on top and one on the bottom. The top frame source is http://www.sample.com/Top.html. The bottom frame source is http://www.External_Site.com

Does that make sense?
Reply With Quote
  #6 (permalink)  
Old 09-02-04, 11:54 PM
nivek's Avatar
nivek nivek is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
This is what hes talken about

click here

here is the code:

<frameset cols="100%">
<frameset rows="20%,80%">
<frame src="top.html" name="top" scrolling="auto">
<frame src="bottom.html" name="bottom" scrolling="auto">
</frameset>
</frameset>

you would need to make a page "top.html" and "Bottom.html"

or you can change the bottom to any website you want! Example: "http://linkfarm.tk/main.html"
Reply With Quote
  #7 (permalink)  
Old 09-03-04, 04:42 PM
Adequate Adequate is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
i jsut read on how to do something like this.... give me a minute to find it and i will post again.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash help: Play frames in reverse Infinite_Hackers Flash & ActionScript 2 08-24-05 09:05 PM
How to solve this without using frames? Edward Han PHP 2 06-22-04 07:40 AM
[SOLVED] isLeapYear not working? viper2843 Everything Java 2 05-17-04 06:11 PM
HTTP_REFERER not working Kaikki ASP 6 02-22-04 02:38 PM
Reaaly stuck about javascript over frames muratisik JavaScript 1 12-14-03 11:58 AM


All times are GMT -5. The time now is 03:03 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.