yello border in chrome after clicking an image
I am creating an add this sharing tool for my site . In which after
clicking in the email icon , there is a yellow border around the email
icon (only in chrome). I would like to remove that yellow border. How can
I ? Thanks in advance
Saturday, 17 August 2013
resizable grid column with image next and prev
resizable grid column with image next and prev
I'm trying to make a website builder based on grid column. To make the
columns I want to resize the width with images using jqueri ui
library(http://jqueryui.com/resizable/), but I really do not care which
use the problems is that I see that I have the option to use image for
resizing.
You can resize with next and prev arrows. In this example I see no option.
Can you help please?
Here I have this example but without arrows
jsfiddle.net/wDu3L/
I'm trying to make a website builder based on grid column. To make the
columns I want to resize the width with images using jqueri ui
library(http://jqueryui.com/resizable/), but I really do not care which
use the problems is that I see that I have the option to use image for
resizing.
You can resize with next and prev arrows. In this example I see no option.
Can you help please?
Here I have this example but without arrows
jsfiddle.net/wDu3L/
QAbstractTableModel headerData background color role
QAbstractTableModel headerData background color role
I am trying to customize the header of my QTableView. The issue is that
Qt.DisplayRole works fine, but the Qt.BackgroundColor role fails to
render.
There are little clues on www but what I found is changing the application
style works. That is a hack is there a way to achieve it without the hack?
#------------------------------------
def headerData(self, section, orientation, role):
""" Header data """
if role == QtCore.Qt.DisplayRole:
if orientation == QtCore.Qt.Horizontal:
return self.dates[section]
elif orientation == QtCore.Qt.Vertical:
return "Name:"
elif role == QtCore.Qt.BackgroundRole:
if orientation == QtCore.Qt.Horizontal:
return QtGui.QColor(QtCore.Qt.red)
elif orientation == QtCore.Qt.Vertical:
return QtGui.QColor(QtCore.Qt.green)
-- app style
app.setStyle("Plastique")
I am trying to customize the header of my QTableView. The issue is that
Qt.DisplayRole works fine, but the Qt.BackgroundColor role fails to
render.
There are little clues on www but what I found is changing the application
style works. That is a hack is there a way to achieve it without the hack?
#------------------------------------
def headerData(self, section, orientation, role):
""" Header data """
if role == QtCore.Qt.DisplayRole:
if orientation == QtCore.Qt.Horizontal:
return self.dates[section]
elif orientation == QtCore.Qt.Vertical:
return "Name:"
elif role == QtCore.Qt.BackgroundRole:
if orientation == QtCore.Qt.Horizontal:
return QtGui.QColor(QtCore.Qt.red)
elif orientation == QtCore.Qt.Vertical:
return QtGui.QColor(QtCore.Qt.green)
-- app style
app.setStyle("Plastique")
Thursday, 8 August 2013
why should we have a right value such this?
why should we have a right value such this?
in this code:
uint uintnum=7u;
long longnum=7l;
ulong ulongnum=7 ul;
my question is,if we don't write in first line 7u or in second one 7l or
in third one 7ul it will convert in first line to uint in second one to
long and in third one to ulong.thus, why should we write this right
value?(I mean 7u and 7l and 7ul) thanks
in this code:
uint uintnum=7u;
long longnum=7l;
ulong ulongnum=7 ul;
my question is,if we don't write in first line 7u or in second one 7l or
in third one 7ul it will convert in first line to uint in second one to
long and in third one to ulong.thus, why should we write this right
value?(I mean 7u and 7l and 7ul) thanks
Find whether exists a path from u to v or viceversa
Find whether exists a path from u to v or viceversa
I have to check, in a directed graph, whether exists a path from u to v or
from v to u (being u, v any two vertex of the graph). It's related to
strongly connected components. The algorithm must be O(|V||E|).
Any suggestion or hint to find the solution? I have no idea how can I
start to work.
Thanks in advance!
I have to check, in a directed graph, whether exists a path from u to v or
from v to u (being u, v any two vertex of the graph). It's related to
strongly connected components. The algorithm must be O(|V||E|).
Any suggestion or hint to find the solution? I have no idea how can I
start to work.
Thanks in advance!
How to properly call a helper method or js.rjs file from JQuery? [Rails 2.3.11]
How to properly call a helper method or js.rjs file from JQuery? [Rails
2.3.11]
Currently when I click a button a dialog pops up http://jsfiddle.net/RBKaZ/ .
The view of interest with is an html.erb is shown below
<div style="text-align: left;">
<div id="dialog">
<p>My Heading</p>
<textarea id="name"></textarea>
</form>
</div>
....
<%= submit_tag 'My Button',
:id => 'open' %>
I have the following in my application.html.erb (wrapper for views)
<%= javascript_include_tag 'jquery-1.9.1' %>
<%= javascript_include_tag 'jquery-ui-1.9.2' %>
<%= javascript_include_tag 'popup' %>
When I click 'My Button' ideally I would like to get the value from a
method within my app/helpers/application_helper.rb file, then alert this
value. Alternatively I would like to call a js.rjs fie located in
app/views/toolbox/ which then calls the appropriate helper method.
I have tried doing some sort of alert within js.rjs, but I get a html page
with try, catch statements with the appropriate content inside. Could be
because I also have <%= javascript_include_tag :defaults %> defined. (I
called this file in a way that I know is very wrong).
I'm very new to front end development, and from what I've been searching I
probably need to make an ajax call. Haven't been able to find an example
that suits my needs, help would be very much appreciated.
Let me know if more information is needed.
2.3.11]
Currently when I click a button a dialog pops up http://jsfiddle.net/RBKaZ/ .
The view of interest with is an html.erb is shown below
<div style="text-align: left;">
<div id="dialog">
<p>My Heading</p>
<textarea id="name"></textarea>
</form>
</div>
....
<%= submit_tag 'My Button',
:id => 'open' %>
I have the following in my application.html.erb (wrapper for views)
<%= javascript_include_tag 'jquery-1.9.1' %>
<%= javascript_include_tag 'jquery-ui-1.9.2' %>
<%= javascript_include_tag 'popup' %>
When I click 'My Button' ideally I would like to get the value from a
method within my app/helpers/application_helper.rb file, then alert this
value. Alternatively I would like to call a js.rjs fie located in
app/views/toolbox/ which then calls the appropriate helper method.
I have tried doing some sort of alert within js.rjs, but I get a html page
with try, catch statements with the appropriate content inside. Could be
because I also have <%= javascript_include_tag :defaults %> defined. (I
called this file in a way that I know is very wrong).
I'm very new to front end development, and from what I've been searching I
probably need to make an ajax call. Haven't been able to find an example
that suits my needs, help would be very much appreciated.
Let me know if more information is needed.
Where can i find pygame.image class?
Where can i find pygame.image class?
I would like to edit the pygame.image to add a method that returns the
name of the object.
Ive been looking around in /Library/Python/2.7/site-packages where i found
Pygame but I can't seem to locate the image class despite found the
folder.
Anyone knows?
I would like to edit the pygame.image to add a method that returns the
name of the object.
Ive been looking around in /Library/Python/2.7/site-packages where i found
Pygame but I can't seem to locate the image class despite found the
folder.
Anyone knows?
Subscribe to:
Posts (Atom)