Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

43 users online



Linking with iframes

Linking with iframes

Currently viewing this thread: 1 (0 members and 1 guests)


gladiat0r

gladiat0r

Status: Offline!

Linking with iframes

How can you link in flash to an iframe? I saw another post, but the link provided did not work =\ plz help =]

___________________

Hi! I'm a signature virus !!!
Copy me into your signature to help me spread.

Atomica

Atomica

Freelance print and web designer
Status: Offline!

To an iframe, like target it? when you setup your button and do the geturl specificy the iframe name for the target, like in html....
Let me see if I can find a good snippet for you just to be clearer.

Here's one

on (release) {
getURL("about.html", "iframename");
}

iframename=the targetted iframe... hopefull this is what you wanted.

___________________

+Atomica
freelance://print.web

gladiat0r

gladiat0r

Status: Offline!

Thanks a lot man =)

___________________

Hi! I'm a signature virus !!!
Copy me into your signature to help me spread.

LazR

LazR

Status: Offline!

thanks, that helped me too, gota love TF search!!! its like a developers version of google!

___________________

Eloquent Creations | Motorspin | MJDesignz.Net

http://mj.motorspin.com/host/lazr_sig.gif

LazR

LazR

Status: Offline!

ok for targeting an iframe, i got that...now what about an div overflow with a scrollbar (basically an iframe, only..well obviously not)....i want to link pages to a <div style="overflow: auto;">Content here</div>

do i give the div an id, and link it that way?

___________________

Eloquent Creations | Motorspin | MJDesignz.Net

http://mj.motorspin.com/host/lazr_sig.gif

AeonTan

AeonTan

Neversidian
Status: Offline!

u cannot target a div. you'll need some php to put content in.

PHP:

// put this on the topmost of page
<?php
  
if(!strlen($page) || !preg_match("#^[a-z0-9=?_.\/]+$#i",$page)){
      
header("Location: index.php?page=home");
  }
?>
<div style="overflow: auto;">
<?php
    
if(strstr($page"/")){
    
$path="";
    }else{
  
$path 'pages/';
  }
  if(
strstr($page".")){
  
$extension ='';
  } else {
  
$extension '.php';
  }
 
   
$filename $path.$page.$extension;
   include(
$filename);
?> 
</div>

so just link it like: yourpage.php?page=yourcontent

___________________

AEN DIRECT
Catalogue of Creative Works & Writings

LazR

LazR

Status: Offline!

well that piece of code would help me, if i knew what you were doing...but other then that, useless to me

*goes back to search*

___________________

Eloquent Creations | Motorspin | MJDesignz.Net

http://mj.motorspin.com/host/lazr_sig.gif

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0079 seconds.