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
...
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...
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; ...
The problem I'm having at the moment is that the date is being entered into the SQL database as 30/12/1899. I'm using Access 2003 for the database and can't think of any potential reason why this is happening!
window.status='Loading contingency scripts - please wait...';
audit('Loading contingency scripts');
var conting={ i:0
,start:fu...
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 have a javascript function that works in IE7, but is giving me trouble in Firefox.
JAVASCRIPT
function vehicleSelected() {
var ddlSelect = document.getElementById('ddlSelect');
var displayTable = document.getElementsByName('listTable')[0];
var strAuto = ddlSelect.options[ddlSelect.selectedIndex].value;
alert("ok, so far...
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...
I have created an add-on using firefox's add-on builder. I am able to create a javascript file inside add-on and can invoke a function when a user clicks on the button provided by addon.
The problem is I am not able to access firefox's webpage from that javascript file. When I access "document" object, it seems to be different object. A...
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...
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 have a number of different xml files that I need to edit from an html form. I want the form to be generated dynamically (the files could any valid xml structure) and I want to save the modified xml content back to the database in the same structure.
I've seen a few examples of using XSLT when you know the structure of the xml, but in ...
Hi,
I used the following example to display a website in an iframe on my website. I use the following code:
$(document).ready(function() {
$('a#verd').click(function(e) {
e.preventDefault();
var $this = $(this);
var horizontalPadding = 30;
var verticalPadding = 30;
$('<iframe id="externalSite" class="externalSite" s...
Hi,
For my xml object I have 3 nodes which I can grab. I'm trying to make a search box where the result is a link. I'd like to format what is shown in the drop down to be like this:
Title (which is also a link provided by the URL node)
Description
I am able to get the data but how do I format the results to look like that? I'd also...
I have a task ahead of me and I would like to plan the best way of attacking it before diving in. I need to make a carousel with resizing elements that animate similar to this page/plugin http://www.eogallery.com/ This gallery seems like it needs a lot of work and does not operate very smooth. I have used jcarousel many times and have ...
Hi folks,
Could you suggest the best way to keep focus on a particular input field on page?
What I am trying to say is, no matter where user clicks on the screen, the focus should return back to this one particular input.
I am thinking of a timer function that would check for focus every 500ms and if its not there, then bring it back.
...
I have developed a Java applet which opens a URL connection to some different server. The applet then retrieves contents of the HTML page and do some processing and then shows to user. Can I cross-compile it to JavaScript using GWT?
...
I have modal popup of external site using jquery
The external site is a login
After completion of the login the modal window will redirect to a site.
I want to:
i) identify when the modal has redirected (login complete)
ii) capture the modal url to acquire parameters from the url.
How do i do this in jquery methods & javascript
...