Groups
Groups
Sign in
Groups
Groups
Perillaroc的技术天地
Conversations
About
Send feedback
Help
我的新浪微博应用
19 views
Skip to first unread message
Perilla
unread,
Apr 17, 2012, 3:47:39 AM
4/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perillar...@googlegroups.com
学习网页制作技术,就做了个粗糙的新浪微博应用,逐渐加入功能,看看最后能不能形成一个比较有实用价值的应用。
看再多的书,也不如自己动手实践一下,编代码对能力提升的作用十分明显,这个小网页一定要持续做下去。不过现在还只停留在本机,网页漏洞很多,需要大幅度的改进。
Perilla
unread,
Apr 17, 2012, 3:51:28 AM
4/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perillar...@googlegroups.com
最近用Facebook,时间线功能不错,考虑自己编写个类似的功能加入到应用中。但实现起来应该很难,慢慢做。
找到个介绍用jquery实现该功能的文章,果然很复杂,现成的插件功能不太全,人人网上一直没有这个功能,看来实现起来很有难度。
《
Facebook Timeline Design using JQuery and CSS
》
几个jQuery插件
timeglider
jquery masonry
在 2012年4月17日星期二UTC+8下午3时47分39秒,Perilla写道:
Perilla
unread,
Apr 18, 2012, 1:35:32 AM
4/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perillar...@googlegroups.com
当前问题:
没有处理包含HTML标签的微博内容,而将其直接存储和显示。
新浪微博自身用“”包围<p></p>中的字符串,但最后不显示这两个双引号,没看懂采用什么技术。可以在放入数据库的时候对字符串进行处理,或者在显示时进行处理,一个用PHP,一个用JS。我觉得用JS更好,或许可以找一找新浪本身是怎么处理的。
在 2012年4月17日星期二UTC+8下午3时47分39秒,Perilla写道:
Perilla
unread,
Apr 18, 2012, 1:37:49 AM
4/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perillar...@googlegroups.com
可以发送特有的新浪微博,来实现时间线功能。不过这个比较费劲,包含特有的应用信息,并发送一些包含关键字的微博,这些关键字应该自动生成。最好在附加模块中记录信息,并在数据库中保存每条时间线消息,需要大量存储么?
在 2012年4月17日星期二UTC+8下午3时51分28秒,Perilla写道:
Perilla
unread,
Apr 19, 2012, 3:51:08 AM
4/19/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perillar...@googlegroups.com
昨天晚上,就加了个显示小图片,没有点击显示大图片的效果。设置img标签的width属性总会使布局混乱,不知道怎么解决,索性就不加上那个属性了。
应该搞个点击显示原图片,像幻灯片效果的那种。但要注意减少编程代码量,尽量写通用代码。
在 2012年4月17日星期二UTC+8下午3时47分39秒,Perilla写道:
Perilla
unread,
May 31, 2012, 9:46:47 AM
5/31/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perillar...@googlegroups.com
对于masonry插件,需要等到图片都下载完再布局,使用内置的imagesLoaded插件。
在 2012年4月19日星期四UTC+8下午3时51分08秒,Perilla写道:
Reply all
Reply to author
Forward
0 new messages