Activity Stream
48,167 MEMBERS
61146 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 10
  1.     
    #1
    Member
    Website's:
    MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.org

    Default iframe question

    right,

    on my site i got an iframe which has an option to open and close it,

    i was wondering is there any way i can get it to like auto scroll down or the iframe open up at a position like 600px down the page?
    sherwood Reviewed by sherwood on . iframe question right, on my site i got an iframe which has an option to open and close it, i was wondering is there any way i can get it to like auto scroll down or the iframe open up at a position like 600px down the page? Rating: 5
    TheBinNetwork - MovieBin | TVBin | MusicBin | HDBin
    TheBinNetworks News!
    Happy Hardcore and Drumb & Bass kick ass!

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    Crazy-Coderz.net
    Yeah I would also like to know how to do that.
    Scammers: NAVID-DEVIL
    Don't BUY host from him!
    Scamming People Part 1: http://www.KWWHunction.com/showthread.php?t=28840
    Scamming People Part 2: http://www.KWWHunction.com/showthread.php?t=28951

    Buy hosting from Storming :) (WRZHost.com)



  4.     
    #3
    Banned

  5.     
    #4
    Member
    Website's:
    MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.org
    Yeah, if you read the question, i didn't need to know how to make an iframe as I have already made one,
    What i need is when my iframe is opened it to be positioned at a certain place.
    TheBinNetwork - MovieBin | TVBin | MusicBin | HDBin
    TheBinNetworks News!
    Happy Hardcore and Drumb & Bass kick ass!

  6.     
    #5
    Member
    Website's:
    LulzCovers.com LulzTroll.com
    Example of Resizing iframe according to its own content:

    Code: 
    In the head of your document enter the following JavaScript code:
     <script language="JavaScript">
    <!--
    function calcHeight()
    {
      //find the height of the internal page
      var the_height=
        document.getElementById('the_iframe').contentWindow.
          document.body.scrollHeight;
    
      //change the height of the iframe
      document.getElementById('the_iframe').height=
          the_height;
    }
    //-->
    </script>
    
      and in the body create the iframe tag: 
    
    <iframe width="700" id="the_iframe" 
        onLoad="calcHeight();" 
        src="testing_page.shtml" 
        scrolling="NO" 
        frameborder="1" 
        height="1">
    An iframe capable browser is 
    required to view this web site.
    </iframe>
    
    Contact me for Traffic, SEO, WCDDL, Wordpress, IPB related Services or queries.
    Template Designing, PSD to HTML, Wordpress


  7.     
    #6
    Member
    Website's:
    wznetwork.com
    Code: 
    <script type="javascript">
    function jumpScroll() {
           window.scroll(0,600);
    }
    </script>
    
    <body onload="jumpScroll()">
    content goes here
    </body>

  8.     
    #7
    Member
    Website's:
    MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.org
    right, well i'm not to clued up on html and coding and crap like that so i'm still a bit stuck.

    where would I add this:
    Code: 
    <script type="javascript">
    function jumpScroll() {
           window.scroll(0,600);
    }
    </script>
    
    <body onload="jumpScroll()">
    content goes here
    </body>
    As what I am trying to do is integrate a link checker in to the code box in vbulletin,

    this is what i got so far for coding it:

    [CODE]<div style="margin:20px; margin-top:5px">
    <div class="smallfont" style="margin-bottom:2px">$vbphrase
    Code: 
    :&nbsp;[<a onclick="HideFrameComingSoon()">Click to Open/Close Link Checker</a>]
    
    <iframe id="comingsoon" allowtransparency="true" style="display:none; padding: 10px" scrolling="yes" src="http://tubenow.net/check.php?url=$_SERVER[SERVER_NAME]$_SERVER[REQUEST_URI]" width="80%" height="550"></iframe>
    <script language="javascript">
    <!--
    function HideFrameComingSoon() {
    var fr = document.getElementById ("comingsoon");
    if(fr.style.display=="none") {
    fr.style.display="block";
    }
    else {
    fr.style.display="none";
    }
    }
    -->
    </script></div>
        <pre class="alt2" dir="ltr" style="
            margin: 0px;
            padding: $stylevar[cellpadding]px;
            border: 1px inset;
            width: $stylevar[codeblockwidth];
            height: {$blockheight}px;
            text-align: left;
            overflow: auto">$code</pre>
    </div>

    The bit in bold is the link checking part.

    And what I am wanting to do is when someone clicks Open (to open the iframe) is for it to open but i want it to open at a certain position something like 600px
    TheBinNetwork - MovieBin | TVBin | MusicBin | HDBin
    TheBinNetworks News!
    Happy Hardcore and Drumb & Bass kick ass!

  9.     
    #8
    Member
    Website's:
    wznetwork.com
    Code: 
    <script type="javascript">
    function jumpScroll() {
           window.scroll(0,600);
    }
    </script>
    
    <body onload="jumpScroll()">
    content goes here
    </body>
    In the actual page loading inside the iframe, the content of the page needs to be where it says "content goes here".

  10.     
    #9
    Member
    Website's:
    MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.org
    hmm,
    lol sorry. i'm still lost,

    i tried this thing in to places,
    1st I put the first part in the header template and the seccond part in the footer but didn't work,
    so i then tried to put in into the actual bbcode template where the iframe is like this.

    [code]<div style="margin:20px; margin-top:5px">
    <div class="smallfont" style="margin-bottom:2px">$vbphrase
    Code: 
    :&nbsp;[<a onclick="HideFrameComingSoon()">Click to Open/Close Link Checker</a>]
    <script type="javascript">
    function jumpScroll() {
           window.scroll(0,600);
    }
    </script>
    
    <body onload="jumpScroll()"> 
     <iframe id="comingsoon" allowtransparency="true" style="display:none; padding: 10px" scrolling="yes" src="http://tubenow.net/check.php?url=$_SERVER[SERVER_NAME]$_SERVER[REQUEST_URI]" width="80%" height="550"></body></iframe>
    
    <script language="javascript">
    <!--
    function HideFrameComingSoon() {
    var fr = document.getElementById ("comingsoon");
    if(fr.style.display=="none") {
    fr.style.display="block";
    }
    else {
    fr.style.display="none";
    }
    }
    -->
    </script></div>
        <pre class="alt2" dir="ltr" style="
            margin: 0px;
            padding: $stylevar[cellpadding]px;
            border: 1px inset;
            width: $stylevar[codeblockwidth];
            height: {$blockheight}px;
            text-align: left;
            overflow: auto">$code</pre>
    </div>
    any help?
    TheBinNetwork - MovieBin | TVBin | MusicBin | HDBin
    TheBinNetworks News!
    Happy Hardcore and Drumb & Bass kick ass!

  11.     
    #10
    Member
    Website's:
    wznetwork.com
    The actual PAGE being loading INSIDE the iframe is where the code should be.. So in tubenow.net/check.php

    That file needs to be edited...

    You can send me the PHP file check.php and I can do it if you can't do it yourself.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Need Help] IFrame Plugin
    By Villa in forum Wordpress
    Replies: 1
    Last Post: 12th Apr 2012, 08:47 AM
  2. WTS: iFrame Traffic
    By ebizzz in forum Traffic Market (Buy, Sell and Trade)
    Replies: 3
    Last Post: 6th Mar 2012, 12:34 PM
  3. iFRAME reloading
    By TechPro in forum Web Development Area
    Replies: 6
    Last Post: 13th Jan 2012, 05:33 PM
  4. HTML - iframe help
    By Ashleyuk1984 in forum Web Application/Script Support
    Replies: 2
    Last Post: 31st Dec 2011, 07:12 AM
  5. [Buying] Traffic iFrame/Pop up/Bux
    By EnCiPh3r in forum Completed Transactions
    Replies: 5
    Last Post: 22nd Oct 2011, 05:40 PM

Tags for this Thread

BE SOCIAL