Linked List Implementation

Jul 20, 2005

Is there a good linked list implementation in the public domain? Or
that someone on this group has already written that they'd like to put
in the public domain, right here on this newsgroup?

View 3 Replies


ADVERTISEMENT

Use A Linked List To Add A Song?

Mar 1, 2011

I am trying to use a linked list to add a song. 'A' is supposed to add the song to list of objects. My problem is that every time I append a song again it seems my list gets reset. Also on the side. How come I cant use the showFromMeOn method down in 'P'?

[Code]...

View 14 Replies View Related

List Box Linked To Text Box

Jul 2, 2010

I have a text box labeled "Number of pages" and a select box labeled "Page List"
Requirement: I want tht on entering any integer value in the text box that many pages shall be populated in the list box

[Code]....

View 3 Replies View Related

Performance: Linked List Versus Native Array

Apr 11, 2005

There's no native linked list implementation in JS. I'm wondering if it would be worth it to implement one.

I'm using a lot of insertions and deletions with arrays of around length 5. How fast are insertions and deletions in JS native arrays compared to an optimized (but not native) linked list implementation in this situation? How about arrays of length 10?

View 1 Replies View Related

HashTable Implementation

Mar 3, 2006

how to implement a HashTable but specific the method getKeys();

View 7 Replies View Related

Matrix Implementation In JS

Jun 4, 2004

This is my implementation of an n x m matrix in JS:

var n=parseInt(prompt("n:",1));
var m=parseInt(prompt("m:",1));
function array(){
this.length=m+1;
for (var i=1;i<=m;i++)
this[i]=0;
}
function matrix(){
this.length=n+1;
for (var i=1;i<=n;i++)
this[i]=new array;
}
var a = new matrix();

View 9 Replies View Related

AJAX, Is The Implementation For IE 6 Different From Firefox?

Apr 26, 2007

Is the implementation for IE 6 different from Firefox?

View 5 Replies View Related

JQuery :: IGoogle Like UI Implementation?

Jun 22, 2010

I have a request to implement iGoogle like UI features, specifically, the drag/drop module boxes, and configurable elements for each module box. Currently, I have existing module box with all the forms and elements (backend support for them too). But they are not drag and droppable, and not configurable.My questions are: 1. Do I need backend engineering involved in this implementation? my understanding is: it's pretty much front end UI work and backend already provided all the form elements, backend DB, etc. for this.But my only concern is: how can the system save the user's configuration when they login the next time? Do I need backend engineering's help for this? related DB setup, java class files, etc? 2. is there any jquery UI API/plugin I can take advantage of so that I don't have to do everything from scratch?

View 1 Replies View Related

Looking For Triple DES Implementation In Script?

Jul 9, 2010

I'm looking for a Triple DES implementation in Javascript.

My requirement is that I need to encrypt data using Triple DES in Javascript and decrypt on server side using C#. I found a few, but I'm unable to decrypt the data in .Net.

View 3 Replies View Related

Document.implementation.hasfeature On IE And FF?

Jul 24, 2010

I call this function

Code:
function showForm() {
if (!document.implementation.hasFeature("Core", "3.0")) {
alert("1");//[code].....

on FireFox 3 and only the alert marked with //go off. In IE 8 on the other hand all of them go off. These are features described in JavaScript for WebDevelopers 2nd edition.This cannot possibly mean that IE 8 is missing all these features...what is qrong then?!?!

View 14 Replies View Related

Coding For Watch Implementation In Our Website ?

Sep 22, 2011

Coding of java script coding for watch implementation in our website.....

View 1 Replies View Related

Cross Browser Shiftkey Implementation

Oct 4, 2005

've been looking to implement a function which allows me to populate 2 form fields from an onClick event. I needed to be able to fill/modify one field on a single click and the other on a shift-click. This is all working fine but only for IE 5.2/Safari/Opera 8.02 but fails in Camino(Gecko). I don't have much experience in working across the different DOMs, I do know that I will need to use a different variation of the shiftkey (e.shiftkey?) and for NS4 (e.modifiers?); but I really am not certain as how to handle these correctly. Initial testing has been with limited success.

Could anyone give me some practical pointers to handle the 'shiftkey' for Gecko/Netscape4? (Gecko is more critical)

Current code as below:

function fillform(txt) {
if (event.shiftKey)
{event.returnValue = false;
alert('shift on');
MM_changeProp('fieldone','','value',txt,'INPUT/TEXT')}
else {alert('click only');
MM_changeProp('fieldtwo','','value',txt,'INPUT/TEXT')}
}

<map name="mymap" id="map16">
<area shape="rect" coords="100,14,191,41"
href="#" onClick="fillform('mytext')">
</map>

View 2 Replies View Related

Ajax :: Updater Implementation Does Not Work / Fix It?

Oct 12, 2009

I wanna make a live-error-checking sign up form.

So these are the codes

this is the php file which return echos to the js files (there's no error here, I've posted this so you know what it's all about) [code]...

if a user writes in the text box for nickname a nickname that is already registred then in a text box near the input text it will appear something like : "This Login name is already taken!"

and so on for every field (firstname, lastname...)

I have done this previously with classic ajax tehnics (that with onreadystatechanged) and it worked. But this version does not. Can you spot the error here?

View 1 Replies View Related

Php Mysql Spry Accordion Implementation

Nov 23, 2010

I have my code and it works of filtering data by Month and year.But it seems i got a problem when using accordion. For now, i created it manually but i want to make it automatically.If you click the dates in brown area it will display the news with that month. Can anyone help me out?I only have problem in accordion.[code]

View 6 Replies View Related

Javascript Implementation Of XMLHTTP And SOAP Objects?

Jul 23, 2005

I don't know enough about the technology yet to know whether this is a ridiculous question-- but is there no cross-browser javascript implementation of XMLHTTP and SOAP for use in calling web services?

It looks as though MSFT expects the client to be running Windows and ActiveX and have certain DLLs installed; and Mozilla seems to have its own implementation of SOAP. Is it
possible to implement these protocols in pure client-side javascript?

View 6 Replies View Related

AJAX :: Implementation Of Virtual Mode In ListView?

Aug 3, 2010

Did anyone implement or can direct me to an implementation of virtual mode (render only visible rows, but still have the scroll work right) or something similar in the AJAX Sys.Preview.UI.Data.ListView?

I need to display a very large table (`1000 rows) and it simply isn't feasible to render everything.

View 1 Replies View Related

Greedy Modifier For Implementation Of Regex Doesn't Work?

Sep 4, 2011

The string I have is: Quote:

12345<a href="http://www.keep.com">shouldn't be removed</a>abcde<a href="http://www.remove.com/123.html">should be removed</a>67890

The regular expression I am using is:

[Code]...

View 1 Replies View Related

JQuery :: Ajax Request And Get The Response Back From Implementation - .toggle() Does Not Work

Apr 7, 2010

I have a problem which I am not able to solve. I read a lot and tried many things but without being successful. Mhh.. The problem I struggle with is a simple .toggle() of a DIV. This is working fine. But now I do an ajax request and get the response back from my javascript ajax implementation (I'm using ajax anywhere). Within this implementation I work inside a callback routine which makes it possible accessing the response before updateing the DOM. Inside this routine I want to .toggle() but this is not working. It happens just nothing. I also do not get any javascript errors. As soon as the request is completly done I am able to .toggle() again.

When I am accessing the DIV by using jquery ($('#div_id')) it is referenced to the correct object within de document. Only the .toggle() does not work. .hide() for example is working fine.

Background: I am doing this like this, because I want to know if the response contains validation erros. If so I leave the DIV with the form inside as it is an highlight the error. Otherwise (no errors) I close the div with .toggle(), update the dom with the new form and open the DIV again.

Many reports are facing a problem that they lose the jquery binding. But this is not my problem as far as I understand.

View 2 Replies View Related

Printing Linked Documents

Jul 23, 2005

I have an html file which contains link to 4 reports ( html files
). Instead of letting the user open one link at a time, and then
printing the report , I want to print all the reports with a single
button click, say on pressing a button "Print All" .

I have found out a way, in which the reports can be printed , but
the print dialog box is coming up each time( eg. for 4 reports it is 4
times, and for n documents it would be n number of times ) ; which I
find very irritating . I would rather prefer a single print dialog box
coming up for n number of reports .

View 1 Replies View Related

Linked File Properties

Jul 23, 2005

I would like to have the properties of a linked file appear on the page
linking to it, so that the user can see the date last modified and file
size. I.E.

<a href="filename>Click here to download file: size <script to insert
file size>, last modified on <script to insert date last modified></a>

Is this possible using only javascript. I don't have access to
PHP/ASP/anything else useful on the server. Perhaps you might know of
an alternate way to achieve my aims?

View 2 Replies View Related

Textbox Linked To A Select Field?

Jul 23, 2005

I have a select box populated with about 1000 names. What I would like
to do is to have a text box available that a user can type in say "mi"
and have the select box jump down to the first entry starting with
"mi", i.e. "Michael" followed by "Mike". Code:

View 3 Replies View Related

Passing A Value To A Linked Page, JSP Content

Nov 27, 2009

This script and code works great, but in order for me to finish, I need a way of passing to the next PHP page which check box is checked. Currently, it is just passing a single value (1, 2, 3, 4, 5, or 6) depending on the last box checked. I need a way to record which check boxes are selected.

<html>
<head>
<script type="text/javascript">
var majors = {
"001 - Exchange"

[code]....

View 9 Replies View Related

Add Description To Linked Drop Down Menu's

Jan 4, 2010

I am trying to build a linked drop down menu script with descriptions. Meaning that there are 5 drop down boxes all linked together. So when somebody choses an option in the first drop down box, the options in the second box appear. And depending on which option they choose there, more other options appear in the third box and so on.

At the end (or after every drop down menu box) there must be a description area (either by using a textarea or just some space for descriptions and a table) where text will appear depending on the chosen options.

I have the script with the linked drop down boxes, but I cannot seem to add a description box. Everytime I try, the whole script gets messed up.

This is my script:

Code:
<table>
<tr>
<td width="680">

[Code]....

View 14 Replies View Related

Linked To The Previous Content Instead Of Navigation?

Aug 11, 2010

I have a real-estate site of a client's and it has a big bug which is beyond my scripting skills.The user submits a search form and is shown the results of the property's (houses). They then click on the desired house and are taken to the page which the relevant content. All good.Then they use the browser back button, as everybody does, and is taken back to the search results, page 1 of results, or page n ofBUTIf the user selects another page of results from the navigation e.g. [1] [2] [3]instead of directing the user to the page n of results page, the user is taken to the last viewed property (house) page.I know alot of you must be thinking its me incorrectly scripting...but the wierd thing is that this bug only occurs in FF and doesn't occur in IE...(only checked 8).It's doing my tits in and my client is making an issue of it. BTW I'm using VBscript aswell to insert variables (pageID).

View 1 Replies View Related

Activate A Function In The Linked Html?

Jan 31, 2010

I'm making a portfolio-style web and there is a Projects section in it. Each project has its own html and a button which links to a new html with a trailer. Now, the new html with a trailer is basically the same for all the projects. It has a flash player embedded in it which has a different project video in each frame.

I've created a function in the trailer html which reads like this:

function reklam1()
{
var flashMovie=getFlashMovieObject("player");
flashMovie.GotoFrame(1);
}

I want to make sure that if I click on a link in the projects html it will open this new trailer html and activate the desired function which will push the flash player into a corresponding frame.

How do I have to make the link to be able to do that? Or is there any better way how to get the player to a desired frame on startup using javascript/html?

View 1 Replies View Related

Code For No Border For Linked Images?

Feb 3, 2010

I found a great piece of Javascript on this forum for linked random images with rollover effect but I can't figure out how to add "no border" to the script as I do not want to have a border around the linked images.

[Code]...

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved