20,316 Topics
I have realized that I should start learning some scripting language from now on. So where do I start? Perl, PHP, asp, javascript etc. I mean which language would be better to start with?
Hi everyone, I'm pretty new to Javascript and I guess I'm pretty nooby at it so I have a problem with some Javascript I'm trying to write. Basically I'm creating some Javascript that will allow me to calculate someone's Body Mass Index (BMI) and so far with my code have …
<code> <%@ page import="javax.portlet.RenderResponse,javax.portlet.RenderRequest,javax.portlet.PortletURL, javax.portlet.WindowState,java.util.*"%> <% System.out.println("Inside addCategory.jsp"); RenderResponse renderResponse = (RenderResponse)request.getAttribute("javax.portlet.response"); if (renderResponse == null) { out.println ("unable to get RenderResponse object"); return; } RenderRequest renderRequest = (RenderRequest) request.getAttribute ("javax.portlet.request"); if (renderRequest == null) { out.println ("unable to get RenderRequest object"); return; } PortletURL actionURL = renderResponse.createActionURL(); %> <% …
[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 …
How do i run this script "mm_menu 20MAR2002 Version 6.0"
hi I have a main listbox, which the content is in form of dynamic arrays. Upon click on some of the item in the listbox, some other arrays are suppose to appear in another listbox, by checking that both of them have the same "title". I was thinking of using …
Hello, I need a javascript which checks that user's mobileno should start from 9, otherwise it gives error. Thanks and Regards Dhruv Shah
...or should i say when opening new windows with javascript for example, when i want to open new window, say using the shift+clicking the link, the window pops up fine, but when the link is javscript:void(0); it takes literally about a minute to open, and the pointer stays a thumbnail …
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 …
[URL="http://www.accuracyauto.com/pdb.aspx"]My site[/URL] allow you to switch between 3 langauges. At the time I created it, I still went with iFrames, and due to the size of the site now, very hard to go back and change everything. All works fine, until the user start using that darn "BACK" and "FORWARD" …
Hi there, I'm making a webpage with some news that I can update thru another aplication that puts the new news in my "mysql" database. :-| No problem tile now, but i'd like my page to auto refresh the include that I have with de news in PHP. :eek: So …
Hi Webbies I know some HTML and a little Flash and CSS and have put together a simple site [url]www.davidhurn.co.uk[/url] using Dreamweaver. But now I'm confused as to what technologies are the most helpful for the optimum website. If you look at Warren Prasek's portfolio on [url]http://www.wprasek.com/web_design/index.htm[/url] you will see …
hi, i have a problem, As as asp programmer i dont know about js and i wnt to use same feature what DANIWEB is using in my application can any help me please.It has to display info as user mouseover on control just give me idea i can try it …
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 …
hai.. I have a database with a primary key(Employee id). I am having an insert form, display form, delete form and main page form. I want to validate the Employee id entered by the user in the insert form that means I want to check with the database, If it …
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 …
I noticed on this forum and on the web when I go over a link or a double green underline link an info window is presented. How can this be achieved - any code samples would be appreciated ..
hello!!!!!!!!! I have a problem with my html code....... I have a table with one row. when I click on a button , it will add a new row to my table. for this I have used innerhtml property. All the columns are textboxes except for one which is a …
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 very annoying problem with which i would be grateful of any advice. I have installed an autosize iframe on my page and everything works fine until i add extra content below my navigation menu. After adding the extra content ( red image) the page will not …
1. at index.php, <head ></head> <body > menu part <iframe frameborder="0" id="aaa" src="./body_load_in.php" onload="resizeIframe(this)" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" border="0"></iframe> 2. body_load_in.php put links into records for opening parent pages $result = sql_query($sql); for ($i=0; $row = sql_fetch_array($result); $i++, $k++) { $list[$i][href] = "javascript:void(0)" onclick="javascript:parent.location('/club/club_main.php?botable=1&cb_id=$row[bo_table]&wr_id=$row2[wr_id]&sca=$row2[ca_name]')"; The result is …
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 …
Hi again. I hope you guys don't think that I'm not trying or am lazy due to all the questions I'm asking here. Does anybody know the KeyChar arguments for the Del and Backspace buttons? I need to put them in a KeyPress event Also, I'm confused as to how …
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, …
Hey everyone, I need some advice. I have a simple user form. Name, email, comments, blah blah blah. Currently for error checking, in my code, if the user inputs something invalid or doesn't fill out a required field, I redirect them to another page that tells them the error, then …
hi,I see a site when I click the game image,it's to a url: [url]http://www.site.com/skill-games/12-many.html[/url] when I click the second image,the url changes to: [url]http://www.site.com/play/1400.html[/url] how this can be done?thanks in advance:eek:
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...
:?: Can anyone please let me know where can I find some sample tests for different technologies/languages/skills regarding web development? I need these for the below mentioned:PHP, ASP, ASP.NET, .NET, ColdFUsion, JSP, Ruby, XML, Soap, CSS, HTML, JavaScript. Thank you in case anyone can help. Regards Tommy
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, …
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'm so sorry for asking but where should I insert or save C++.:rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes: I'm skilled in html [URL="http://www.daniweb.com/techtalkforums/thread71182.html#"]css[/URL] and javascript but I don't get this. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Test</title> <script type="text/javascript"> function test() { alert("NIET KLIKKEN VERDOMME") } </script> <script type="text/javascript"> function startTime() …
Hi... Well the problem is that i have 2 divs in my page... and one have 1 horzizontal scrollbar adn the other one have another horizontal scroll bar.. and want that if i move one scroll bar the other one move in the same time... i dont know if this …
I have the code bellow and for some reason I have a infinite loop, but I just can't find it to fix it. I just call the function move to dynamicly resize a DIV. var pos; var finalPosition; var myTimer; var myVar; var cnt; function move(finalSize){ cnt=document.getElementById('contentBorder'); pos = cnt.clientHeight; …
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' …
Hi , Could some one help me out to count the hits made on a page(created in html).I want the number of people accessing a particular portal . Thanks, Aswathy
: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 …
I have is a set of HTML checkboxes and a Access database at the back end, when I retrieve the values of the checkboxes to process with Classic ASP I am running into a problem with undefined values. What I have discovered from research is that if a checkbox is …
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 …
The End.