15,121 Topics
| |
[code]<script type="text/javascript"> if(location.href.match('act=Post') || location.href.match('act=Msg') || location.href.match('index.php?')){ function document.write('<input type='button' onclick='if (window.Jacuba) Jacuba.applyTo('class: textinput')();' value='Spellcheck'/>') } </script>[/code] | |
Im using an iframe to display data (recent topics) but im wondering if there is a better way to do this that will not slow page loading as much? hereis current code [code] <table width="83%" td align="center" cellspacing="0" id="submenu"> <tr> <td align=left> <table width="100%" height="80px" border="0" cellspacing="0" cellpadding="0"> <tr> <td … | |
Hello, I need a javascript which checks that user's mobileno should start from 9, otherwise it gives error. Thanks and Regards Dhruv Shah | |
Hi....i am now doing the e-book authoring tools...but i have face the problem...i wan to do a "save function" that can save as any type of file. But in my coding only can save as html and text file.. Beside that, i also wan do "open file function". I wan … | |
[INLINECODE]<script language="JavaScript"> <!-- function restore(what){ if (confirm("Are you sure you want to overwrite the database with the file " + what + "?")) { window.location = "backups.php?action=restore&file=" + what; } } function delete(what){ if (confirm("Are you sure you want to overwrite the database with the file " + what + … | |
[quote=WolfPack;194658]Feared as much. :sad: Guess the only option is to copy it to notepad and view it there. :cheesy: Thanks Dani. :thumbs up:[/quote] Hey, anybody know any javascript for scrolling a page up to the top?, I know I could use <a href=#> links - but I guess theres a … | |
Good Evening, I am looking for some help with code that I found on Dynamic Drive here: [URL]http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm[/URL] I am trying to use it on this page: [URL]http://www.amandapopephotography.com/gallery2.php[/URL] here is the code I am using: [code=html]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <title>Amanda Pope Photography</title> <meta name="keywords" content=""> <meta … | |
hi there i've built a web page that use CSS/XHTML/JavaScript and bit of FLASH. I have a MP3 Player embeded to the header. I want the header to be allway displayied, so i thougght Iframes would be my best bet. So i set up my Iframe and needing my Iframes … | |
Hey, I am trying to get a sound to play when the user moves the mouse over on of my links. I don't know javascript, I just copied this code from a book, so it's probably something simple. Here is my code: [CODE]<script language="JavaScript" type="text/javascript"> function playSound() { src="misc020.wav"; } … | |
My javascript does not work in any browser except windows IE... WHY Please just give me an example of some javascript that works in mozilla Here is example of my source... [code] <script> var x = 400; alert(x); alert("This works in IE, but not Mozilla, why!!!!!!!!??????????"); </script> [/code] | |
hi every1 i m using jsp in jbuilder9 to create a website i have 2 drop down button a1 and b1 when i select a option in a1 the values of b1 comes if i change the value of a1 then the value of b1 also changes. then i have … | |
My javascript does not work in any browser except windows IE... WHY Please just give me an example of some javascript that works in mozilla Here is example of my source... [code] <script> var x = 400; alert(x); alert("This works in IE, but not Mozilla, why!!!!!!!!??????????"); </script> [/code] | |
hello....... i have a table that stores the quantity , unitprice , total values in the text fields......... actually this total column should be calculated automatically...when i use a onFocus function on tht text field i.e total=qty*unitprice ....... this code works fine when the text field in all the rows … | |
I request a ball that can be thrown to the 'walls' of the webpage and it will bounce, like in real life. With real physic constants. [URL]http://www.freewebs.com/racoon200[/URL] There i have a ball, but it only bounces vertically, I want a ball that you hold click on it to drag it, … | |
Hi I want to write such a javascript that when it hovers over a div (any div) it will automaticly COPY ( to clipboard ) the text within the div... Any ideas?? I am just stumped... Thanks in advance... | |
I've included the image as well as the HTML and CSS. The top of the screen (masthead) is giving me a problem. May be becuase of the image. Can someone give me a hand? Thank you very much! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>BobbyRags Personal Homepage</TITLE> … | |
Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the expandable row, the hidden row is made visible with css. The problem is when i sort the rows, … | |
How To write in a persistant cookie for this? [code]<script language="javascript"> function showimage() { if (!document.images) return document.images.pictures.src= document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value } //--> </script> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><form name="mygallery"><p><select name="picture" size="1" onChange="showimage()"> <option selected value="http://i93.photobucket.com/albums/l72/2Xist_2006/greenbanner.png">Green Banner</option> <option value="http://i93.photobucket.com/albums/l72/2Xist_2006/bluebanner.png">Blue banner</option> <option value="http://i93.photobucket.com/albums/l72/2Xist_2006/pinkbanner.png">Pink Banner</option> </select></p> </form> </td> </tr> <tr> <td width="100%"><p … | |
I want to simulate some kind of overlapping scroll areas. I have (actually, i would like to have..) an area which scrolls over the X - axis. But half of this scrolling area is in another scrolling area, over the Y axis. It's like 2 rectangles 1 X 2, one … | |
Help Plzzzz!!!!!!!!!!!!!!!!!!!... > A palindrome is a number or a text phrase that reads the same backward and forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611. > ,mvcxmzxWrite a script that reads in a five-digit integer and determines whether it is … | |
Hi. I want a "digital camo background for my webpage, and fast to load, so somthing ocured to me... I could get (with your help) a js code that will place 3 diferent bmp images randomly and repeatedly through the background. thanks.:mrgreen: | |
I just started my first web design job and am a little confused. The company I am working for uses templates to design the e-commerce website. The developer is able to add more code to the templates to further customize the site. The templates seem to use VB for the … | |
Is it possible that someone could brief me/point me in the right direction so that I can get a javascript library that will be linked with intellitext. basically want something that will find keywords within the current page and turn those keywords into defined hyperlinks so if i had 'basically' … | |
:mrgreen: I don't know javascript. But the thing is, i need to do the following challenge with that language. Make multiple css styles. styles are different combinations of these 2= gradient, font color. What I want to do is for example, you click a thumbnail, that will open a "javascript … | |
A warm Hi to all members to of the Dani Web community! I am facing a problem with window events in javascript. In my code I am creating an javascript object using a constructor and i have created all its functions using 'prototype' . Here is a sample code [B] … | |
hi all, I want to disable some of text fields and several buttons on my webpage when click on "Edit" button.. I am using images as buttons. document.getElementById("textFieldID").disabled = true; document.getElementById("imageID").disabled = true; but on clicking the Edit button, still the other buttons(images) does not disabled. those are acting (those … | |
hello all i am new to asp and javascript i am creating a page in which user enters the id,name,address and he enters his family detail's below selecting relation and name of person if he wants to add more personal details he can click on add more buttton will give … | |
Here's how I call this code ... it's my wrapper for Ajax: [code] var ajax = new XMLHttp(); ajax.get('myscript.php?variable=value'); [/code] When I run that, I get the error in Firefox's Error Console that ajax.get is not a function. So I've checked this code ten times and I see nothing wrong. … | |
Can you please advise me why the following Javascript function works in Firefox,Opera and Netscape but I get `"Error:The marshaled interface data packet(OBJREF) has an invalid or unknown format."` It seems very basic! What am I missing? function OpenSite() {var newwindow; newwindow=window.open(SiteN,'name'); if (window.focus) {newwindow.focus()} } SiteN is a global … | |
Hi all, I need to create extra rows for already existed table in javascript.I added code as shown below.It works well for mozilla but for ie extra rows are not adding .i didnt find where the problem was.Apart from that i had another problem with checkbox created below.it always returns … |
The End.