JS Not Worked On New Host

May 8, 2010

Recently I was forced to change hosts for my wife's on-line business. On the previous host my JS for displaying date last modified worked ok. But on the new host it is not visible. The new host calims that my code must be wrong but I do not see how as it is unchanged. Before is the code

[Code]...

View 1 Replies


ADVERTISEMENT

Why Not Worked FadeIn To Load

Jul 8, 2011

effect fadeIn to load The work. my code: to load not work fadeIn?

[Code]...

View 1 Replies View Related

JQuery :: AjaxSubmit Worked In 1.3.2 But No Longer In 1.4.xx?

Jan 21, 2011

We've been using ajaxSubmit to process a login form request (can be found here: [URL] Login Link in navigation). However when we attempted to upgrade from 1.3.2 to 1.4.4, we get the following error whenever we submit the form:

"jQuery(this).ajaxSubmit is not a function"

The only way we've been able to get the form to work again is to go back to vs. 1.3.2.

Has something changed in 1.4.4 that would prevent the form from working? Is "ajaxSubmit()" no longer a valid function?

Here's the javascript below:

jQuery(document).ready(function() {
jQuery("#show_login").click(function() {
formLogin();
jQuery('#user').focus();

[Code].....

View 2 Replies View Related

JQuery :: Removing An Element Not Worked In Ie?

Jun 28, 2011

I have 2 fun() i.e;

function add(arg)
{
$('<span id='+arg+''>hello</span>').appendTo($('#mydiv'));
}

[Code]....

Both are works in FF and Chrome, butremovenot worked in IE 8.

View 2 Replies View Related

JQuery :: Add And Remove Element Dynamically Not Worked?

Jun 28, 2011

I have the code

<div id="outd"></div>
<input type="button" id="addbtn" onclick="add()" value="Add"/><input type="button" id="delbtn" onclick="del()" value="Del"/>
function add()
{

[Code]...

View 2 Replies View Related

JQuery :: Function That Opens A Dialog Box Only Worked Once?

Feb 15, 2010

I have a button that opens up a dialog box. When "search" in the dialog box is clicked, another dialog box is supposed to open. Everything works great ONE TIME. If I try clicking on the button again, the first dialog box opens, but when I click on "search" again, nothing happens.

First time:

Second time:

You can download the css "lightness" theme from [url]

Here is the code:

View 3 Replies View Related

Autoresize Script Worked Well But Top Banner Also Resized

May 14, 2010

My community runs a set of forums, (phpbb with the Brushed Metal template, if that is important.) and people often use large images in their posts. This ends up cutting off the majority of the image, so we thought we'd install an auto-resize script, to resize anything wider than 600 px. It works too well, it also resizes the banner at the top of the screen. A bunch of us hacked at it trying to get it to work, but none of us know anything about javascript, so it's not going so well. Either the script still resizes everything, or it does nothing at all.

Here's the earliest version I could find. It's not the original script, however...
<script>
onload_functions.push('resizeimg();');
function resizeimg() {
if (document.getElementsByTagName) {
for (i=0; i<document.getElementsByTagName('img').length; i++) {
im = document.getElementsByTagName('img')[i];
if (im.source == '[URL]')
/*PATH TO TOP BANNER THAT SHOULD NOT BE RESIZED*/
{ continue; }
if (im.width > 600) {
im.style.width = '600px';
eval("pop" + String(i) + " = new Function("pop = window.open('" + im.src + "','phpbbegypt ','fullscale','width=400,height=400,scrollbars=1,resizable=1'); pop.focus();")");
eval("im.onclick = pop" + String(i) + ";");
if (document.all) im.style.cursor = 'hand';
if (!document.all) im.style.cursor = 'pointer';
im.title = 'Click Here To See Image Full Size ';
}}}}
</script>
We're stuck, we have no idea what to do.

View 3 Replies View Related

Calculate The Total Time Worked On The Project?

Nov 16, 2011

There are two text boxes in a HTML form.The first text box takes the time when the user starts to work on a project. The second box takes the time when the user stops working on that project.Now, I would like to calculate the total time worked on that project for that user. That is (stop time - start time). I tried few things without success.

View 4 Replies View Related

TinyCarousel :: The DOCTYPE It Still Worked Fine In All Browsers Except IE7?

Jul 29, 2011

i have an html page with no DOCTYPE and this image carousel works fine across all browers.i tried to add a DOCTYPE (tried, xhtml, xhtml, html5) and all their various to narrow down what it doesnt like to no avail.after adding the DOCTYPE it still worked fine in all browsers except IE7. its like it ignored hiding the overflow.. all of the images we just displayed inline across the page.

View 2 Replies View Related

JS Works On One Host But Not Another

May 13, 2010

I am not sure that this is the right forum but will start here anyway - I have a web page with JS modules: jquery and jsoverlay. Everything appears to work perfectly on my test server in the office but when I load the same page from our main server the JS does not appear to work properly. Oddly though, other JS works without any problems at all. I just cannot see what I am missing here.[code]...

View 14 Replies View Related

Get HOST Name Using Script?

Jul 25, 2011

Tell me code to show hostname?

View 1 Replies View Related

Check Host Availability

Dec 5, 2006

I'm trying to write a javascript that checks if a server/host is available. To be more precice. I would like to check if the browser can read an XML file from a server. If not the script should read the same XML file from a backup server. Does anyone have any idea how to achive that?

View 6 Replies View Related

What Is My Browser Sending To The Host Site ?

Jul 20, 2005

I won't lie to you. I'm trying to get data from html source from a 3rd
party website. I'm NOT interested in stealing code,hacking,sending
spam or anything sinister like that. I just want the content that is
displayed but I need to get it automatically via VB. It's only
publicly available price information but I don't think the website
wants everyone to be scraping their info into a database.

Apart from the base URL, the site concerned navigates solely through
javascript functions and session variables. I suppose what I'm asking
is, is there anything out there that tells me (the syntax) of what my
browser is actually sending to a website when I click a javascript
toolbar/button/dropdown within IE.

View 1 Replies View Related

Site Should Not Working On Host Server

Jun 9, 2010

I have designed a site. It's working properly in locally.Now I want to insert a special javascript on my home page.The job of that special javascript is, makes some errors in the site when site is going to publish on internet.

View 12 Replies View Related

Parsing A URL List To Get The Host Names

Jul 17, 2011

I have a form where I ask my users for a comma seperated web site list. I want to make sure this list only contains the host names of URLs without any white spaces

Original list: [url], [url], [url],[url]

Edited list: [url],[url],[url],[url]

Currently I have the following to get the comma separated list

var list = document.getElementById( "list" ).value ;

View 1 Replies View Related

AJAX :: Windows XP - Yahoo Hosting - Site Worked Fine In IE But Not In Firefox

Apr 8, 2010

I ran in to a strange problem with a client who uses Yahoo hosting. The web site uses AJAX (jquery, php, javascript). There is no problem viewing the site using IE8, Firefox on a Windows 7 computer. On an XP computer the site worked fine in IE, but not in Firefox. The site never worked properly using Chrome or Safari.

I tried jquery 1.3.2 and 1.4.2 but got the same results.

I use this same combination (jquery, php, javascript) on other web hosts and don't have these problems.

I know that Yahoo hosting injects tracking code in the web pages it serves for the sites it hosts (at least for my client). I think this could be the source of the problem.

When I removed jquery (I was only using the load function anyway) and used my own code- the problem disappeared. The site now works in all browsers.

View 2 Replies View Related

Timed Webpage Refresh, Using Host Time

Aug 24, 2011

I'm embarking on a new project - although I've hit a wall.

I require a page to refresh at a scheduled date and time, several times a day.

For example, I would like the web page to reload the index at 3:15PM

So if anyone has the web page open during that time, it will automatically refresh for them.

Timing is quite important so I would need the script to use the server (hosts) time and not the end users time.

I am currently deciding on which server language to use, although Javascript is probably a suitable option? or would ajax be more the thing for this?

The webpage must execute the refresh at the time 3:15pm, so no matter when someone visits the page, even if its hours before, it must refresh at that time.

If anyone has any pointers on the best way to achieve this and what language to start with I am forever greatful :thumbsup:

I do a lot of image design work and although I have worked with a few coders in the past but I haven't gone too much into coding myself, but its something I'm going to take time to learn and get involved in, so I'm not looking for script hand outs here, mainly just a nudge in the right direction.

View 12 Replies View Related

Document.domain Or Window.location.host ?

Mar 3, 2009

I need to get the domain of the page (mydomain.com) There seems to be 2 variables to get this info. document.domain & window.location.host - Both are set in FF & IE. So whats the difference between these ?

View 1 Replies View Related

Using Javascript To Determine If File Exists On Host Site

Jul 20, 2005

I'm new to javascript and PHP and I am wondering if there is a method or function to capture a 404 error in the event a particular html file cannot be found. I want to redirect that error to another page or design the code to send me an email telling me what page was selected and not found. In other languages I can trap such an error and respond to it.

View 3 Replies View Related

Parsing A URL List To Get The Host Names - Without Any White Spaces

Jul 17, 2011

I have a form where I ask my users for a comma seperated web site list. I want to make sure this list only contains the host names of URLs without any white spaces

Original list: [url], [url], [url],[url]

Edited list:[url],[url],[url],[url]

Currently I have the following to get the comma separated list

Code:

var list = document.getElementById( "list" ).value ;

View 3 Replies View Related

Register And Host ActiveX Component In Windows / Internet Explorer

Jul 15, 2007

I have made a ActiveX control for commericial application. A Drag and
Drop component for Mail server.

I need to host the component in Internet Explorer.

When a user opens a mail it should prompt the user to download and
register the Drag and Drop activeX component.

This should be a trivial program. Please let me know how is it done.

View 1 Replies View Related

Crop Uploaded Photo On Site And Store Directly On Host

Sep 8, 2010

I'm looking for an image cropping tool script that I can provide on my website for users to crop their uploaded photo on my site and I can store them directly on my host. (instead of having to go to another page, or open up photoshop etc, crop their photo, save, and then upload to my site) I see some websites providing this service, does anyone know any scripts that allows me to do this?

View 1 Replies View Related

Hotlink Jquery.js File Or Host File Locally?

Jan 19, 2011

This is just a matter of best-practice, but i'm wondering whether it is best to host the jquery.js file locally, or to hotlink directly to the file on [URL]. I personally prefer to host it on my server, but if there are reasons why it's better to link to external file, i'd like to know them.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved