jquery drop shadow plugin?

陌路散爱 提交于 2019-12-11 16:55:25

问题


Is there any drop shadow plugin for jquery?

Seems there was but is no more...

Any help?

Also, is it possible to use jquery in a PHP file ? (I create a table in the php file)


回答1:


You correctly summed up the current state. There used to be a jQuery UI drop shadow component, but not any more.

If you're looking for any way to create drop shadows, just Google for "CSS drop shadow" and you'll find tons of results.

Edit: Yes, you can use jQuery in a PHP file, or pretty much any other server-side scripting language. I recommend writing your Javascript in a separate foo.js file and importing it.

In the future, please ask a new question instead of editing, if the topic isn't directly related.




回答2:


A remnant of the DropShadow plugin still exists on googlecode: http://code.google.com/p/dropshadow/. The code is old but it might still be salvageable if not immediately usable.

There's the "Box Shadow" plugin that seems more up-to-date: http://plugins.jquery.com/project/boxshadow

My only other suggestion is to take a look at jQuery UI's internal implementation of drop shadows: http://dev.jqueryui.com/changeset/1814
They seem to be planning to add the functionality as a widget at some point: http://wiki.jqueryui.com/Shadow



来源:https://stackoverflow.com/questions/1589749/jquery-drop-shadow-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!