15,127 Topics

Member Avatar for
Member Avatar for cmills83

Has anyone had success changing a users print settings to landscape when printing a specific page using either CSS or JS? I see a lot of the same solutions repeated when searching but none seem to work so please only post something if you have had cross-browser success and can …

Member Avatar for codewall
0
62
Member Avatar for Xavier33x

Hey, Ive been working a site for my church and it looks fine on my screen but when i use my other laptop which has a bigger screen i find that i have white space on the right edge and on the bottom. My background picture was done in photoshop …

Member Avatar for Xavier33x
0
210
Member Avatar for murtazamzk

[CODE]<html> <body> <script language="JavaScript1.2"> //change 1 to another value to alter the scroll speed. Greater is faster var speed=1 var currentpos=0,alt=1,curpos1=0,curpos2=-1 function initialize(){ startit() } function scrollwindow(){ if (document.all) temp=document.body.scrollTop else temp=window.pageYOffset if (alt==0) alt=1 else alt=0 if (alt==0) curpos1=temp else curpos2=temp if (curpos1!=curpos2){ if (document.all) currentpos=document.body.scrollTop+speed else currentpos=window.pageYOffset+speed window.scroll(0,currentpos) …

Member Avatar for codewall
0
267
Member Avatar for pradeesh.login

how the answers are evaluated in an online examination system??? any one answer my question briefly

Member Avatar for codewall
0
57
Member Avatar for JPByD

I have a C# website that includes AJAX. The site has a master page and sub pages. I am revamping the photo gallery sub page to include a jquery function that displays a larger version of a thumbnail image when hovered. The thumbnails are listed in a xaml file, at …

Member Avatar for JPByD
0
253
Member Avatar for localp

I have a web page named A.html, and this web page contains a text box called 'text1', and a button. When a user clicks the button, a pop up window appears, the name of this pop up window is B.html. B.html has a text box, and its called 'text2', and …

Member Avatar for localp
0
125
Member Avatar for kendaop

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 …

Member Avatar for AleMonteiro
0
121
Member Avatar for usuario

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 …

Member Avatar for Airshow
0
108
Member Avatar for morteza_ipo

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

Member Avatar for Airshow
0
4K
Member Avatar for moonknight33

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

Member Avatar for moonknight33
0
236
Member Avatar for trebor-pl

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 …

Member Avatar for trebor-pl
0
250
Member Avatar for titosd

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

Member Avatar for Airshow
0
165
Member Avatar for morteza_ipo

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 …

0
69
Member Avatar for Griffin54

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 …

Member Avatar for Airshow
0
63
Member Avatar for rameshreddyg

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

Member Avatar for Freon22
0
343
Member Avatar for umesh314

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 ""; }

Member Avatar for Airshow
0
136
Member Avatar for feoperro

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 …

Member Avatar for pritaeas
0
111
Member Avatar for soft_coder

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

Member Avatar for soft_coder
0
660
Member Avatar for naziatarannum

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 …

Member Avatar for pritaeas
0
138
Member Avatar for solvision

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 …

Member Avatar for pritaeas
0
180
Member Avatar for AjithAnnadurai

Hi friends . how to post a Text Link in Forums . if i click that text means it will go another link . please help

0
79
Member Avatar for hussainiat

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

Member Avatar for Airshow
0
1K
Member Avatar for jt3dani

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 …

0
39
Member Avatar for ninjaimp

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 …

Member Avatar for scrappedcola
0
137
Member Avatar for zjbarden

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 …

Member Avatar for scrappedcola
0
219
Member Avatar for chandaboy

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 …

Member Avatar for chandaboy
0
153
Member Avatar for yopirates

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 …

Member Avatar for jpietrangelo
0
98
Member Avatar for TheOmniAdam

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 …

Member Avatar for hielo
0
176
Member Avatar for mrlol

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 …

Member Avatar for morteza_ipo
0
593
Member Avatar for cb0058385

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.

Member Avatar for cb0058385
0
151

The End.