A good example is www.espacio asir.com, which gives this result:
image-link:
http://api.browsershots.org/png/original/50/509a78b11505752692d066f07fff6661.png
I don't want anything complicated.
I just need something for www.chrishonn.com that whenever a user with IE6 or lower enters the site, sees how a translucent block with a message s...
Is there a particular reason programmers prefer not to use onClick function in Javascript?
...
for(var i=0;i<tr.length;i++){
var td = tr[i].getElementsByTagName("td");
if(td[2].innerHTML==time && td[3].innerHTML==cls){
td[0].setAttribute("id","focus");
tr[i].style.backgroundColor="green";
var foc = document.getElementById("focus");
foc.focus();
cnt++;
}
else{
tr[i].style.backgroundColo...
Hi
I have a setup much like this:
$('.container a').click(function(event) {
event.preventDefault();
$('#contents').remove();
$(this).parent().append("<div id=\"contents\"></div>");
$('#contents').html('<img src="/images/loading.gif" />')
.load("stuff.html")
.append("<div id=\"closebut...
Hi there
I currently have a list of thumbnails that is located in a ul tag as li's.
I am using the Galleria image gallery, but I have more than six images in my gallery, so am I trying to implement a page system.
What I am trying to do is the following:
I have a row of images, row1, when you click on page 2 row1 should hide using thi...
Hi,
My Problem:
I have my requirement of showing the popup window on hover of a html element.
Very important part of this implementation is, the popup should be visible even on hover of the popup window itself.
Tried To implement:
For me the popup window is showing On hover of the target element. It is also showing on hover of th...
I have an unordered list in this format:
<ul>
<li><img src="yahoo.jpg"/></li>
<li><img src="google.jpg"/></li>
</ul>
What I want is when I double click on any image, a jquery pop up open with full image.
Thanks for help.
...
My code is like this:
<script type="text/javascript">
$(document).ready(function(){
$("Edit").click(function(){
$.get('fetchvalues.php');
});
});
</script>
<input id="Edit" name="Edit" value="Edit Record" type="button" onclick="$.get('fetchvalues.php');" />
In the file "fetchvalues.php", I have written some co...
Hello guys, I'm trying to make my tooltips pop up in the left side of the cursor instead of the right side, with a jquery plugin called EasyTooltip.
I'm trying to give a negative value in the header's call, which aim would be to affect the x-axis positioning, but with no effects (nothing appears, while a positive value in both axis shal...
Hi all,
I'm working on a project where I need to schedule persons in rooms. I'm using jQuery sortables to achieve this task. The only 'problem' is that there is a maximum capacity for a room. E.g. some rooms can have max. 3 persons, others 4 and some maybe only 1. So after browsing the jQuery documentation I came up with this.. only, i...
Well, the question is in the title.
...
I've been reading about HTML5 and would like to start using some of it, particularly datasets as I've found an interesting looking jQuery plugin that I can start using...
http://www.barklund.org/blog/2009/08/28/html-5-datasets/
Now, I understand that older browsers like IE6 may not like having extra attributes in there and may not know...
I've followed Phil Haack's demo of jQuery Grid successfully in an mvc 2 rc project without areas. Now I'm trying to implement the same code in an areas project but the data is not being passed to the grid.
The jquery grid url property from the demo appears to be in the format of:
url:'/{controller}/{method}/'
I'm attempting to inclu...
Hello, i cant find it! :(
i tried many variations to put target _blank in it, but nothing goes..
<script>
var thumbfile = "<?php echo $smit_iturl_v; ?>";
jQuery(document).ready(function () {
var actualHost = jQuery.trim(jQuery.url.attr("host"));
jQuery("a img").each(function (i) {
if (jQuery.trim(jQuery.url.setUrl(jQue...
I'm using the following code in one of my WordPress plugin files:
else if($filetype == 'swf'){
print
<<<EOT
<script type="text/javascript" language="javascript">
jQuery(document).ready(function(){
var embed = '<div>[kml_flashembed movie="$img" /]</div>';
jQuery("#header").prepend(jQuery(embed));
});
</script>
<style type="text/css">
#$h...
I have a model of objects in a dropdown menu:
<select id="group_select" name="group_select">
<option value="1">Group One</option>
<option value="2">Group Two</option>
</select>
Each corresponding object has a detail page in which I want to have a link that sends the user to the page with the dropdown menu with the object they ...
Hey there,
I have a simple field somewhere in my document.
Now I want to CREATE a form with jQuery, add this input field to it and submit it via Javascript.
Something like that:
var newform = $( document.createElement('form') );
newform.attr("method","post")
.attr("action",action)
.attr("enctype","multipart/form-data")...
Hi all,
I have a page that is using PHP to build itself and then uses Jquery to embed some SWF's into the page with different Flashvars based off the DB connection in the PHP section of code. I then have a jQuery .click(function(){ that fires a simple alert at the moment to test for functionality - this works as expected in Safari, but ...
Hi, I'm having a little issue with a masked input with jquery:
I have a phonenumber text input, so I masked it with a little plugin that I got from this site:
Masked-Input-Plugin by Digitalbrush
It's so usefull to mask inputs with non-complex rules, so I used this rule to mask my phonenumber input:
$("#txtHomePhoneNumber").mask("(99...
Hi everyone!
I am stuck in a problem with jQuery. I try to make a list from elements, that can be dragged and dropped in many lists. But this whole thing is inside a tab. Here is it shown as it supposed to work:
http://redbird.lv/problem/jquery_doeswork.html
The interesting thing starts if I try to change the order of tabs. If the ta...