在运行时装饰链接 [英] Decorate the link at run time

查看:84
本文介绍了在运行时装饰链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个连续包含各种链接(锚)的网站....

我的目标是通过在运行时动态添加一些样式来加粗和加底线,以便用户在运行时单击该链接

因此,请给我一些如何执行此操作的示例代码?

I have a website containing various links(anchors) in a row....

My aim is to bold and underline the link clicked by the user at run time by adding some styles on it on the fly

so kindly give me some sample code of how to do that?

推荐答案

这是实现此目的的一种好方法. 使用JQuery装饰链接 [ ^ ]
This is one good way to do it. Use JQuery to Decorate Links[^]


这篇关于在运行时装饰链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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