Results 1 to 10 of 10
-
14th May 2009, 02:41 PM #1OPMemberWebsite's:
MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.orgiframe 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: 5TheBinNetwork - MovieBin | TVBin | MusicBin | HDBin
TheBinNetworks News!Happy Hardcore and Drumb & Bass kick ass!
-
14th May 2009, 04:15 PM #2MemberWebsite's:
Crazy-Coderz.netYeah 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)
-
14th May 2009, 05:36 PM #3
-
14th May 2009, 05:46 PM #4OPMemberWebsite's:
MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.orgYeah, 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!
-
14th May 2009, 05:58 PM #5MemberWebsite's:
LulzCovers.com LulzTroll.comExample 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
-
14th May 2009, 08:43 PM #6MemberWebsite's:
wznetwork.comCode:<script type="javascript"> function jumpScroll() { window.scroll(0,600); } </script> <body onload="jumpScroll()"> content goes here </body>
-
15th May 2009, 08:32 AM #7OPMemberWebsite's:
MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.orgright, 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>
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">$vbphraseCode:: [<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 600pxTheBinNetwork - MovieBin | TVBin | MusicBin | HDBin
TheBinNetworks News!Happy Hardcore and Drumb & Bass kick ass!
-
15th May 2009, 08:02 PM #8MemberWebsite's:
wznetwork.comCode:<script type="javascript"> function jumpScroll() { window.scroll(0,600); } </script> <body onload="jumpScroll()"> content goes here </body>
-
15th May 2009, 09:52 PM #9OPMemberWebsite's:
MovieBin.org TVBin.org MusicBin.org HDBin.org TheBinNetwork.orghmm,
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">$vbphraseCode:: [<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>
TheBinNetwork - MovieBin | TVBin | MusicBin | HDBin
TheBinNetworks News!Happy Hardcore and Drumb & Bass kick ass!
-
15th May 2009, 10:28 PM #10MemberWebsite's:
wznetwork.comThe 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.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Need Help] IFrame Plugin
By Villa in forum WordpressReplies: 1Last Post: 12th Apr 2012, 08:47 AM -
WTS: iFrame Traffic
By ebizzz in forum Traffic Market (Buy, Sell and Trade)Replies: 3Last Post: 6th Mar 2012, 12:34 PM -
iFRAME reloading
By TechPro in forum Web Development AreaReplies: 6Last Post: 13th Jan 2012, 05:33 PM -
HTML - iframe help
By Ashleyuk1984 in forum Web Application/Script SupportReplies: 2Last Post: 31st Dec 2011, 07:12 AM -
[Buying] Traffic iFrame/Pop up/Bux
By EnCiPh3r in forum Completed TransactionsReplies: 5Last Post: 22nd Oct 2011, 05:40 PM
themaManager - edit and manage...
Version 4.01 released. Open older version (or...