Hack Forums
[Help] (HTML) Widget Breaks my site - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5)
+---- Thread: [Help] (HTML) Widget Breaks my site (/showthread.php?tid=3255003)



(HTML) Widget Breaks my site - NZT - Feb 13, 2013

How the page looks normally:

[Image: QSmgBwR.png]

When I add
Code
<script type="text/javascript" src="http://fileice.net/gateway/mygate.php?id=4e2b373447786d4b756a493d"></script>
between <head> </head> tags.

it turns into this:
[Image: 6iKwIm0.jpg]

Anyone know how I can fix?

Full page code:

Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>BLAHBLAHBLAH</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<script type="text/javascript" src="assets/js/jquery.js"></script>
<script type="text/javascript" src="assets/js/validate.js"></script>
<script type="text/javascript" src="assets/js/hoverIntent.js"></script>
<script type="text/javascript" src="assets/js/wizardPro.min.js"></script>
<script type="text/javascript">
                $(document).ready(function(){
                    var wizard = $("#wizard").wizardPro();
                    $("#ContactWizard").wizardPro();
                });
            </script>
<style type="text/css">
                body
        {
            background-image:url('img/bg1.png');
            background-repeat:repeat-x;
        }</style>
<link href="assets/css/wizardPro.css" media="screen" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://fileice.net/gateway/mygate.php?id=4e2b373447786d4b756a493d"></script>
</head>

<body>

<div style="width: 80%; margin: auto; text-align: center">
<div class="header"><a href="index.html"><img src="img/Banner2.png" alt="" border="0" /></a></div>
<br />
<div id="ContactWizard" class="wizard-default-style js">
<ul class="steps">
<li>Redeem</li>
<li>...</li></ul>
<div class="step_content">[b]<!--[/b] Wizard - Step 1 -->
<div id="step-1" class="step one_column">
<div class="column_one">
<h3>Congratulations, you're almost there!</h3>
<blink><strong><font color="FF0000">Please press &quot;Redeem Voucher&quot; to reveal the first five digits blahblahblah </font></strong></blink>
<p><input value="?????-7RG4L-BLAH-BLAH-BLAH" name="code" readonly="readonly" size="45" text="" style="text-align: center" /></p>

<button onclick="startGateway('146543');;"></span>Redeem Voucher - Click here!</span></button></div></div>


        </div>


<hr />

<div class="footer">
<center>
<p>&nbsp;</p></center></div></div></div></div>
</body>

</html>



* - Poppins - Feb 13, 2013

Have you actually tested the script you're trying to include?

http://Foolish.net/gateway/mygate.php?id=4e2b373447786d4b756a493d


* - redpois0n - Feb 13, 2013

(Feb 13, 2013 11:54 AM)Poppins Wrote:  Have you actually tested the script you're trying to include?

http://Foolish.net/gateway/mygate.php?id=4e2b373447786d4b756a493d

I think he wants file ice and that is censored to foolish here 😝


* - Poppins - Feb 13, 2013

(Feb 13, 2013 12:34 PM)redpois0n Wrote:  I think he wants file ice and that is censored to foolish here 😝

Ohhh I see my bad haha                  


* - NZT - Feb 13, 2013

Anyone know how I can actually fix this? :?

Thanks


* - /Ninja - Feb 13, 2013

what are you trying to accomplish to begin with?

I know you want to fix it but what is your end goal of doing this.. i may be able to help


* - bBb_tTt - Feb 15, 2013

The HTML source of your page doesn't matter.
Your problem is caused by the JavaScript you want to include. So you have to post that, not your HTML, so we can help you.