15,700 Topics
![]() | |
Hello DaniWeb members, I've just joined up and I would like to have one of my problems solved. I'm still a begginer at JavaScript coding so my request may seem a be easy for you guys to answer so here it is: I have a JavaScript code and I want … | |
Here is an ajax example: instant chat. [URL="http://www.linb.net/schat/schat.html"]http://www.linb.net/schat/schat.html[/URL] with asp source code to download. | |
Hi ! When I want to display following code by assigning it to $res["description"] , in the following mentioned way, it works fine and displays properly. The code is : /************START CODE*****************/ <script language=\"javascript\"> var uri = 'http://impgb.tradedoubler.com/imp/img/16173558/1014659?' + new String (Math.random()).substring (2, 11); document.write('<a href=\"http://clkuk.tradedoubler.com/click?p=37983&a=1014659&g=16173558&epi=$_SESSION[UID]\" target=\"_blank\"><img src=\"'+uri+'\" border=0></a>'); </script> … | |
I am building a site that has 3 main sections (Sec1, Sec2, Sec3) These 3 sections will be the main navigation going accross the top. On the home page will be a image approx 528 X 228. Each section will have a image relevant to the section. So when the … | |
Hi, I'm creating a page that has an ASP button that should delete a row of data from an SQL database. I want a javascript confirm window to appear to make sure the user [I]really [/I]wants to delete the information. I can set the button's OnClientClick property to "javascript:confirm('Are you … | |
Hi! [html]<script language="javascript"> var myuid = 2; var uri = 'http://impgb.tradedoubler.com/imp/img/16173558/1014659?' + new String (Math.random()).substring (2, 11); document.write('<a href="http://clkuk.tradedoubler.com/click?p=37983&a=1014659&g=16173558&epi="'+myuid+'" target="_blank"><img src="'+uri+'" border=0></a>'); </script>[/html] My problem is that , var myuid is not replaced with value in the url. Kindly help me in this regard | |
my coding is working well in IE not in mozillafirefox <html> <head> <title></title> <script LANGUAGE="JavaScript"> function displayHTML(printContent, text2,textn) { var inf = printContent; var vt2=text2 var vlabels=textn var tablestring='' var lnstr=text2.length; var vrows=1.5 var vroundrows=1.25 var vprintstr='' var vvalue=document.forms[1].fname.selectedIndex; var vovalue=document.forms[1].fname.options[vvalue].value var vfsize=document.forms[2].fsize.selectedIndex; var vofsize=document.forms[2].fsize.options[vfsize].value var vlbl=document.forms[0].lsize.selectedIndex; var textsize=document.forms[0].lsize.options[vlbl].value if(inf.length>30) … | |
Is there any way to view or access javascript portions of a web page from the linux shell? For example, I use curl to pull a web page that has text and javascript. The javascript portion does not show up, just the filename as it is in the source. | |
On a website I remeber seeing a news feature where the news would be a bar with a title and you clicked it and it would expand showing the message and other information and the code used was javascript:show but I don't understand how it works (as the news was … | |
I am writing a feature for this company, and they want the pages to use AJAX. My question is this: Can I write the pages in php as usual, then enhance the page using AJAX techniques, or is the use of AJAX something I have to keep in mind from … | |
Can any body help ! I would like to display a message when the user clicks on the "X" button of the browser. for that, I have used onUnload event and in that I am displaying an alert message. This works fine if I click "X". But, even if I … | |
Hey guys, I thought I figured it out but I didn't. I decided to create an admimated gif of what I'm looking to do. Could someone help me out and get me going in the right direction? A Basic HTML code would be great as I know really nothing about … | |
Hello everyone. I need to put a drop dropdown menu on items(such as a category)that is pulled from a database. I have used php+ mysql to pull the data. Can anyone tell me if I can include javascript so that when the mouse is over tha item and/or category, a … | |
can javascript merge with php?...if so,how can we implement it... i had a hard time searching on that problem.... i made experiments but it doesn't work...hehe;) | |
Hi, I urgently need someone's help. Any kind sou(s) will be greatly appreaciated. I've tried solving this problem for like three days. At first, my problem is I can't hide my sub-links. Now, I'm able to hide all of them. But it can't be showed when hovered. I understand that … | |
JavaScripters, This question is in regards to a JavaScript script within a PHP page. I included everything in case a complete understanding is required for a correct response. Thanks in advance. ****INFO**** Rater.php has a JavaScript script, which displays an interactive rating tool. It allows a user to slide a … | |
i need to use the variables declared in javascript in asp.net saw a thread suggesting hidden textfields but that wud help in request or query strings what if i needed to use the value of a variable declared in javascript by fulfilling some condition into an INSERT COMMAND. the page … | |
I'm getting ready to take a stab at learning JavaScript. First, I guess it would be good to find out where I can snag a decent free compiler from. :idea: Thanks! | |
I happened to stumbled upon this website [url]http://www.tristarwebdesign.co.uk/[/url] whereby on the (near) top-left corner, the option of user being able to select text caught my attention. This could help the viewers of my website to select the tex-size they feel comfortable with. Similar JavaScript can be found in [url]http://www.dynamicdrive.com/dynamicindex9/textsizer.htm[/url] but … | |
Hi, all! I've been trying to pass a javascript variable to an asp.net webapp through a hidden input field. All according to post [URL="http://www.daniweb.com/techtalkforums/thread26184.html"]http://www.daniweb.com/techtalkforums/thread26184.html[/URL]. But something seems to be garbled. Here's what parts of my aspx code looks like. [code] ... [COLOR=#0000ff] var[/COLOR] src = document.documentElement.outerHTML; document.getElementById([COLOR=#800000]"pSource"[/COLOR]).Value = src; } … | |
All, Here is some JavaScript I found. It creates a small scrollbar, which allows a user to scroll though a series of 5 images. The images represent votes, and the user can then press a "Rate us" button in order to cast a vote. As you can see in the … | |
Greetings, I maintain a web page for the engineering department where I work and I was trying to make a humorous tool for the web page. Basically it is a form with three categories... Good/Fast/Cheap. Good meaning - a work product that is correct/accurate/etc. Fast meaning on or ahead of … | |
![]() | Hi there, I feel a bit awkward posting this question without a proper introduction of myself, also not being a developer or anything. But there's this nagging problem I have with my homepage. [URL="http://www.xs4all.nl/~nickelvd/"]Here it is[/URL] (Dutch only). As you can see (in other browsers than Firefox), there's a javascript … |
Good afternoon all, does anyone know how to connect to a SQL database, using Javascript? I only know how to do it in VBScript, and not Javascript, can anyone help, thanks... Have a nice day... | |
Hi.. All, I want to 'decrease' the execution time of my script... some persons told to me to use 'Timer' .. But I don't have good idea about 'Timer' and I am new for 'javaScript' so please tell me how can I 'decrease' my script execution time using 'Timer' So … | |
Is there any way in CSS (without using any JavaScript) which allows us to NOT to have scrollbars next to "certain contents" only. I'm getting my inspiration from this website: [url]http://www.tristarwebdesign.co.uk/templates/templates/infinity/index.html[/url] My very top space is for "company's logo" & I don't want a scroll bar appearing on the right … | |
Hi..Friends ... when i use Firefox 1.5.0.3 ,i get always 'Unresponsive Script' pop-up... and i know we can 'solve' this issue with the setting of 'dom.max_script_run_time=20' config variable(Type about:config in address bar)... But my problem is --- I want to change 'dom.max_script_run_time' through 'javascript' code ...means when i will run … | |
Any help or direction is appreciated - i have a script that can write(text) something, but i dont know how to get it to run another script- sorry, it sounds elemental, just learning- thanks! intead of when true or false write (text), i need to insert another script- so if … | |
Hi Friends, Is it possible to download a file from the server and save it in the local pc. If possible what is the steps to be followed. Plz reply me....................:?: Regards Heartyn | |
I am getting 'Unresponsive Script' error in FireFox1.5.03...and to fix this problem i need to make my script 'Fast' can anybody help me ..how can i make my script 'Fast'.... i need to modify my script ..which take less time to execute.... can anybody help me with some 'code Example' … | |
Hey guys, I need a bit of help with my project. I am supposed to make a turtle graphics program that has a 50x50 grid and incorporates penup/pendown/up/down/left/right buttons. I've experimented with the concept and came up with a few ideas but i was just wondering how you might suggest … | |
Hi everybody I have one question. I´m quite new to HTML programming, but have been dabbling with it. I have a website that has two dropdownlists (ASP.NET controls). One ddl is filled on Page_Load with the months available. The other I have filled with every week of the corresponding month … | |
How can i display the dates that i have in my table in a different color if they were less than today's date? :confused: .. | |
Hi everyone: How do I get an Image to scroll vertically down the Web page when the browser window scroll bar is moved. In other words, the image moves as the scolling browser window moves - up or down. thanks for your help. ![]() | |
I am trying to access a SQL database and run a query. I am brand new with ASP and simply need the syntax to login and the for SQL queries in ASP. Any help would be appreciated, Thanks! Andrew | |
ok, i am having a problem, i have a player at [url]www.ghostlypets.com[/url] , i found the script at a friends site, copied it, and modified it, when i try to play a song it takes about 3 minutes to buffer, it is [I]not[/I] my computer, also sometimes it doesnt work … | |
Hey everyone, Okay, i've got a pretty okay understanding of HTML and CSS. Parts of HTML I havnt learnt yet are Forms/Tables and Frames, After I have a basic understanding of that I want to move on to javascript, but I want to do it quickly, so if someone can … ![]() | |
Hi All, Can anyone help with a problem I have? I'm using a Random Image javascript code with images that include links. I link to pages on my site (not opening in a new window), which I've managed OK. But I also want to link to new (or blank) pages … | |
hello,i have a nice-looking dhtml menu written by javascript,the javascript code is in a separate .js file,and when i use it in html page,i just insert <script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>in <head></head>tag and it works fine now i want to use this menu in .aspx page ,is it possible ?and how? … | |
After realising the importance of "validating" my XHTML document, I'm going through the validation process by trying to validate each of my HTML page. Couple of problems that was beyond me includes: [CODE] # Error Line 11 column 8: there is no attribute "name". <a name="top"><img src="about.gif" alt=""/></a> You have … | |
I am trying to write a page that uses Javascript to post a variable to [I]another[/I] page so that it does not appear in the address bar. There are pages out there that almost do what I would like them to do, but are confusing... part of the reason for … | |
[CENTER][B]Hi all, I am want to know if i can create files and work in streams by javascript . if that is available please send to me the idea and the code if available. Thanx.[/B][/CENTER] | |
Hi guys, i want to create a database application to reside on a cd. My challenge is what application should I use to develop the front end. The client wil prefer if it is auto-run and not requiring installation which I'm not sure is possible. Someone said the options are … | |
ok here it goes: I ahve 2 textbox within a form on my HTML page I want to display the text "SHOUVIK" (without quotes) on the second textbox as soon as I click on the first textbox Is this possible? Kindy help | |
Greetings, I'm totally inexperienced in website design but a keen learner:mrgreen: What do I need to do in order to allow visitors to my website to submit photo's on a submit form? Thanks! | |
[CODE]<html> <head> <meta http-equiv="Content-Type"content="text/html; charset=windows-1254"> <title>JavaScript</title> </head> <body bgcolor="#000000" text="#ffffff" vlink="#99FF33" link="#FF99FF"> <script language="javascript"> function ShowValue() { document.TextBox.value = "You clicked the button."; //Error on this line } </script> <input type="text" name="TextBox" width="128"><br> <input type="button" name="Show" value="Show" onClick="ShowValue();"> </body> </html>[/CODE] Text control doesn't show the text. Why doesn't it? | |
I would like to use aherf and link to a web site and auto bring up the javascript:alert(document.lastModified) for that site without any user input. Just link to the site and get the last modified date. I have a links section on my website and want users to be able … | |
I tried several things. i get invalid char or no object. can one change fore color or setup a mask. the text box contains numbers and if the number is negitive i need it to show in red, black if not. var oRed = '#ff0000' var oBlack = '#000000' if … | |
Hello there, I need my page to randomly select a CSS document. I don't want the user to select it, but instead to do it when the page loads. This is the script I have so far: [INLINECODE]<script language="javascript" type="text/javascript"> var ranNum= Math.floor(Math.random()*3+1); document.write("<link rel='stylesheet' href='hd"+ranNum+".css' type='text/css'>"); </script>[/INLINECODE] This function … | |
Ok, as usual, Internet Explorer is playing games with me in rendering code. I need a fresh set of eyes to look things over, cuz apparently I am missing it. Anyway, in the center of the page there should be some black text that says "Heading" a few lines of … |
The End.