设为首页收藏本站
鲜花(1238) 鸡蛋(1)
发表于 2020-4-15 21:36 | 显示全部楼层
迎雪 发表于 2020-4-15 21:17
嗯嗯,好的,我有时间时仔细瞧瞧,其实玩图的人都头疼代码,稍微一变动,就出问题了。
请教一下,老师对 ...

你可参看下面这个网址:我写过这个问题。
https://wyc520.com.cn/forum.php? ... &extra=page%3D1
先在https://wyc520.com.cn/forum.php?mod=forumdisplay&fid=430
会员存图区开个帖,再把图片传到这个帖子里,再分别取出图片的网址,套用上面的代码就行了。这套代码中有一段是播放器的代码,是用flash写的swf播放器,由于很多手机不支持这个播放器,所以用的时候可以去掉这段代码,用其它的播放器也可以的,你可以先试试,有问题欢迎再来问。

点评

有你这个老师在这儿,我安心多啦,不会一定要问滴~  发表于 2020-4-17 23:34
鲜花(1238) 鸡蛋(1)
发表于 2020-4-15 21:46 | 显示全部楼层
迎雪 发表于 2020-4-15 21:17
嗯嗯,好的,我有时间时仔细瞧瞧,其实玩图的人都头疼代码,稍微一变动,就出问题了。
请教一下,老师对 ...

如果看那个发帖方法有不理解的地方,你可以把切片上传好,给我切片的网址,我给你做个样,然后再给你代码,你一学就会了。
鲜花(382) 鸡蛋(0)
发表于 2020-4-15 22:02 | 显示全部楼层
竹轩听雨 发表于 2020-4-15 21:36
你可参看下面这个网址:我写过这个问题。
https://wyc520.com.cn/forum.php?mod=viewthread&tid=385816& ...

跟着雪儿排排坐学代码~~  不过看了半天还是头晕`

点评

是吧,代码这东西是给专业人准备滴,咱们能学会套用就算厉害的啦~  发表于 2020-4-17 23:35
鲜花(1361) 鸡蛋(2)
发表于 2020-4-15 23:36 | 显示全部楼层
卷页画得漂亮呀,钢笔工具用得纯熟
原来陌是你师傅呀
看署名,才知道是你,哈
鲜花(1238) 鸡蛋(1)
发表于 2020-4-16 00:50 | 显示全部楼层
用你的《浪子心声》为例:
这是你的PS切片的原代码:
  1. <html>
  2. <head>
  3. <title>6</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. </head>
  6. <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  7. <!-- Save for Web Slices (6.psd) -->
  8. <table id="__01" width="1000" height="1555" border="0" cellpadding="0" cellspacing="0">
  9.         <tr>
  10.                 <td>
  11.                         <img src="https://img.wyc520.com.cn/data/attachment/forum/202004/15/193013chvon8bvimdh0v06.jpg" width="1000" height="778" alt=""></td>
  12.         </tr>
  13.         <tr>
  14.                 <td>
  15.                         <img src="https://img.wyc520.com.cn/data/attachment/forum/202004/15/193012v38ggzddzyta3da8.jpg" width="1000" height="777" alt=""></td>
  16.         </tr>
  17.         </tr>
  18. </table>
复制代码

下面是在本论坛的发帖代码:
  1. <br/><br/><br/>
  2. <html>
  3. <head>
  4. <title>6</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. </head>
  7. <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  8. <!-- Save for Web Slices (6.psd) -->
  9. <div style="margin:auto; width:1000px; position:relative; top:0px;">
  10. <table id="__01" width="1000" height="1555" border="0" cellpadding="0" cellspacing="0">
  11.         <tr>
  12.                 <td>
  13.                         <img

  14. src="https://img.wyc520.com.cn/data/attachment/forum/202004/15/193013chvon8bvimdh0v06.jpg" width="1000"

  15. height="778" alt=""></td>
  16.         </tr>
  17.         <tr>
  18.                 <td>
  19.                         <img

  20. src="https://img.wyc520.com.cn/data/attachment/forum/202004/15/193012v38ggzddzyta3da8.jpg" width="1000"

  21. height="777" alt=""></td>
  22.         </tr>
  23.         </tr>
  24. </table>
  25. </div>
  26. <br/><br/><br/>
复制代码

其实只增加了下面两句:
<div style="margin:auto; width:1000px; position:relative; top:0px;">
……
</div>
margin:auto意思是让图片居中,width:1000px,这里的1000就是切片的宽度。
鲜花(1512) 鸡蛋(131)
发表于 2020-4-16 06:54 | 显示全部楼层

我对图不在行,不会评价,就是看着喜欢,用心了哈,迎雪
鲜花(1193) 鸡蛋(0)
发表于 2020-4-16 09:37 | 显示全部楼层
我说看到你老是说似曾相识的感觉,原来是你
鲜花(1193) 鸡蛋(0)
发表于 2020-4-16 09:38 | 显示全部楼层
图风和你的师傅一样,学的真棒
色调精细,卷的好看,画面雅致
鲜花(4066) 鸡蛋(1)
发表于 2020-4-16 10:42 | 显示全部楼层
原来雪儿还是深藏不露的高手呀,这几组图文太好看了

特意去红人瞄一眼,嘻嘻,比我注册还早半年
鲜花(8695) 鸡蛋(8)
发表于 2020-4-17 12:59 | 显示全部楼层
迎雪 发表于 2020-4-14 23:10
那是啊,不是我的我才不发呢,哦,对了,07年在红人注册时我也叫草儿

我去年注册过红人,没有回复,说明我没有基础不够资格。
您需要登录后才可以回帖 登录 | 注册

本版积分规则


GMT+8, 2024-4-19 23:10 , Processed in 0.064975 second(s), 33 queries , Gzip On, Redis On.


快速回复 返回顶部 返回列表