Hi Does anybody know of either a Jquery or native JS way to enable mouse events through layers? e.g. enable a link underneath a div.
Other solutions but cannot use in my case:
The simple way, although using not really supported 'pointer-events'
http://hacks.mozilla.org/2009/12/pointer-events-for-html-in-firefox-3-6/
A ExtJS solution:
...
Here's some javascript:
linkElem.click(function () {
var data = linkElem.data();
alert(''+data.mls + ' ' + data.id);
});
It works.
linkElem is a local variable that I create in a loop inside a function. I assign some data to it with jQuery's .data(). If I did not call .click(), linkElem would be reass...
Hello, I'm building a profile page where the user will be able to upload and remove profile pictures. There are some more scripts included on this page. I was unpleasantly surprised that not everything works in IE and Opera. They do work fine when separate. The url is http://velo.smspoetry.net/problem/ . Can you please point me in what d...
In the following markup on a page I want to extract out the following and put them in seperate variables.
1- In the onclick attribute get the value after the "ProductID" and put it in its own variable. "ProductID"
So in this case it would be 318
2- In the onclick attribute get the value after the "Orig_price" and put it in a variable,...
I have an image tag that fires a jquery function using ajax, when clicked, to download images from another source to the server.
At the same time when the image is clicked it opens up a new tab and tries to load the image that is being downloaded. How can I make the link not open until the image is finished downloading to the server?
Th...
Hello all,
I have a table with 5 columns,,when I click on first column on the row i need to get the all column row values using jquery?
Thanks
...
Hi,
I have a table which has 100 rows which also has pagination. each page shows up 10 records. I am using jquery plugins tablesorter and pager. Sorting and pagination work like a charm. Now what I am trying to do is to show up a div when i click on each table cell. when i load the 1st page of the table (i.e: 10 records) it works f...
I need to send click information on my website to a third party server using ajax (json). I am using jquery and I added the click event to certain links. In the click event I am making a json request to a remote server with the location of the click (heat map) and some other information.
The problem is that the ajax function doesn't fir...
My div is Opacity:0.7 and filter:alpha(opacity=70);
Fading out works fine
Fading in, it fades all the way to 1 and so is no longer transparent.
How can I fade it in to 0.7?
I tried a .fadeIn followed by .animate but .animate errors as the div is still display:none at that point.
...
Hi,
User select an image in top. This image moving to "Current element". User select another image. Previous selected image moving to "Old elements":
$('#selected_element_1').css({'position': 'relative', 'top': '-129px', 'left': '40px'})
Result:
<div style="background-color: rgb(204, 204, 204);">
<ul id="CurrentElement" class="ch...
I cannot upgrade my jQuery, and I was wondering why this function is not existing. How can I implement this:
$('#block-block-1 .content').replace(/^\s*|\s*$/g,'');
What I get is: "function doesn't exist"
thanks
...
Afternoon peoples.
I am having a bit of a nightmare traversing a DOM tree properly. I have the following markup
http://pastie.org/999519
...
And I am trying to traverse from input.save at the bottom right the way up to div.node... This all works well with one copy of the markup but if I duplicate it (obvisouly changing the ID of the ...
Okay, so I'm trying to achieve something like you have in the back end of Wordpress where when you hover over a row in the the table of posts, it displays the edit, trash and preview links.
However, when I try this, it appends the links twice which is a bit of a problem. I read that the hover fires functions off twice on hover in chrom...
Dear stackoverflow experts,
I have a little script which allows me to use jQuery to sort div tags nicely between 3 columns. The jQuery can be seen below:
$(".column").sortable(
{ connectWith: '.column' },
{ update: function(event, ui) { alert($(this).sortable('serialize')) }
});
If I move an item from column 1 to column 2, it will ...
I've got something that works perfectly in FF and MSIE but it's not working properly in Safari. It's a form with selects that get updated via AJAX/jQuery from a MySQL DB.
In Safari, when you select the first item, it correctly loads the options for the next select menu; however, when you choose one of those (which loads new options in a...
I have the following code:
$(document).ready(function()
{
if (!jQuery.browser.msie)
{
$('.banner').cycle({
fx: 'fade',
speed: 1000,
timeout: 10000,
random: 1
});
}
else {
$('.banner').cycle({
...
Hi Guys,
at the moment I'm parsing the string with eval()-method and it works fine, but want to parse it with the native JSON methods of a browser. Is there good way to parse the string with jquery.parseJSON() or with any other jQuery method to an array of javascript objects? The string looks like
[
{
"title": "01 Books",...
so right now im using shadowbox jquery overlay, but was wondering if I could have a transparent background and use the overlay in tandem.
Is there a way to export it like in flash?
...
I have a simple ASP.Net form with the following unordered list:
<ul id="ctl00_ContentPlaceHolder1_BulletedList1">
<li>No Lines Added</li>
</ul>
When a user begins filling out other parts of the form, I want to remove this single <LI> and begin populating the list with other <LI> elements. The code below is how I am doing the remo...
I have this code in my view..
<span class="bold">Comment:
<%=Html.TextAreaFor(model => model.Comment, new { })%>
</span>
The comment field is populating from a database. The text from the database is too long to fit in the visible area of the textarea. I have been asked to create a link next to the text area that, when clicked, woul...