A
J
A
X
_
E
M
B
E
D

<-- Back to Tags

{AJAX_EMBED(obj_id, param)}

This will Embed the contents on to the page using AJAX.

You can use this when you want the content to be loaded after the main page has loaded. This will allow the page to load and display faster.

Parameters
Number Name Default Type Description
1 obj_id Integer The ID of the object to load
2 param String Any parameters to pass to the page
- class String Any classes to add to the div element that will contain the loaded content
- style display:none; String Any CSS styles to add to the div element that will contain the loaded content
- method 2 Integer

The display method when loading the content into the page.

0 - Populate but don't show
2 - Show
4 - Slide Down
6 - Fade In

Log in to add a Comment.