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 1MB.
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
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery Plugins
skoczman
jquery flip plugin + content load from div
in
Using jQuery Plugins
•
3 months ago
Hi!
I found flip plugin for JQuery ->
http://lab.smashup.it/flip/
I'd like to load a content from div. Can You help me? I know i can do this:
content: $("selector")
. I write some code:
var latlngStr = $this.attr("title"),
content: $(($this.attr("title"))
but it does not works.
Thank'you for help
1
Reply
Replies(8)
charlietfl
Re: jquery flip plugin + content load from div
3 months ago
what does a title look like?
If you are trying to use it as an ID and it doesn't contain "#" you would need to concatenate "#" to selector string.
how is $this defined?
Leave a comment on charlietfl's reply
skoczman
Re: jquery flip plugin + content load from div
3 months ago
This is my code:
$(function(){
$("#flipPad a:not(.revert)").bind("click",function(){
var $this = $(this);
$("#flipbox").flip({
direction: $this.attr("rel"),
color: $this.attr("rev"),
content: $this.attr("title"),//(new Date()).getTime(),
onBefore: function(){$(".revert").show()}
})
return false;
});
title is an <a title=" "...
Leave a comment on skoczman's reply
charlietfl
Re: jquery flip plugin + content load from div
3 months ago
Appears to be identical to code used in plugin demo . Code you displayed is missing closing quotes for $(function(){
what doesn't work? what errors are thrown?
works fine here:
http://jsfiddle.net/huBHV/
Leave a comment on charlietfl's reply
skoczman
Re: jquery flip plugin + content load from div
3 months ago
Ok. I'm explaining. I want to change this code used in demo. I want to change this line:
content: $this.attr("title"),//(new Date()).getTime(),
to sth like this:
content: $(($this.attr("title"))
And i don't know how i can do it. My line doesn;t work.
Leave a comment on skoczman's reply
charlietfl
Re: jquery flip plugin + content load from div
3 months ago
goes back to how you set up titles. What does a title string look like?
Leave a comment on charlietfl's reply
skoczman
Re: jquery flip plugin + content load from div
3 months ago
this is a tittle of <a> -> <a title="abc">sth</a>
Leave a comment on skoczman's reply
charlietfl
Re: jquery flip plugin + content load from div
3 months ago
as I originally pointed out your title alone doesn't create a jQuery selector
$(($this.attr("title"))
is same as
$('abc')
without a prefix this would look for a tagname 'abc' which doesn't exist
here's modified demo that doe what you want
http://jsfiddle.net/huBHV/1/
Leave a comment on charlietfl's reply
skoczman
Re: jquery flip plugin + content load from div
3 months ago
Yes. That's what i want. Thank'oyu so much.
Leave a comment on skoczman's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to skoczman's question
Top
Reply
{"z8461587":[14737000003026021,14737000003024374,14737000003026439,14737000003026443,14737000003026447],"z1411412":[14737000003026190,14737000003026419,14737000003026441,14737000003026445]}
Statistics
8
Replies
508
Views
1
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
Jquery cycle / easing issue
jCarousel disabling all other jQuer...
Expander plugin question
Need help with jPlayer
help jquery cycle not running on fi...