Jump to content


Member Since 19 Nov 2008
Offline Last Active Sep 15 2014 05:47 PM

Topics I've Started

check if times overlap

13 September 2014 - 04:58 PM


i have an event reservation system. i need to make sure that every time someone is booking a new time, it's not overlap another reservation.


for example lets say i have an event reserved starting at X and ending at Y

X = Wed Sep 10 2014 07:30:00 GMT+0000
Y = Wed Sep 10 2014 08:00:00 GMT+0000

and now im reserving a new event

start = Wed Sep 10 2014 09:30:00 GMT+0000
end = Wed Sep 10 2014 09:30:00 GMT+0000

how can i check if they are not crushing?

lets say the first event starts at 12:00 and end 14:00,

i need to make sure that the new event is not held between these hours.

it need to be started and end before 12:00 or after 14:00.


thanks in advance!

does CodeCanyon is a reliable source of income?

12 April 2014 - 11:35 AM


i was thinking about start selling on codecanyon lately.

i always bought there stuff but never thought to sell there and im not sure if it's worth

to waste my time on trying to sell there.

im not looking for a main income, just a few dollars a month will be good enough.

is the competition is hard there?

thanks in advance! :)

something i cant under stand

04 July 2013 - 12:34 AM

hey there,
lately im was working on a new application that required alot of ajax requests...
i was wondering, many websites return fom the server a json object and then creates the html elements with javasript and then appending it to the document. why not return the html from the server and then just append it to a div, which is more easier!

for example, lets say i want to print a table with shop items and their prices, why should i return a json object and then print a table with javascript with the data insted of return the whole html table from the server? am i missing something?

thanks in advance.

draw dynamic polygons

19 March 2013 - 02:48 PM


im making a simple game, and im trying to draw a dynamic polygon around each star in the game to show the stars area.

for example, lets say "STAR A" positioned on X=50,Y=100 on the map, in the database i have a colum that determine the star's surended area for example, area=100; is that posible to darw a polygon around each star depending on the star area on the DB? another think is that each polygon shuold be in diffrent color. im not asking for the full soultion, but if someone can please give me some directions how to do it... im not good at math :|

i made an image to demostarate what im trying to reach...


Thanks in advance...

Attached File  Untitled.png   494.81KB   14 downloads

looking for jquery plugin

15 March 2013 - 09:54 AM

i trying to find a specific plugin, but searches in google haven't helped me :|

i looking for a plugin that doing these things:
lets assume i have an image 2500X2500.
i putting this image as a background on a div sized 600X600
now all i need is a buttons that will move the div background and content!
for example lets say the div is 100X100 and i putting some text in a floating div positioned in x=300, y=500
which mean out of the range of the view. now if i want watch this text i need to move with arrows/buttons to see it.

is there a plugin like that?

Thanks in advance
** sorry for poor english **