Hexagora Forum
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:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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 Go To Top Of Page
Snitz Forums 2000