| View previous topic :: View next topic |
| Author |
Message |
vociti
Joined: 10 Jan 2007 Posts: 11
|
Posted: Wed Jan 10, 2007 8:32 pm Post subject: hover popup question |
|
|
Where is the code that makes the hover popup work? I'm assuming it's Java based? I want to add this feature to my homepage. We have made it so upcoming events show on our homepage.
Thanks,
Brad
GREAT CALENDAR by the way. You can see it live at
www.martiniranchaz.net/index_template.php |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Wed Jan 10, 2007 8:43 pm Post subject: |
|
|
Hi Brad,
VERY nice site. The hover code is JavaScript. It is in include/js/notes_popups.js. You'll see the links have onMouseOver and onMouseOut in them. You'd have to do the same thing to your upcoming events links. The PHP file that generates the notes that are presented is include/event_notes_popup.php.
So:
event_notes_popup.php generates the notes - you'll have to copy the code from that
include the include/js/notes_popups.js file - this contains the JavaScript code that is called in the onMouseOver and onMouseOut events.
add the onMouseOver and onMouseOut events to your event title links.
All said and done.. I'd say it's not worth it, but that's just my opinion.  |
|
| Back to top |
|
 |
vociti
Joined: 10 Jan 2007 Posts: 11
|
Posted: Wed Jan 10, 2007 9:02 pm Post subject: |
|
|
Thanks Ian for the reply. I think you're right, it's probably not worth it. I greatly appreciate the response. Thyme is an excellent product. Take care. Brad
| ian wrote: |
Hi Brad,
VERY nice site. The hover code is JavaScript. It is in include/js/notes_popups.js. You'll see the links have onMouseOver and onMouseOut in them. You'd have to do the same thing to your upcoming events links. The PHP file that generates the notes that are presented is include/event_notes_popup.php.
So:
event_notes_popup.php generates the notes - you'll have to copy the code from that
include the include/js/notes_popups.js file - this contains the JavaScript code that is called in the onMouseOver and onMouseOut events.
add the onMouseOver and onMouseOut events to your event title links.
All said and done.. I'd say it's not worth it, but that's just my opinion.  |
|
|
| Back to top |
|
 |
kiwi_dude
Joined: 05 Jun 2006 Posts: 25
|
Posted: Wed Jan 17, 2007 9:52 pm Post subject: |
|
|
Hi vociti,
These "popups" work well: http://orangoo.com/labs/GreyBox/
Place the JS in your page and call the gb_page_center function on the link
Cheers
Dean |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Jan 18, 2007 9:32 pm Post subject: Popups |
|
|
Here's another popup library, a little different than the lightbox style of the Orangoo boxes:
http://www.bosrup.com/web/overlib/ |
|
| Back to top |
|
 |
|