Web Analytics Made Easy -
StatCounter Help With Javascript/input - CodingForum

Announcement

Collapse
No announcement yet.

Help With Javascript/input

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help With Javascript/input

    ok im making this for a game i play, and i need it to open it in a input button, the javascript is set to auto-clean cookies.

    Here is the javascript code
    Code:
    javascript:document.cookie=%22ow_sesid=;expires=-1;path=/;domain=.sigil.***********%22;document.cookie=%22sesid_pw=;expires=-1;path=/;domain=.sigil.***********%22;document.location.href=%22http://sigil.***********/[email protected]&password=urpasshere&remember=1&submit=Login&login_submit=1%22;
    It dont show the website to the game (i guess its blocked)

    I need it to be put into a input button and set as a login link. to get an idea of what im looking for go to, http://www.shadyproductions.net/skillup , click on Leaders 2 and then click on Shady and it should load somthing in the bottom left iframe, i need it to be set like those input buttons, but for the game i play you need to clean the cookies to log into the next account. if you need any more info just tell me.

    If this helps in anyway heres the code to the page i need the input on
    Code:
    <html>
    <head>
    <STYLE TYPE="text/css">
    		body {
    			background-color: #000000;
    			color: #FFFFFF;
    		}
    		a:link {  
    			color: #FFFF00; 
    			text-decoration: none
    		}
    		a:active {  
    			color: #FFFF00; 
    			text-decoration: underline
    		}
    		a:hover {  
    			color: #FFFF00; 
    			text-decoration: underline
    		}
    		a {  
    			color: #FFFF00;  
    			text-decoration: none
    		}
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>test</title>
    </head>
    <body>
    
    <!-- Fortify Orbs -->      			
    <form name="myform" method="post" target="I1" action="http://sigil.***********/profile.php">
    <input type="hidden" name=equipitem[]" value="29518265"/>
    <input type="hidden" name=equipitem[]" value="32356817"/>
    <input type="hidden" name=equipitem[]" value="39086390"/>
    <input type="submit" name="orb1" value="Fort Orbs">
    </form>
    <!-- // Fortify Orbs --> 
    
    <!-- Fortify --> 
    <form name="myform" method="post" target="I1" action="http://sigil.***********/cast_skills.php?C=5">
    
    		
    		<input type="hidden" name="castskillid" value="28">
    		<input type="submit" name="cast" value="Fortify">
    	</form>
    <!-- // Fortify --> 
    
    <!-- Blesing From Above --> 
    <form name="myform" method="post" target="I1" action="http://sigil.***********/cast_skills.php?C=5">
    
    		
    		<input type="hidden" name="castskillid" value="2">
    		<input type="submit" name="cast" value="BFA">
    	</form>
    <!-- // Blessing From Above --> 
    
    <!-- Shield Wall --> 
    <form name="myform" method="post" target="I1" action="http://sigil.***********/cast_skills.php?C=7">
    
    		
    		<input type="hidden" name="castskillid" value="46">
    		<input type="submit" name="cast" value="Shield Wall">
    	</form>
    <!-- // Shield Wall --> 
    
    <!-- Empower --> 
    <form name="myform" method="post" target="I1" action="http://sigil.***********/cast_skills.php">
    <input type="text" name="target" id="target" value="" >
    
    		
    		<input type="hidden" name="castskillid" value="3">
    		<input type="submit" name="cast" value="Empower">
    	</form>
    <!-- // Empower -->
    
    <!-- Stealth --> 
    <form name="myform" method="post" target="I1" action="http://sigil.***********/cast_skills.php">
    <input type="text" name="target" id="target" value="" >
    
    		
    		<input type="hidden" name="castskillid" value="4">
    		<input type="submit" name="cast" value="Stealth">
    	</form>
    <!-- // Stealth --> 
    
    
    
    </body>
    </html>
    Last edited by Shady360; Sep 25, 2006, 05:16 PM.

  • #2
    Ok never mind about that other stuff up there, sounds to complicated or sumthing, ill just do sumthing else that maybe you can help me out with.

    I just need this link to open up in a iframe, the name of th frame is "I1", here the code
    Code:
    <DT><A HREF="javascript:document.cookie=%22ow_sesid=;expires=-1;path=/;domain=.sigil.***********%22;document.cookie=%22sesid_pw=;expires=-1;path=/;domain=.sigil.***********%22;document.location.href=%22http://sigil.***********/[email protected]&password=urpasshere&remember=1&submit=Login&login_submit=1%22;" ADD_DATE="1158094371" ID="rdf:#$+rrcg2">Shady</A>

    Comment

    Working...
    X