删除链接并替换为图像 [英] delete the link and replace with an image

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

问题描述


我想在链接发送后将其永久删除,并替换为图片,以了解用户知道此发票已发送..

<?php echo anchor(''invoices/submit/invoice_id/'';.$ invoice-> invoice_id,$ this-> lang-> line("submit";)); ?>
谢谢,
Olive

Hi,
I would like to delete the link permanently after it has been sent and replace with an image to know the user knows that this invoice has been sent..

<?php echo anchor(''invoices/submit/invoice_id/''; . $invoice->invoice_id, $this->lang->line("submit";)); ?>
Thanks,
Olive

推荐答案

发票-> invoice_id,
invoice->invoice_id,


this-> lang-> line("submit";) ); ?>
谢谢,
Olive
this->lang->line("submit";)); ?>
Thanks,
Olive


为您的链接提供Link1的ID.将链接放入ID为Div1的DIV中.将要显示的图像放入ID为Div2的DIVE中,并将样式设置为style="display:none;".

最后,将此代码添加到页面底部:
Give your link an ID of Link1. Put the link in a DIV with an ID of Div1. Put the image you wish to show in a DIVE with an ID of Div2 and set the style to style="display:none;".

Finally, add this code to the bottom of your page:
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script language="javascript" type ="text/javascript">


这篇关于删除链接并替换为图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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