15,688 Topics
![]() | |
My issue is that after public static void Head() { each of the following sets is highlighted red for an illegal start expression error. I've tried moving the bracketts around removing words like static or public. (I'm 3 classes into java). I just need help in getting that issue to … | |
Hi, I'm trying to find out why my code won't run. I passed my years variable to the function to multiplied by 365 and stored in my time variable which should be printed out. Should "toDays(21)" be declared in my function instead? <!DOCTYPE html> <html> <head> <script> var years; toDays(21); … | |
i am trying to load google.com in iframe but the iframe not loaded my 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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <iframe src="http://www.google.com" > </iframe> </body> </html> | |
I am using [Video overlay](http://flowplayer.org/demos/tools/overlay.html) How to close **Video overlay** when video is finished? | |
# This is a simple HTML String Sanitizing tool. # ## It allows a highly rich,- but safe - html content input to be published on your pages. ## **The script code is very light and to some degree customizable.** * This function takes care of blacklisted tags, which are … | |
I have created a CSS solar system. Along the bottom is a list of planets. When you click on a planet name it goes to '#[planetname]speed' this is not set with JS. When you click on a planet's name I want a separate hyperlink (which would be 'info')to add an … | |
Okay this is strange. I'm new to AJAX and I'm trying to use it with php to check a variable from my database before a form is submitted. It works almost fine. The strange part is that it seems to be saving anything I enter into the text field. var … | |
Hi, I have the below code to block the view source but its not working for me. Someone pls take a look and let me know. Thanks. [CODE]<html> <head> <script language="javascript"> function onKeyDown() { // current pressed key var pressedKey = String.fromCharCode(event.keyCode).toLowerCase(); if (event.ctrlKey && (pressedKey == "c" || pressedKey … | |
Two years ago Airshow helped me with a Vertical Slider Zoom feature for a project of mine. Now I have a need to do the same but with a Horizontal Slider to zoom a photo. I need the slider in this example, [http://bbhs69.com/senior_class_photo_copy(1).htm](http://bbhs69.com/senior_class_photo_copy(1).htm), to be horizontal and at the very … | |
I have two files, slideshow2.html and getimages2.php. The first contains a variable, js_var, with the name of a directory. This will ultimately come from a database. I want to pass js_var to the php file, which creates an array (galleryarray) out of the images in the directory and sends it … | |
hi every one i have a question that how i can get the facebook fan ID. e.g i have a page and 40,000 users like my page now i want to get the id of each users(40,000) one id per line. please tell me how i can do this? and … | |
http://localhost/Project.html?ProjectId=P6610C32F-7C54-4221-A190-A9E7E08F8B08 This is my weburl. I want to retreive query string value of variable "ProjectId" How i can do this using vbscript and html page | |
Hi i got a script from some website, it is an alternative for marquee so its cross browser. i put an iframe for it to scroll endlessly but after it scrolls the iframe, it keeps scrolling until it disappears off the screen, leaving behind a transparency until it starts anew. … | |
I have a dropdown list on each cell of table row. Now what I need is dynamically add more dropdownlist on a particular cells with pressing the add button. Any code snippet to help on this? Thank you. | |
I have a form with a dropdown list that when they click on it or when they mouseover it (either would be ok) it should show a popup tooltip. My javascript skills are at best very very basic. This is a wordpress site and I am reluctant to add jquery … | |
Hello, Cek this web: [Click Here](http://www.jsutama.com/)] It's not me who created it. I must modify it. How to make the animation speed goes slower. <html> <head> <title>::: PT JS Utama :::</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="shortcut icon" href="favicon.ico"> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> <script type="text/javascript"> <!-- function MM_swapImgRestore() { //v3.0 var … | |
why does my jquery didnt shown? this is my header code, i'm using CI to code it. <html> <meta charset="utf-8"> <head> <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/style1.css"> <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/css/jquery-ui-1.8.23.custom.css"> <script src="<?=base_url()?>assets/js/jquery-1.8.1.js"></script> <script src="<?=base_url()?>assets/js/jquery.js"></script> <script src="<?=base_url()?>assets/js/jquery-1.8.0.min.js"></script> <script type="text/javascript"> $(function() { $("#tabs").tabs(); }); </script> </head> <title><?php echo $title?></title> <body class="colAbs"> <div id="header"></div> … | |
[CODE]<html> <script> function startEQ() { quake=5; parent.moveBy(0,quake); parent.moveBy(0,-quake); parent.moveBy(quake,0); parent.moveBy(-quake,0); timer=setTimeout("startEQ()",10); } function stopEQ() { clearTimeout(timer); } </script> </head> <body> DEMO IT HERE <form> <input type="button" onclick="startEQ()" value="Start an earthquake"> <input type="button" onclick="stopEQ()" value="Stop the earthquake"> </form> </body> </html>[/CODE] | |
i am using the.load function to load the page dynamily , but the code doesnot run on ff. | |
Hi, I have the following JS: var event = window.event; if (event.keyCode == 38) { //do something } However, I keep getting the following error - TypeError: event is undefined This happens only on Firefox, for all other browsers this works fine. Thanks | |
Hello, i am making a keyboarding site for my class, and i have a div with some text inside, when they type, i want to check if the text matches the text in the div, if it dosn't, i wan't to update a box with an "error count". How can … | |
<html> <head> <script> function blink() { var f = document.getElementById('Foo'); setInterval(function() { f.style.display = (f.style.display == 'none' ? '' : 'none'); }, 1000); } </script> </head> <body onload="blink();"> <div id="Foo" >news</div> </body> </html> hi I have the code for blinking the text but i need to change the color of … | |
so i have this script for a countdown and i would like to have the font color to be white, but i can not figure it out. thanks <script type="text/javascript"> today = new Date(); BigDay = new Date("<?php require("date.php"); ?>"); msPerDay = 24 * 60 * 60 * 1000 ; … | |
Hi there, i need help to : How to pass variable ASP to JavaScript ? Example: myvar = "textvarable" i would like to get it from a form without refreshing the browser, if is possible with AJAX Thanks!!! | |
Hi frnds, i need script for to change the images using next and prev button . | |
JavaScript doesn't actually have a sleep() function corresponding to what is available in other languages. We can easily implement one though. The following code uses afunc as an example function where we want to be able to have the code sleep for a number of milliseconds between sections of code. … | |
Please forgive a naive question, but my knowledge of javascript is cursory at best and I could not find an answer via Google. My question is this: Is it possible to use javascript to read the link (URL) from the first entry in an RSS feed and then display that … | |
I need to display picture name when i move mouseover the picture using onmouseover. Please let me know what I need to add either to javascript or to PHP. <style> #contactdiv { position: absolute; left: 100px; top: 100px; width: 100px: height: 20px; padding: 5px; background-color: red; visibility: hidden; } </style> … | |
hi, im having a problem using this jquery I mamanged it to g and fetch data from mysql n now i want it to disply only one class at a time on available or not available here is the js $(document).ready(function(e) { $('#txtAuction').keyup(function(){ check_availability(); }); }); function check_availability() { var … | |
Hello Every one..... I'm developing a web page to generate 2 random numbers and prompt the values to the user and they need to add those numbers and give the result. I tried it a lot but the values are not passing to the prompt window... can anyone help me... … |
The End.