JQuery :: Firefox - 3.5.2 - Site Is Render Twice During The Loading
Aug 18, 2009
I don't know if it's a bug in jquery but some of you can have encounter the same problem with their
With the last version of Firefox ( 3.5.2 ), the site is render twice during the loading.
We can't isolate which element can produce this problem and it happens only with the firefox 3.5 ( not in 3.7pre or 3.0.12, not in ie, etc...
We load some js from external source ( facebook, googlesyndication, etc...
View 1 Replies
ADVERTISEMENT
Jul 11, 2009
I have following problem: If you open a dialog in jquery, the website will be "deacitve" and the dialog would show. I want, that the website will be "deactive", but there shouldn't show any dialogs.
View 1 Replies
View Related
Jan 12, 2010
As i understand the getScript function should be asyncronous, but when i use it the website won't finish loading in firefox.
My code:
Calls itself so the counter this script is used for is updated - all works well, just the page keeps loading...so whats the problem here? why does the website not finish loading?
View 2 Replies
View Related
Jan 28, 2010
I am trying to use both jQuery and Mootools in one site I am building. I have researched the web including [URL] with no luck. I have tried loading jQuery after Motools with no luck. My research indicates mootools needs to go first. I have also tried below but that doesn't seems to work?
(function($){
// code with the jQuery $ can safely go in here
})(jQuery);
HTML Code:
[HIGHLIGHT="HTML4Strict"][highlight="HTML4Strict"]
<title>test</title>
<link rel="stylesheet" type="text/css" href="index.css" />
<script type="text/javascript" src="js/jquery-latest.js"></script><!-- jQuery -->
<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/mootools-more.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
//MooTools smoothScroll
var smoothScroll = new SmoothScroll({duration: 2800});
// MooTools .....
View 2 Replies
View Related
Apr 1, 2006
I put a javascript for a preload in it and it hasnt helped the front page. Right now the header is swish and we took that out and it still took over 2 minutes to download on DSL. I do have the JS anthology book but the script in there didn't work for us. Come to think of it I have almost all of the sitepoint books. Does anyone have any suggestions.
View 3 Replies
View Related
Jan 27, 2011
I have a JS file on site A which needs a few parameters from a short text file on site B. Since crossing domain boundaries in JS is problematic, the way I do it is that the JS actually opens an intermediate PHP file on site A which redirects to the destination page in site B. Here's how it goes:
The call is made through code...
The problem is that this takes a long time. I would really like to speed this up. For example - I thought of using a direct IP address, so that there won't be any need a DNS server (using
Code...
) but this would expose me to hackers as it would make my Hostgator username visible. According to HG support the above format is the only way to access my subsite via direct IP.
Any ideas on how to speed this up, either by bypassing DNS (but without exposing username) or by offering another way of reading data across sites?
View 5 Replies
View Related
Jan 27, 2011
I have a JS file on site A which needs a few parameters from a short text file on site B. Since crossing domain boundaries in JS is problematic, the way I do it is that the JS actually opens an intermediate PHP file on site A which redirects to the destination page in site B. Here's how it goes: The call is made through:
[Code]...
View 1 Replies
View Related
Feb 27, 2009
Should I always YUI or GZIP text files in my site or only when they exceed a certain size? Since the decompression takes some time as well I thought that if the files are small they should only be mified...is that correct?
View 2 Replies
View Related
Apr 10, 2009
How to improve the web site loading performance. My current site takes average time 18 sec. to load in first time. and 2nd time refresh it takes 12 sec. through YSlow I am observing the request time it more. how to achieve the better performance. My html code is very much clean and w3c validated.
View 1 Replies
View Related
Apr 20, 2009
I would to know please if is it possible to block the loading of particular site by/via javascript. Having a web page with a flash content that contains a call to a particular site, I don't want to receive information from that site. does exists a javascript code that block that call to that site?
View 4 Replies
View Related
Jan 27, 2011
I have a JS file on site A which reads a few parameters from a short text file on site B. The call is made through code...
Any ideas on how to speed this up, either by bypassing DNS (but without exposing username) or by offering another way of reading data across sites?
View 2 Replies
View Related
Mar 16, 2004
I am working on a client's site and he has some external javascript code that his affiliates can put on their websites to fetch some data. However, when my client's site goes down, the affiliates' sites cease to load thus taking their sites down with it.
Is there any way I can have the javascript check to see if the website is up before loading, and if it is, run this: Code:
View 8 Replies
View Related
Jul 7, 2009
I had posted this issue previously regarding my Ajax site navigation module not loading correctly. It would load on certain parts of the site and not others. After some research I have discovered that I need to redirect from "www.mydomain.com" and make a call to "mydomain.com" instead. I thought a 301 .htaccess redirect would work but according to the site that sold me the template the script in my configure.php file must be changed. This is what configure.php looks like now.
<?php
define('HTTP_SERVER', '[URL]');
define('HTTPS_SERVER', '[URL]');
define('ENABLE_SSL', 'TRUE');
define('HTTP_COOKIE_DOMAIN', 'mydomain.com')
define('HTTPS_COOKIE_DOMAIN', 'mydomain.sslpowered.com/mydomain.com/');
define('HTTP_COOKIE_PATH', '/mydomain.com/mysite/catalog/'); .....
I am wondering what has to be changed in the script so it will make the call the the correct domain so the ajax script will load on all parts of the site.
View 1 Replies
View Related
Jun 10, 2011
Ok i just created my portfolio site using a simple accordion effect i got from. [URL] Im very new to javascript and coding in general, so im sure my code is far from pretty. My question, is their a way to fix the delay on the way the accordion loads. if you go to my site [URL] you'll see that initially all the sections are visible and then they collapse after a few moments. is there anyway to make it so they are collapsed immediately.
[Code]....
View 2 Replies
View Related
Jun 29, 2010
Not what i would like but the client wants the browser re-sized on the site loading/refreshing... Been using the following and it works fine.... apart from in Safari. how i can get it working in Safari, or no chance?
Code JavaScript:
$(document).ready(function() {
window.resizeTo(1152, 866);
});
View 6 Replies
View Related
Sep 6, 2010
I'm using pager functionality to navigate a slideshow with thumbnails and next and previous images. In Firefox 3.6.8 on OSX 6.4 the main image displays at 6px wide and 18px high if I clear the cache and load the page fresh. Once the images are cached, subsequent page loads show the images at their correct size. I'm stumped.A secondary issue I'm having is that I'm displaying both vertical and horizontal images and would like to center them within their container, but haven't figured out how to apply the pager functionality once I wrap the images in a div to position them.Here's the site in development, and I've attached a screenshot of the sizing discrepancy (since it seems to be very specific to Firefox on OSX - Safari does not display the same issue)Attachments Screen shot 2010-09-06 at 2.53.10 AM.pngSize : 353.76 Download : 344
View 2 Replies
View Related
Jan 4, 2012
My code is very simple: a div conatining 5 images (always the same 5!) to swap using the fade effect. It works fine in IE but in Firefox (I have Firefox 8.0) the images are not being uploaded. I checked previous posts and some point out that instead of doing
[Code]...
I would need to include a 'load' event trigger. However, since I am not that familiar with javascript or jquery programming, I couldn't manage to program this solution and tested.
View 4 Replies
View Related
Oct 11, 2009
i want to make a iframe page that loading a page from other site. I have try "jQuery iFrame Sizing" to set auto height in iframe... but it is failed.
This is my code :
-------------
on Head
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/iframe.js"></script>
on Body
[Code]....
View 1 Replies
View Related
Mar 21, 2011
I have a jQuery based gallery [URL] that will load thumbnails to the bottom of a page, however for some reason these images only load on Firefox and IE (Not Chrome or Safari). I'm not sure this is due to jQuery completely.
View 3 Replies
View Related
Jan 28, 2011
I built jQuery UI tabs with jQuery UI Accordion embedded into each tab. It works fine on my local machine, it also works fine on all browsers in the development server except using Mozilla Firefox.
[Code]...
View 2 Replies
View Related
Apr 30, 2010
is there a way, switch, option etc. to let jQuery create <br/> instead of <br>?
The following code will always create <br>:
$('<div class="partner-item-data-short"><strong>' + data.partner[x].name1 + '</strong><br />' +
(data.partner[x].zip.length ? data.partner[x].zip + ' ' + data.partner[x].city + '<br />' : '') +
'</div>'
).appendTo(pi);
Anyone got into this too? I would like to got valid xhtml 1.1 code :-)
View 1 Replies
View Related
Apr 16, 2010
I'm using the Javascript Tabifier code.. on a new website I'm building.
Here is the test page I've been trying it out on
It seems to be working well in IE, but doesn't even appear in Firefox. Any idea why?
Additionally, there seem to be some positioning issues when I view it in Firefox, which I'm thinking is a topic for the CSS forums, but I thought could be relevant to my issue, somehow.
I don't want to overwhelm anyone williing to help with code, so please let me know if there is more you need to see. This is what applies to the tabifier code...
I've visited the forums so many times as a reader and usually find solutions here. I'm usually good at figuring it out on my own, but I'm really stumped. I am new at this and I think I'm in over my head.
View 1 Replies
View Related
Jul 22, 2010
I am trying to build a site using html, css and javascript. problem is it works perfectly in IE but practically not at all in firefox. I have lots of mouseovers and tooltips, none of which will work. The only thing that seems to work is an onload random image generator. The html and css all return no errors using firefox's validation tool. I am completely new to javascript and have been trying to learn via building this site, so apologies if the code is really messy. Would be really grateful if anyone could help - I thought I was getting to grips with this when it all worked in IE, but am now feeling pretty stupid and think I must be missing something pretty fundamental. I've spent an age getting frustrated trying to resolve this.
[Code]...
View 14 Replies
View Related
Oct 19, 2010
I have a strange problem that occurs in IE 7 and 8 and does not occur in Firefox or Safari.I'm dynamically adding class to a table row on a checkbox selection. A row contains some input fields that get enabled or disabled. If a row is enabled, it gets highlighted using selectedrow class. If it gets disabled, the class is removed:
[Code]...
View 1 Replies
View Related
Oct 29, 2010
I've recently started playing around with jQuery and the jquery-tmpl plugin. I've been fairly impressed with how easy it has been to get my sample apps to call a web service and populate the returned data using a template on my page using something like...
var rendered = $.tmpl("myNamedTemplate", data);
$("#resultList").html(rendered);
What I'm currently having trouble understanding is how to get the html results of rendering a template into a string so I can use it with other APIs. I'm working with the Bing AJAX map control and various functions in it's API take HTML as a string parameter.
What I tried first...
var myHtmlTitle = $.tmpl("myTitleTemplate", data);
pin.SetTitle(myHtmlTitle);
That didn't quite work like I expected and resulted in an exception from the BING map control. I quickly figured out that what .tmpl was returning was not a formatted HTML string, so it makes sense that would fail.
I then tried appending .html to things and I got close...
var myHtmlTitle = $.tmpl("myTitleTemplate", data).html();
pin.SetTitle(myHtmlTitle);
This did in fact return an HTML string, but the problem is it was stripping off the top-level tag in my template. It's acting like it's returning innerHTML of the top-level tag.
Is there an easy way to simply render the template to a string so I can pass that into the APIs?.
View 3 Replies
View Related
Sep 26, 2010
I am loading a list of answers give by a specific user into a tab panel. To do this I'm using the following code: $('#questionBody').load('dashboard/questions'); All the html elements not from a loop such as a header image show up fine but the list of answers looks like it's displayed similar to when you use print_r() on an array. Is load() the proper function to use here?
here's an example of the output:
{"status":200,"data":{"questions":[],"params":{"page":false},"user_answers":{"13":{"flagged":"0","regdate":"1282869034","id":"13","qid":"9","body":"an answer of course...","payed":"1","question":{"id":"9","title":"test","body":"test","uid":"1586","permalink":"/question/view/9"},"status":"complete"},"11":
[Code]...
View 1 Replies
View Related