NameSilo

Resizing IFRAME

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

benc811

Established Member
Impact
4
On one of my pages there is a small IFRAME to display a video but it is too small I am not sure how to enlarge it the page is here http://www.annoytheworld.com/flashworld/entertainment/Music/player.php and the code for it is
<HTML>
<HEAD>
<TITLE>AnnoyTheWorld.com Music Player
</TITLE>
<BASE href=http://216.7.189.123/~spamgame/flashworld/entertainment/Music/>
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<SCRIPT language=JavaScript>
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=475,height=200,left = 462,top = 334');");
}
// End -->
</SCRIPT>
<SCRIPT language=JavaScript>
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
<?php
if( isset($_POST['video']) ){
$video = $_POST['video']; // chosen video
}
else{
$video = "www.google.com"; // default page
}
?>
<META content="" name=Keywords>
<META content="" name=Description>
</HEAD>
<BODY text=#000000 vLink=#ff0000 aLink=#dc143c link=#ff0000 bgColor=#000000 background=http://www.annoytheworld.com/flashworld/core/images/metal_plate_back.jpg>
<P align=center>
<TABLE style="WIDTH: 563px; HEIGHT: 356px" cellSpacing=2 cellPadding=2 width=563 bgColor=#696969 border=1>
<TBODY>
<TR>
<TD>
<TABLE style="WIDTH: 311px; HEIGHT: 268px">
<TBODY>
<TR>
<TD>
<P align=center>
<IFRAME src="<?php echo $video; ?>">
</IFRAME>
</P>
</TD>
</TR>
</TBODY>
</TABLE>
<P align=center>
<FORM action="<?php echo $_SERVER['PHP_SELF']; ?>" method=post>
<SELECT name=video>
<OPTION value=http://216.7.189.123/~spamgame/flashworld/entertainment/Music/Videos/Page.html>Hip-Hop
</OPTION>
<OPTION value=http://216.7.189.123/~spamgame/flashworld/entertainment/Music/Videos/Page2.html>Countrey
</OPTION>
<OPTION value=http://216.7.189.123/~spamgame/flashworld/entertainment/Music/Videos/Page3.html>Pop
</OPTION>
<OPTION value=http://216.7.189.123/~spamgame/flashworld/entertainment/Music/Videos/Page4.html>Alt Rock
</OPTION>
<OPTION value=http://216.7.189.123/~spamgame/flashworld/entertainment/Music/Videos/Page5.html>Metal
</OPTION>
<OPTION value=http://216.7.189.123/~spamgame/flashworld/entertainment/Music/Videos/Page6.html>Classic Rock
</OPTION>
</SELECT>
<INPUT type=submit value=»>
</FORM>
</P>
</TD>
<TD>
<UL>
<LI>
<FORM name=form>
<SELECT size=1 name=site value="http://www.annoytheworld.com/flashworld/entertainment/Music/player.html"> <OPTION value="" selected>Radio Stations
<OPTION value="javascript:popUp('http://player.virginradio.co.uk/core/player/index.html?service=vc')">Classic Rock
<OPTION value="javascript:popUp('http://player.virginradio.co.uk/core/player/index.html?service=gr')">Groove and Soul<OPTION value="javascript:popUp('http://player.virginradio.co.uk/core/player/index.html?service=vr')">Virgin Radio</OPTION></SELECT>
<INPUT style="WIDTH: 25px; HEIGHT: 23px" onclick=javascript:formHandler(this) type=button size=26 value=»>
</FORM>
</LI>
</UL>
<UL>
<LI>
<FONT face=Verdana color=#ff0000 size=4>
<STRONG>
<A href="http://www.annoytheworld.com/flashworld/core/music/submit/index.php" target=_blank>
<FONT color=#ff0000>Downloads
</FONT>
</A>
</STRONG>
</FONT>
<BR>
<BR>
<STRONG>
<FONT face=Verdana>Welcome to the Annoytheworld.com Music Player, to your left is the music video area click above for live radio.
</FONT>
</STRONG>
</LI>
</UL>
</TD>
</TR>
</TBODY>
</TABLE>
</P>
</BODY>
</HTML>
Any help would be greatly appreciated I just need to make it a bit bigger.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
i think this might work, i am not sure:

change:
PHP:
<IFRAME src="<?php echo $video; ?>">
</IFRAME>

to:
PHP:
<IFRAME width="311" height="268" src="<?php echo $video; ?>">
</IFRAME>
 
0
Close
Perfect your the best.

One more question on the same page the IFRAME opens up to a page that cant be found but it says google did I put this in the wrong place?
 
0
Close
benc811 said:
Perfect your the best.

One more question on the same page the IFRAME opens up to a page that cant be found but it says google did I put this in the wrong place?


u need to add: http://
 
0
Close
wow I feal dumb lol
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back