No right click

liunx

Guest
I am making a website for someone on igl.net gaming leagues, now their site blocks javascript and well pretty much everything except for plain html, so i'm going to do my page within a frame. The page i want to add the frame to is <!-- w --><a class="postlink" href="http://www.myleague.com/botb">www.myleague.com/botb</a><!-- w --> , when it loads up it comes up with huge scroll bars.. how can i stretch the page so it fits?( the body onload thing is needed because the way you place html on the page is in the form of an announcement, so it's the only way of overidding the left menu that they gave ) this is what i tried:<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><br />
<br />
<html><br />
<head><br />
<title>Untitled</title><br />
</head><br />
<br />
<body onLoad="parent.frames[0].location='http://www.boomspeed.com/l_daddy_l/newleftcol2.html';"><br />
<br />
<br />
<br />
<iframe width=100% height=100% frameborder=0 marginwidth=0 marginheight=0 scrolling="no" src=http://www.htmlforums.com/archive/index.php/"http://www.yahoo.com"></iframe><br />
</body><br />
</html><br />
<br />
<br />
(yahoo was just an example so i could see if it worked)<br />
<br />
also can someone remind me what u put in body to stop right click?<!--content-->why would u use a no right click script anyways? i know of a few ways that even with the no right click script of how to get past them, and i am pretty retarded, so im sure that some of the smart people could find alot of ways to get past it.<!--content-->hmmmn.... a host that doesn't allow javascript but allows java applets? surely this isn't so. Javascript is non harmful to the client, and much less taxing to the user than the java virtual machine (which is called upon receiving a applet). <br />
<br />
First off, switch hosts. Then rethink why you want a no right click script. Sure it will make you feel better, but what happens after you see that its not really effectiv at stopping people the way you thought it would?<!--content-->can't really switch hosts it's a league site that does all the php / sql etc for u and it works well, i wouldn't know where to start on creating a league :( or working with databases<!--content-->what do you need it for Deep Pain<!--content-->The frame comes up in a tiny little area, with huge scroll bars.. see <!-- w --><a class="postlink" href="http://www.myleague.com/botb">www.myleague.com/botb</a><!-- w --> for example i need to know how to stretch the area out without having to put any content in. I thought just putting 10% would do but it didn't<!--content-->so give it more. you will not get rid of the scroll bars because the page is way to big for the iframe.<br />
<br />
another thing is you can't have this in the middle of the page.<br />
<br />
<html><br />
<head><br />
<title>Untitled</title><br />
</head></P><br />
<P><body onLoad="parent.frames[0].location=<br />
'http://www.boomspeed.com/l_daddy_l/newleftcol2.html';"></P><br />
<P><iframe width=100% height=100% frameborder=0 marginwidth=0 marginheight=0 scrolling="yes"<br />
src=http://www.htmlforums.com/archive/index.php/"http://www.yahoo.com"></iframe><br />
</body><br />
</html><br />
<br />
it has to be just plain ole iframe, it doesn't nned a body tag or <html> tags. another thing is you width is at 100% not 10%<br />
<br />
also your page doesn't have any closing tags for the whole page.<!--content-->
 
Back
Top