
Home
Dynamic Content
Featured Content Glider
Supplementary Page
|
Categories
Partners
DaniWeb is an exciting community for web developers, Internet marketers, and technology enthusiasts.
Other Sections
Sweet Ads
Compatibility
|
|
Specifying an external file source for the gliding contentsThe default configuration assumes that your glided contents are DIVs with a
shared CSS class name (ie: " <div id="canadaprovinces" class="glidecontentwrapper"> The 3 DIVs in bold above are what we're referring to. You can, if you wish,
move these DIVs (the gliding contents) to an external file on your server, and
tell the script to retreive that file to populate the glider using. Simply
create a blank file with the DIVs above added inside it- the same syntax
conventions exist here, that is, each content must be wrapped around its own DIV
with a shared CSS class name (in this case, " featuredcontentglider.init({ And that's it! Note that "glidecontent.htm" must be on the same domain as where your Featured Content Glider, due to Ajax security limitations. A live example here:
The pagination links still need to be defined manually, but you can always define more than what's needed, as the script will dynamically hide redundant pagination links based on how many gliding contents there actually are. Table Of Contents
|