Installing Photoshop CS5 on Ubuntu 12.10 using Wine
We've been through this before...as far as installing Photoshop in WINE and Other Emulators.
The best thing to do is visit winehq http://appdb.winehq.org/objectManager.php?sClass=version&iId=20158 and check the details there.
The detail that is put into the tutorial is better left there. Please use the recommendations from WineHQ
EDIT
Wrong. The best thing to do is to run a VM such as oracle and host Windows XP then install it there. Lightroom works great like that.
Related videos on Youtube
Dylan Richards
Updated on September 18, 2022Comments
-
Dylan Richards over 1 year
Very confusing title. I just want to create a button that indicates the status of an order. If it's pressed, then the order is complete. If it's unpressed, the it's still pending.
Do you know of any plugins for this sort of functionality?
EDITS
Here is the route I have decided to take.
<div id="statuses"> <a id="first" class="status">Waiting</a> <a id="second" class="status">Waiting</a> </div> <input type="button" id="reset" value="Reset" />
Here's the JavaScript for the buttons:
var COOKIE_NAME = "selection"; function getObjectProperties(obj) { var keys = []; for (var k in obj) keys.push(k); return keys; } function deserialize() { $.cookie.json = true; //read object from cookies var selection = $.cookie(COOKIE_NAME); console.log(selection); if (selection !== undefined) { //go over each property (first, second, ...) $.each(getObjectProperties(selection), function (index, element) { //find button by id var $elem = $("#" + element); //read selection value for button var isSelected = selection[element]; if (isSelected) { //mark button as selected $elem.addClass("selected").html("Ready"); } }); } } function serialize() { //initialize empty object var selection = {}; //go over each button $(".status").each(function (index) { var $this = $(this); //add new property to object and assigning value to it ({first:false, second:true /*,....*/}) selection[$this.attr("id")] = $this.hasClass("selected"); }); console.log(selection); //save object to cookie $.cookie(COOKIE_NAME, selection); } $(document).on("click", ".status", function (e) { var $this = $(this); $this.toggleClass("selected"); var isSelected = $this.hasClass("selected"); $this.html(isSelected ? "Ready" : "Waiting"); serialize(); }); $(document).on("click", "#reset", function (e) { $(".status").removeClass("selected").html("Waiting"); serialize(); }); deserialize();
I've also declared these in the head:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
With this, the buttons work as planned, but they fail to stay that way after page refresh.
-
adeneo over 10 yearsJust set the disabled property and the button is disabled, you don't need a plugin to do that ?
-
Anderson Green over 10 years
-
-
JGleason about 11 yearsyeah but it's dead slow unless you have 16GB ram and a lightspeed SSD... in which case you run Win7 natively and Ubuntu on the VM :-)
-
Moritz over 10 yearsYou could use a checkbox and style it to look like a button (see eg. jsfiddle.net/zAFND/2), or you can just implement a simple jquery click handler. No need to use any plugins :) What exactly are you trying to do? Can you post some code?
-
Dylan Richards over 10 yearsThis does exactly what I need it to do, except that the button's state resets after I refresh the page. Is there any way to fix that?
-
Samuel Cook over 10 yearsjust using html and javascript no. you could use php to remember a session variable then automatically disable the button when the page loads if that session variable is present
-
Dylan Richards over 10 yearsI'm struggling with JQuery Cookies. Everything works up to that point. Can't figure out how to install it.