http://img163.imageshack.us/img163/6248/93306989.jpg
the images above show what i want,
i'm using Facebox to do the pop up content,so how can i make the pop up content dynamic?
<script type="text/javascript">
$(function() {
$('.openExample').click(function() {
$.facebox($('#exampleSource').val());
...
Hi,
My application is with basic authentication so in that session is not invalidating without closing window.So if my application is idle for 10 mins then by using setTimeout() giving alert with confirm box ,if i press it OK its reloading the page CANCEL means i am redirecting the page to JSP page where in that page LOGIN option is ...
Is there a shortcut in MooTools for telling if an object is an object or an array?
...
Why doesn't this jquery work, according to firebug none of the javascript lines are being reached:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript"
src="http://www.googl...
Error: Permission denied for sitename to get property Location.href from sitename.
I have an iframe in a webpage. This iframe has Click here to register link that redirects to the new window webpage. I am getting the above error when click here is clicked.
Please help in this issue.
<a href="javascript:openEventReg()" is called when ...
Hi!
I want to open a popupwindow (with close button only) when the user clicks a button and the parent window should be disabled until the popup window closed. For that I'm using the following code
function popup_window(url) {
popupwin = window.showModalDialog(url,null,'height=20,width=150,status=no,resizable=no,scrollbars=no,too...
The following code allows the user to click on the question of a flashcard and it displays the answer.
The problem is it displays all the answers for all the flashcards.
How can I pass the id of each flashcard so that the user can click on the title and toggle the question open and closed?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...
I'm building a form where I need multiple optional inputs, what I have is basically this:
Every time a user presses the plus button a new row of form inputs should be added to the form, how can I do this in jQuery? Also, is it possible to automatically add a new row when all rows (or just the last row, if it's easier / faster) are fil...
I'm trying to implement a live search on my photos site using jQuery and the autocomplete plugin. Everything works when I specifiy the data locally:
var data = [ {text:'Link A', url:'/page1'}, {text:'Link B', url: '/page2'} ];
However when I move this to PHP, jQuery is unable to parse the results properly. I'm really not sure what's...
I'm trying to detect an occurrence of a string within string. But the code below always returns "null". Obviously something went wrong, but since I'm a newbie, I can't spot it. I'm expecting that the code returns "true" instead of "null"
var searchStr = 'width';
var strRegExPattern = '/'+searchStr+'\b/';
"32:width: 900px;".match(new R...
Hi,
I see the following behavior:
When I call javascript XMLHttpRequest/open/send from silverlight, for a URL that eventually causes HTTP redirect to a different domain (logout URL in google app engine), than the silverlight application was loaded from, the browser doesn't follow the redirect.
When I go to the same URL either manuall...
Here's my HTML code:
<label><input type="radio" id="fNuttig" /> Nuttig</label>
<label><input type="radio" id="fNietNuttig" /> Niet nuttig</label>
<label><input type="radio" id="fNogUitTeMakenNuttig" />Nog uit te maken</label>
And here's my javascript code:
if ($('#fNuttig').val() == 'on') {
nuttig = 'Nuttig';
} else if ($('#fNietNut...
Hello all
im looking for my application ( that is sort of CRM ) to build web based gui
that support old browsers like IE 5 , is there any good client side cross browser framework
that support old browsers ? i don't need something fancy with effects and animations
Thanks
...
I am using "Inline Form Validation Engine 1.6.2, jQuery plugin" to validate form.
But i want that on click of a link i.e..
<a href="#">Click here to submit</a>
it should validate. as my form do not have submit button..
Please help..
...
I go throw the questions here and search the web for image zoom. I found one really nice: http://www.php-help.ro/examples/mootools1.2_image_zoom/ , the problem is that I'm not using MooTools and I can't use it. To find anything similar in pure Javascript or JQuery will be great.
The requirement is that the zoomed are can be moved on th...
Hi,
I have this code.
<div id="static_element"></div>
<script>
$(document).ready(function()
{
$("#static_element").html("<b class="dynamic_element">Test</b>");
//this row wont work
$(".dynamic_element").css({"color":"red"});
})
</script>
i want to access the tag "b" with the class "dynamic_element" but i c...
If my user clicks more than once on a submit button of a form, he essentially sends multiple GET/POST requests (depending on the form prefs).
I find that disabling the submit button using JS is a bit problematic, because if a user tries to stop (ESC/Stop Button), it doesn't reset the button (unless you catch that and handle that using J...
Does anybody know how to stop document auto-scrolling caused by pasteBin in Internet Explorer? This does not happen with other browser because of the following code in clipboard plugin:
if ( !CKEDITOR.env.ie && mode != 'html' )
{
pastebin.setStyles(
{
position : 'absolute',
left : '-1000px',
// Position the b...
Hi,
I'm using the nsIWebProgressListener interface to find out if a url has been changed. If it has, I'd like to rewrite the link.
Here's a snippet (code taken from the bottom of the page from the link above)
var myExt_urlBarListener = {
QueryInterface: function(aIID)
{
if (aIID.equals(Components.interfaces.nsIWebProgressListene...
I have one page in HTML , there are two buttons , save and print.
When user click on the Print it should print the page and
When user click on the Save page it should Open Save as... Box for that page.
javascipt/jquery solution preferred.
Thanks.
...