javascript-library

Font shadows using Raphaël—JavaScript Library

I would like to put a shadow around any given text, or make the text more anti-aliased looking. For example lets say I'm running a simple text such as: var titleName = R.text(x+200, y-75, "Lorem Ipsoup de jour") .attr({font: '75px Helvetica, Arial', opacity: 1, fill: "#dfe6ec"}) The text is somewhat chunky looking at...

Raphael JS -- animate .text()

So I'm using Raphael JS to try and animate. Here's what I've tried: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt; <script type="text/javascript" ...

Using MochaUI windows tabs for MUI.Panels?

When using MochaUI to open a new floating container (from the demo menu File>Tests>any), a new tab appears in the "Dock" bar, and when one click this tab the floating window minize/restore. What I'd like to use is to use those tabs but having the containers (maximized) into a panel. For example, I click File>Open>Something_1111, and a ...

jQuery initiation

Hi, After using jQuery for a long time now I have a question, I'm writing a simple code using the jQuery pattern(style), (function(window, undefined) { var jQuery = function (s, c) { ... } }) (window); As we all know jQuery is defined in a self Executing anonymous function, I guess its scope (jQuery) should be restricted to tha...

javascript library based on jquery

What would be the advice on starting and organising a library of useful code based on the jquery library? Im thinking of starting this for all of the code that I use alot and ends up just being copied and pasted between projects. I would like to have all of this functionality included in some sort of library of plugins? Any ideas or b...

Please, help me prepare the php and use jQuery to check the DB and submit a form when the correct string is typed?

Please, show me how to get my a random question, $randomQuestion (i.e., "What color is the sky?"), and matching answer, $matchingAnswer (i.e., "BLUE"), from the $quizID's table's list of questions in my SQL database. Then, please help me use jQuery to refresh the $randomQuestion and $matchingAnswer, without refreshing the whole page. I...

Project ideas to master JavaScript

This question is the following of my other question here: http://stackoverflow.com/questions/3707746/cannot-understand-node-js I decided to learn JavaScript, however and in spite of I learn by doing, I don't find anything I can be doing in order to learn JavaScript. What projects do you recommend me to start? What cool things can I do ...

Javascript Windows Framework

Sometimes I see web based software that is designed using some slick javascript windows which try to emulate the Windows desktop experience (draggable windows and a start menu). Are there any free frameworks like this available? ...

Help with Xin Calendar Javascript Package

I've been using Xin Calendar for a few years in my forms to allow users to click-enter dates. Site: http://www.yxscripts.com/xc2/index.html The issue I'm having is I want to have the user select the first date, then after it's selected, automatically set the end date 3 months in advance if the end date is null. I can figure out the JS...

What is the syntax to import javascript library file in JAVA?

I have successfully added the javascript library in eclipse. In my library file I have a function(TypeUserName) and want to import it in a JAVA class. What is the syntax? This is my code: import com.thoughtworks.selenium.*; import java.util.regex.Pattern; public class demoProject extends SeleneseTestCase { public void testdemoProject...

How to use YUI 3 History standalone without the loader?

Using YUI scripts on our SSL page turned out to break the SSL connection because they dynamically load scripts from yahoo (combo) over a http connection. As we only use the history manager of YUI 3, I wanted to host the code on our server. If I copy the code from http://yui.yahooapis.com/combo?3.2.0/build/yui/yui-min.js&amp;3.2.0/build...

Problem configuring ContentFlow

I'm trying to setup a simple slide show using ContentFlow javascript (http://www.jacksasylum.eu/ContentFlow/index.php), and I know I'm missing something very simple - I can't seem to control the size of the images in the slideshow. It automatically scales them to the device I'm viewing them on, but on a higher res monitor it just looks w...

Anyone knows how create a javascript "effect" for slide the website

Hi My boss (my pointed hairy boss) want an effect in javascript for show an advertise. The effect he wants is some like this. When the user enter the site, a banner must appear and "push" the website out the screen, and that space must be use for the banner. After a few seconds, the banner must to disappear, and the website restore. I l...

How to delete an Arrow in Joint JS Library?

I've the following challenge, when a user selects an Arrow and press delete key, I must clear the arrow. The arrow will be always related to 2 State's; when the user fires the event, I wanna know which States (start and end) the arrow is related to, and wanna clear it from the view. How can I do that? ...

javascript library for state workflow presentation

I would like to know of a good javascript library for workflows, I'm currently using Joint JS, but I need something more visual impressive (users only like that). ...

Javascript how do I find what function call resulted in a specific UI event??

I want to find out what triggered an event. Namely, the notification bar on this site stackoverflow.com (the bar that tells you when someone has posted an answer to a question you're writing an answer on. It scrolls down slowly from the top and provides a really nice UI for user notifications. I've seen it work on just about ever page. ...

How to write this crawler in javascript ?

The idea is very simple: Imagine a simple white page with a form with a single input tag ( like google homepage ). When I insert a link of a blogpost in this form, then the javascript-crawler search the first image in the webpage of the blogpost ( through ajax ), show it in the white page and save it on my server. This crawler works li...

inserting html into yahoo's YUI rich text editor

I am trying to insert HTML into the YUI rich text editor. The code works if I use simple HTML snippets, but if I use something more complicated (e.g. try to embed an object), then it fails. Edit Fails - only for FF browser For example - this works: var html = '<div><b><u>Hello world!</u></b></div>'; myEditor.execCommand('inserthtml'...

When (and how) does it make sense to use a GPLed JavaScript library?

With the dynamic properties of JavaScript, it's often difficult to distinguish between library code and original code that is relevant to the website. Modifications can be made in separate files, but they could be directly or indirectly modifying library code. As far as I can tell this means that, if I were to use a GPLed JavaScript libr...

how to autoresize iframe contents on extjs webdesktop

hi all , i'm creating my personal extjs webdesktop , i have a tab panel with a tab where i wrote html code for iframe that load a aspx page. When i resize window tabpanel iframe contents doesn't resize like a browser does and i see just scroll bars,is it possible autoresize iframe contents also? here there is my code: items: [{ ...