JQuery :: Code Is Appearing On Page Fix?

Jun 14, 2011

In the Portfolio Module of Business Catalyst (see this page: Portfolio, I have the thumbnail of the websites and when clicked it enlarges with the description underneath. However, I would like the description to actually be a link that when clicked will take the visitor to the actual website depicted in the image. I tried to surround the text with the <a href> tag, but the code actually appears on the page.

[Code]...

View 6 Replies


ADVERTISEMENT

Add Table Rows But Its Not Appearing In The Code?

Sep 29, 2009

I would like to create a dynamic button which adding new rows to my table and then sending it to PHP, I manage to create the JS function but after the rows have been added its not apearing the HTML code and by that I can't send it to PHP by form. here the code:

function Addline(ObjId,ItemAdd){
/*
*Addin One Line to the table[code].....

View 1 Replies View Related

Deleted A Section Of Code In The JS File, Yet It's Still Appearing In The Browser, Both IE And FF?

Nov 3, 2011

I have an Extjs web app that's running on a spring/rest backend & I'm having a really strange caching issue with my web app's javascript files & no-one seems to be able to tell what it is.The issue is that I have deleted a section of code in the JS file, yet it's still appearing in the browser, both IE and FF.

Manually remove & re-add the file

Rollback the file to a previous version

Remove the file from the index.html and re-add it

Clear all cache in FF & IE

Disable firebug

Check the script is updated by manually accessing the file via the application URL & Firebug Script tab

Renaming the JS file

Renaming the index.html file

I'm at a loss as to what could be causing it.

View 1 Replies View Related

JQuery :: Code A Page With Code - User To Be Able To Move Html Elements Around

Mar 23, 2011

I am trying to make a gui for clients to edit a php page that displays html and javascript.

I want the user to be able to move html elements around and even edit it like add effects like fade in and out etc.

Then after all the changes I want to overwrite the existing php file that does this for that user. how can you make such changes and then save it to a file?

It's an html / javascript editor but using a gui instead of allowing them to directly touch the code. It would be a security risk if I allow such a thing. So I need to program a interface that would make such changes and save them to file.

Like how can you delete and add new javascript code to the file?

View 3 Replies View Related

JQuery :: Elements Still Appearing In IE 8 And 7

Mar 15, 2011

I'm working on a self-contained educational tool. Every "frame" or "slide" is all in one HTML document. I initially start out with all frames hidden, and then show the very first one. The user is then able to click through to each next frame.

This has been working great. Works in all browsers except for IE 7 and 8. There is one point when you click to go to the next section, and all the images and buttons appear at once, even though their respective parents are hidden.

The kicker is that, if in IE's developer tools, I switch off ANY css style for ANY element, everything corrects itself. These elements also seem to ignore any .hide() or .fadeOut() method, but will accept other styling changes through jQuery.

View 8 Replies View Related

JQuery :: Delay On Mouseover Before Appearing?

Jun 6, 2011

I want to #name to wait 1 second on the mouseover before appearing, how can I do this?
<script>
$("#block").mouseover(function () {
$("#name").show();
});
$("#block").mouseleave(function() {
$("#name").hide();
});
</script>

View 5 Replies View Related

JQuery :: Live() Not Appearing To Work?

Jan 19, 2010

I have this in my jQuery() function:

$( "#admin_new_records ul a" ).live( "tap", function() {
jQT.goTo( "#admin_new_records" );
return false;
});

I create the links that match this on the fly with jquery.builder.js, and have confirmed that searching the resultant DOM in the console with the string "#admin_new_records ul a" does indeed return the elements I want. The problem is that when I click on the links, the jqt framework still seems to handle the tap, and returns to the first screen with an error due to the fact that it cannot recognise the url I created for the links. The issue seems to be that live does not work, but I have also tried to set this on tap() immediately after creating and appending the links, and this does not work, either.

View 2 Replies View Related

JQuery :: Page-sliding Code Not Playing With DHTML Page

Jul 27, 2009

Using the following code example from Scott Robbin, which simply allows for separate html pages to slide in and out of the one screen, I wanted to expand this by sliding in some DHTML.

Here is the page-sliding code used: [url]

DHTML animated code: [url]- [url]

But, at best, only the images show, placed still and next to each other. As you will see the DHTML is a rotating set of imagery. Something in the page-sliding code seems to be preventing that DHTML animation from displaying as it should. Like I said the images will be recognised, but they don't display - I've even tried hard linking to the images.

Here's my page: [url]

Here's the page which I have on my server, the one I would like to have slide in: [url]

To see the sliding animation click the bottom "What cachet does" option that slides the right hand pane in.

View this message in context: [url] Sent from the jQuery General Discussion mailing list archive at [url].

View 2 Replies View Related

JQuery :: Animation Not Appearing Smooth In Chrome?

Aug 15, 2011

I created a simple image slider with ul. on clicking the next button the animation that occurs is following:

var currentIndex=0;
$('#next').click(function() {
if
(currentIndex != positions.length - 1){ //positions is an array

[Code]....

So there's nothing fancy here. Just a animate method. Animation is very smooth in firefox but is very very jerky in chrome!! I tried enabling GPU acceleration in chrome but no use.

View 1 Replies View Related

JQuery :: Know How Much X Elements Are Appearing Inside A String

Jun 3, 2009

There is a way to know how much X elements are appearing inside a string?[code]...

View 2 Replies View Related

Jquery :: Tabs Appearing In Front Of Dropdown?

Feb 22, 2009

I suspect I am not the first person to run up against this problem, so I am hoping there's a nice simple fix out there for it.

I have an old suckerfish style dropdown done with CSS and a touch of javascript and I'm adding a set of jquery tabbed content to the page. Unfortunately, the tabs are showing up infront of the dropdown block. (see attached screencap)

How do I control either the tabs or the dropdown to get the ordering right?

View 9 Replies View Related

JQuery :: Dynamically Added Image Not Appearing Consistently?

Nov 4, 2011

I have links that, when clicked, open up a larger image. If the link has the class of "sold selected" then a semitransparent "sold" image should dynamically load as well. What I'm noticing is that it seems to appear on every other click, and I don't know why.

I've created experimental files so as not to disrupt the functioning site. [URL]

I added the variable "linkClass" on line 18; value assigned on line 53 as part of the linker.click anonymous function IF statement on lines 106-108 at bottom

I also have an alert on line 105 just to prove to myself that linkClass was appropriately setting (it is). Images 4-12 should all have the "sold" banner attached, but no matter which of those I click first, the clicking previous/next makes the banner appear/disappear.

View 2 Replies View Related

Can Not Run This Code \ Try The Code Using Html Test Page But Failed?

Oct 25, 2011

I can not this code in my web page. Could you please check it ans say how I can run. I try the code using html test page but failed.

<script language="javascript"><!--
document.write('<iframe src="http://www.juenpetmarket.com/moduls/banner/banner_reklamiframe.aspx?

[code]....

View 13 Replies View Related

JQuery :: Special Character Appearing In Combobox As Strange Symbol

Apr 15, 2010

I have here a jquery code that load one combobox to another with data from mysql. The point is, the combobox that receive the data from mysql, if I have a name with special character like "~" or "^" any other accent in the mysql, the combobox that receive this data appear a strange symbol like as in the file attached in the place of the letter that is with accent. The code that I have here is

$(document).ready(function(){ $("select[name=Empresas]").change(function(){
$("select[name=Unidades]").html('<option value="0">Carregando...</option>');
$.post("unidades.php",
{Empresas:$(this).val()},
function(valor){
$("select[name=Unidades]").html("<option>Selecione...</option>" + valor);
})})})

View 1 Replies View Related

JQuery :: Unwanted Space Appearing On Ajax Loaded Content

Sep 1, 2011

I'm currently following this tutorial on loading pages with Ajax:[url]...

For some reason when a new page is loaded via Ajax by clicking a link on the left-hand navigation, the new content returned has a large gap that appears on its left-hand side. My question is what's causing this and how can it be fixed?There's not much in the source, so reading the code shouldn't be difficult.

View 2 Replies View Related

Gap Appearing On Hover?

Jul 25, 2009

i have a menu which on one option produces a drop down menu.

jQuery(document).ready(drop);
function drop(){
jQuery("#menu li ul li").css("height", "0px");[code]....

is the code.i have it closing when you hover over any other of the menu options but if you hover over them before its open then it produces a round about 10px gap and then closes.

View 1 Replies View Related

JQuery :: Same Code Works On One Page But Not Another?

Jan 9, 2012

I am using jquery to popupa calendar. I have done this on several pages with not problems this one page keeps claiming the error below. Message: Object doesn't support this property or method

[Code]...

View 5 Replies View Related

Auto Appearing Information Box?

May 18, 2010

I am looking for help creating javascript auto-apearing box, which will appear when someone onmouse on the hyperlink.

View 10 Replies View Related

Block Certain Websites From Appearing?

Aug 22, 2011

is there a way using .htaccess or some other means that we can block certain websites from appearing when we do a google search of my wife's name? We contacted google and they denied our request to have these websites blocked. My wife has her own website she uses for her business. There was an .htaccess editor website that I visited that created the code after I specified the url of the websites we wanted blocked. Will this work and if so, after creating the .htaccess file what do I do with it, that is where do I attach it/post it? (this is the first time i've ever posted anything on a website. my wife and I are technophobes.)

View 2 Replies View Related

Hole 5 - JS Code Golf - File (when Given A URL) Into Current Page Assuming Wasn't Already Included In The Page

Mar 13, 2011

Based on the lack of responses to the last hole (which I am attributing to one of the following:

a. The hole being too difficult,

b. It being overly time consuming, or

c. People not wanting to do it)

I have decided to take a step back for this hole.

Create a Javascript include function. This function should include a javascript file (when given a URL) into the current page assuming it wasn't already included in the page (either via the include function call or by HTML). If the file is already included the function should just return.

This function should either take a file name/ path to file or a full URL as a parameter. If it is a filename/ path the function should include the file from the base URL of the current site (such as [url]). If it is a full URL just include it.

Make sure you don't allow files to be included multiple times, we don't want that!

View 3 Replies View Related

JQuery :: Use To Hide Code If Page Is Other Than Index.php?

Aug 19, 2010

So I'm making an ecommerce store and I'd want to hide a product scroller and a banner if the page is any other than index.php, and I know jQuery has the .hide function, but all the examples link it to a button/link/other but I don't understand how to code a conditional statement that hides the code if the page loaded is anything else than index.php.

View 2 Replies View Related

JQuery :: Injecting Code Into Page Via Prepend?

Aug 5, 2009

I'm trying to retro-fit google ad-manager to an existing site. Currently, we have a div on every page and then have a header file which randomly selects an add and uses jquery.prepend to put the ad in that div. With google, we now have js code we need to use. How can we use prepend to add the js code and have it run? is that possible?

View 1 Replies View Related

JQuery :: Code - HTML Page Is Not Handling

Dec 5, 2010

I am trying to get this simple piece of code to work, for some reason the HTML page is not handling the jQuery.js link. Tried the ../ for a link would'nt work either. The HTML file and the .js file all in the same folder in my htdocs

<!DOCTYPE html

View 3 Replies View Related

Prevent An ActiveX Warning From Appearing?

Mar 23, 2009

Quote: Originally Posted by KorRedDevil ActiveX or Java allowance, if malicious applications, could do really harm, but no javascript. Unfortunatelly, IE has ActiveX and javascript linked on the same level of security, so that when disable ActiveX you disable javascript as well.This is the problem I am experiencing now KorRedDevil.I have just signed up to devshed now, trying to find some ways to allow javascript, yet keep active-x disabled. am in the middle of creating a website, using a javascript drop down menu. Looks really nice, but when you load the page on IE, it keeps displaying theactive-x warning, requesting permission to allow. My concern is that a lot of people dont understand this message. Automatically think there is something dangerous about the site, and deter them from visting. And they will not be able to navigate round the site effectively without the drop down menu!I'd imagine there has to be a way, possibly with a certain metatag maybe?

Reason being, GMail is designed using javascript. How come IE allows their javascripts to work, but no one elses?!Must be a way.And also, I use a .js file to keep the site resized and well positioned, regardless of browser. This script gets by no worries at all. Could it be because it is an external javascript, and not linked in within the html itself?And with other broswers, ie. Netscape, Firefox etc. Do any of them have issues with the Javascript / active-x warning?

View 9 Replies View Related

Know How Much X Elements Are Appearing Inside A String

Jun 4, 2009

there is a way to know how much X elements are appearing inside a string?

i tried this one:
$(msg).find('img').length

but no success

View 1 Replies View Related

Dropdown Menu Appearing Behind Stepcarousel In IE6

Feb 10, 2011

[URL] Naturally it's an IE6 problem. The dropdown menu at the top behaves fine on every page except the homepage. The homepage has a uses jQuery and a Stepcarousel script. It secondary nav is appearing behind the #maincontent div. I've tried adjusting the z-index to 10000. No result. I scanned both js files to see if there was a z-index conflict. The largest z-index is 50.

View 8 Replies View Related







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