Home >Web Front-end >JS Tutorial >bcastr2.0 universal picture browser_javascript skills

bcastr2.0 universal picture browser_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:24:021007browse

bcastr2.0 is a universal image browser that can be used in various news systems or blog systems.
Main functions:
1. Can read xml to set playlist
2. Can write the image address directly into the web page without using xml
3. Can read swf animation format
4. Automatically adapt to image size
5. Loop playback, customize automatic playback time
6. No limit on the number of images
Usage:
The following are 2 methods of embedding in web pages
1. xml address

Copy code The code is as follows:











Modify the two bcastr_xml_url=bcastr1.xml addresses above

xml content:

item_url="pic/Maradona.jpg" Image address
link=http://www.google.com After clicking on the image, you cannot click the link without filling it in
itemtitle="Maradona was invited to commentate on the World Cup" Picture title
Method 2:
Copy code The code is as follows:








> ;


Where:

bcastr_flie=aaa.jpg|bbb.jpg|ccc.swf Image address, separated by "|" symbol
bcastr_link=http://www.baidu.com|http://www.nba.com|http://www.ruochi.com The picture corresponds to the link address, separated by "|" symbol
bcastr_title=Baidu| NBA|Ruochi.com The picture corresponds to the title, separated by "|" symbols

Pay attention to the & connector

Terms of use:

This software is completely free and even available For commercial purposes.
However, this software cannot be decompiled, modified and redistributed.
Provide paid personalized modification services

If you have any suggestions, you can send them to:
http://www.ruochi.com/guest_book/ or ruochi_com#163.com (#change@ )
bcastr2.0 universal picture browser_javascript skills Download this file
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn