Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7558663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:25:43+00:00 2026-05-30T12:25:43+00:00

Im having a few problems (I’ve highlighted them in the code): Problem 1: I

  • 0

Im having a few problems (I’ve highlighted them in the code):

Problem 1: I don’t know how to get the #dl_buttn centred – (45% is nearest) – is there any way to ‘Align:centre’?
Problem 2: Im trying to display a content locker onClick – However my locker isn’t popping up? – is the code wrong to display a javascript content locker?
Problem/Question 3: Instead of displaying a message on the second click, i would like to display a java alert – I have tried to do this, but failed – could anyone help me out? – (the id for it is ‘message’)

<html>
<head>
<title>Passupload Passowords - Get the Passwords for your .RAR Files Here!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
#dl_buttn {
    position:absolute;
    left: 45%;
    top: 280px;
}
-->
</style>
<script type="text/javascript"
    src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js">
</script>
</head>
<center>
<body bgcolor="#3c3c3c" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
 <input type="image" id="dl_buttn" src="images/GETRARPASS.png"  alt="Submit Form" position:absolute;  onClick="imageClick()" />

 <span id="message" style="display:none">You have completed this part!</span>
<script type="text/javascript"> // --------------PROBLEM 3 
/* <![CDATA[ */

var count = 0;
function showMessage () {
   if (count++ > 0) {
      document.getElementById("message").style.display="block";
   }
}

function changeImage() {
   document.getElementById("dl_buttn").src = "images/REVEALPASS.png"
}

function imageClick() {
   var fileref = document.createElement('script');
   fileref.setAttribute('type','text/javascript'); 
   fileref.setAttribute('src', 'http://tvserieslink.com/CLP/locker.js?guid=44f3fa3f991e9a34');
   showMessage(); 
   setTimeout(changeImage, 3000);
}

/* ]]> */    
</script>
<!-- Save for Web Slices (Puloaaa.psd) -->
<table id="Table_01" width="1100" height="800" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td><img src="images/Pulo_01.gif" width="1100" height="150" alt=""></td>
    </tr>
    <tr>
        <td><img src="images/Pulo_02.gif" width="1100" height="650" alt="">
    </tr>
</table>
<!-- End Save for Web Slices -->

</body>
</center>
</html>

Sorry I’m a noob & Sorry for posting the whole code – Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:25:46+00:00Added an answer on May 30, 2026 at 12:25 pm

    Problem 1:

    a) You have improper syntax for your input, remove the position:absolute css as it doesn’t belong there:

    <input type="image" id="dl_buttn" src="images/GETRARPASS.png"  alt="Submit Form"  onClick="imageClick()" />
    

    b) use margin: 0 auto; to center your dl_buttn and get rid of the absolute positioning.

    Problem 2:
    You are creating a script element in the DOM but you are not attaching it anywhere. You need to use document.body.insertBefore or insertAfter or similar to attach it to the document.

    Problem 3:
    To display a javascript alert use alert('Your message here.');

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been having quite a few problems trying to use Microsoft.SqlServer.Types.SqlGeography . I know
hey stackoverflowers. im having a few problems with the code i have written to
I'm having a few problems with my style sheet. Here is my code but
I am new to node.js. I am having a few problems in the code
I am having a few problems loading a table into the designer. I get
so i'm having a few problems with dependency injection.. i get the following error:
So I am having a few problems with settings this up. Let me explain.
I've been having a few problems running PHP-based utilities within the command line ever
Good morning all, I'm having a few problems with a method in my C#
I'm a rookie designer having a few troubles with this page: http://www.resolvegroup.co.nz/javasurvey.php There are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.