Need to modify extension next jquery Plugin

Source: Internet
Author: User
This post was last edited by amu1433 on 2013-08-07 16:23:59

jquery Plugin

http://www.0917cc.com/Upfiles/rar/GlideView/

This is the preview address.


I wrote it myself.
$ ("#idGlideView img"). each (function () {                $ (this). CSS (' opacity ', ' 0.5 ');            }). Hover (function () {                $ (this). Animate ({opacity:1.0});            }, Function () {                $ (this). Animate ({opacity:0.5});            });


I want to add the plugin inside. is to show which picture, which picture is highlighted. The others are Dim!

Do not do how to add in ...


Reply to discussion (solution)

As a plug-in, you need to have an initialization process
This means that "#idGlideView img" is passed as a parameter to the initialization method
And the initialization method binds your code to the mouse event.

This does not seem to be a problem with the PHP layout discussion

I just because change a half-day plugin will not change ah. Ask to help me change the ... Which picture is displayed, which is highlighted. The others are Dim! Thank you

Plus 20 points, change half a day, no, really ask for advice!

Your page is the effect, how to change it?

It means that the picture must be permanently lit! All the rest is opacity:0.5 I now this effect the mouse away will not light

Please help put this on the show two of this effect added to the plugin inside!

/* #idGlideView Div img{filter:alpha (opacity=70);-moz-opacity:0.7;-khtml-opacity:0.7; opacity:0.7;} */#idGlideView Div img{filter:alpha (opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5; opacity:0.5;} #idGlideView div.focus Img{filter:alpha (opacity=100);-moz-opacity:1;-khtml-opacity:1; opacity:1;}



Related Settings    set:function (index) {        if (Index < 0) {            ///Mouse out container returns the default state of this            . Each (function (olist, otext, i) {                olist._target = this._width * i;                if (otext) {otext._target = This._height_text;}}             )        } else {            //mouse moves to a sliding object on this            . Each (function (olist, otext, i) {                Olist.classname = i = = index? ') Focus ': ';////////////////add this line, add the focus style to the container                Olist._target = (i <= index)? This._width_min * I:this._width_ Min * (i-1) + This._width_max;                if (otext) {Otext._target = (i = = index)? 0:this._height_text;}}            )        }        This. Move ();    }

Upstairs right Thank you!

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.