简体   繁体   中英

How to change content dynamically using Joomla 1.6

How can I change the content according to the selection. i have given you an example below,

Consider we have a Top Menu which consists of the following: 1) Home 2) About Us 3) Contact Us

I have slider container which consist of Text within <h2> Tag , text depends on Page if About us page then About Us is written and so on.

So my question is based on the above selection text will be changed dynamically . can you please explain?

Install a plugin like sourcerer which lets you insert custom code as a module.

Create a custom HTML module and publish it somewhere on your code.

Edit the custom HTML module and insert jQuery commands to update the elements you want.

Joomla uses MooTools by default but there are plugins to insert jQuery.

Remember that you won't be able to use the $ alias for the jQuery command so you'll have to use the long form.

Otherwise there might be another Joomla slider that will let you do this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM