Im pretty sure this has a simple solution. I am using jCarousellite, and i want to change the behaviour of builtin nav buttons to fire on hover over.
$("#carousel").jCarouselLite({
vertical: true,
btnNext: ".btn-down",
btnPrev: ".btn-up",
visible:6,
circular: false
});
$("#carousel .btn-down").hover(function() {
$("#carousel .btn-down").click();
});
but it only fires once when mouseover, i need it to fire continueously while mouseover.
I'm trying to figure out what files are needed when I distribute an application that I have written. In the release folder after I have built the application I have the following:
app.exe (obviously needed)
app.exe.config (obviously needed for
my config settings)
app.pdb
app.vshost.exe
app.vshost.exe.config
app.vshost.exe.manifest
I'd like to offer users the ability to post images / links to articles from my web application to Facebook, Twitter, Buzz and any other social network.
A perfect example of the functionality I'm trying to replicate is mashable.com ... where each social network is represented by an icon that a) shows the number of shares AND b) allows users to click on it to post to that specific network.
Don't know if it matters ... but the site is built using RoR.
Thanks
As per the title, I'm trying to parse an XML file containing an xs:duration data type. I'd like to convert that into a Python timedelta object, which I can then use in further calculations.
Is there any built-in way of doing this? If not, what is the best way to achieve this?
I built GNU Smalltalk from source on my Mac because I couldn't get it working using fink and I found VMs like Squeak hard to understand. When I run the gst command it works fine, but unlike command line interfaces such the Python and Lua ones, it is hard to use because when I use the left or right arrow keys, I want the cursor to move left or right, but instead it inserts text like "^[[D". I understand why it does this but is there any way to fix it so it is more usable?
The "ternary operator" expression is now almost equivalent to the ternary conditional operator:
condition ? trueExpression : falseExpression;
However, "ternary operator" only means that it takes three arguments. I'm just curious, are there any languages with any other built-in ternary operators besides conditional operator and which ones?
I have a project which as part of the build process creates an XMLBeans jar file (stbSchemas.jar) which I want to include and reference in this project.
Is this the best way to go about this (Single project) or should I have a child project which is built from the parent project?
I am building this using Maven2 inside Eclipse. Is there a better way to do this so that I can maintain the integrity of the projects and stability of the builds.
Does anyone know how bing's weather webslice search works? I am attempting to create a web slice(only available in IE8) with search builtin and I have read that forms are not allowed and neither is javascript. Any help would be appreciated.
In the linux kernel, are there any data structures that automatically always hold the last written block number for a partition? I can't find any built-in kernel source that could be used to get this information. Any help is appreciated.
Is there an equivalent in Javascript to the C function strncmp? Strncmp takes two string arguments and an integer length argument. It would compare the two string up to length and determine if they were equal as far as length went.
Does javascript have an equivalent builtin function?
So, after little thinking I have wrote the following:
# In repository we don't need to have:
# Compiled object files
*.o
# Generated MOC, resource and UI files
moc_*.cpp
qrc_*.cpp
ui_*.h
# Built windows .exe and linux binaries
# NOTE: PROJECT is a your project's name, analog of PROJECT.exe in Linux
*.exe
*.dll
PROJECT
# Windows-specific files
Thumbs.db
desktop.ini
# Editors temporary files
*~
# Debug and Release directories (created under Windows, not Linux)
Debug/
Release/
Please ask, what needs to be added or fixed (especially for Windows - I haven't one under hand now. And Mac too [haven't work in it at all]).
I want to keep my repository clear :-)
I need to have a list with id's for each list item being #one, #two etc.
Is this the most efficient way or am I missing an inbuilt ruby function here?
-num_array = ["one", "two", "three", "four", "five", "six", "seven"]
-navigation[:primary_level].each_with_index do |primary_item, idx|
%li{ :id => "#{num_array[idx]}"}
[Zend Debugger] Cannot receive start command
...
[Zend Debugger] Cannot send message
I googled and found there are others also having this problem (here and this one on serverfault), but unluckily no fix yet.
PHP 5.2.8 (cli) (built: Dec 8 2008 19:31:23)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Is there an official fix for this yet?
Hi,
I'm writing a custom UITabBar replacement, and I would like to know how to recreate the filter that the built-in implementation does with the UITabBarItem image - that blue shining on selected tabs and gray gradient on unselected ones. I guess it's a matter of using the source image alpha value as a mask and overlay it with a pre-made blue (or whatever color) shining image and another one grayed out, but I would like to know what is the best approach from a code point of view.
Best,
I'm doing infrequent development with Apache/PHP on my Windows machine so I've opted to run apache as a console process instead of a service. It would be nice if errors could be logged to the console window instead of a logfile so I can see them immediately. Can this be done somehow? It doesn't seem that apache has such a capability builtin and I can't find a mod that would do this either.
Mathematically I suppose it's possible that even two random GUIDs generated using the builtin method in the .NET framework are identical, but roughly how likely are they to clash if you generate hundreds or thousands?
If you generated one for every copy of Windows in the world, would they clash?
The reason I ask is because I have a program that creates a lot of objects, and destroys some too, and I am wondering about the likelihood of any of those objects (including the destroyed ones) having identical GUIDs.
I'm working on a music streaming app that needs play controls (skip, pause, play) just like the iPhone iPod app. I built my controls using a UIToolbar and the standard buttons.
My UIToolbar controls look OK, but they're smaller than the ones that the iPod uses.
Does anyone know if the iPod controls are custom graphics? Or maybe custom buttons in a UIToolbar (to get the gradient)?
I found it very difficult to configure linked resource in Eclipse CDT. Folder "wspolne" is located somewhere in the system, I'd like to use .cpp .h files from it in my current project, but avoid copying it. From what i read about Linked Resources is a solution, but I can't build a projct :/
I followed instuctions described here with out any result: stackoverflow.com/questions/1907275/in-eclipse-cdt-shared-resource-folder-that-is-built-differently-for-the-project. What's wrong ?
Image that shows problem: http://img260.imageshack.us/img260/1629/eclipsen.jpg
hye all,
i have built a SQLite database and wanna to add into iphone app. already i have add it resource-add-x.sqlite and also add libsqlite3.0.dylib.framework but i don't know what is the showing code. I wanna to show the data in the db when user pressed button.
Can anyone help me to give an example on how the db can be view when button is press??
Hi, I am a novice in iphone sdk. Now I have already built a Navigation based app. But, I want to add a start UIview with some buttons before the table view of the Navigation based app. How can I do? Could you please explain it in detail?
Thanks a lot
A customer asked me to prevent users from typing common passwords, but permit them to use only alphanumeric passwords.
Do you know a regular expression to use in the builtin PasswordStrengthRegularExpression option?
I am using Django builtin view for user login:
url(r'^user/login/$', 'django.contrib.auth.views.login', {'template_name': 'users/templates/login.html'}, name='user-login'),
After login when I goto user/login again I can login second time. I submit the form and getting:
The current URL, accounts/profile/, didn't match any of these.
I haven't declare this url in urls.py.
What I am doing wrong? Why framework want to redirect to this url?
I like Qt Creator as an IDE, but the built-in compiler is slower than dirt.
Can I replace it, and if so, with what?
Developing on Windows but targeting multiple Mac as well.
I think that papers are a great information source. they generally tend to be built upon other experts investigations, and generally are short enough to transmit you great ideas in a short coffee read.
But I don't really have read many papers in this area. So I would like to start soon and I'll be glad to hear your thoughts.
So I wonder what have been the best programming paper you have read?