plugins

Negative Positioning with JQuery scrollTo / localScroll

I'm working on a project and using Ariel Flesler's jquery.scrollTo.js & jquery.localScroll.js ... I have local links that scroll to various divs on the page. The trouble I have is that I have a fixed position navbar at the top of the page and ScrollTo is calculating the window position (correctly) without factoring that in. Below is t...

Good Scatter-plot plugin for JQuery (sample pic included)?

Hi all, I'm looking for a solid graphing plugin for JQuery that can give me an attractive scatterplot for use on my site. I really don't need a lot of fancy functionality -- just the ability to plot points on a graph based on the X-axis and Y-axis values I give it. The only somewhat peculiar requirement I have is that the dots have the...

Best Resources for Rails Social Networking Friendship

What do you all think are the best resources for adding a "friendship" system to your rails social networking sites? The main three I have found: Self-Referential Associations - Railscast acts_as_network has_many_friends However i find that the railscast one tends to be a bit simplistic, and a lack of implementation documentation for t...

maven tomcat plugin with mysql driver in $catalina_home/lib

Hi everybody, i am trying to use a container managed datasource (via context.xml) in tomcat. The corresponding jar file needs to go in $catalina_home/lib, otherwise tomcat can't find it. (not in webapp/WEB-INF/lib, because it is managed by the webserver, not by the application itself) the problem is: I am using maven with the maven-to...

SimpleModal -- Open OnLoad

I'm new to JQuery -- not new to javascript. Was able to open the OSX STYLE DIALOG using the hyperlink button provided in the demo index.html page, but would like to open it on the page load. I read a couple links on StackOverflow (http://stackoverflow.com/questions/1611727/how-do-i-invoke-a-simplemodal-osx-dialog-on-page-load), but s...

wordpress plugin encoding not working

i am using a plugin in wordpress that it should be translated into persian (utf8), the page encoding is correct but when i edit the plugin in control panel editor's page it will become question marks, for example see this page http://farsi.tikatel.com/register/ the form in body content is plugin which has been translated into persian but...

plugin to play video content from my blog/website.

I wish to play a video content (in a container) from my website/ blog, when the page is loaded . Similar to that of youtube, dailymotion etc. I wish to give the actual Url to that container, which then plays the video in that location. The basic idea is to hide the actual URL from the user and make the person to view the video from th...

How do I detect the difference between Adobe Acrobat versions higher than 8 in non-IE browsers with JavaScript

I know that starting with version 8, the name of the Adobe Reader plugin was changed to "Adobe PDF Plug-In for Firefox and Netscape", and does not include any version information. However, the version information does appear in the "Plugins" tab when viewing Firefox Add-ons. Does anyone know where that information comes from, and if it...

What Lightbox plugin is this?

Hi, Can anyone tell me what is being used to generate the image on this page? http://www.iwantoneofthose.com/lego-digital-camera/index.html#productSubmitReviewsAnchor I assume it's some kind of lightbox plugin? Any help appreciated. Thanks. ...

Setting the cursor position in PyGTK (for a Gedit plugin)

I'm developing a Gedit plugin which is built on PyGTK. I'm trying to figure out how to programatically tell the cursor where to go. For example, I'd like to have the cursor automatically go to right before the first "|" (pipe) in the current line. Any ideas or starting points? I've been using the Gedit API up until now (right here) whic...

Using the grails Quartz plugin without Hibernate

I am working on a backend Grails application that pulls information periodically from a RESTful service. To do this I installed the Grails Quartz plugin. grails install-plugin quartz I then created a job using grails create-job My which geneates a MyJob file which I configured with a cron trigger static triggers = { cron name...

How to make js code invisible?

I have a php page, where at the bottom of the page I have some javascript code. I use php inside the javascript code, like this: alert ("<?php echo $variable; ?>"); If I put this in a separate file, this wont work for some reason. Is there anyway to make it work from a separate file without too much difficulty? Or is there another w...

Design philosophy for iPhoto and Aperture export plugins

I need to design a plugin architecture similar iPhoto and Aperture's export plugins, but I'm puzzling over the design pattern that Apple used. I hoping somebody could help shed some light on the advantages to the approach taken by Apple. The pattern that Apple uses for both programs is to have an ExportManager of sorts that the plugin q...

JQuery:FullCalendar Plugin: Events are not shown in week view and day view but are shown in month view

I've the following code to fetch events: $('#calendar').fullCalendar({ theme: true, slotMinutes: 10, header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay', }, defaultView: 'agendaDay', allDaySlot: false, editable: false, events: "/cgi-bin/shlk/getshlkruns.pl" }); The output from getshlkruns.pl is fairl...

sample mac Firefox Plugins?

I'm trying to re-write an old image-viewing plugin for the mac. The old version uses QuickDraw (I said it was old) and resources (really really old) and so it doesn't work in Firefox 3.6 (which is why I'm re-writing it) I know some Objective C, and so I figure I'm going co re-write this in that using new-fangled Mac routines and nibs, e...

Getting rails tagging plugins to work makes me Hulk-angry

I spent all my time yesterday trying to get ANY Rails tagging plugin to work. While installation was straightforward, I have to say the amount of documentation on how to use any of these plugins was dismal at best... For the record, I tried: is_taggable acts_as_taggable_on acts_as_taggable_on_steroids acts_as_taggable_redux In every i...

Looking for a jQuery plugin that can blur/hide text

Hello, I'm trying to find out if there is a jQuery plugin that can has the effect of literally blurring elements on a page, so a user can't read them. It's for a flashcard application I'm building, and I want to be able to hide the answer section of a card, making it appear unfocused as if you were looking at it through a blurry window...

Attaching a file in Grails using Mail plugin

I'm using mail 0.9 and it seems that the attachment feature is still not in? Was this item still not included until now? If that's the case, please tell me how to extend a Grails plugin without hacking the code directly. Thanks. ...

jQuery Form Plugin: post dynamic fields

I am using jQuery Form Plugin to submit (POST) a WebForm. Everything works great if I put my controls on that form. When I add (append) dynamic fields using jQuery (text or hidden) it seems that my fields cannot be sent. Is there anyone who experienced the same problem? ...

Asp.Net MVC + NHibernate + Widget Plugin Architecture

Updated: This is a re-write from my original question (or lack of), the main problem I am having at the moment is that when mapping my Widget domain models to the correct ViewModel I am having to do it like this which is definetly not the right solution... public ProfileWidgetViewModel MapFrom(ProfileWidget input, Account userAccount) ...