15,121 Topics
| |
Hello all! I'd like some help with some code to fade in and out banner images on my website. Basically, the idea is that every 10 seconds, the image will fade out as another image fades in. The way I am trying to accomplish this is by changing the opacity … | |
Hello, Somewhere in Internet I found a free script which I use in instant messaging system to send messages without page refreshing. This script works well for 99% of users but from time to time I get messages from users who can't send messages because nothing happends when they click … | |
Hello. I want to delete duplicate values of options tag! this is my code. But this is not good and have problem! [CODE] function DropDups() { var i=0; var forml; forml = document.getElementsByTagName('form').length; for(i=0;i<forml;i++) { var Target=document.forms[i]['color']; for (var avvali=1; avvali<Target.options.length; avvali++) { valavvali = Target.options[avvali].text; for (var dovvomi=1; dovvomi<Target.options.length; … | |
[CODE]<html> <head> <title></title> </head> <body> <script type="text/javascript"> function showPic(whichPic){ var imgSource = whichPic.getAttribute("href"); var placeHolder = document.getElementById("placeholder"); placeHolder.setAttribute("src", imgSource); placeHolder.setAttribute("height", 400); } </script> <h1>Image placeholder</h1> <a href="pics/wolf_1.jpg" onclick="showPic(this); return false;">Wolf 1</a> <a href="pics/wolf_2.jpg" onclick="showPic(this); return false;">Wolf 2</a> <a href="pics/wolf_3.jpg" onclick="showPic(this); return false;">Wolf 3</a> <a href="pics/wolf_4.jpg" onclick="showPic(this); return false;">Wolf 4</a> <a … | |
| Hi, Im new to here. I have a problem with some JS for my website. I made JS to enter text from input boxes in form to a read only text area. However it overites the text instead of putting it below (thats what I want it to do, put … |
Hello, I"m trying to send mail to multi users, but i doesn"t succeded/ I doesn"t know how to add all the mails that i selected to the mailto tag. this the the code that I wrote: [CODE]<SCRIPT LANGUAGE="JavaScript"> function getSelected(opt) { var selected = new Array(); var index = 0; … | |
Hello! I made a code with php! In this code my program gets many recodes and with a loop that generate form tag! And this tag have a loop again for generating select box with many options! That options value is image file name. And in this forms have a … | |
Hello; On one of my web pages I want to add a page "Loading" image while some of my .pdf file upload when clicked on. I have searched for and found a few different sources of javascript code for the page loading function. However, none of the code I tried … | |
Hi, I am trying to hide a table based on its id on clicking a button. function showTable() { var reasonTable = document.getElementById("reasonTable"); if(reasonTable.style.display == "none") { reasonTable.style.display = "block"; reasonTable.style.visibility = "visible"; } } <form id="MyForm" method="post" name="MyForm"> <TABLE id="reasonTable" style="visibility: hidden; display: none;" WIDTH="612" CELLPADDING="0" CELLSPACING="0" ALIGN="center"> <TR> … | |
I would like to know the working of this code in brief.. any help will be appreciated... function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } | |
| Hi, I was wondering if there are any scripts out there that work similar to a normal windows browser. I'm not looking for a folder tree type of view though (as you would see in windows explorer) but more of a "single folder at a time" type of view. I … |
Hi! I have successfully implemented a modal dialog using jquery with the help of Daniweb forum but I am facing one more problem. Well, I have to intregrate it with a sharepoint page. 1. It is running fine in a normal web application. 2. It is running in a webpart. … | |
hi everyone, I'm new to Ajax, can anyone please help me in creating --Dynamic dependent cascading select using Ajax. It should not use asp .net, I need to add the code in a text field to generate this kind of cascading customized field. eg. initially we need to populate a … | |
Hey guys, nice to meet you. I have PHP/MySQL driven site. I have finally found an AJAX script to load my data in a div on the same page. It works if i click a static link, but the main purpose i need is to click link with dynamic album … | |
Hi friends . how to post a Text Link in Forums . if i click that text means it will go another link . please help | |
function tempdbentry() { var regex=/^[0-9A-Za-z]+$/; //^[a-zA-z]+$/ var myname = document.ItemEntryForm.iname.value; var mycat = document.ItemEntryForm.selectcat.value; var mypic = document.ItemEntryForm.ipic.value; "<?php $phpmyname = '?><script language=javascript>document.write(myname);</script><?php'; $phpmyname = str_replace('?>', '', $phpmyname); ?>" "<?php $phpmycat = '?><script language=javascript>document.write(mycat);</script><?php'; $phpmycat = str_replace('?>', '', $phpmycat); ?>" "<?php $phpmypic = '?><script language=javascript>document.write(mypic);</script><?php'; $phpmypic = str_replace('?>', '', $phpmypic); … | |
Hello all, Is there a way to use/load Prototype and Scriptaculous from the body? I'm in a weird situation on a cms; I can use javascripts on my page but don't have access to the head. A year or so ago I remember running across a site where the guy … | |
Hi, This seems really stupid i cant get my head around this. I have a listbox that has items added to it from selections from another one. I have also added code that an item can be double clicked to remove it, which works, until the page is refreshed and … | |
Hello, I've been experiencing this problem for almost a week now, and have tried everything possible to figure out the problem: but I simply cannot. When I load the web page into my browser (developing it on my local machine) it returns this error: [code] Window win is already registered … | |
Hi, all I want to get the data from the div tag, from this website [url]http://www.weather.com/outlook/travel/businesstraveler/hourbyhour/PKXX0008?begHour=7&begDay=4[/url] when you click on the firebug in firefox you can see there is a and under this div there are more divs there, I want to get the data (i,e,. only the 3pm, 25,25 … | |
hey everyone.! i have a n application where i have a color picker (jquery) i will get the value the user choosen color . then i will put that into to session variable. Now i want the contents of the external stylesheet to be modified based on the color which … | |
I have this PHP code which calls several dropdown menus. These menus are nearly identical except each menu queries a sql database with the paramters set by all the previous (Make, Model, Year, Size) down the line. This code works in Chrome and FF, but in IE the default drop … | |
Hi! I need help to install or actually to make this freesource code working... at the first time, the script is working very well.. but when i inserted [B]<form> ..script here.. </form>[/B] everything isn't working... can anyone help me with this? you guys can download the script at [url]http://www.dynarch.com/projects/calendar/download/1.8/JSCal2-1.8.zip[/url] please … | |
Presently I am learning JMS. I have knowledge on Java, Servlets and JSP. I am bit confused whether should I learn EJB or AJAX next. Please suggest which path should I take. And tell me, does AJAX comes in line with EJB,Hibernate,Struts. Thanks in Advance. | |
Hello, I have my site set up so that everything is done with AJAX requests to a script depending on what action is taken. If my script returns an error - such as the user is not allowed to take the action they tried to take - it returns an … | |
Is having a php slideshow a bad idea. I was seeking your opinion because I dont know how many people are doing this already but with php everyone can view it. I want to know the drawbacks and advantages to both. Just hoping to get the best possible advice thank … | |
I have used this piece of code which is working great. It allows me to add different items from combo boxes to my order form. The problem is that i dont know how to extract the data from my db to display in a form view when i want to … | |
It is possible to run dynamic web pages on a pocket PC without internet connection? I would like to read/write files using a browser on my pocket PC without internet connection. | |
Hi! I am trying to create a callout using jquery but somehow the code is not working. [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <link rel="stylesheet" type="text/css" href="Scripts/Menu.css"/> <script type="text/javascript" src="Scripts/jquery.js"></script> <script type="text/javascript" src="Scripts/jquery.callout.js"></script> <!--<script type="text/javascript" src="jquery.callout-min.js"></script>--> <script type="text/javascript" src="Scripts/callout.js"></script> <title></title> </head> <body> <form id="form1" runat="server"> <ul id="myMenu" class="contextMenu"> <li class="insert"><a href="#insert" class="link" … | |
Hi, I wonder if someone could help, please. I'm having trouble with a drop down menu; it works fine in IE, but appears in a different position in Chrome and Firefox. If I alter the positioning, then it works fine in Chrome and FF, but not it IE. I've tried … |
The End.