The Dialog widget in jQuery UI has a hide and show options that you can pass the name of effect you want it to run on show and hide events.
some of the events have extra options like { direction: down } for drop or slide effects but I can not find a way to pass these options to the Dialog widget.
do you know how to do this?
...
How to show java script alert of arabic characters/text from ltr(Left to right) format.In html we have ltr tag.
...
which of the followng statement can be used to identify alphanumeric patter?
A) a-zA-Z0-9/./,/-/\n
B) ^[a-zA-Z]
C) ^a-zA-Z
D) /^[a-zA-Z0-9/./,/-/\n]+$/
...
I have created a jQuery plugin that works great with the exception of being able to call the plugin on different objects and each object retaining the options it was given. The problem is that if I call the plugin on one object, say:
$('#myDiv1').myPlugin({
option1: 'some text',
option2: true,
option3: 'another option value...
I would like to integrate the Aurigma image uploader (http://www.aurigma.com/Products/ImageUploader/) on a website.
On Internet Explorer the control is an ActiveX control which issues a security prompt prior to the first installation.
To give the user instructions about how to react to this security warning I'd like to display an infor...
i'm using java script to dynamically create an element and populate it with content. after i appended it as a child to an existing element of the current dom tree, the browser ignores my defined CSS.
Using firefox i installed the web developer toolbar and noticed that when i turn off css style sheets and turn it on again, the element is ...
Group,
I have a table that is dynamically built with device ids. I have a "swapCell" that moves the cells up and down when the user clicks on (up/dwn) buttons.
I have a delete row function that deletes current row.
-Problem is: If I have six rows (1,2,3,4,5,6) and six id's (id=row1,id=row2,id=row3,id=row4,id=row5,id=row6)
-And dele...
I've appended a sortable jQuery plugin to my list of divs using 1.4.1 jQuery. The function that is called on the page load is pretty simple.
$(function()
{
$('#divEditFieldOrderModal_FieldList').sortable(
{
axis: 'y',
cursor: 'pointer',
placeholder: 'sortOrderPlaceholder'
});
});
This divEditFieldOrderModal_FieldList contain...
Here is a solution I came up with for an editable grid that can be made editable with single button click outside the grid. There is also a cancel edit button and submit changes button. The table schema and data is dynamic, the table name we are binding to is dataTable and the column names are stored in MyMappedColumns List.
<input typ...
I know it may be a simple thing, but I cant figure out,I am trying to insert some text coming from a javascript function onload event into a td.
<html>
<head>
<script type="text/javascript">
function insertText ()
{
//function to insert any text on the td with id "td1"
}
<script>
</head>
<body onload="javascript:insertText()">
<table>
<...
I used Firefug to profile my web application and found that the following function is called, and needs to be called, literally hundreds of times per user visit. So I want to optimize it since Firebug says it uses the most resources/times.
function highlightChildDiv(parentDiv) {
/* find the closest (hlisting) home listing to the m...
i am displaying a remote webpage on my site like this:
<iframe src="http://www.smopething.com/index.cfm"
frameborder="0"
width="800"
scrolling="no"
height="1100">
</iframe>
is it possible for me to customize the size of it? something like <iframe src="etc", height=something,width=something> ???
...
I am using http object in javascript on a hand held device, running Win CE. When the device looses connection to the network, the javascript does not report an error (status = 12007) for 60-90 sec. When connected to the network, the status (200) is returned immediately. In both cases the readystate = 4.
...
I'm developing a SCORM compliant LMS, and having some problems with Captivate generated contents.
Basically, the behavior is: If you see a SCO (captivate generated content) with for example 15 slides and 1 question in each slide quickly, my lms is not tracking all the 15 question, only the first 3 or 4. If you wait a long time at the en...
I am toying with an application that will demo some Firefox 3.6 specific functionality, most of which are listed here: http://demos.hacks.mozilla.org/openweb/
I want to drag a zip file in the browser, unzip it, and work with the unzipped contents.
Are there any existing libraries that can do this? Does FireFox 3.6 in particular have so...
Hi, I'm making a dropdown menu with jquery (some of the code is borrowed from a tutorial by someone, although I forget who...). When I use the dropdown, it slides up and down really fast, and I can't figure it out. What do you think?
HTML
<div id="nav">
<ul class="topnav">
<li><a class="selected" href="#" title="home">home</a></l...
i am trying to display a webpage within a webpage as you can see over here
http://www.yoursdproperty.com/index.php?option=com_jumi&fileid=8&Itemid=34
the top and left part is my site, and the stuff that is the main content in the middle is a different site. i may not be doing it correctly since it is not displaying it at size t...
Just need a little push as I have this almost working.
I want to feed jquery a URL and have it strip everthing but the video url.
Here is my code:
var url = 'http://www.youtube.com/watch?v=bxp8NWvIeSo';
$results = url.match("[\\?&]v=([^&#]*)");
alert($results);
});
I'm getting this as an output -
?v=bxp8NWvIeSo,bxp8NWvIeS...
Hello i implement this library in my application
http://www.dominicpettifer.co.uk/Blog/17/gzip-compress-your-websites-html-css-script-in-code
it Works very well if i run the site in Visual Studio but when i compile my site and publish in IIS it only Gzip ASPX files not CSS or JS files.
does anyone knows a better way for implement Java...
I am creating a simple image gallery, and I would like to create multiple sets of images. On the click of a link all of the images in the link's given set will change.
here is my current code:
<ul>
<li><img src="image01.jpg" width="500" height="450"></li>
<li><img src="image02.jpg" width="200" height="450"></li>
<li><img src="ima...