Hey Guys,
Looking for an easy to use vertical sidebar with the following conditions.
The sidebar follows you as you move down the page.
The sidebar contains a scrollbar for extra long lists.
Any help would be great!
Cheers,
Ash
...
So I was working with jQuery's .load() just now and it looks like we can't configure $("#example").load('./uri.ext #ID') to chain as such:
$("#example").load('./uri.ext #ID1').load('./uri.ext #ID2').load('./uri.ext #ID3')
Which of course would be useful if we had a template file of DIVs or something to dynamically build a page and not ...
i have navigation with following values...
<a href="#home" id="home" class="goto">Home</a>
<a href="#profile" id="profile" class="goto">Profile</a>
<a href="#account" id="account" class="goto">Account</a>
<a href="#feedback" id="feed" class="goto">Feedback</a><br><br><div id="target"></div>
now i have following function
$(".goto").li...
I'm trying to implement a simple drag/drop of images between panels using jQuery. While dragging I create an thumbnail image that I position under the mouse. This part all works but since the mouse now always has the thumbnail under it I don't get mouseenter/leave on the underlying drop target panels. I was hoping to use these events t...
Let's say we have the jqGrid in our ASP.Net MVC 2 application, e.g. Craig Stuntz's demo source code on his blog.
I want to make to columns auto-resized but don't know how to do it.
Please help!
...
How to change image resolution using jQuery.I have applied a image on body background using css/php. Now I want to apply screen height and width to the image, so image displays in full windows.
Actuly i haven't use repeat style.
Used Code Is:
<style type="text/css">
<?php
global $post; ...
I have this weird situation where my form doesn't send any data, but the page (which should only be displayed when the data is send) is shown.
I have this code now
[..]
if(form == true){
var gender = $("input[@name='rgender']:checked").val();
var data = "name="+$("#name").val()+"
$.ajax({
url: "http:...
I wish i can make an image gallery without using jquery plugin.
Which all jquery funtions i can use and make an image scroll myself.
Can anybody suggest best practise.
scroll , scrollable. or can you suggest simple example. which i can develop myself.
...
Having some issues with my dropdown menu. Code here:
http://jsfiddle.net/xY2p6/1/
Something simple I'm just not getting, but as you can see it's not functioning correctly. I'm not sure how to link the hiding of the dropdown to when the user hovers off of the menu link, rather than the actual dropdown.
Any ideas?
...
The below code renders an invalid argument error when the the prepend method tries to execute
// close button
closers = overlay.find(conf.close || ".close");
if (!closers.length && !conf.close) {
closers = $('<div class="close"></div>');
overlay.prepend(closers);
}
This is part of the jquery.overlay.js and the error is only...
Hi!
I'm trying to show an image to let the user known that something is happening while some pages are being loaded.
I tried several examples that I found in google.
My goal is every time that I click in some link, the image should appear to let me known that the page is loading. But I'm not able to do that.
So far what I accomplish ...
I'm currently optimizing the javascripts used on two dozen sites (shared HTML templates), and one of the things I'm adding is dynamic loading of JQuery plugins. So far, I've got the following function (using an altered form of jQuery.getScript(), the default does not cache the fetched results):
function bootstrap(params) {
if (param...
If I have something like this from the server side, from a fetch:
array(1) { [0]=> array(1) { ["nome"]=> string(7) "aaaa.br" } } [{"nome":"aaaa.br"}]
The json of the above is:
[{"nome":"aaaa.br"}]
This Works:
parse: function(data) {
return $.map(eval('('+data+')'), function(result) {
return {
data: result,
value: res...
EDIT: This isn't happening because of the ajax call. I changed it to use a value from a TinyMCE component for fun and I get the same thing.
content = tinyMCE.get('cComponent').getContent(); //content at this point is <p>test</p>
valueToDisplay = content;
If I do:
jQuery(selector).html(valueToDisplay);
I get:
<p><a xmlns="http://w...
I'm creating a site using drupal where I'd like to prompt my new users to create their profiles on the first login after they register.
To do this I'm using ModalFrame API. What I've done so far is create a special role for users 'first timers' which they are assigned once they register on my site.
I check in my code for the 'first ti...
$(function() {
$(".follow").click(function(){
var element = $(this);
var I = element.attr("id");
var info = 'id=' + I;
$.ajax({
type: "POST",
url: "listen.php",
data: info,
success: function(){}
});
$("#follow"+I).hide(); ///showi...
Hello,
I looking more for 'how to troubleshoot' rather than.. the answer is this. Though I obviously wouldn't mind an answer.
Here is my JS.
function listFiles(path) {
document.path = 'dir='+path;
$.ajax({
url: "<?php echo site_url("admin/media/get_folder");?>",
//data: document.path,
...
Hi,
I have some code like
var windowObject = window.open('','windowObject','arguments...');
windowObject.document.write("<html><body onload="alert(1);window.print();alert(2);"><div>some html</div></body></html>");
The problem is that everything works except the window.print event (on ie, on firefox, it's working).
Is there a workaro...
I'm fairly new to jquery and still finding my way in it. I'm trying to execute a function, once an image is loaded into a specific div.
Here is the code I have.
$('#advanced-slideshow img').load(function() {
var idx = $('#mycarousel li a.activeSlide').data('index') - 2;
carousel.scroll(idx);
...
I know similar questions have been asked before but none of the solutions worked for me so far.
$(document).ready(function(){
alert($('#my_iframe').contents().html()); //displays null
});
I have a thickbox that includes an iframe. The iframe contains an image uploading/cropping tool, and I need to extract the uploaded image url a...