Solved

jquery edit-image-facebook-style: html part

Posted on 2013-05-18
7
591 Views
Last Modified: 2013-05-18
Hello experts.
I want to use the edit-image-facebook-style plugin from here:
http://w3doc.blogspot.de/2012/07/jquery-plugin-edit-image-facebook-style.html
but the html part is missing.
I did find this tutorial on many other web sites but the html part is missing too.
Any help?
0
Comment
Question by:Panos
  • 4
  • 3
7 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 39177130
<div id="foo">
<img src="profile.jpg" />
</div>

Open in new window


var options {
   // your options
};
$("#foo").editFaceBook(option);

Open in new window

0
 
LVL 2

Author Comment

by:Panos
ID: 39177205
Hi
I have a js error on line: var options

<link rel="stylesheet" href="css/jquery-edit-facebook.css" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/jquery-edit-facebook.js"></script>
<script type="text/javascript">
var options {
   // your options
};
$("#foo").editFaceBook(option);
                                           
</script>
<div id="foo">
<img src="images/no-image.gif"/>
</div>
0
 
LVL 82

Expert Comment

by:leakim971
ID: 39177211
check the doc to set the options
example :
var options = {
   width:"320px",
   height: "320px"
}
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 2

Author Comment

by:Panos
ID: 39177228
The script is doing nothing.
Can you please test it?
All files to download
http://www.2shared.com/file/4AKrsz0t/test.html
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 39177242
yes, I don't like it too.
you should try to find another one, or send an email to the author
0
 
LVL 2

Author Comment

by:Panos
ID: 39177264
hmmmmm.
Ok.
thank you anyway
0
 
LVL 2

Author Closing Comment

by:Panos
ID: 39177272
thank you
regards
panos
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Julian Matz As of jQuery (http://jquery.com/) 1.4 the .live() method (http://api.jquery.com/live/) supports custom events as well as some standard JavaScript events that it previously didn't support. Among these is the submit event. Unlike …
Hi all! Recently there was EE question and the person wanted to have a multi-column textbox <div> selection, so as a first step to answer I provided a link but that was not complete with JavaScript selection, but had a good style sheet. So as a ques…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question