I'm trying to get it when mouse moves on the div then fades the image in it
function clickimage ($ imageid) {$ ("# image_" + imageid) .hor (function () {$ (this) .FadeTo ("slow", 1.0);}, function () { $ (This). Fedora ("slow", 0.6);}); } & Lt; Div id = 'images_ $ imageid' & gt; & Lt; A href = '? Tg = Photo & amp; Photo = $ imageid 'onmouseover = \ "javascript: clickimage (' $ imageid ') \" & gt; & Lt; Img src = 'user / $ ptgid / image / $ iimg' width = '100' height = '100' / & gt; & Lt; / A & gt; & Lt; / Div & gt;
You want to set binding, when the document is loaded, do not mouse every time Also, I will create a square so that you can initialize the hover on each item
$ (document) .ready (function () {$ (".- Image-hover- Fadeo ("slow", 1.0);}, function () {$ (this) fund ('img') .Fedato ("slow", 0.6);});});
For the link, you will do something like this:
& lt; Class = "image-hover-class" href = "? Tg = photos and photos = $ imaged" \ & gt; & Lt; Img src = 'user / $ ptgid / image / $ iimg' width = '100' height = '100' / & gt; & Lt; / A & gt;
If you want to hover over div
, then you can do it instead (but I recommend that & lt; a & Gt;
tag):
$ (document) .ready (function () {$ (".movie-hover-class"). Hover (function () {$ ( This fade ('slow', 1.0);}, function () {$ (this) .fund ('an IMG'). FEDOTO ("slow", 0.6);});}); & lt; A href = "? Tg = photo and photo = $ imaged" \ & gt; & Lt; Img src = 'user / $ ptgid / image / $ iimg' width = '100' height = '100' / & gt; & Lt; / A & gt; & Lt; / Div & gt;
Popular posts from this blog
After selecting the copies of the buffer in Linux, after the text, we can click and paste the button between the mouse. I think there is a special buffer for this, I want to use it. Programming Language: C ++ Your Library: Qt Thanks. There is just one more correct answer than Paul Dixon, which answers your needs: / P > QClipboard * clipboard = QApplication :: clipboard (); CastString Selected Text = Clipboard-> Text (QClipboard :: Selection);
I am using a TChart in Delphi 7, and I want to display charts sometime. I am using the following code to set the chain value to a database query: chart1.FreeAllSeries; Chart1.SeriesList.Clear; Chart1.AddSeries (TBarSeries.Create (self)); TBarSeries (chart1.Series [0]) BarStyle :. = BsRectGradient; Stop starting with Query 1; Executed; While EOF does not start chart1.Series [0]. Add (field 'flags' ('sum_actual_days'), Field Astrstring ('contract_no')); the upcoming; End; End; Each time (value) is now showing both the label below the bar and in a yellow rectangle above the bar. Rather than repeating the amount of label twice, I have some additional information from the query that I would like to show above the bar rather than the label (or, preferably, as a mouseover signal). Can it be done with TChart? And how ...? This can be done with a TChart using the onMouseMeave event of the chart. Something like this should start with you: Process TForm...
I am evaluating the Asp.Net MVC framework for my enterprise application for the past few weeks. The one thing I'm trying to achieve is the master-detail view. As it is very clear that there is no vivestate and there is no postback. For example, now I am using the product, customer, order and order details table from the Northwind database and I am using the especial MVC. I want to make master-detail view. Basically I do not have to have separate ideas (pages of other words) for order and order details. View order and order details should be included. How should I design my controller and see how to get this functionality. Thanks & amp; Regards, Burhanuddin Ghee You want to write a domain-specific view-model class Adds an order and details from its order (I'm assuming that order-> order details are 1-> n relation, not familiar with Northwind): public class command view model (Public order order); Set;} public inenemable & lt; Order deletate & gt; ...
Comments
Post a Comment