图像加载/文本URL链接 [英] Image load/text URL link

查看:74
本文介绍了图像加载/文本URL链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用javascript背景图片切换器在页面上旋转3张图片。当这些图像加载时,我需要在页脚中自动加载文本,该页脚提供到另一个URL的链接。怎么用JavaScript或PHP来完成?

I am using a javascript background image switcher to rotate 3 images on a page. As these images load I need to automatically load text in a footer that provides a link to another URL. How can this be done with JavaScript or PHP?

推荐答案

PHP与它无关,因为你是在客户端上做的。



如果您使用的是独立产品,则需要阅读文档,并在必要时进行扩展。这意味着将对象作为具有每个图像URL的参数传递,并将每个页脚与其关联。如果它不受支持,那就足以让我重新开始并自己编写,这很简单,除非有任何惊人的过渡。
PHP has nothing to do with it, because you're doing it on the client.

If you're using a stand alone product, you need to read the docs, and extend it if necessary. That would mean passing in objects as parameters that have each image URL, and each footer associated with it. If it's not supported, it's enough of a change that I'd start again and write my own, it's pretty simple to do, unless there's any amazing transitions going on.


这篇关于图像加载/文本URL链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆