Quantcast
Channel: Webby Expert
Browsing all 10 articles
Browse latest View live

How to find the occurences of the elements of first cell array in second cell...

I have two cell arrays: A={‘abc’,’pai”,’abd’,’pa/n/v/d’} B={‘pai-pro’,’abc’,’pai”,’abd/’,’abd’,’pa/n/v/d’,’abd-‘,’pa/n/v/d’,’pai-pro’} I need a code to find the occurence of the elements of A in B....

View Article



JQuery – Toggle between html values using on method

The point of this code is to toggle back and forth between two versions of innerHTML within the div, using the input values (or the default values) and also toggle how the button displays. It is not...

View Article

How to Save multiple data array in database using codeigniter

i create a addline array button that creates multiple array fields my problems is that i cant save the data that inserted to the fields. *strong text*JAVASCRIPT ON ADDING LINES var MaxInputs = 3;...

View Article

How to test a static method without running a piece of code in it

A piece of code is like this: public class ClassToTest { public static A method1(arguments here){ //a log of code here A a = new A(); return a; } } The problem is the constructor call new A() is in a...

View Article

Problems with a Class in Java

public class Location { private String city; private double latitude; private double longitude; public Location(String aCity, double aLatitude, double aLongitude) { city = aCity; latitude = aLatitude;...

View Article


Mangento doesnt work more than one filter sected

When i try to filter the products using layered navigation that only get one statement, and if i try select one more that just filter by that other, the filter will just get more then one if i refresh...

View Article

Can’t center Li inside Ul

.container {width: 1280px;min-height: 100%;margin: 0 auto;border: 1px solid #fff;} .nav-icon {display: block;margin-left: auto;margin-right: auto;} .navigation {text-align: center;} .bans {background:...

View Article

compare the triangle in polog

I’m trying to compare two triangles by two point and height. compare_tri( triangle ( point(X1,Y1), point(X2,Y2), H1), triangle( point(X3,Y3), point(X4,Y4), H2)) :- A1 is ((X2-X1)*(X2-X1)), B1 is...

View Article


Java – Possible to draw a basic force-directed undirected Graph (Vertices,...

I am trying to create a class in Java that will extend another class called Graph. The outline of the graph class is as follows: Graph constructor adjacent(int i, int j) addEdge, removeEdge methods...

View Article


Image may be NSFW.
Clik here to view.

Data Structure Explained

View Article
Browsing all 10 articles
Browse latest View live




Latest Images