JQuery :: SimpleModal 1.3 - Setting The MinHeight And MaxHeight Parameters
Sep 15, 2009
Since upgrading to SimpleModal 1.3 from 1.2.3, I'm having real trouble with the height of the container. Something somewhere keeps inserting a height of 84px inline into the container div. Because it's inline I can't override it with my stylesheets -- the inline styles override the stylesheet.
[Code]...
View 2 Replies
ADVERTISEMENT
Oct 7, 2009
I am using Eric Martains Simple Modal dialog box. Here is my problem. I have a page, (which we will call page A) that contains an iframe (which we will call page B). I can modify page B, the iframe, but I can not modify page A, the containing page. I would like to display the modal dialog box in page A, but have the code and modal div html in page b. Is this possible. This is a tough problem to describe, but hopefully i have done a decent job.
View 2 Replies
View Related
Nov 15, 2011
I have the following html for simplemodal
For the following html
Where {{term.pk}} is different for similar items. I want to pass the value of {{term}} to the code used by simple modal
How do I pass this parameter to my html code using simplemodal?
View 2 Replies
View Related
Feb 4, 2010
I'm experiencing some problems with setting "onkeydown" dynamically.I want to pass some parameters to the function which recieves the event.So I did this:
mydiv.setAttribute('onkeydown','ShowInput(this,''+divID+'');
Only of course it doesn't work in IE.So I tried setting it the other way:
mydiv.onkeydown = ShowInput;
But that way I cannot pass parameters?
View 2 Replies
View Related
Jan 11, 2010
I am currently using the simplemodal confirm dialog from Eric Martin. What do I need to modify to have the confirm dialog return true if the user clicks Yes, and false otherwise. for example something like this:
View 1 Replies
View Related
Sep 29, 2010
I'm using simpleModal.js on a page and it works great however, once I try to add options to the modal it no longer works.
Here's what I'm using now and it works successfully:
If I try adding a width option it breaks...absolutely nothing happens:
View 1 Replies
View Related
Jul 22, 2010
I have a the SimpleModal running on a php page, and on said php page, a varaible is defined; e.g. $var = "John";
and then the usual gubbings for simpleModal, which calls modal_output.php - the file generating the output for the modal popup.
I need to get that $var into this popup, so the popup can read:
"blaa blaa John"
This should be simple, I thought - but I can't parse it through _SESSION, or any method I try. I even tried hacking it into:
$.get("contact_modal.php", function(data){
to read $.get("contact_modal.php?var=<?php echo $var ?>", function(data){
but that breaks the js
Is there anyway I can parse the variable from the original page into the modal popup page?
View 3 Replies
View Related
Dec 15, 2010
I have been trying to display "anythingslider" plugin inside a jquery modal popup. I have tried with both colorbox and simplemodal and both give exact same effect. The effects I am seeing is when the modal window is launched the anythingslider shows the start button and the 2 green 1-2 tabs stacked vertically on top of each other. I don't see anything else (no slides etc).I am testing with the code found here:URL....I am using the setup and example code as it is listed on the page.[code]
View 1 Replies
View Related
Apr 21, 2011
I need to know a way to get/set URL parameters with jQuery.
Here is the flow between pages im having:
What i want to have is:
Each page offers a choice to user and must add the choice in url. Actually im using forms with submit buttons to do it but i dont know how to keep parameters from previous page in the current page.
View 6 Replies
View Related
Jun 7, 2009
I need to get which all are the parameter in the current url[URL]...Since my parameters changes every time, I need to get the parameters (not values of parameters)
[Code]...
View 1 Replies
View Related
Oct 17, 2009
It's possible to get values from URL with jQuery like PHP? For example suppose you have this URL:form.html?s=ok&val=rperezm. In PHP is simple:
[Code]..
View 3 Replies
View Related
Aug 8, 2011
how I can execute this 'function(dateStr, inst)' . The jQuery partially works it divert to another page but without parameters, the outcome displays [object Object].
Code:
$.noConflict();
jQuery(function() {
jQuery('#datepicker').datepicker({
[Code]....
View 1 Replies
View Related
Oct 7, 2010
I am using the datepicker plug in, and am trying to extend it to not allow sundays to be selected. Now the problem I have is I am no javascript savy... so not sure the correct way to format this.
Here is my code for the plug in:
<script type="text/javascript">
$(function() {
// Tabs
$('#datepicker1').datepicker({
beforeShowDay: function(date) {
return [(date.getDay() > 1), ""];
} minDate: 0,
maxDate: "+12M +0D",
dateFormat: 'dd-mm-yy'
});});
</script>
The above is not working, It is not showing the calendar, so I know something is up somewhere here? The reason it has datepicker1 is on the page it is dynamic and can have multiple occurences of the calendar but with numbers after each.
View 1 Replies
View Related
Oct 5, 2009
My button when click call cal function, inside cal function I need to find parent so I can access other element, but I donot know how to pass parameter to Selectors/has(for some reason $("div :button").each(function()... no work here)
Code as below:
function cal(event) {
if (!event) event = window.event;
[code]....
View 1 Replies
View Related
Sep 24, 2009
I know this is not strictly related to jquery but I don't know how to make it works. I'm working on a function that has as variable an array and for each element I need to create a piece of code for an other function. For instance when the array contains [0,1,2] I need to call
[Code]...
View 5 Replies
View Related
Feb 1, 2010
I have a search box for a load environment, and I cant just load a simple search.php?field=123124312
Right now I have
$("#table").load("/search.php?search=780073404721 #0001");
I need to be able to set those numbers to anything submited through my input field.
View 2 Replies
View Related
Dec 26, 2010
I have a problem with a function i created. I want an image to move from a to b and then start from a again. Without parameters this works really fine, but now that I have got more images I use parameters but I have no clue how to call the funtion again.
[Code]...
I tried to replace show(100,flo) with show(100,flo(zahl,r_g)) but then the divs only move from a to b but even will not come back to a again. I think the solution should be pretty simple but i cant figure it out.
View 4 Replies
View Related
May 11, 2010
Is there a way to send multiple search paramaters using the jQuery UI 1.8.1 Autocomplete feature? Currently, I am able to send only the text entered in the text box which automatically maps to the "term" querystring paramater. I need to send couple of additional parameters to my server side code for filtering the search. Is this possible?
View 11 Replies
View Related
Jun 7, 2010
I am new to JQuery and trying to post some parameters from an anchor tag. But only my 'site' parameter gets passed. Here is my code :
<a class="screenshot-link" href="#" site='dv2' num='1'>1</a>
$(
".screenshot-link").click(function () {
[code]....
View 6 Replies
View Related
Nov 14, 2010
getting a problem adding name/values to make an array to pass to php.
I've got a number of inputs named week_start_x (where x is an integer ranging from 1 to a dynamic number [generated through php] - the max no. is determined by another field called 'yearblocks').
I want to pass these name/value pairs to a php script. However, I get an 'undefined' when I fish out the $_POST variables for the array. I assume it's to do with the fact that the 'str' variable is printing out a string as opposed to a list of name/values, but I have no idea of how to go about this.
var cnt = 1;
str = "";
blocks = $("#yearblocks").val();
while (cnt <= blocks){
[Code]....
View 3 Replies
View Related
Dec 14, 2011
I have been checking out the following sitepoint tutorial on creating a plugin using Jquery http:[url]....I have some Questions about the selector and the parameters.Say for example, I wanted to pass parameters into the plugin:
Code:
(function($) {
// jQuery plugin definition[code].....
And conversely if the plugin takes no parameters $(selector).MyPlugin(); Firstly is my understanding correct and secondly what if the plugin doesn't require a selector? What if it doesn't need to do anything to a given DOM element? would it be something like:
$().MyPlugin(someparameters)
View 2 Replies
View Related
Mar 27, 2010
There is a website that allows unlimited voting for one of my friend's sons. Someone else has been automating the process because another person received 14,000 votes in about an hour.
So my question is: [url]
How can I pass a parameter at the above site so that it votes for the selected person (example - PJ Howell) without clicking the name and then hitting vote?
View 1 Replies
View Related
Mar 26, 2010
I have an Ajax script which works fine in IE, Opera, etc, but not in FF 3.6. It appears the data sent is not recognized. My debug alert to display a simple variable sent is blank. In other browsers it displays fine. I'm developing on my PC so shouldn't have the cross domain issue, I don't think?
Here is the code
function ajaxRequest() {
$.ajax({
type: "POST",
url: 'WTE_HTTP_Submit.cfm',
[Code]....
View 4 Replies
View Related
Dec 2, 2010
There's a box INPUT[code]...
and the corresponding line of [code]...
Everything works with a bang. However, now we need to pass a string out of 2 INPUT values(input name="name" and input name="last"), ie [code]...
View 1 Replies
View Related
Aug 4, 2010
Selecting elements using multiple parameters like here: $('descendant', 'ancestor').text(); seems to be way more popular than css-like syntax: $('ancestor descendant').text(); Do those two differ in performance, or is it just about being intuitive to particular people?
View 1 Replies
View Related
Feb 16, 2011
I cannot seem to get this code to work properly and I'm wondering if it's a simple error in usage.I have a html page that calls a PHP and refreshes a DIV section every 10 seconds. So far works like a charm...but now I want to add some parameters to pass to this script...
Code:
$(document).ready(function() {
$("#DTable").load("response_query.php");
var refreshId = setInterval(function()
[code]....
So I added the ?a=aaa,b=bbb,c=ccc, randval='+Math.random()); to the load section and then in my PHP script got the $_GET values . but nothing seems to get passed so I'm wondering whether I have used or incorrectly passes these parameters to the script.
View 2 Replies
View Related