I have a parent div tag like this
<div class="top-news-heading">Top News Items<br>
<ul>
<li>
<div id="xlaANMzone_4f503f">
<div id="4f503f">
<div align="left" style="width: 100%; padding: 0px; margin: 0px;">
<a href="http://www.onesite.com.au/news_manager/templates/?a=1231&z=44"> News 1</a><...
Hi,
I have page a where product and its image are loaded in a table.The image is initially hidden,and onmouseover I want to display the image.The image is inside a div tag,and productname is shown as a link.In the onready function,I attach event handler to the link,
$('a').each(function()
{
if( $(this).attr('id').match(/prod...
Hi,
I've created a shout box on my homepage, which refresh every three seconds. I've made it scroll default as bottom, so this box will scroll when the pings are very long. If someone want to see the old pings, they can scroll up. Due to the three second refresh, I can't read my old pings.
So I wish to restrict the shout box refresh. W...
i have two button inside my form, i set them inside table:
<table id="status">
<tr>
<td>
<p align="center"><button id="accept">Accept</button></p>
</td>
<td>
<td>
<p align="center"><button id="reject">Reject</button></p>
...
Hi,
I am having an issue with jquery tools / scrollable plugin.
Using the circular:true option, on this page:
http://oda.sanscode.com/
The logo parade shown will only clone the logos when the last logo is reached. This leaves a visible gap between the time the last logo is shown and the first logo is replicated.
I need to change th...
I have a cck module that currently does this
User enters and saves username for a third party website on the module settings page
User adds/edits a node
When user gets the add/edit form, their username is fetched from settings, and is used for an api call which fetches some data, this data fills a select on the form.
User selects somet...
Hey,
how can i follow the cursor with a DIV (with jquery)?
kind reagards
Peter
...
let's say i have a class:
[Serializable]
public sealed class MyFoo
{
public int ID { get; set; }
public string Name { get; set; }
}
I want to pass data from my Webservice to the JQuery ajax this class to the JS and parse it like an object.
[WebMethod]
public MyFoo GetData()
{
return (new MyFoo);
}
$.ajax({
success: function...
Hello,
I am a simplemodal 1.3.5 user. I am currently using 2 different modals in my project. One is OK with default sizes but one must be bigger. I want to change modals width and height but script does not work somehow. What can be the problem? Here is my script...
$('#user_picture').modal({
opacity:80,
overlayCss: {background...
dear all.
i have tried to prevent the duplicate data at my project.
but until now it still make duplicate.
i try this code but still not work:
$cek_user= "SELECT Model, Serial_number, Line FROM inspection_report WHERE Model='".$Model."' AND Serial_number='".$Serial_number."' AND Line='".$Line."'";
$cek_data=mysql_num_rows($cek_user)...
Hello All,
I am having a confirmation box after clicking on the "Delete " link in the jsp. Now the problem is that the success deletion page is showing in the same window.
I would like to show it in a pop up window.
I tried to use the javascript onclick(), but it is not wotking. So, how can I do that?
<script type="text/javascript" s...
Can i place html include inside Jquery?
Here is the code:
$(document).ready(function(){
$(".photo").hoverIntent(function() {
$(this).html('CAN I PLACE HERE A HTML INCLUDE?');
}, function() {
$(this).html('<img src="' + $(this).attr("title") + '" width="248" height="186" style="border-bottom: 1px solid #2B2B2B;"/>');
});
}...
I've recently added the wibiya toolbar to my site. Since doing that, my jquery script stopped working. I've checked their troubleshooting section and did the trick they are suggesting. Now my jquery works, but I am still getting loads of warning messages and the jquery script act a bit weird...
Has anyone had the same problem? How did y...
When server side code is updated (related to JavaScript) the old JavaScript files are served from cache.
I need a solution where the old JavaScript files get updated to their newer versions. Browser cache (related to JavaScript) need to be invalidated once the files on server are updated.
I have got the following solution to this probl...
Here's my jquery:
$.ajax({
type: 'GET',
url: '/services/Service.asmx/FamilyHistory',
data: JSON.stringify({
userID: 10,
historyID: famid
}),
contentType: 'application/json; charset=utf-8',
dataType: 'json',
success: function(val) {
var famHist = ...
Let's say I have an iframe on a HTML page:
<iframe src="/script.php"></frame>
The iframe is inside a modal box window (I'm using a jQuery plugin for modal window: http://opensource.steffenhollstein.de/templates/modalbox/).
When the modal box gets closed, the iframe inside it is removed from the page's HTML with jQuery remove() method...
I am using jQuery's colorbox to open up an iframe on a page. On the page there are two flash SWFs. When I click the button that opens the colorbox, those flash SWFs appear over the top of my colorbox div. I've checked the CSS properties of the colorbox, and the overlay has position:absolute and z-index:999. I have given the SWFs a z-inde...
I have a link on web page
<li data="url: 'www.mypage.com?index.php?CId=2&MId=14&MTId=1'">mylink
In my js script
I have
$(document).ready(function() {
$("#tree").dynatree({
persist: true,
onPostInit: function(isReloading, isError) {
this.reactivate();
},
onActivate: function(dtnode) {
var isInitializing = dtnod...
I have a page with 50 thumbnails that load once a user enters the site.
I am looking at creating a loading... div or possibly make use of an animated gif to display that the thumbnail image is still loading, and then switch to the image once loaded.
What is the best option to use, pure JS or jQuery and how would one approach something ...
I am trying to fade out and fade in the text inside a textbox.
Is this even possible with jQuery or javascript?
Thank you.
...