I'm designing/building a site, and like a good little developer I've been keeping an eye on how things render in all the popular browsers - the current versions of Firefox, Chrome, Safari (for Windows) and Chrome, and Internet Explorer (8, not the 9 preview).
Anyway, everything looked absolutely fine in Chrome to me, but a friend of min...
Hello All,
I am trying to render an image with text and images that are on a .swf file. What i am doing is saving all the objects and their properties in an XML and then using imagemagick to render all that. the problem i am facing is that imagemagick treats fonts very different than Flash, so i don't get a perfect copy of what i see in...
Say I'm making a Q&A site like StackOverflow. I have two resources: Question and Answer. I'm using default Rails RESTful resource routes, so each resource has its own controller and methods for creating it.
In the /questions/show view, I want to allow the user to submit an answer for the particular question. The form will POST to /answe...
You have certainly seen sites where you upload a photo of a person, and it is mixed in a video at various places with various effects. I am wondering with what technology is done that, and what steps the process takes?
For example you can check this site: http://j.mp/bbe8o8
...
I am trying to get the css sheet to load on my dev comp. It is in the media directory as "media/base.css"
In my base/base.html template, I have:
<link href="media/base.css" rel="stylesheet" type="text/css" />
I found http://docs.djangoproject.com/en/1.2/howto/static-files/ but that didn't fix it.
Any ideas?
...
I'm having an odd issue with whitespace in a design I'm building.
I created a <div> to contain voting elements - it holds an upvote button, downvote button, and vote total, each inside their own <div> element, and using <img> for the buttons.
Source:
<div class="votebox">
<div class="vote"><img src="upvote.png" /></div>
<div class...
Ok guys, so I am drawing charts in OpenGL for Iphone. And everything is ok, until I use that Texture2D class to draw X axis labels and Y axis labels. The function of drawing labels is executing at each frame which I think is time consuming. In order to solve animation slowing, I have 2 ideas, but I still can't find how could I implement ...
ok here is my issue...
user habtm groups(roles)
i have views for admins, boardmembers, managers, and vps.
so when an user have just one role the app reads the role and we're going fine... BUT when he/she/it have two or more roles it just take the first one and dissmiss the others...
the questions
how should i manage those role so...
Possible Duplicate:
how should I render views when users habtm roles. cake
hi i got users habtm roles
the thing is when i login i dont know how to separate or mix the views for users that have more than one role...
any help?
how would you manage this issue? by letting the user select which role he wants to play? or mixing ...
In ActionScript 3 (and IIRC 2), the x and y properties on a display object are always stored as multiples of 0.05.
so something like obj.x = 66.6666 is the same as obj.x = 66.65
Most of the time, this doesn't matter. But sometimes I can end up with really slow-moving objects, eg 1 pixel per second. 1/60 (fps) = 0.017 pixels per frame. ...
In noticed the <!> element in IE6 and 7 (haven't tested 8) developer toolbar. It appears to be an element created to hold the background image for one of my actual elements (the actual element is now a child of the <!> element according to IE)
Does anyone know what the <!> element is and why IE creates it to hold the background image (I...
Salutations all,
I'm a bit baffled. I've come across a rendering bug which only seems to occur on Chrome on a PC. It's absolutely fine in Chrome on the Mac (same version). Fine in Safari on both platforms. Fine in Firefox on both and even not so bad in IE9.
Here's the example: http://www.westore.it/testbed/cool-buttons/
I've tried usi...