15,120 Topics
| |
hello, i was wondering if there is a way to automatically crop a picture, or only show a specific part of it with javascript. i dont know if this is important or not, but i want the cropped picture to fill the div its in, no matter what size the … | |
[IMG]http://i36.tinypic.com/11rus5g.jpg[/IMG] So far i have a database with all data in it. I have the 1st text field where the user enters their postcode and then the page reloads populating the drop down menu with the corresponding suburbs. Next what i want is after a suburb has been selected in … | |
Hi to all, I'm developing a web page and the requirements is that the page must include an iframe and the user can insert an URL address and the page will be displayed in the iframe(I write awhile a question displaying contents ion iframe and I receive an answer the … | |
I've been trying to brush up my js skills, and have been reading some scripts for personal edification. A notation I keep seeing, and do not understand, is the following: emptyFunction: function() { } ...where a function will be declared with the name, followed by a colon, followed by function(). … | |
Hi, Using Dreamweaver, I'm trying to implement code on my page so that the images refresh upon loading, and each image links to a different page.... I'm also trying to have it so images will rotate on the page and link to other pages within my site. please help! email: … | |
Hello, I have a site hosted on a free hosting service and I'm using freedns.afraid.org to direct my domain there. The URL forwarding is done by ways of a frameset with my site in a frame. On my site is a javascript that manipulates the location string for some AJAX … | |
Hi!! i need to write a function that counts the number of names seperated by a '/' for example if i write aashish/ankush in a field the number returned should be 2 thanks.... | |
Hello there, I have this script which I have edited and altered, to create a demo of what I want (the original coming from Dynamic Drive). Is there a way to achieve this in CSS? Thank you, Regards, Grant | |
Hello, I was wondering if you can extract an item from a rss file and display it in a div. like extract the title and put it in an h3 tag, extract the description and put it in a paragraph, and have the link below, and all automatic, so you … | |
sorry about the bad title, but this is a code that takes a string, defined in an array, and converts it to the next string in the array by replacing letters one at a time. it works fine, but i want some modifications. code: [CODE]function scroll(message_loop) { var messages = … | |
Hi i am new to AJAX but i havejust managed to write one of my first basic scripts. What it does is takes all the news items out of a database and lists them as links. When you click a link i want all of the data that is linked … | |
Hi I want to capture a Windows OS event. In Java Plugin Checker, when the user is prompted to install a JRE there is a File Download window pops up with Run,Save and Cancel buttons. I want to get the control back when the user clicks on Run/Save/Cancel. I need … | |
hello, the title basically sums it up. how can i see if a word is in a url and then if it is, do something with it. thanks for any help billy | |
[code]<script type="text/javascript"> function counter() { var first; var number; if (first == ""){ var first = 42; var number = 0; }else{ var number = number++; } var full = 7; var length = strlen(number); var full = full - length; for (i=0;i<full;i++){ document.getElementById('counter').innerHTML = document.write('<img src="images/0.gif" border="0">'); } for … | |
Hello! I am a n00b to both PHP and Javascript, so please bear with me... I have a form and I use Javascript to validate the form. If there is an error on the for it displays the appropriate alert. The problem I have is when I click "OK" on … | |
Hai all , I had a from in a php page with 3 fields. ie username, name and email. I have to do a form validation using javascript. My code is like this. [ICODE]<script language="javascript"> function Validate_form(){ if(document.getElementById('user_id').value.length<=5){ document.getElementById('user').className="error_msg2"; document.getElementById('user').innerHTML='Username must have minimum 6 chars.'; return false; } else{ document.getElementById('user').innerHTML=''; … | |
hello, i never used ajax and now i need it :-P i need monitor iframe on page. user open my page with some information and iframe. in this iframe user must register on other pages and i need to know iframe url to redirect iframe to other pages after complete … | |
hi, can anyone help to explain this code.. or is their an equivalent vbscript for this code? please help...don't know about javascript.. thanks in advance.. [code] if(arguments.length == 3){ var result = "<" + arguments[1] + ">"; for (var i = 0; i < arguments[2].length; i++){ result += "<li>" + … | |
I was wondering how to change a url in javascript for example if i wrote an address [url]www.google.ei[/url] How would i get the script to change the address to [url]www.google.ie[/url] | |
I'm working on a page that needs to do some calculations based on values that the user inputs via sliders. I can get the values selected to display in a text box below the slider, but I also need to store the value as a variable for use in calculations. … | |
hi , actually i am developing a web application in asp.net using c#. i have come across a requirement to read a excel file without going to the server . i need to use javascript for the same. so i need help on javascript function to read from excel file. … | |
Hi, I'm currently doing on a project, frankly speaking i'm new in javascript only know the basics. I'm not even sure whether this thread is suppose to be here or under html.. I'm suppose to create some codes that enable a html page to load to the next html page … | |
Hi I know how to use html and I am learning css by myself (with the help of books and internet) but I thoght of doing a course on javascript cos it looks way too complicated and it always helps having a tutor cos you can ask questions etc What … | |
I have a product image that is 4 images 'sewn together' [url]http://www.flickr.com/photos/28033561@N03/3504394261/[/url] I am going to set a div called ProductImage and then have the background of the div set to this image, but with only the top image showing. I then want to have a button for 'more views' … | |
ok. i am having trouble with this code: [code] <head> <script type="text/javascript"> <!-- function switchPic(picID) { document.getElementById(picID).style.display="none"; } //--> </script> </head> <body> <a href="" onclick="switchPic(_1)">Click Here</a> </body> [/code] when you click the link, it gets the id from the info provided in the link and makes it disappear (thats how … | |
Hi There, I need help badly on the div tags. I dont have much knowledge on div tags I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug. When I scroll my browser … | |
Hi All, I need help on this. I am a new bie in javascript When javascript alert is popped up, it doesnot allow us to focus on the window till we click on the alert ok button. Can we do the same when I popup div alert. I have put … | |
hii!!! i have two forms, the edit and the add transaction form.. In the add transaction form, the user has to attatch a file for which i use <input type=file id="path" > and the path is saved in the database.. now when the user edits the form, i cannot get … | |
[code=javascript] function read() { var numbers = new Array(); for (i = 0; i < field.length; i++) numbers[i] = document.test.checkboxName.value; var counter=0; //Let's print out the elements of the array. for (counter=0; counter<numbers.length; counter++) document.write(numbers[counter] + "<br>"); } [/code] I want to read the values of the checkboxs and store … | |
Hi I have an iframe on a page, i am using a javascript to resize the iframe so that there isnt a scroll bar. However, when I print the page, depending on the browser, different things happen. So far, Google Chrome is the only one that pulls it off... FireFox … |
The End.