Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Screen name:
yvbenitah
yvbenitah's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
Fancybox comunicate with a Gallery
[2Replies]
19-Nov-2012 02:17 PM
Forum:
Getting Started
Hello,
I've inserted a jquery code in my asp.net application that make a
gallery
.
I wanted to add a fancybox, so I've wrote that piece of code:
$(".ad-gallery").on("click", ".ad-image", function () {
$.fancybox({
href: $(this).find("img").attr("src"),
})
});
I want to add 2 things on the opened fancybox:
1- add a button.
2- add the image description.
here's a piece of the aspx for the gallery:
<div id="gallery" class="ad-gallery"style="background-color: #D8B66D; width: 750px; padding-right: 25px; margin-right: 25px; float:right">
<div class="ad-image-wrapper" style="border: medium inset #666633;">
</div>
<%--<div class="ad-controls">
</div>--%>
<div class="ad-nav">
<div class="ad-thumbs">
<ul runat="server" id="tabs" class="ad-thumb-list">
<li >
<a href="../Images/pictures/1.jpg" id="image1" >
<img src="../Images/pictures/thumbs/1.jpg"
title="A title for 10.jpg"
alt="This is a nice, and incredibly descriptive, description of the image 10.jpg"
class="image3"
ondblclick="comand"
style="width: 70px; height: 55px"/>
</a>
</li>
<li >
<a href="../Images/pictures/2.jpg" id="A1">
<img src="../Images/pictures/thumbs/2.jpg"
title="A title for 10.jpg"
alt="This is a nice, and incredibly descriptive, description of the image 10.jpg"
class="image3" style="width: 70px; height: 55px"/>
</a>
</li>..
....
How can I do such a thing?
thx
«Prev
Next »
Moderate user : yvbenitah
Forum