User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 374,512 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,878 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 151
Search took 0.02 seconds.
Posts Made By: Luckychap
Forum: JavaScript / DHTML / AJAX 11 Days Ago
Replies: 3
Views: 450
Posted By Luckychap
Re: change cursor from pointer to hand

Put ur applet in a seperate div or span and on their onmouseover and onmouseout events write a javascript function to change cursor.


<span onmouseover="changeToPointer();"...
Forum: JavaScript / DHTML / AJAX 15 Days Ago
Replies: 17
Views: 1,220
Posted By Luckychap
Re: how to change name attributes with Javascript

Above code is working fine on FF but on IE7 name attribute is not set at all.
I had modified the above code to work on both the browsers.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
...
Forum: Java 15 Days Ago
Replies: 3
Views: 162
Posted By Luckychap
Re: Login authentication

Its all about JDBC.
Forum: JavaScript / DHTML / AJAX 15 Days Ago
Replies: 17
Views: 1,220
Posted By Luckychap
Re: how to change name attributes with Javascript

Instead of changing name can't you change id of the element. This may help in both IE and FF.
Forum: C 15 Days Ago
Replies: 4
Views: 175
Posted By Luckychap
Re: help me with this code

#include<stdio.h>
#include<string.h>
float avg(float);
main()
{
FILE *p[2];
int k,students=10,subjects=4,i,j,id_number,date_of_birth,fail=0;
float marks[100],total=0,avg;
char...
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 17
Views: 1,220
Posted By Luckychap
Re: how to change name attributes with Javascript

document.getElementsByName('hobby[1]')[0];

is not standard function avoid to use this.
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 17
Views: 1,220
Posted By Luckychap
Re: how to change name attributes with Javascript

there are many DOM function to add/del new rows of to create objects. Better google!!
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 5
Views: 353
Posted By Luckychap
Re: Two drop downs with image

Fetching paths from database would little lengthy, so its better to set the path manually:


var imgArr = new Array();
//width, height are the width and height of the image
imgArr[0] = new...
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 5
Views: 353
Posted By Luckychap
Re: Two drop downs with image

You have to specify the path of the image. You have 2 options: 1. fetch the paths from database or 2. manually write the path for all the images.
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 5
Views: 353
Posted By Luckychap
Re: Two drop downs with image

for second select option write a event-handler for onchange event.

like :


<select onchange='showImage(this)'>
.
.
.
</select>
Forum: JavaScript / DHTML / AJAX 16 Days Ago
Replies: 17
Views: 1,220
Posted By Luckychap
Re: how to change name attributes with Javascript

This may help u:


var inputs = document.getElementsByTagName("input");
var i;
for(i=0; i < inputs.length; i++)
inputs[i].name="my_name";
Forum: JavaScript / DHTML / AJAX 17 Days Ago
Replies: 4
Views: 567
Posted By Luckychap
Re: DHTML pop up help

then put that table at last and make its position absolute and make top, left also 0,0


<table style='position: absolute; top: 0px; left: 0px; width: 100%; height: 100%'>
<tr>
<td align='center'...
Forum: JavaScript / DHTML / AJAX 17 Days Ago
Replies: 4
Views: 567
Posted By Luckychap
Re: DHTML pop up help

Some code change:


<table style='height: 100%; width: 100%;'>
<tr>
<td align='center' >

<div id='styled_popup' name='styled_popup' style='border:1px solid #000000; width: 380px; height: 300px;...
Forum: Python 20 Days Ago
Replies: 1
Views: 166
Posted By Luckychap
Re: Django help!!

Problem solved.

Thanks.
Forum: C 20 Days Ago
Replies: 3
Views: 188
Posted By Luckychap
Re: using c in software

What everthing you see can be done with programming( C ). So keep your eyes open when you are using your Windows, Unix Or Linux.

just think what u can add to software, which will be helpful to...
Forum: JavaScript / DHTML / AJAX 20 Days Ago
Replies: 5
Views: 401
Posted By Luckychap
Re: Help please

Yes u r correct. Thats why we are suggesting u to learn some general purpose languages, so that u would be able to interact with the database.

The theme is that:

you create a page on website using...
Forum: C 20 Days Ago
Replies: 10
Views: 529
Posted By Luckychap
Re: our very own OS

Yes indeed!
Forum: Python 21 Days Ago
Replies: 1
Views: 166
Posted By Luckychap
Django help!!

Hi python guys,

I just started to dig in Python. I am new to this. I came close to Python when I got a project to be done with Django.

I got stuck when I was fetching data from database(mysql)....
Forum: JavaScript / DHTML / AJAX 21 Days Ago
Replies: 5
Views: 401
Posted By Luckychap
Re: Help please

Adding to SOS, i want to tell u that HTML is used as presentation layer ie it is used to present somthing(text, image etc.) on the web page.

like

<input type='button' value='Click me!'>


above...
Forum: C 22 Days Ago
Replies: 10
Views: 529
Posted By Luckychap
Re: our very own OS

OS is like a layer between ur hardware and ur application program. OS is very close to hardware. So it is not wrong to say that OS is hardware dependent.

As far as WinXp is concerned it is...
Forum: JavaScript / DHTML / AJAX 23 Days Ago
Replies: 5
Views: 610
Posted By Luckychap
Re: form validation

Put Logic!!
Forum: C 23 Days Ago
Replies: 7
Views: 308
Posted By Luckychap
Re: help needed with C program using a linked list to determine if a word is a palindrome

Ok!!

One thing more, you have to maintain two pointers..head and tail. Which will have the addresses of first and last node respectively.

And write a function which will count the length of the...
Forum: C 23 Days Ago
Replies: 7
Views: 308
Posted By Luckychap
Re: help needed with C program using a linked list to determine if a word is a palindrome

First create a doubly link list. A doubly link list with each nodes having the address of next and previous node. The structure of the such node is as follows:


struct node {
char data;
...
Forum: JavaScript / DHTML / AJAX 23 Days Ago
Replies: 4
Views: 661
Posted By Luckychap
Re: Maintain Div Postion on Refresh

if only the div content have to be changed then why u r refreshing whole page(u can use ajax). And to maintain the position while new content is added use textarea instead of div.

what say?
Forum: JavaScript / DHTML / AJAX 24 Days Ago
Replies: 4
Views: 661
Posted By Luckychap
Re: Maintain Div Postion on Refresh

give some id to the div. And by using its id change the content of the div.

HTML:

<div id="mydiv"></div>


JavaScript:

var mydiv = document.getElementById("mydiv");
Forum: C 25 Days Ago
Replies: 11
Views: 276
Posted By Luckychap
Re: Sentence separation..

There is no general rules, you have to take care of these exceptions.

You have to Develop some sort of algo to handle these exceptions.





At first sight it seems easy but things are getting...
Forum: JavaScript / DHTML / AJAX 25 Days Ago
Replies: 2
Views: 349
Posted By Luckychap
Re: Hide file location on server

one thing can be done. Bring all the content of file.html through HTTP response and put it on index.html by using javascript(innerHTML).
Forum: C 25 Days Ago
Replies: 11
Views: 276
Posted By Luckychap
Re: Sentence separation..

hey that was the hint, mayank can move forward with this.
Forum: C 25 Days Ago
Replies: 11
Views: 276
Posted By Luckychap
Re: Sentence separation..

hey its easy try it.

read characters from file in a buffer until u encounter a dot(.) save that buffer which is your sentence.

What say...?
Forum: C 25 Days Ago
Replies: 12
Views: 336
Posted By Luckychap
Re: Reversing doubly linked list?

Hey have u checked the code that i posted. No you haven't.

I and Ancient dragon had mentioned some points there about the ur code. Did u understand those points.

Again,

You have not taken care of...
Forum: C 25 Days Ago
Replies: 9
Views: 294
Posted By Luckychap
Re: Modify some char* characters

its running fine on my side.

Output: boobar.
Forum: C 25 Days Ago
Replies: 12
Views: 336
Posted By Luckychap
Re: Reversing doubly linked list?

hey please specify the line number in ur code where u think is the issue.
Forum: C 26 Days Ago
Replies: 12
Views: 336
Posted By Luckychap
Re: Reversing doubly linked list?

Yes I got your point Ancient Dragon.

For the first node startPtr = NULL and therefore should be checked.

Thanks.
Forum: Community Introductions 26 Days Ago
Replies: 3
Views: 159
Posted By Luckychap
Re: Hi to everyone

hey welcome,

Stick to Web Development forums. You will get lots of good and helpful people there.

BEST OF LUCK!!
Forum: C 26 Days Ago
Replies: 12
Views: 336
Posted By Luckychap
Re: Reversing doubly linked list?

hey Ancient Dragon,

the conditon

if(*sPtr != NULL)


is already been checked in the while loop and depending upon the value of currentPtr the value of previousPtr is changing in that loop. If u...
Forum: C 26 Days Ago
Replies: 12
Views: 336
Posted By Luckychap
Re: Reversing doubly linked list?

You are coding doubly link list, and not taking care of prev pointer while inserting new items.

You have not type casted malloc.

You have used delete as function name, whic is wrong as delete is...
Forum: C 26 Days Ago
Replies: 10
Views: 529
Posted By Luckychap
Re: our very own OS

hey 0xB8000 is the starting address of VDU memory. If u write any thing on this memory location it will be displayed on the screen.

But one thing I want to know what is ur operating system's...
Forum: JavaScript / DHTML / AJAX 28 Days Ago
Replies: 6
Views: 614
Posted By Luckychap
Re: Radio button

hey just want everythin to done here!!

Show some effort dude.
Forum: JavaScript / DHTML / AJAX 28 Days Ago
Replies: 3
Views: 524
Posted By Luckychap
Re: change values of repeat region textfield

please mark this thread as solved
Forum: JavaScript / DHTML / AJAX 28 Days Ago
Replies: 6
Views: 614
Posted By Luckychap
Re: Radio button

You know what makes ur life hell here.

Yes your Code itself. What the hell u have coded. No code tags.
As u r a new poster, I am solving ur problem.

Here is ur code that i modified (is this was...
Showing results 1 to 40 of 151

 
All times are GMT -4. The time now is 2:29 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC