sean-hill
sean-hill

Reputation: 4063

Facebox inconvenience

So I'm having a problem implementing a date_picker into a facebox. In a normal view, the date_picker is placed perfectly and works great. However, when the view is placed into a facebox, the calendar is placed outside of the facebox, and switching between months and years is messed up.

This image is how I would like it to look in the facebox.

screen
(source: drbones at students.cs.byu.edu)

However, this is how it looks like in the facebox.

screen2
(source: drbones at students.cs.byu.edu)

Thanks for any help

P.S.- I'm using the Code Igniter Framework if that has anything to do with it.

Upvotes: 0

Views: 103

Answers (1)

Peter Lada
Peter Lada

Reputation: 393

The problem is most likely caused by the fact that facebox copies the html, thereby duplicating all element ids within. This is not standards compliant and causes incorrect binding of event listeners.

See Bishoy Labib's writeup.

Upvotes: 0

Related Questions