View Single Post
  #1 (permalink)  
Old Mar 10th, 2008, 00:29
onSPOT onSPOT is offline
Junior Member
Join Date: Jan 2008
Location: Greece
Age: 30
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
how can have iframe links to open in a new window?

Hello!
We are in the middle of migrating our website and till then we need to have both versions on the home page.

So i made a simple index.hml
Half of the page will load in a iframe the old website and next to i ll get a new div where i ll put an image linked to the new homepage.

The thing is that when someone uses the iframe and he chooses a link i want that link to open to a new window instead of the small iframe i made.

The code i m using fro the iframe is this:

PHP: Select all

<style type="text/css">

<!--
body {
    
background-color#D40F87;
    
}

</
style></head>
<
body>
<
iframe 
src 
="http://www.myoldsite.com/"
height="754px"
width="340px"
scrolling="no"
>
</
iframe
See attached image to get a better view of what i m trying to do
Attached Images
File Type: jpg image.jpg (21.6 KB, 6 views)
Reply With Quote