| Author |
Calender popup |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
Hello again!
I'm currently working on a PHP/Javascblockedript based calendar. The main purpose of the calender is to show event(s) when a user have the mouse over a table-cell containing a certain date.
mouse over date X --> scblockedript check for events in DB for date X --> popup window with events from DB.
What is the best way to do this? Javascblockedript does not seem secure enough to use and using php would mean that refreshing the page is needed. what other options are there?
|
|
| Author |
RE: Calender popup |
spyware
Member

Posts: 4190
Location: The Netherlands
Joined: 14.04.07 Rank: God Warn Level: 90
|
|
...what way is there? AJAX.

"The chowner of property." - Zeph Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term. - Carl Sagan Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor? - Ebert |
|
| Author |
RE: Calender popup |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
well I've got the data stored in a MySQL DB, I'm not using any XML files so how can AJAX help me with that?!
Edited by Demons Halo on 18-04-10 01:37 |
|
| Author |
RE: Calender popup |
spyware
Member

Posts: 4190
Location: The Netherlands
Joined: 14.04.07 Rank: God Warn Level: 90
|
|
Demons Halo wrote:
well I've got the data stored in a MySQL DB, I'm not using any XML files  so how can AJAX help me with that?!
Erhm, you can call to a PHP scblockedript without refreshing?

"The chowner of property." - Zeph Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term. - Carl Sagan Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor? - Ebert |
|
| Author |
RE: Calender popup |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
spyware wrote:
Demons Halo wrote:
well I've got the data stored in a MySQL DB, I'm not using any XML files  so how can AJAX help me with that?!
Erhm, you can call to a PHP sc blockedript without refreshing?
O.o I dont see how! every google search I do ends up with AJAX recommendation :/ |
|
| Author |
RE: Calender popup |
goluhaque
Member

Posts: 194
Location: India
Joined: 17.02.10 Rank: Hacker Level 1 Warn Level: 30
|
|
http://www.w3schools.com/ajax/ajax_aspphp.asp
You can call PHP scblockedripts using AJAX.
That applause I receive from y'all on posting this post would have gotten me drunk on power if I hadn't already been high on life. |
|
| Author |
RE: Calender popup |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
ZOMG!!! IT'S WORKING!!! IT IS ALIIIIIIIIIIIIIVE!!!! o.O
no but seriously, thanks  |
|