Closed Thread Icon

Preserved Topic: A demonstration of Table managment (JS/DHTML/ASP) (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18449" title="Pages that link to Preserved Topic: A demonstration of Table managment (JS/DHTML/ASP) (Page 1 of 1)" rel="nofollow" >Preserved Topic: A demonstration of Table managment (JS/DHTML/ASP) <span class="small">(Page 1 of 1)</span>\

 
lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-21-2002 11:38

Hello,

I had to make a script to allow user to edit/add/delete/update lines from a database in a very intiutive way.

I publish this HTML script for learning and critique (probably i can make it better) purpose.

Needs: IE4+ NS6
http://lgwm.org/ozone/dynatable.htm

Good luck.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 08-21-2002 11:44

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-21-2002 12:07

Ini, thanks for your comments.

It is already bound to a database.
But this .HTML version is just a "ViewSource" then save as Static HTML (notice that the submit does not work)

please view its source and look for:
'db generated' strings,
where you will spot locations where I used ASP to generate that code.

I found it pointless to publish ASP files cause I'll have to publish MDB files too.


I'm running through one problem though....I can't movelines up/down in NS6, cause the Table.moveRow() method does not exist! it is suggested to use the replaceChild() but that ain't working. suggestions?!

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 08-21-2002 12:15

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-21-2002 12:18

yes, Ini...
I could have got the table's complete innerHTML content then wrote two RegExps to flip the lines (string level, manipulating the whole <tr>.+?</tr> ) then write the new innerHTML back again, but I would like to use the DOM methods!

I tried theTable.replaceChild(theTable.rows[index], theTable.rows[index+1]) and that does not work...

anyway,

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 08-21-2002 12:53

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-22-2002 06:02

yes, you're right.

I'll do that.

Thanks for the hint.

« BackwardsOnwards »

Show Forum Drop Down Menu