15,121 Topics

Member Avatar for
Member Avatar for creativeideas

I m using a script for randomly calling a text on my page using [code]Math.floor(Math.random()*(quotes.length))[/code] this code running perfectly when i click on my page or refresh it... is that possible to autorate the quotes after sometime u can see the live example [url]playbackgroup.com[/url] right panel in top box where …

Member Avatar for essential
0
81
Member Avatar for billymcguffin

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 …

Member Avatar for essential
0
100
Member Avatar for BillyMako

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

Member Avatar for itsjareds
0
505
Member Avatar for Potato.Head

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 …

Member Avatar for almostbob
0
88
Member Avatar for Fiume

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

Member Avatar for Fiume
0
75
Member Avatar for rowads80

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

Member Avatar for JugglerDrummer
0
166
Member Avatar for danielgrad

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 …

Member Avatar for danielgrad
0
74
Member Avatar for aashishn86

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

Member Avatar for mail2saion
0
299
Member Avatar for Lib Auth

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

Member Avatar for Airshow
0
98
Member Avatar for billymcguffin

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 …

Member Avatar for essential
0
534
Member Avatar for billymcguffin

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

Member Avatar for billymcguffin
0
87
Member Avatar for T.Cavanagh

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 …

Member Avatar for essential
0
1K
Member Avatar for new2JS

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 …

Member Avatar for peter_budo
0
94
Member Avatar for billymcguffin

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

Member Avatar for Airshow
0
542
Member Avatar for Ries

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

Member Avatar for Ries
0
277
Member Avatar for Archo

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 …

Member Avatar for Archo
0
291
Member Avatar for rajeesh_rsn

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

Member Avatar for mail2saion
0
102
Member Avatar for stix

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 …

Member Avatar for itsjareds
0
83
Member Avatar for cguan_77

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

Member Avatar for essential
0
129
Member Avatar for _Nestor

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]

Member Avatar for itsjareds
0
198
Member Avatar for jools68

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

Member Avatar for itsjareds
0
114
Member Avatar for Poojasrivastava

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

0
111
Member Avatar for suresure88

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 …

Member Avatar for suresure88
0
161
Member Avatar for sephoria

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 …

0
59
Member Avatar for millsy007

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

Member Avatar for millsy007
0
191
Member Avatar for billymcguffin

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 …

Member Avatar for billymcguffin
0
3K
Member Avatar for learnerasp

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 …

Member Avatar for billymcguffin
0
116
Member Avatar for learnerasp

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 …

Member Avatar for essential
0
160
Member Avatar for aashishn86

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 …

Member Avatar for aashishn86
0
113
Member Avatar for osirion666

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

Member Avatar for osirion666
0
1K

The End.