SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2010
    Location
    Calfornia, USA
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Code to get out of iframe on page when slideshow ends

    Hi, I have a slideshow where the slideshow creation program has you upload the show then gives you code to place it anywhere in a web page. For placement I have it in a couple of divs:

    The issue I am having is that when the show is done the page it is to forward to shows up in the iframe. Is there any code I can place on this page to keep it from happening.

    The page is here:
    http://cadillacmargarita.com/slideshow_hati_justin.html

    The relevent code for the iframe is here:

    Code:
    <div id="slideshow">
    	<div class="slideshows">
    		<iframe style="border: medium none ; background-color:CCCCCC;" src="http://www.cadillacmargarita.com/slideshows/hati_justin/iframe.html" title="Showit Web Slideshow" frameborder="0" height="690" width="510" scrolling="no"></iframe>
    	</div>
    </div> <!--End - slideshow -->
    Note: Clicking on the photos gets you through the show quickly. It's not very long.

    I am thinking I might just have to modify the actual iframe.html that plays the show to make it look like I need or close to it. That is located here:

    http://cadillacmargarita.com/slidesh...in/iframe.html

    Thanks for any help.

  2. #2
    Mouse catcher silver trophy
    Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,820
    Mentioned
    110 Post(s)
    Tagged
    1 Thread(s)
    I think that you can still use target="_top" on a hyperlink to break out of an <iframe>, but that is just off the top of my head.

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2010
    Location
    Calfornia, USA
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you Stevie.

    I discovered and Embed option and that works instead of the iframe.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •