Hexagora Forum
Home
|
Profile
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
Dynamic HTML Editor
Dynamic HTML Editor
iFrame link to main page..
Note:
You must be registered in order to post a reply.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Check here to include your profile signature.
T O P I C R E V I E W
siemens
Posted - 16 Jan 2009 : 15:52:14
I have the following situation:
1: main page
http://www.woerdesign.nl/webdesign_portfolio.htm
in 1: is an iFrame, the iFrame contains:
http://www.woerdesign.nl/webdesign_portfolio_frame.htm
Google or my own cSearch finds for example the iFrame link:
http://www.woerdesign.nl/webdesign_portfolio_frame.htm
What I want is that when a visitor hits the Google link
http://www.woerdesign.nl/webdesign_portfolio_frame.htm
it shows the visitor the main page and NOT the
http://www.woerdesign.nl/webdesign_portfolio_frame.htm
page... How do i do that?
2 L A T E S T R E P L I E S (Newest First)
siemens
Posted - 19 Jan 2009 : 10:27:21
Thanks Petran, it works.
petran
Posted - 16 Jan 2009 : 16:42:05
You can place this little piece of javascript in the head of your page
http://www.woerdesign.nl/webdesign_portfolio_frame.htm
<script language="JavaScript">
<!--
if(top.frames.length < 1) top.location.href="webdesign_portfolio.htm";
// -->
</script>
That should do the trick
Hexagora Forum
© s.dav
Snitz Forums 2000