Jump to content


AviNahum

Member Since 19 Nov 2008
Offline Last Active Yesterday, 02:40 AM

Posts I've Made

In Topic: session, cookies and the two together for a secure login

12 April 2014 - 06:42 AM

i suggest you take a look at this post i wrote

http://avinahum.com/...ession-class-2/


In Topic: Problem of member searching php code.

10 January 2014 - 01:28 PM

or just start with putting your code in a CODE tag?


In Topic: draw dynamic polygons

19 March 2013 - 02:45 PM

i have no problem to draw something on the screen, my main problem is to do the math and get the X,Y points...


In Topic: draw dynamic polygons

19 March 2013 - 02:05 PM

i'll explain better...

i have a div with a background, i call it the galaxy...

inside the galaxy div there a few div's with absalute position, i call each div like this a star...

i need that each star will be surounded with a polygon as i demostrated in the picture...


In Topic: draw dynamic polygons

19 March 2013 - 01:28 PM

The easiest way would be to pre-define the polygon for each star and store as a string of x,y, coordinate pairs

 

x1,y1,x2,y2,x3,y3....xn,yn

 thr problem is that the number of stars and their positions are dynamic...


Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com