Search the Community

Showing results for tags 'Programing'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Pokémon Vortex Battle Arena
    • What is Pokémon Vortex Battle Arena?
    • Pokémon Vortex Central
    • Pokémon Vortex Hub
    • Multi-Language Vortex Hub
  • Other Topics
    • General Conversation
    • Gaming Center
    • Entertainment Discussion
    • Create & Discover
  • Collections
    • Archives
  • Pokémon Vortex's Giveaways
  • Pokémon Vortex's Trades
  • Pokémon Vortex's General
  • Artic Eevees's Topics
  • The Kappa Squad (TKS)'s Announcements
  • The Kappa Squad (TKS)'s Trades
  • The Kappa Squad (TKS)'s Giveaways
  • The Kappa Squad (TKS)'s Contests
  • The Kappa Squad (TKS)'s Discussions
  • P0RYGANG's Get-To-Know
  • Everwinter's Announcements
  • P0RYGANG's Discussions
  • Kutta's Topics
  • Everwinter's Trades
  • Everwinter's Discussion
  • P0RYGANG's Giveaways
  • Everwinter's Giveaways
  • Everwinter's Art Bulletin
  • Everwinter's Writing Corner
  • Everwinter's Contests
  • Pokemon Masters's give a ways
  • Team Diving Lugias's Topics
  • Team Diving Lugias's Clan Forums
  • Ace Of Spades's Topics
  • VORTEX's Topics
  • Boneless's Giveaways
  • Kappa's Requirements
  • THE UNDEAD CLAN's JOIN THIS CLAN

Calendars

  • Vortex Calendar
  • Community Calendar
  • Pokémon Calendar
  • Artic Eevees's Events
  • Kutta's Events
  • POKEMON HUNTERS's Events
  • Everwinter's Events
  • P0RYGANG's Events(Giveaways by Mods and Poryboi)
  • Po...'s Events

Found 17 results

  1. I am a programmer. I developed a Android App which is about Pokemon Go Camera. You can take photo with different Pokemon (Gen 1 & 2). Hope you can enjoy it and tell me if you have any feedback GooglePlay Url: Camera for Pokemon - Android Apps on Google Play Screenshot (Picture is me )
  2. Programing Forums Theme

    For those of you who want something new, here's a blue Forums theme I threw together. You need to install the Stylish extension/addon on Firefox, Chrome, or Opera. https://userstyles.org/styles/149955/forums-blue-theme Gallery Feel free to edit it however you please. I'm not taking any requests. If you want to change the color, check the link. I've provided the hex codes I used.
  3. Notes: I will not be running this site myself, so this thread will not include a link to a different game Possibly final edit. Longer-lasting links added. I'm currently working on an open source Pokemon RPG made with PHP Pokemon data was obtained from veekun Information: Screenshots: Source (read below before using): 2017-08-13 Next release (last updated on 2017-08-13) How to set up the source: If you notice any sensitive information in any of the sources, please tell me immediately, thanks!
  4. Hey guys, so i need some training on javascript, if you got any small tasks you want to do with javascript, leave them in a comment and i'll try to make a script for it Challenge number 1 : Decimal to binary conversion (with the ability to choose how may bits) Status: Completed Code : Challenge number 2 : The sum of two decimal numbers (From FlameScape) Status : Finished Code : Challenge number 3 : return The factorial of a number Status: Completed Code : P.s : Any requests for bots will be forwarded to mods.
  5. Programing Fanss Games

    Snake game: <center> <canvas id="canvas" width="450" height="450"></canvas> <p><button onclick="goFullScreen();" acceskey="13">Go Fullscreen</button></p> </center> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> <script> $(document).ready(function(){ var canvas = $("#canvas")[0]; var ctx = canvas.getContext("2d"); var w = $("#canvas").width(); var h = $("#canvas").height(); var cw = 10; var d; var food; var score; var snake_array; function init() { d = "right"; create_snake(); create_food(); score = 0; if(typeof game_loop != "undefined") clearInterval(game_loop); game_loop = setInterval(paint, 60); } init(); function create_snake() { var length = 1; snake_array = []; for(var i = length-1; i>=0; i--) { snake_array.push({x: i, y:0}); } } function create_food() { food = { x: Math.round(Math.random()*(w-cw)/cw), y: Math.round(Math.random()*(h-cw)/cw), }; } function paint() { ctx.fillStyle = "Black"; ctx.fillRect(0, 0, w, h); ctx.strokeStyle = "Green"; ctx.strokeRect(0, 0, w, h); var nx = snake_array[0].x; var ny = snake_array[0].y; if(d == "right") nx++; else if(d == "left") nx--; else if(d == "up") ny--; else if(d == "down") ny++; if(nx == -1 || nx == w/cw || ny == -1 || ny == h/cw || check_collision(nx, ny, snake_array)) { init(); return; } if(nx == food.x && ny == food.y) { var tail = {x: nx, y: ny}; score++; //Create new food create_food(); } else { var tail = snake_array.pop(); tail.x = nx; tail.y = ny; } snake_array.unshift(tail); for(var i = 0; i < snake_array.length; i++) { var c = snake_array[i]; //Lets paint 10px wide cells paint_cell(c.x, c.y); } paint_cell(food.x, food.y); var score_text = "Score: " + score; ctx.fillText(score_text, 5, h-5); } function paint_cell(x, y) { ctx.fillStyle = "orange"; ctx.fillRect(x*cw, y*cw, cw, cw); ctx.strokeStyle = "Black"; ctx.strokeRect(x*cw, y*cw, cw, cw); } function check_collision(x, y, array) { for(var i = 0; i < array.length; i++) { if(array[i].x == x && array[i].y == y) return true; } return false; } $(document).keydown(function(e){ var key = e.which; //We will add another clause to prevent reverse gear if(key == "37" && d != "right") d = "left"; else if(key == "38" && d != "down") d = "up"; else if(key == "39" && d != "left") d = "right"; else if(key == "40" && d != "up") d = "down"; }) }) function goFullScreen(){ var canvas = document.getElementById("canvas"); if(canvas.requestFullScreen) canvas.requestFullScreen(); else if(canvas.webkitRequestFullScreen) canvas.webkitRequestFullScreen(); else if(canvas.mozRequestFullScreen) canvas.mozRequestFullScreen(); } function pauseGame() { if (!gamePaused) { game = clearTimeout(canvas); gamePaused = true; } else if (gamePaused) { game = setTimeout(gameLoop, 1000 / 30); gamePaused = false; } } function keyDown(e) { if (e.keyCode == 13) pauseGame(); } </script> Well, pausegame doesn't work. But the game works.
  6. Rotating Card [CSS] After some experimentation I came up with a pretty cool thing for a rotating banner/card/whatever you want to call it. I shared this so that you guys can develop this little thing to a very cool code. div { width: 100px; height: 100px; background: red; -webkit-transition: width 2s, height 2s, -webkit-transform 2s; transition: width 2s, height 2s, transform 2s; } div:hover { width: 300px; height: 300px; -webkit-transform: rotate(360deg); transform: rotate(1080deg); } div.card { width: 250px; box-shadow: 4px 8px rgba(, , , 0.2), 6px 20px rgba(, , , 0.19); text-align: center; } div.header { background-color: #4CAF50; color: white; padding: 10px; font-size: 40px; } div.container { padding: 10px; } Here is the HTML <div class="card"> <div class="header"> <h1>Heading</h1> </div> <div class="container"> <p>Your Text goes here!</p> </div> </div> Example :
  7. Hello, whenever i get bored, i decide to make a minigame, here is a preview of one i made with some HTML/CSS and jquery : HTML file : <!DOCTYPE html> <html> <head> <title>Minigame :3</title> <link rel="stylesheet" type="text/css" href="css1.css"> <script src="Jquery.min.js"></script> </head> <body> <p>Keep clicking randomize until you get a special prize! :D</p> <table cellspacing="15"> <tr> <td><div id="1"></div></td> <td><div id="2"></div></td> </tr> <tr> <td><div id="3"></div></td> <td><div id="4"></div></td> </tr> <table> <ul> <li><div id="butt" value="Randomize!">Randomize!</div></li></br></br> <li><div id="win">You win</div></li> <ul> <script type="text/javascript" src="bot.js"></script> </body> Css file : table { border: none; padding: 10px; } tr { display: inline-block; } div { height: 150px; width: 150px; background-color: grey; border-radius: 7px; } ul { list-style-type: none; } #butt { height: 30px; width: 100px; background-color: blue; color: white; padding: 5px; } #butt:hover { cursor: pointer; } #win { height: 30px; width: 60px; background-color: green; color: white; padding: 5px; margin-right: 200px; } Jquery file : $(document).ready(function() { $('#win').hide(); var colors = ["blue","red","yellow","green"]; $("#butt").click(function() { $("#1").css("background-color", colors[Math.floor(Math.random()*4)]); $("#2").css("background-color", colors[Math.floor(Math.random()*4)]); $("#3").css("background-color", colors[Math.floor(Math.random()*4)]); $("#4").css("background-color", colors[Math.floor(Math.random()*4)]); if (!($('#1').css('background-color') == $('#2').css('background-color') && $('#1').css('background-color') == $('#3').css('background-color') && $('#1').css('background-color') == $('#4').css('background-color'))) { } else { $('#win').show("slow"); $("#butt").hide(); } }); }); Paste each one of these files in seperate notepads (would be easier if you had notepad++) and open the HTML file only in chrome (or your browser)
  8. Programing Captcha

    code Replace password with the code <SCRIPT> function passWord() { var testV = 1; var pass1 = prompt('Please Enter Your Password',' '); while (testV < 3) { if (!pass1) history.go(-1); if (pass1.toLowerCase() == "password") { alert('You are human!'); window.open('www.pokemon-vortex.com'); break; } testV+=1; var pass1 = prompt('Access Denied - Password Incorrect,Sorry, Please Try Again.','Password'); } if (pass1.toLowerCase()!="password" & testV ==3) history.go(-1); return " "; } </SCRIPT> <CENTER> <FORM> <input type="button" value="Enter Pokémon Vortex" onClick="passWord()"> </FORM> </CENTER>
  9. Making a nice header without using bootstrap or any other CSS frameworks, first you'll need create a HTML look similar to the one given below. <!-- Author: Hercules */ --> <!DOCTYPE HTML> <meta charset="utf8" lang="en"> <html> <head> <link rel="stylesheet" type="text/css" href="layout.css" /> <link rel="icon" href="favicon.png" /> </head> <body> <div id="header"> <ul> <li><a href="/index.php">Home</a></li> <li><a href="/servers.php">Servers</a></li> <li><a href="/webchat.php">Webchat</a></li> <li><a href="/staff.php">Staff</a></li> <li><a href="/contact.php">Contact</a></li> </ul> <div class="logo"><a href="http://www.kuroi.gq/">Kuroi</a></div> </div> </body> </html> Here is the CSS I had made for the header, you can focus on the #header tags and the #logo tags for the header. /* Author: Hercules */ body { background: url(asdas.png) repeat; } ::selection { background: #ffb7b7; /* WebKit/Blink Browsers */ } ::-moz-selection { background: #ffb7b7; /* Gecko Browsers */ } a { text-decoration: none; color: green; } @font-face { font-family: "Roboto-Regular"; src: url(RobotoCondensed-Regular.ttf); } @font-face { font-family: "Roboto-Light"; src: url(RobotoCondensed-Light.ttf); } @font-face { font-family: "Roboto-Medium"; src: url(Roboto-Medium.ttf); } @font-face { font-family: "Roboto-Italic"; src: url(Roboto-Italic.ttf); } body { font-family: "Roboto-Light"; } #header { width: 100%; height: 60px; background-color: #425A87; position: fixed; top: ; left: ; border-top: 5px solid orange; box-shadow: 0px 0px 4px 0px #000; } #header ul { margin-left: auto; margin-right: auto; list-style-type: none; text-align: left; font-family: "Roboto-Regular"; color: #fff; } .logo { z-index: 9999; text-align: right; position: absolute; font-size: 40px; padding: 0px 20px 4px 0px; color: white; text-decoration: none; font-family: "Roboto-Regular"; top: ; right: ; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .logo:hover { z-index: 9999; text-align: right; text-shadow: 0px 0px 4px white; position: absolute; font-size: 40px; padding: 0px 20px 4px 0px; color: white; text-decoration: none; font-family: "Roboto-Regular"; top: ; right: ; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #header a { text-decoration: none; color: #fff;} #header ul li { display: inline; padding: 6px; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #header ul li:hover { display: inline; padding: 6px; border-bottom: 3px solid #fff; } Feel free to leave comments regarding any query, I am bad at explanation but I would answer it better if you comment that what you didn't get.
  10. Programing TOH's HTMLs

    <HTML> <HEAD><TITLE>Sign Up</TITLE></HEAD> <BODY> Sign-Up Form <FORM ACTION="://YOURWEBSITE.COM/prog/adduser"METHOD="POST"> <P>USERNAME:</LABEL> <INPUT ID="Username"TYPE="TEXT"<BR> <P>PASSWORD<INPUT TYPE="Password"NAME="Password"SIZE="20"<BR> <P><LABEL FOR="EMAIL">EMAIL:</LABEL> <INPUT ID="EMAIL"TYPE="TEXT"><BR> <INPUT NAME="SEX"VALUE="MALE" TYPE="RADIO">MALE<BR> <INPUT NAME="SEX"VALUE="FEMALE" TYPE="RADIO">FEMALE<BR> <INPUT TYPE="CHECKBOX"NAME="CHECK">I agree to the T & C.<BR><BR> <INPUT VALUE="Sign-Up"TYPE="SUBMIT"><INPUT TYPE="RESET"><P> </FORM> </BODY></HTML> The above form is a Sign Up form
  11. For those people who have been helping us by doing some of the wiki Pokemon pages, this code here should reduce your work by loads. I had made this code long ago, but this 4th version of the code is probably the easiest and the best version. The code is made using JAVA programming language, so it's platform independent and anyone can use it. Firstly, if you have no experience or knowledge about JAVA, I suggest using a software named BlueJ, which can be used to run the code. Instructions for people who will use BlueJ (1) Download the BlueJ and JDK software from this link: http://www.bluej.org/download/files/bluej-bundled-317.msi (2) Install JDK first, and then install BlueJ (3) Open BlueJ, click on "Project", and click on "New Project" (4) In the dialogue box which opens, select path and name the folder as "Vortex", then click on "Create" (5) On clicking on "Create", a new BlueJ will open, and your screen will be like this: (6) Click on "New Class", and put any name you want on the box that opens: (7) Put any name, "abcde" is what I have used, and click on "Ok" (8) A brown colored box will appear, with the name "abcde", like this: (9) Now, copy the code from below, and go back to the BlueJ screen. (10) Double click and open the brown box which appears on your screen. Delete all the code which is there already. (11) Paste the code you copied from here over there, and click on "Compile" : (12) Now click on "Close", which is present on the same tool bar where "Compile" option was. (13) You will see that the box has changed it's name to "FileOutput4" and it looks like this: (14) Right click on that box, click on "void main", and that's it, you're done! Instructions for people who will use JAVA: Nothing special for you guys, just add "String[] args" as the parameter in the main function, and run it in the usual way. **Note for all users** Please open the code and read the portion named as "INSTRUCTIONS" on the beginning of the code. You must follow those rules and do what has been stated there. Code: import java.io.*; import java.util.*; //Coded by Anindit Sinha™ /* * * Welcome to the best possible version of the attack list code * ============ * INSTRUCTIONS * ============ * 1. In case you are using JAVA, just go to the folder where this code and it's class is saved, and create a notepad (.txt file) * and name it "Moveset1.txt". BlueJ users ignore this instruction and move ahead to instruction 2. * 2. In case you are using BlueJ, go to the same folder where you have created the package named "Vortex", open the folder * named "Vortex", and create a notepad (.txt file) and name it "Moveset1.txt". * 3. Now, copy all data from theta.pokemon-vortex.com/moves.php and paste all data in this "Moveset1.txt" and save the file. * 4. Go to the same folder where you have saved the "Moveset1.txt" * 5. Create a new notepad (.txt document) named "AttackNames.txt" * 6. Copy the pokemon attacks of the pokemon page you want to make from this pastebin: http://pastebin.com/JjFQYzm5 * 7. Paste the attacks in this "AttackNames.txt" * 8. Save this notepad document * 9. Run this program to get the full code. * 10. For the next pokemon's attacks, open the same "AttackNames.txt" * 11. Delete the attacks which are already there. * 12. Repeat from Step No. 7 * * ENJOY * */ class FileOutput4 { public static void main()throws IOException { BufferedReader br1=new BufferedReader(new FileReader("AttackNames.txt")); String x=""; int cn=1-1; String a[]=new String[99]; for(int j=cn;j<99;j++) a[j]=null; while((x=br1.readLine())!=null) { String split[]=x.split(","); for(int j=cn;j<split.length;j++) a[j]=split[j]; } System.out.println("===Purchasable Attacks==="); System.out.println("<!-- Attacks Table -->"); System.out.println("<div align='center'>"); System.out.println("{| style=\"text-align: center; float: center; margin-top: 10px; border-radius: 10px;\""); System.out.println("|- class=\"container-attacks\""); System.out.println("| class=\"attacks\""+"|'''Attack'''"); System.out.println("| class=\"attacks\""+"|'''Type'''"); System.out.println("| class=\"attacks\""+"|'''Price'''"); System.out.println("| class=\"attacks\""+"|'''Power'''"); System.out.println("| class=\"attacks\""+"|'''Accuracy'''"); System.out.println("| class=\"attacks\""+"|'''Category'''"); for(int j=cn;j<a.length;j++) { BufferedReader br=new BufferedReader(new FileReader("Moveset1.txt")); while((x=br.readLine())!=null) { String moveName=""; StringTokenizer str=new StringTokenizer(x); String nmbr=str.nextToken(); if(str.countTokens()==6) moveName=str.nextToken(); else if(str.countTokens()==7) moveName=str.nextToken()+" "+str.nextToken(); else if(str.countTokens()==8) moveName=str.nextToken()+" "+str.nextToken()+" "+str.nextToken(); String type=str.nextToken(); String type2=type.toLowerCase().charAt()+type.substring(1); String power=str.nextToken(); String accuracy=str.nextToken(); String spnm=str.nextToken(); String cost=str.nextToken(); if(a[j]!=null && a[j].equalsIgnoreCase(moveName)) { System.out.println("|- class=\"container-"+type2+"\""); System.out.println("| class=\""+type2+"\"|"+moveName); System.out.println("| class=\""+type2+"\"|[[File:"+type+".gif|link="+type+"|"+type+"]]"); System.out.println("| class=\""+type2+"\"|[[File:Pmoney.gif|Pokémoney]]"+cost); System.out.println("| class=\""+type2+"\"|"+power); System.out.println("| class=\""+type2+"\"|"+accuracy); System.out.println("| class=\""+type2+"\"|[[File:"+spnm+".png|"+spnm+"]]"); } } } System.out.println("|}"); System.out.println("</div>"); System.out.println("<!-- End Attacks Table -->"); } } That's about all, just copy the output you get from the Output window and paste it on the wiki in the attack area of the pokemon you are doing. This is how the output will look for BlueJ users: JAVA users will get their output on the usual command prompt window. That's it, enjoy. Requesting @Patrick or @Rob to verify and tell the people that this code doesn't contain anything malicious or something which may harm their computers. Feel free to contact me for any further information, though it might take me some time to reply since I am not going to be very active here for the time being. **In case code breaks or does not work when copied and pasted from here, copy the code from this link: http://pastebin.com/Q5WTeZgR **
  12. <?php $tries = 0; while(true){ // Roll two dice $dice1 = random_int(1, 6); $dice2 = random_int(1, 6); echo $dice1 . ' - ' . $dice2; $tries++; // End loop when a double six is rolled if($dice1 == 6 && $dice2 == 6){ $throws = $tries > 1 ? 'throws' : 'throw'; echo "<p>It took $tries $throws to get a double six"; break; } } As the title says, a quick simple dice rolling mini-game using PHP 7's new function for random integers. It simply rolls two dice until it hits a double six and displays how many rolls it took to get a double six.
  13. Programing Basic IRC Python Bot

    ##################################### ### Basic IRC bot coded in python ### ##################################### ############# Hercules ############## ##################################### import sys import socket server = "irc.kuroi.gq" channel = "#test" bot_nick = "Ballerina" port = 6667 nickserv_password = "nickserv_password" irc = socket.socket(socket.AF_INET, socket.SOCK_STREAM) print "Connecting on the "+ server irc.connect((server, port)) irc.send("USER "+ bot_nick +" "+ bot_nick +" "+ bot_nick +" :Just an IRC bot!\n") irc.send("NICK "+ bot_nick +"\n") irc.send("PRIVMSG NickServ IDENTIFY :"+ nickserv_password +"\n") irc.send("JOIN "+ channel +"\n") while 1: text=irc.recv(2040) print text if text.find('PING') != -1: irc.send('PONG '+ text.split() [1] + '\r\n') if text.find(':!hi') !=-1: t = text.split(':!hi') to = t[1].strip() irc.send('PRIVMSG '+ channel +' :Hello! \r\n') This bot is not tested yet, it should connect to the specified IRC and then join the specified channel and on !hi it should show output "Hello!" in the channel.
  14. DO YOU CODE? OR CAN YOU MAKE WEBSITE DESIGNS? So How about you share them here? This is a Thread where you can make your own designs for Website and post. You can post yours too or Rate others people's design.
  15. Programing Away Message

    This is an away message script I made for mIRC. I'm not always around, or I'm usually busy, so I can't respond to everyone. Feel free to use this yourself. If you can improve my code, feel free to do so and explain why it's better in a reply, I'm more than happy to listen. Insert the code into your remotes (CTRL+R). To set your "away" message type: /statusmsg Status Nickname For example, you can type Busy instead of Away: /statusmsg Busy Chris|Busy Code alias statusmsg { if ($1 != back) { set %status $1 nick $2 } else { halt } if (%status) { unset %status nick $2 } else { halt } } on *:text:*:?: { if (%status) { if (!%busy. [ $+ [ $nick ] ]) { set -z %busy. [ $+ [ $nick ] ] 1200 msg $nick Automated Message: My status is currently set to $+ %status so I may respond slower than usual, or not at all. You won't see this notifcation for another 20 minutes if you message me again. } else { halt } } else { halt } }
  16. Something I worked on a while back for funsies, because y'know, why not? So you have a few images but you're not a dab hand in PhotoShop to get that animated feeling you want. No worries, CSS3 Keyframes will do the job for you. You can use separate images or compile them to one image if you like, I've decided to go with the latter in my example. Here it is in action: https://jsfiddle.net/Equinox04/30ueptj2/7/ Watch that Gyarados use his not so special attack. Here is the code: CSS: .movement { width: 80px; height: 80px; background-image: url("http://i67.tinypic.com/316q1pv.jpg"); -webkit-animation: play .4s steps(4, end) infinite; -moz-animation: play .4s steps(4, end) infinite; -ms-animation: play .4s steps(4, end) infinite; -o-animation: play .4s steps(4, end) infinite; animation: play .4s steps(4, end) infinite; } @-webkit-keyframes play { from { background-position: 0px; } to { background-position: -320px; } } @-moz-keyframes play { from { background-position: 0px; } to { background-position: -320px; } } @-ms-keyframes play { from { background-position: 0px; } to { background-position: -320px; } } @-o-keyframes play { from { background-position: 0px; } to { background-position: -320px; } } HTML: <div class="movement"></div> Yes, it's as simple as that.
  17. This is a jQuery popup I made in my free time. Feel free to use it in your own projects. If you can improve my code, feel free to do so and explain why it's better in a reply, I'm more than happy to listen. See it in action: https://jsfiddle.net/u4pw6m6j/1/ Click the link "Display" and it will show the popup. Click outside of the content (In the black area) and it will close the popup. jQuery $(document).ready(function() { // If they click the ID display the popup $(".popup-header").click(function() { $("#popup-container").fadeIn("fast"); }); // If they click outside of the content close the popup $("#popup-container").click(function(event) { var target = $(event.target); if (target.is("#popup-container")) { $("#popup-container").fadeOut("fast"); } }); }); HTML <a class="popup-header" href="#">Display</a> <!-- Popup Container --> <div id="popup-container" style="display: none;"> <!-- Popup Content Container --> <div class="popup-content"> Hullo </div> </div> CSS #popup-container { background-color: rgba(0, 0, 0, 0.6); /* For IE 5.5 - 7*/ filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000); /* For IE 8*/ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)"; width: 100%; height: 100%; z-index: 9999; top: 0%; position: fixed; } .popup-content { color: #000; background-color: #fff; border-radius: 10px; height: 85%; width: 70%; padding: 10px 20px 0 20px; margin: 0 auto; top: 7%; position: relative; overflow: auto; }