English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - March 2007

[Selected]: All categories Computers & Internet Programming & Design

Hi I have a list elements inside a div. I have javascript function to dynamically add list elements to the div using (appendChild).

I have another javascript function to enumerate the list items.

Now. For the list items that originally exists in the page, enumerate function work. But when I start to add list elements dynamically, they do not get enumerated. I also noticed that when I view the page source, the newely added elements are not shown.

Can somebody help me with a way to keep track of the updated list elements?

function Enumerate()
{
var mylist = document.getElementById('firstlist');
for (i=0; i if (mylist.childNodes[i].nodeName=="LI")
alert(mylist.childNodes[i].innerHTML);
}
}

2007-03-11 09:23:19 · 3 answers · asked by Anonymous

2007-03-11 09:12:16 · 2 answers · asked by Lauren 1

Does anyone know how I can modify the "slide menu" from http://www.braingiants.com (download from the site) so I can have links from the images to another webpage, (controlled by the xml file) or where I can get one similar??

(like the menu they use on the bottom of the site)

Thanks alot! :-D

2007-03-11 08:45:57 · 2 answers · asked by Greg S 3

I saw this on youtube and was just wondering if anyone could give me some info on it like maybe the website I will add the youtube link if I can locate it again............what kind of system do you use it on etc. I don't think it's a regular computer but I could be wrong

2007-03-11 08:20:55 · 1 answers · asked by *CiTsJuStMe* 4

2007-03-11 07:52:38 · 9 answers · asked by Anonymous

2007-03-11 07:07:09 · 1 answers · asked by champcar99 1

wanna a lil detail about functions,arrays and structures...all related to programming C++
kindly help me sir!!

2007-03-11 06:59:03 · 1 answers · asked by student of honorZ 2

i have been asked to design the inside of a bakery but i dont know what to use to do it

2007-03-11 06:58:43 · 3 answers · asked by sinbad_boo 1

2007-03-11 06:48:54 · 4 answers · asked by 83rdSAGA 1

2007-03-11 06:46:23 · 2 answers · asked by asbestosdiagram 1

I am doing a GCE project and I need to find out th advantages of using dreamweaver and of using plain html to create a website for an art galler. Help please!

2007-03-11 06:46:05 · 5 answers · asked by SophiaC 1

2007-03-11 06:44:21 · 2 answers · asked by SK 1

I want to learn full mechanical design using AutoCAD. have no much knowledge in mechanical. What can help me learn this

2007-03-11 06:35:11 · 6 answers · asked by Human 2

could i insert audio in pdf file from photoshop or photoshop elements?if so how?

2007-03-11 06:22:10 · 1 answers · asked by agostino faria f 2

2007-03-11 06:20:20 · 1 answers · asked by NotSoPerfect 3

www.xalyzax.piczo.com
www.sjhsnewport.piczo.com

i've just started on them, and so far they're ok the 2nd 1 is really new

also, how could i advertise it?

2007-03-11 06:00:16 · 2 answers · asked by ♥-babee-gurl-♥ 1

I used a pre-made layout on my Myspace page. After using it my post a bulletin became disabled. I have since removed the pre-made layout, but I am still unable to post bulletins. I guess I disabled it and do not know how to fix it. I emailed Myspace, over a week ago of course with no response. Is there anyone out there who is knowledgeable in this area. I have tried to find some sort of support for this issue with no luck. Thanks~

2007-03-11 05:49:04 · 1 answers · asked by lisa c 1

I have a Nokia 93 with videocamera; I want to put my mobile videoclips directly on my blog, not on some other site.

2007-03-11 05:47:34 · 2 answers · asked by Allen W 2

Hello,

I was wondering how to create a Web-based message system using MySql databases, like the ones you see in forums. Can anyone send me the code just for the message system not anything else for the forum.

2007-03-11 05:39:53 · 1 answers · asked by touchmyfire 1

Ok so I have the basic page done- i did the design in photoshop and created a division that shows it. But as of now my page isn't alive- there are no links to click or anything- its just a page with a picture- how do I make it so that when you hover over certain areas of the screen it leads to another image? *remember im doing div overlay so I would need a CSS and HTML code

2007-03-11 05:35:01 · 2 answers · asked by Anonymous

I have the distance[] array declared globally, and xco and yco declared and initialised in the method. I also have locationx[] and locationy[] arrays declared globally, initialised with 7 integers in each.

for(int i = 0; i < 6; i++);
{
distance[i] = ((xco - locationx[i])*(xco - locationx[i])) + ((yco - locationy[i])*(yco - locationy[i]));
}

I've figured out that there must be a problem with this code, as when I try and display the contents of the distance[] array in the paint() method it shows the first six elements of the array as being 0 and only the last one with an actual number. What have I done wrong/what could the problem be?

(this code is in the mouseClicked() method).

2007-03-11 05:34:41 · 5 answers · asked by roslya 1

I need to edit some photos to make them look like people on magazine covers. How do i change the backround and stuff. Other information would be nice.

Thanx

2007-03-11 05:17:40 · 5 answers · asked by Anonymous

i need to know where you can find the parts of a computer to put together yourself. Please help me!

2007-03-11 05:05:36 · 5 answers · asked by Anonymous

i am very new to c++ and programming in general.
i bought a book called c++ all in one desk reference for dummies.
i am a few pages in and im having trouble making words come up into a dos box.

im using a program called dev-c++

#include
#include

int main(int argc, char *argv[])
{
cout << "Hello, i am your computer talking." << endl;
system("PAUSE") ;
return 0;
}


when i enter that, the error box on the bottom of dev-c++ says

line 8 message: cout undeclared (first use this function)

line 8 message: endl undeclared (first use this function)

also, if i delete line 8 of that, it works fine, a dos box pops up and says press any key to continue.

if you could please give me a few tips upon what i might be doing wrong,
please tell me!

2007-03-11 04:54:55 · 6 answers · asked by geoff w 1

'Fd1 and sele2 are string variables for feild names
'rs is the record set Access database
'DB1 is a msflexgrid


fd1 = ("TC" + sele2)
While Not rs.EOF
If rs.fd1 = sele3 Then
DB1.Rows = row + 2
scid = rs!SchoolID
DB1.TextMatrix(row, 1) = scid
DB1.TextMatrix(row, 4) = rs!TC01
DB1.TextMatrix(row, 5) = rs!TC26
row = row + 1

error masage object does not support
want help to correct this error

2007-03-11 04:54:37 · 2 answers · asked by suga 1

i am asking this question because my computer is going extremely slow because of this?

2007-03-11 04:36:41 · 3 answers · asked by jaya 1

Just curious. My Windows did not and I have it set for automatic update. My Linux did. I assume the Linux updated off the Inet. Also, if you use Windows and yours' did update; What OS and do you use something like "Automic Clock"?

2007-03-11 04:35:13 · 11 answers · asked by Snaglefritz 7

I am currently working in TCS.

2007-03-11 04:13:27 · 4 answers · asked by Anonymous

fedest.com, questions and answers