17,115 Topics

Member Avatar for
Member Avatar for dylank

Hey Daniweb; Ive scoured the internet for scripts that make a <div> follow the mouse, and have found one that seems to work well. However, I want the <div> to stop moving when the CTRL or the SHIFT key is pressed, I dont care which. Hopefully, I can have a …

Member Avatar for Airshow
0
471
Member Avatar for noktasizvirgul

Hello all, I start working with Selenium Web Testing 5 day ago, and I cannot figure out how to test Javascripts and AJAX-driven menus. I read almost every sentence in documentation, it explains well but I cannot understan without an example. For example I tried to find an example testing …

Member Avatar for vesnushka
0
94
Member Avatar for amby

Hi, I have a javascript object which is converted from json to java script object. i want to display its values like after each key value pair, i want to insert new line. but i dont know exactly how to do that. below is my code, please take a look …

Member Avatar for amby
0
253
Member Avatar for apollokid

Hi all, i have this function, it slides down a div #dd_about and stays down until i click on the body, is there a way to keep the div down until i move from the div and not click? Im new to jscript and jquery thanks. Any help is appreciated …

Member Avatar for pritaeas
0
82
Member Avatar for Atomika3000

i'm trying to make an app that lets the user add two items from a text box go into a 2d array and be able to repeat this as many times as they desire, each time adding it onto the end of the array. Then when the user presses a …

Member Avatar for Airshow
0
250
Member Avatar for boomop

ok, So Im very new to this whole AJAX kind of thinking, and I might be trying to do something that's either harder than it needs to be, or theres an easier way that I havent fount yet... I'm trying to make a generic javascript function to call php functions.... …

Member Avatar for boomop
0
132
Member Avatar for jimminni

Dear all, I'm looking for DHTML for a screensaving function please. I've looked through all of my HTML & web development books and can't find anything of the sort. T.I.A. Jimminni

Member Avatar for Airshow
0
76
Member Avatar for emilyhedgecock

Hi I have made a javascript image viewer where there are thumbnails at the top and when you click on them the bigger image below the row of thumbnail image changes according My question is, how do i make the larger image become a hyperlink to the corresponding page it …

Member Avatar for almostbob
0
5K
Member Avatar for shakerxxx

I am trying to code this kind of menu ( [url]http://www.elmalma.com/index.html[/url]) for my web page but I have no clue how to do this. does anyone has idea about this. or What is this menu name? Thank you so much for help Sincerely, Yunus

Member Avatar for almostbob
0
112
Member Avatar for sniigg

Hi, I have a html document when i run in Internet explorer i am getting the desired output(j query working fine). But i copy pasted the same code in aspx page...the same code is not working properly...

Member Avatar for sniigg
0
222
Member Avatar for lifeworks

I tried to get as much info into the title as posible... hope it doesnt confuse anyone i have an initAll() called on window.onload within initAll() I assign a few onclick handlers to some links. However, it would be great if I could pass an argument to the handler, so …

Member Avatar for lifeworks
0
1K
Member Avatar for Molinski

I have been a happy lurker for some time now, soaking in the abundant knowledge that i have found here. But now I am at my wits end trying to find the solution to what is probably a novice’s oversight. I have a menu that animated with jquery. One of …

Member Avatar for vsmash
0
2K
Member Avatar for pato wlmc

First the definition of Easter Egg ( Or at least the one i care about ): [I]In computing, the Easter eggs are messages, graphics, sound effects, or unusual changes in behavior of programs that occur after introducing some undocumented commands, mouse clicks or keystrokes. It initially used the term Easter …

Member Avatar for pritaeas
0
191
Member Avatar for lich

i want to redirect the page after submitting to the exact page with the tabs. but when i submit it just loads the same page. but what i want is it should load under the home tabs. my other pages are loading in the div tags which are loaded using …

Member Avatar for tharu123
0
667
Member Avatar for runey71

I am trying to preload some sounds for a website I am working on... Originally I used the embed tag but that caused problems in Opera and did not validate... So I've switched to the object tag which now works in everything except IE8... [CODE]<object id="sound_lock" class="embedded" data="sounds/iphone/system/iphone_sound_lock.wav"> <param name="autostart" …

Member Avatar for runey71
0
590
Member Avatar for sa1support

Hi guys I have created some custom code and implemented it into a article within Joomla. (The HTML editor is turned off) The code works in all browsers except Internet Explorer Versions. The custom code has Javascript and the "onMouseOver". The purpose of it is to change a image when …

Member Avatar for sa1support
0
142
Member Avatar for Bobon

Hey guys, trying to teach myself a bit of javascript as i would like to get a website up and running. Please have a look at the code below. I'm trying to create input for a webpage. In the first piece of code, i'm declaring all the functions(which i'm sure …

Member Avatar for Airshow
0
185
Member Avatar for ms_sws

I've used the following code to open Excel. It works but generates a browser error warning the visitor that the web page is trying to run an add-on with an unknown name, and control with an unknown name. Is there a better way to open Excel (read only) in order …

Member Avatar for ms_sws
0
216
Member Avatar for harry010

Hi, I'm currently working on a script that parses out function keys in a string of text. I've got this code which works, but was just looking for ideas on how to improve it :) I would have liked to use regex, but I would need to do variable substitution …

Member Avatar for harry010
0
86
Member Avatar for albertkao

I want to keep the value of the user input (e.g. text box value) displayed after page refresh by a javascript. The following test web page is used. The alerts appear before and after the page refresh as expected on all browsers (FF, Chrome, Opera & IE). The input value …

Member Avatar for albertkao
0
163
Member Avatar for jitendra_25

I have used a javascript to display a countdown timer for 60 min. like in an online exam. It works fine but when i refresh the page on which timer is displayed then the timer value again resets to 60:00. So, if there is any solution to prevent this please …

0
55
Member Avatar for amby

Hi, In my code behind file, I called Soap web reference and retreive data and diplay in grid view and it worked. But when I convert retreived data to Json text and send back to java script and on client side, convert json text to java script object and when …

Member Avatar for Airshow
0
192
Member Avatar for Santho786

Hi, I have an array of integers I like to retrieve the max number and index of max number from that array without using Math.Max() function.. Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max …

Member Avatar for Santho786
0
232
Member Avatar for ms_sws

I could use some help. I have a function that opens an Excel spreadsheet to load data from it. The function is found inside <head> </head> and within that inside <script></script> (see below). The problem is that I need to write that data inside the row of a table in …

Member Avatar for ms_sws
0
312
Member Avatar for ephemeral

I'm having two Ajax-related problems on a page I am working on at the moment. [URL="http://www.utm.edu/departments/acadpro/library/openmic/add2db.php"]http://www.utm.edu/departments/acadpro/library/openmic/add2db.php[/URL] On this page, I have two buttons that use Ajax to fetch two separate forms and put them into a chosen div; that part works like a charm. On said forms, there is a …

Member Avatar for Airshow
0
154
Member Avatar for ItecKid

Hello, I am attempting to use JavaScript to 'highlight' text by changing it's background color: [code] <div id="foo" onMouseOver="highlight(this);"></div> [/code] In JavaScript: [code] function highlight (word) { document.getElementById (word.id).bgColor="blue"; } [/code] This produces no effect. I also have an onClick event in the same div, can I not have onClick …

Member Avatar for ItecKid
0
3K
Member Avatar for Atomika3000

Is it possible to name a cookie in javascript? i've got a web program that will display "name:undefined Name:Jack Grade:32" whenever i display the contents of a cookie i create. i'm assuming th first bit is the cookie name itself and then the other two bits are the contents? also, …

Member Avatar for Atomika3000
0
109
Member Avatar for masocha

defined('_JEXEC') OR defined('_VALID_MOS') OR die('...Direct Access class aca_module [ var $shownamefield = 0; var $receivehtmldefault = 1; var $showreceivehtml = 0; var $listIds = null; var $linear = 0; var $fieldsize = 10; var $introtext = null; var $redirectURL = null; var $showListName = 0; var $buttonUnregistered = _ACA_MOD_SUBSCRIBE ; …

0
71
Member Avatar for ms_sws

I've tried all manner of methods for accomplishing this and nothing has worked so far. The latest attempt follows. The objective is to call a function that tests for the existence of an image file. If the file exists then that image file is to be displayed. Otherwise, an alternative …

Member Avatar for Airshow
0
5K
Member Avatar for AdRock

I'm trying to help someone out with some javascript that works in IE but not in firefox. It's basically a filter so you select some options from select boxes and the javascript hides or shows any table cell that is not needed. The html is shocking and the javascript doesn't …

Member Avatar for theighost
0
214
Member Avatar for MaristBrandi

Hi all! I am trying to get a JavaScript date selector to work for a front end I'm writing. I've seen a lot of problems related to JavaScript and IE vs. Firefox but I've yet to find a solution to my issue. I have a simple form - when you …

Member Avatar for theighost
0
370
Member Avatar for baseballfury

Hello, I am currently working on a function that will allow the user to search for an event by date and category. I've been using the w3schools exercise as an example but i wish to pass 2 pieces of data instead of one and am not sure how to do …

Member Avatar for thonz
0
2K
Member Avatar for jrw89

In order to make sure my site works for a user I need to check that both JSON and XMLHttpRequest() are defined as objects by their browser. Rather than if/else I thought I'd use the ternary operator:[CODE=javascript]condition ? true : false.[/CODE] I tried the following and it doesn't work correctly. …

Member Avatar for jrw89
0
139
Member Avatar for ItecKid

Hello, I have written a 'predictive text' widget using JavaScript/AJAX. When user enters a string of letters into form, the list of possible matches is displayed under the form. This works well and good, now I am trying to make it so that when the user clicks on a certain …

Member Avatar for Taywin
0
756
Member Avatar for Atomika3000

ok, got to make a program that allows a user to enter data into the text fields (specifically a name and a grade), it then needs to store it locally, it then needs to be able to create a graph, and work out the standard deviation and mean from the …

Member Avatar for Taywin
0
94
Member Avatar for g0pal

i want to create a feedback form for my website [url snipped]. as i m using free host it doesnt allow PHP so i want to create it using JAVA. please help me create a feedback form which when submitted automatically send an email to my ID. if it is …

Member Avatar for Taywin
0
292
Member Avatar for Romik84

Hi there, I just try to figure out a function which will dismiss a text and saves it in cookies for next page reload/visit. My current code looks as follow: [CODE]<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="jquery.cookie.js" type="text/javascript"></script> <script> $(document).ready(function() { $.cookie("viewState"); var theState = $.cookie("viewState"); $("#R1").click( function () { $("#secret").hide("slow"); $.cookie("viewState", …

0
111
Member Avatar for Izzy123

im new to javascript and im currently designing a survey and i have to modify the survey using javascript, it has to do: the user should not be allowed to select any options from question 2 if they chose the last radio button of question 1. and i don't know …

Member Avatar for Izzy123
0
91
Member Avatar for GAME

[code]// ==UserScript== // @name Paid 2 Click Multi Bot // @description Clicks all the PTC pages for you // @include [url]http://paid2calculator.info/[/url] // @include [url]http://www.paid2youtube.com/surf.php[/url] // @include [url]http://www.paid2youtube.com/cheap_ads.php[/url] // @include [url]http://buxify.com/surf.php[/url] // @include [url]http://www.neobux.com/?u=v[/url] // @include [url]http://www.buxp.info/surf2.php[/url] // @include [url]http://ptcinnovation.com/index.php?view=account&ac=click*[/url] // @include [url]http://ptcinnovation.com/gpt.php?v=timer*[/url] // @include *paid2youtube.com/register.php* // @include *neobux.com/?u=r* // @include …

Member Avatar for GAME
-1
98
Member Avatar for onyango

I am trying to install websphere on my server but I keep getting the error message ,A suitable JVM could not be found please run the program again using the option -is:javahome <JAVA HOME DIR> My OS is windows server 2000. I have already installed java (TM) 2 Runtime environment …

0
50
Member Avatar for pjrey

site with issue: [url]http://pjrey.com/guestbook[/url] ok, ive tried and tried, no luck. what i am trying to do is: 1) the modal dhtml sign/window auto load (but only one time per user) 2) on completing the form, and hitting submit, i want the parent window refreshed (to show new content that …

Member Avatar for pjrey
0
129
Member Avatar for itisnot_me

ok so i was trying to look into making a loading spinner be put up when i am using a get or post method but it started to get a little overwhelming with what some people did. if you could help i would like to know how to make it …

Member Avatar for itisnot_me
0
65
Member Avatar for neelesh kumar

I have two Picture Libraries. One has pictures and the other contains the thumbnails created programmatically by me. I am displaying the thumbnails into a custom webpart. I need to display the [U]original pictures[/U] on mouseover on the thumbnails displayed in webpart and the originals displayed should dissappear on mouse …

0
63
Member Avatar for mejoyal

Hi all, Thanks for the interest, I want to set my menus like the categories in [url]http://www.alibaba.com/[/url]. ( the menu of the left side) on mouse over the sub menus should come up in the same way as here. How can I achieve this ? Thank you guys

Member Avatar for Graphix
0
74
Member Avatar for still_learning

Hey guys, Got a quick question for you. If I have an text input field for a search engine and I want the font to be larger, how would I do this? Right now changing the size attribute only changes the length of the field. Here is my code right …

Member Avatar for NaveenRahul
0
85
Member Avatar for OmniX

Yes I know you are not able to refresh in php, but insert meta tags into an echo statement that can refresh, or use javascript, etc. The problem is I have tried all these solutions and it still does not work. :( So I will tell you my problem and …

Member Avatar for ax8l
0
557
Member Avatar for niksfak

I am trying to use the pc as a recognition service I want to take the calls (the number of the caller) and use it to an html form I really need the part that i take the phone number of the caller and pass it to a form then …

Member Avatar for vasuka
0
84
Member Avatar for dangari

Hi all.Please assist me on this matter.I am developing a jsp web app on which I want to use jmaki widgets. After installing the jmaki plugin into Netbeans 6.7.1, I dragged and dropped the jquery datepicker and got the following on my jsp page. [CODE] <a:widget name="jquery.datepicker" /> [/CODE] Problem …

0
69
Member Avatar for farmgirl69

EInterface: this Interface has an attribute NOW that holds the current date. DEFAULT_DATE holds a default date (May 1, 1990), and a series of formatters for currency, two decimals, and percentage (labeled as CURRENCY_FORMATTER, TWO_DIGIT_FORMATTER, and PERCENTAGE_FORMATTER respectively). Additionally, EInterface defines two methods: findGross and findNet. (Hint: explore a series …

Member Avatar for Taywin
0
85
Member Avatar for NoziphoR

Hello everyone! I need help with my code, I want to alternate more than just 2 images using a function and setInterval. Here is my code, can anyone tell me what's wrong with it? [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Banner Advertising</title> <meta http-equiv="content-type" …

Member Avatar for Taywin
0
119

The End.