Home > CMS Tutorial > DEDECMS > How to solve the slide display problem on dedecms homepage

How to solve the slide display problem on dedecms homepage

藏色散人
Release: 2019-12-16 09:31:19
Original
2297 people have browsed it

How to solve the slide display problem on dedecms homepage

How to solve the slide display problem on dedecms homepage?

The new version of Dedecms comes out, and slideshows have always been a headache. This post Tianya gives a summary of the slideshow.

Recommended study: 梦Weavercms

The new version "Version Name: DedeCms V5.1 GBK Version SP1 Version Number: V51GBK_SP1_B88" currently downloaded from the official website has been used. The new slide show method, its slide show effect can be seen in the home page slide show style of the official website.

How to solve the slide display problem on dedecms homepage

(Figure 1)

If users of older versions need this type of slideshow, they can view posts that cannot be displayed "Send you a relatively perfect FLASH slideshow code"

[http://bbs.dedecms.com/read.php?tid=68225]
Copy after login

This post also talks about how to modify the slideshow style. It also mentions how to display the title under the picture. You can refer to the post "Unable to display moderator" I will send you a relatively perfect FLASH slideshow code "Post, the code can be displayed below the title" [http://bbs.dedecms.com/read.php?tid=70758]. It should be noted that there are a few things to pay attention to when modifying the slideshow. Properties.

Let’s look at the JS code part. The first one is

var swf_width=330; 这个是设置FLASH宽度的 
var swf_height=330; 这个设置FLASH高度
Copy after login

These two properties determine the size and shape of the FLASH slideshow. Newcomers can decide the size according to their own webpage when modifying

If there is no display after adding the code, then maybe you did not upload a bcastr3.rar file, upload it to your template directory, and then modify the following js code

document.write(&#39;<param name="movie" value="{dede:global 
name=&#39;cfg_templeturl&#39;/}/images/bcastr3.swf"><param name="quality" value="high">&#39;);
Copy after login

When modifying, you need to set the value of param name="movie" and change it to the directory where your file bcastr3.swf is located.

{dede:global name='cfg_templeturl'/} represents your template directory/templets/

After the modification is completed, update the homepage HTML and see the effect.

How to solve the slide display problem on dedecms homepage##

The above is the detailed content of How to solve the slide display problem on dedecms homepage. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template