Solved

jquery edit-image-facebook-style: html part

Posted on 2013-05-18
7
579 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
Comment Utility
<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
Comment Utility
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
Comment Utility
check the doc to set the options
example :
var options = {
   width:"320px",
   height: "320px"
}
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 2

Author Comment

by:Panos
Comment Utility
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
Comment Utility
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
Comment Utility
hmmmmm.
Ok.
thank you anyway
0
 
LVL 2

Author Closing Comment

by:Panos
Comment Utility
thank you
regards
panos
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
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)

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now