15,116 Topics

Member Avatar for
Member Avatar for erik216

I need to make a web component There have a link to control show / hide a div When user mouseover the link. The div will drop down. When mouse out of the div. The div will hide. Where can I find this script? Thanks~

Member Avatar for lambing
0
136
Member Avatar for jacksantho

Hi, How can i populate the values in the drop down(second drop down) from the select query on choosing the option from the first drop down ? Examples: First Drop Down : Listing out all the "department name" using select query. Second Drop Down : Now, i need the output …

Member Avatar for JorgeM
0
114
Member Avatar for jonsan32

Can my dropdown menu produce a link instead of textbox? Is it possible? If so, how? <script type="text/javascript"> function fifa() { var frm = document.forms[0]; var abc = frm.browsers.value; if (abc === "A") frm.text1.value = "https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212JNW9WR139D70085E3/ical.ics"; else if (abc === "B") frm.text1.value = "https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I21263C4FA139C15D7BAC/ical.ics"; else if (abc === "C") frm.text1.value …

Member Avatar for jonsan32
0
248
Member Avatar for DavidTPotterNY

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 …

Member Avatar for dmanw100
0
2K
Member Avatar for code_r

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); …

Member Avatar for theHop
0
205
Member Avatar for sri.

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>

Member Avatar for almostbob
0
85
Member Avatar for vizz

I am using [Video overlay](http://flowplayer.org/demos/tools/overlay.html) How to close **Video overlay** when video is finished?

Member Avatar for vizz
0
199
Member Avatar for Troy III

# 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 …

Member Avatar for Troy III
2
270
Member Avatar for fheppell

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 …

Member Avatar for Dragennd
0
152
Member Avatar for dyingatmidnight

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 …

Member Avatar for dyingatmidnight
0
135
Member Avatar for bangla

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 …

Member Avatar for akmwebtech
0
206
Member Avatar for Mike_H

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 …

Member Avatar for Airshow
0
956
Member Avatar for bagehot43

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 …

Member Avatar for bagehot43
0
245
Member Avatar for Rizi004

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 …

Member Avatar for brandonrunyon
0
85
Member Avatar for MARKAND911

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

Member Avatar for JorgeM
0
102
Member Avatar for umarmaqsood

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. …

Member Avatar for umarmaqsood
0
200
Member Avatar for newbie14

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.

Member Avatar for newbie14
0
7K
Member Avatar for hlamster

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 …

Member Avatar for brandonrunyon
0
179
Member Avatar for davy_yg

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 …

Member Avatar for brandonrunyon
0
136
Member Avatar for akuvidz

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> …

Member Avatar for brandonrunyon
0
130
Member Avatar for murtazamzk

[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]

Member Avatar for murtazamzk
0
280
Member Avatar for ajay.motah
Member Avatar for ajay.motah
0
157
Member Avatar for Buppy

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

Member Avatar for dcdruck
0
85
Member Avatar for zacharysr

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 …

Member Avatar for Troy III
0
277
Member Avatar for ruchi123852

<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 …

Member Avatar for urtrivedi
0
116
Member Avatar for Tko_1

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 ; …

Member Avatar for Tko_1
0
122
Member Avatar for grafic.web

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!!!

Member Avatar for ainosilva
0
93
Member Avatar for virendra_sharma
Member Avatar for Markweb
0
111
Member Avatar for felgall

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. …

Member Avatar for Troy III
0
351
Member Avatar for trekker5200

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 …

Member Avatar for mallxs
0
134

The End.