Question:

"Back to Home" button not working in IE7?

by  |  earlier

0 LIKES UnLike

I am designing a website and I discovered the "Back to Top" and "Back to Home" buttons not working in IE7 although they were fine in FF3 and Safari. How can I make the buttons work in IE7?

I have tried both the codes for "Back to Home":

<a href="http://(my site)"><input type="submit" value="Back to Home" /></a>

and

<a href="http://(my site)"><button type=submit>Back to Home</button></a>

Thanks!

 Tags:

   Report

3 ANSWERS


  1. Internet Explorer sucks big time


  2. use a simple javascript code. Below is a simple example to use.

    &lt;html&gt;

    &lt;head&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;

    function clickMe() {

    window.location = &quot;http://www.yahoo.com&quot;

    }

    &lt;/script&gt;

    &lt;/head&gt;

    &lt;body&gt;

    &lt;input type=&quot;button&quot; onClick=&quot;clickMe();&quot; value=&quot;Go to my Site!&quot; /&gt;

    &lt;/body&gt;

    &lt;/html&gt;

  3. I don&#039;t know the answer but I bet you are clever enough to solve it!   G.   x*x

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.