I'm working on this site [URL] and suddenly there is a blank space to the right of the site. As far as CSS is concerned it is not there. I am posting here because I was experimenting with jQuery at the time (I know almost nothing about it). However, I have removed all the jquery code from my files and it has made no difference. IE is giving me a 'console' undefined error.
I would like to have a blank space to separate the options in the "Select Color/Size drop down box" I would also like to have an alert('Please select a size'); show up if someone chooses the blank space. I have tried to do this but my attempts have been fruitless so far. Code:
whattowrite += fields[2] +fields[1]; How can i force a blank space between fields in js which will be out putted in html textbox with a decent gap between them?
In my webpage I have set that the left & top margins are '0' and it worked fine.However, after inserting of a Random Image Javascript,there is a blank space on the top.
I'm thinking of putting a pop-up on one of my sites using the following javascript. I only want it to pop-up when a visitor visits every 25 days or so. Can someone tell me where I put the code for that in the below script or point to a script where this is already done? Code:
We're using a fade image slideshow from : [URL]. On our webpage: [URL]. It works perfectly in Firefox, Chrome and Safari. However in I.E. ( were using v.9) it shows no images at all, just a blank space. The code is exactly the same as the page on javascriptkit yet his images fade as they should ours do not show at all.
just look at the scroll bar in your internet browser when the picture slide working you will find the scroll getting extended - the page must be ended by the copyrights down of the page and after the slide you will find some extra blank space in the page after the copyrights link.
I'm curious if anyone knows how to fix this. Most of the content of my page is 940px wide. The superfish menu, expanding as it should to fit my drop-down heading text, is only about 700px wide. I want to apply a color background to the div that the superfish menu is housed in so that the menu appears to be 100% width.
For some reason, in webkit and firefox, the color of the div that the menu is contained in does not show up, so there's just an empty space in that last 25% or so of the bar.
In IE, it looks correct, though. (the color of the containing div shows through the blank space in the menu, making the menu bar appear to fill the entire width).
Am I missing something in the Superfish menu that makes it appear at 100% width?
I'm building my portfolio website. I'm an illustrator and graphic designer (for printing). My website uses html and css. I introduce a jquery plugin to create a slide show with my work. Until then, everything was working well. The problem appears when I introduce php to my code in order not to repeat the navigation bar all the time. With php and the jquery together I get a blank page in my browser.
This link shows the blank page I'm getting using php and jquery together. [URL]
This is an example of the site without the jquery. [URL]
Could someone please help me with this thanks.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
[Code].....
Those <li> tags Im using is to numbered the images. It might not be a good practice but it works.
i'm trying to create a tree menu, each time i click into a category it shows me the subcategories.My code works fine but i have some spaces between a category and his subcategories, it's not a css problem
I using JQuery to call back asp.net web service, The web service is simple, only query from SQL Server and return result as JSON. everythings is cool. Only problem is the key of dictionary after Deserialization by eval() method,It cannot access. For example:
as a little side-project, I want to make a search engine that behaves similar to the "Just Type"-Feature of Palm webOS: When the user presses a key somewhere on my site, a box scrolls in containing the typed letters and the search results. In order to realize that, I bound a "keydown" event to $(document). I have but one problem: the "space" key. It is correctly recognized, the space is concatenated to the search term; but then, the site scrolls down (found out it's the default action when pressing space in the browser). How can I stop this pagescroll (and maybe other standard-actions) from happening, i.e. my event should recognize the keydown, but not the browser? I tried event.stopPropagation() and event.stopImmediatePropagation(), but somehow it doesn't work. Event when I add "keyup" and "keypress" to the mix (code below).
This error in firebug: jQuery.event.special.orientationchange.orientation is not a function. Page just loads as blank screen? Only when trying to upgrade to higher than 1.0a4.1.min.js. If I revert to earlier version then all is fine?
As you can see it retrieves data with json so it makes an invoice. If the items that er in stock are smaller then the items that are ordered the paga can not be send. This part works BUT if everthing is ok and we get to our submit, it submits but goes to a white/blank page ?
I tried everything i could think of, no luck, even in the IRC no luck.
I have a long form in a tabbed interface, where I want to count the non blank fields on each tab (the form fields are text and checkbox inputs and multi & single select fields). The counting function is as follows:
// Input argument is a tab object function countFieldsOnTab(obj){ var counttext = obj.find('input:text[value!=""]').length;
[Code].....
The counts of text, checkbox and multi-select fields works, but the single select count doesn't return what I want. The default option in single selects is a default where the value is blank "<option value="">-- make a selection -- </option>. These will be found as selected options.
How do I count only those options have have a non-blank selection?
I'm trying to set up a form that has a text field that is required to be blank - I'm dealing with form spam, and the bots are stuffing every text field with random crap. So, I have a text box that is required to be blank. But I can't get jquery.validate to understand both required and blank.the text input is has a name and id of live_check.I have added this method:
$.validator.addMethod("equalToParam", function(value, element, param) {return value == param;});
I have a scenario where I have the following jquery Code: $("#frompdc<?php echo $JavaCnt;?>").change(function(){ var id = $('#id<?php echo $JavaCnt;?>').attr('value'); var frompdc = $('#frompdc<?php echo $JavaCnt;?>').attr('value'); var topdc = $('#topdc<?php echo $JavaCnt;?>').attr('value'); $.ajax({ type: "POST", url: "AJ_Update.php", data: "firm=y&id="+ id + "&frompdc=" + frompdc&topdc=" + topdc });
And some php to insert this data Code: mysql_query("UPDATE TBLTRANSFERS SET FROMPDC = ".$_POST['frompdc'].", MOD_TS = '". $timenow ."' WHERE ID = ".$_POST['id']);
I'm trying to throw some validation in here which I can do in php (a language that I'm much more proficient in) but can't figure out how to get the two together. I want to be able to do a select against another table I have for both the frompdc and the topdc. Code: $tofpdcresult = mysql_query("SELECT * FROM tbltransferspdcexclusions where FROMPDC = '".$frompdc."' AND TOPDC = '".$topdc."'"); $tofpdcnum_rows = mysql_num_rows($tofpdcresult); And if it exists I want to give a popup message to the user as well as blank out the field.
I'm struggling with two things: How do I get ajax to run two queries and return the results to a popup window? How do I blank out the field in the form?
When addClass('choose') to li, there is always a white space right under it. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URl]"> <html xmlns="[URL]"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <script type="text/javascript" src="demo_inc/jQuery.js"></script> .....
When I fade something out the items below it jump up, then jump down again whenI fade it back in. Is there a way to maintain the space so the items below don't move?
I just wonder if this is even possible, I'm not a jquery programmer by any means, but I hope I can use it for the purpose of my project. I know wordpress includes jquery automatically, so I wanted to see if I can take advantage of it
I'm using $("form").serialize(), and then doing an AJAX request.JQuery automatically replaces spaces with the + character.(I couple replace the + character with a space on the server side, butI want the users to be able to enter the + character when they submit forms.)
I have created a simple portfolio item for a site I am working on, with left and right buttons to move between the visible thumbnails in the portfolio.
The problem is this: when I click on one of the left or right buttons used to scroll the active list items, it resizes the space between all of the thumbnails by 1 pixel per click, up to 10 clicks.