Results 1 to 7 of 7

Thread: slide show problem in iframe

  1. #1
    Join Date
    Jul 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default slide show problem in iframe

    Hi, i am facing another problem in asp page, i have an iframe that pointing to slideshow show page, the slideshow is working fine in ifram but the descreveal: "peekaboo" feature is not working in iframe.

    how can i fix this problem

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    1. How can we help without more information? We need a link to your page or to see your code. (Or at the very least, a much more detailed description.)

    2. Why is this posted in ASP? Is this a question about the ASP programming language, or about iframes? This probably belongs in HTML, and it can be moved there once we know where is best.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jul 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thank you for your reply, actually the code is written in asp pages thats why i posted it in ASP, both page the slideshow and the ifram writting in ASP page
    Note that the descreveal: "peekaboo" feature is working in Google Chrome
    the code that handle an ifram in asp page

    <!--Image Gallery-->
    <iframe title="Image Gallery" src="ScrollImages/ImageGallery/imageGallery2.asp" width="240" height="210" marginwidth="0" marginheight="0" scrolling="auto" frameborder="0" longdesc=""></iframe>
    <!--/image Gallery-->



    Code for slideshow in page imageGallery2.asp

    <html>
    <head>
    <script type="text/javascript" src="jquery.min.js"></script>
    <script type="text/javascript" src="fadeslideshow.js">
    </script>
    <script type="text/javascript">
    var mygallery=new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [237, 202], //width/height of gallery in pixels. Should reflect dimensions of largest image

    <%
    //connect to the database
    rs.open "select * from mcontents where ctype = 'image'",cn
    %>

    imagearray: [
    <%
    if not(rs.eof or rs.bof) then
    while not(rs.eof)
    rid=rs("rid")
    title = rs("rtitle")%>
    ["GetBinaryImage.asp?rid=<%=rid%>", "", "", "<%=title%>"]
    <%
    rs.movenext
    if not(rs.eof) then
    response.write ","
    end if
    wend
    end if
    %>
    ],
    displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
    persist: false, //remember last viewed slide and recall within same session?
    fadeduration: 500, //transition duration (milliseconds)
    descreveal: "peekaboo",
    togglerid: ""

    })

    </script>
    </head>
    <body>
    <div id="fadeshow1"></div>
    </body>
    </html>



    could you please help me
    Last edited by noora; 07-12-2010 at 05:54 AM.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Looks like you got the asp part working great.

    Does peekaboo work when the page isn't in the iframe?

    Anyways, this is probably not the asp per se, though it may have to be corrected through the asp code. That depends upon just how much of the code is written in asp, and upon exactly what the problem is.

    I notice that the page you posted for the slide show has no DOCTYPE. Without a valid URL DOCTYPE (an HTML 5 DOCTYPE will also work), the descriptions when and if they appear will not fill the entire area intended in some browsers.

    Not having the sort of DOCTYPE I'm talking about will not prevent the descriptions from appearing though. But you haven't made clear exactly what the problem is. Is it that they are not appearing, or that they don't look right?

    Also (I tried this out) with those dimensions on the slide show and those dimensions on the iframe and scrolling auto for the iframe as you also post, there will be scroll bars on the iframe which will partially obscure the descriptions in all browsers.

    But this sounds (though, as I say, it's not clear from what you've said) like the descriptions just aren't there. And even with scroll bars and no DOCTYPE, you would see part of the descriptions.

    So if this hasn't solved the problem, we will probably need a link to the page. Once we have that, we can see the served source code to get a better idea of why these descriptions aren't showing up.

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. The Following User Says Thank You to jscheuer1 For This Useful Post:

    noora (07-12-2010)

  6. #5
    Join Date
    Jul 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for your reply
    actually the page allready have a doctype but i didnt paste the whole code
    as i said that the this code is working perfectly in Google Chrome but not in internet explorer



    as you can see the descreveal: "peekaboo" feature is not working if you open this page in internet explorer but if you open it using another like google chrome.
    Last edited by noora; 07-12-2010 at 10:53 AM.

  7. #6
    Join Date
    Jul 2010
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    i think i have problem in my internet explorer cuz sometimes its working and sometime its not

    anyway thank you very much for your helps

  8. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    What happens when it doesn't work?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •