Patent ID: 8254093

Claim:
A sliding mechanism, comprising: a retaining board; a sliding board mounted to the retaining board and relatively slidable therewith, the sliding board comprising a first magnetic element and a second magnetic element spacingly mounted thereon; a connecting element pivotably connecting the retaining board and the sliding board; a third magnetic element mounted to the connecting element; wherein when the sliding mechanism in a closed position, the first magnetic element and the third magnetic element are attracted each other to retain the sliding mechanism in the closed position; when the sliding board slides relative to the retaining board, the connecting element tilts the sliding board relative to the retaining board, a first attraction force between the first magnetic element and the third magnetic element gradually decreases, and a second attraction force between the second magnetic element and the third magnetic element gradually increases; when the second attraction force is larger than the first attraction force, the sliding board then automatically rotates relative to the connecting element and slides relative to the retaining board under the second attraction force until the sliding mechanism is in an opened position.