• Lightbox in Iframe
    9 replies, posted
It's me again! This time my problem is I have links inside an iframe which open up lightboxes, when i click the link the lightbox opens inside the ifram as it should. Is there anyway to make the lightbox open up into the main part of the webpage? My webserver is currently down so i can't upload the page as an example, the link to open the lightbox is: <a href="http://www.flashgames247.com/play/14147.html" class="lightwindow" title="Air Battle" >Air Battle</a> The website in the code is not my site but due o my webserver being down, i am using that link to test my lightbox as ultimately it will be opening a very similar page. Thanks, Anthony
You should try not to use iframes if possible.
Rocket, I tried that and all the other target="_xxx" but it did not work. I am using an Iframe as my knowledge of web design is very limited, I have asked for a script to make these links but it involves PHP and I've decided I'm just not going there. The two options I have are an Iframe or a flash file as the list of links will be on multiple pages so I only want to change 1 file to update each page with the content on. If i cannot get this to work I will just make a page for each game but I'd much prefer to use the lightbox method. If my webserver was up and running I would link the page and let you look but I can't do that currently. TerabyteS, With my limited knowledge, its my only option.
[php] <?php include_once('file.swf'); ?> [/php] Should also work.
EDIT: This problem does not matter anymore, I've scrapped the Iframe idea as it's not needed, Thanks mainly to Rocket, and thanks to everyone else who tried to help.
[QUOTE=Rocket;28608640]:what: You can't just place the bytecode of an swf in a page and expect it to work. You have to use the proper tags.[/QUOTE] Fuck, forgot that... But works with almost any other file format thought (except with most movie and program formats). Should have taken another example thought. [php]<?php include_once('includes.php'); ?>[/php]
Sorry, you need to Log In to post a reply to this thread.