JQuery :: Make An Effect On A Module Of Page?
Jan 18, 2011
I'm kinda stuck with jQuery. I generally write code in PHP and do simple stuff with Javascript. But I need to make an effect on a module of my page.
[Code]...
Is this even possible? I don't want/can't preload random content and have it hidden. I could probably do this the simple way with js. Emptying the old content and replacing it with the new random content but I need the animation. I'll keep "decoding" the documentation while waiting for a response.
View 3 Replies
ADVERTISEMENT
Jun 27, 2011
i'm trying to make the module for users online in my website i've used ajax to call database and update the persons table with the status of the users when he enters or leaves the page here is my code in the <body> tag :
<body onload="javascript:UpdateUserStatus(<?php if(isset($_SESSION['user_id'])) echo $_SESSION['user_id']?>,1)" onunload="UpdateUserStatus(<?php if(isset($_SESSION['user_id'])) echo $_SESSION['user_id']?>,0);">
[Code]...
View 7 Replies
View Related
Jul 12, 2009
i want to make a module to swap ads randomly from folder named �ads� on the root like,, the advertising are either .swf, or .gif all that i need is to play the swf (when one is finished it starts the other one.. till the display of all swf's)..
[URL]
The folder �ads� is supposed to have 5 ads, when it finished number 1... it start randomly until it finish displaying all the advertising swf... i dont want to display only one of the five ... but display all in a random way..may be i have to know the length of the swf (in seconds ) and when it is finished i want to display the second and third .... etc
View 1 Replies
View Related
Sep 9, 2009
I have done a few improvements to the autocomplete module, to fix problems and improve functionality:
Added selectOnly option to autoselect a result if there's only one. This may save you a click. Moved the loading indicator to the left side, in case the field is rtl. Requires a small plugin I made, attached here. A css entry is being added to this effect. The included css file has this, but as opposed to the main autocomplete.css, colors are given as names.
Added substrings, and substringsSeparators. As opposed to multiple, which deals with a list of elements separated by a fixed string, substringSeparators is a string made of chars, that each and any of them provide a separator between autocompletable strings. It supports editing a program with a closed list of keywords, and operators and spaces as separators.
Added extraFields, a list of names or ids (if prefixed with #) of other fields to provide as fieldname=value params to the ajax query. In case names are provided, they are expected to be inputs in the same form as the input itself. More complex relationship may be found by adding suitable callbacks to extraParams, which I'd only ask to receive the $input and the key name as parameters.
View 1 Replies
View Related
Sep 24, 2010
I've got a list of modules, and when I click on one of them it expands displaying the content. When you expand them, a little image on the right changes from a down arrow (v) to an up arrow (^), but it's changing on all of the modules rather than just the one.
Here is the website: [URL]
It's pretty obvious what my question is; how do I get it so the image only changes on the module that you expand?
Here's the code for the moduleToggle function:
function moduleToggle() {
$('.content').hide();
$('.title').click(function() {
[Code]....
View 3 Replies
View Related
Sep 19, 2011
I have a question for using checked selector does not work well.Here is my code:
$("input").click(
function(event) {
var id = $(":checked").val();
[code]....
View 1 Replies
View Related
Jan 18, 2010
I'm trying to make a slot machine effect in JS - i had an ajax example but was far too complicated to manipulate to communicate with my server so im working from ground up.
The way ive done it is simple html and a submit button.
But i want the submit button to first create a "rolling through the images" affect like a slot machine does - then stop left to right in that order (basically like a slot machine does).
Now this is beyond what i know in JS but i then also want it to know the result of the images store them into an array and push it to my PHP so i can process it on my server.
View 2 Replies
View Related
Feb 17, 2011
Is there any example code for the following flying "clouds and plane" effect?
it looks really nice.code...
View 1 Replies
View Related
Mar 19, 2010
I found the following code on a web site. It displays text as if it were being typed but it only does it once. I have been trying to use various functions to make the effect continuous, i.e. make the header appear as typing text, clear the text, again make the header appear as typing text, clear the text, and so on. I wish this to continue for as long as the web page is open. But I just can't get it to work.
[code]
<h2 id="fly">Header</h2>
<script type="text/javascript">
//Use "$" for linebreak[code]....
View 1 Replies
View Related
Mar 22, 2010
Code...
Since I changed hosts for my web site Ive had a few creases to iron out. I'm hoping this is the last one...
Basically on this page http://www.pauserefreshment.co.uk/go...arch_2010.html i had a really cool light box effect pulled from this site code...
Unfortunately it no longer works :-( Ive checked the file paths and cant see the problem. I'm totally foxed. The CSS and java script files look the same so I just cannot fathom why when you point over an image on this page
http://www.pauserefreshment.co.uk/go...arch_2010.html the light box effect remains disabled.
View 1 Replies
View Related
Apr 10, 2009
how to make a facebook style image onmouseover effect.
When you mouseover your profile image, in the top right corner of that image, a little box appears that you can click to change your picture.
View 2 Replies
View Related
May 13, 2011
I am trying to use this JQuery Loupe effect to magnify small images on mouseover, but would like to be able to click on those magnified images to open a lightbox or to link to another page, but I can't seem to make it work!!
Here is what i'm working with. [URL]
View 1 Replies
View Related
Feb 9, 2010
I'm looking for a way to go from one page to another, with a peel effect. Not just a small peel effect to make a advert appear, but a full peel effect. When a user click a link, the current page roll, and a full new page appears, as if he was using a book.
Is it possible with jQuery ?
View 1 Replies
View Related
Jun 8, 2011
I am seeking to change the color attribute in my CSS file under the ID's #realmaturesingles and #seniorpeoplemeet upon the hovering of these links. These two ID's are initialized inside an <a> tag (these are links). How can I do this with JavaScript? This is what I tried:
Code:
<script type="text/javascript">
$('#seniorpeoplemeet').FontEffect({
gradient:true,
mirror:true,
mirrorColor:"#CCC"
})
[Code]...
View 1 Replies
View Related
Jan 14, 2011
I want to slide an image or a page on page load..the below is an example
[URL]
View 2 Replies
View Related
Nov 7, 2011
I'm relatively new to jquery, and I'm attempting to implement a "Page Curl" effect (by Elliot Kember) on my BigCommerce storefront. Here is the plugin: [URL].
Here is my storefront: [URL]
I've got the jquery referenced in my HTMLHead.html page, and my scripts are all uploaded to my folder "/turn" on my site. However, I can't seem to find the right page for placement of my 'call function':
$(document).ready(function(){
$( '#target' ).fold();
});
And the 'element';
<img id="target" src="turn/code.png">
Am I placing these on the correct pages for a proper 'call' of the scripts? There are numerous pages referenced that make-up the HTMLHead.html page, and I'm finding a hard time trying to place the jquery plugin on the right pages.
View 4 Replies
View Related
Apr 22, 2009
Im having a bit of trouble with the bounce show effect from jquery ui. To see what I mean, check out my development site. Anytime you modify a part in this computer builder, the rigth side gets updated. Right now its removing and adding list items. Problem is when click items too fast, the animation doesnt finish and the next item gets bumped lower and lower.
[Code]...
View 1 Replies
View Related
May 3, 2011
I am using rockstories module in joomla for slide show. When I browse site with www, it works fine. But when I browse site without www, the image in slide show doesn't loads and I get a javascript error :
Security error" code: "1000
[Break On This Error] var MooTools={version:"1.2.5",build:"0...")[1]);
b.set("title","");}});}});})();
I am using mootools upgrade js.
View 2 Replies
View Related
Jul 7, 2009
I had posted this issue previously regarding my Ajax site navigation module not loading correctly. It would load on certain parts of the site and not others. After some research I have discovered that I need to redirect from "www.mydomain.com" and make a call to "mydomain.com" instead. I thought a 301 .htaccess redirect would work but according to the site that sold me the template the script in my configure.php file must be changed. This is what configure.php looks like now.
<?php
define('HTTP_SERVER', '[URL]');
define('HTTPS_SERVER', '[URL]');
define('ENABLE_SSL', 'TRUE');
define('HTTP_COOKIE_DOMAIN', 'mydomain.com')
define('HTTPS_COOKIE_DOMAIN', 'mydomain.sslpowered.com/mydomain.com/');
define('HTTP_COOKIE_PATH', '/mydomain.com/mysite/catalog/'); .....
I am wondering what has to be changed in the script so it will make the call the the correct domain so the ajax script will load on all parts of the site.
View 1 Replies
View Related
Oct 11, 2009
i want to make a iframe page that loading a page from other site. I have try "jQuery iFrame Sizing" to set auto height in iframe... but it is failed.
This is my code :
-------------
on Head
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/iframe.js"></script>
on Body
[Code]....
View 1 Replies
View Related
Jul 27, 2010
Was just wondering if anyone can tell me what effect is being used on this sitepoint page [URL]Half way down this page theres a navigation panel with links Top Sellers | Latest | Design...When you select one iof these links the page loads and then displays the products, can someone tell me what kind of jquery is this?
View 2 Replies
View Related
Oct 18, 2011
I was wondering if jQuery or mootools has a set of scripts that creates a page slide effect with a stationary menu? What I mean is instead of loading a page when you click a link, all pages of the website are loaded at first, and then when a link is clicked, the corresponding page slides onto the screen. The navigation menu remains unchanged (except for dropdown menus) throughout everything. This is a perfect example of what I'm looking for: [URL] I tried to search for this but didn't come up with too many great results, and I searched the jQuery documentation and wasn't able to find a slider feature.
View 2 Replies
View Related
Oct 22, 2010
How would I attach a "appear on page load" javascript fade effect to a Div or Paragraph element?I'm a javascript newbie. I'm asking because the Spry effect in Dreamweaver will only OnLoad for images.[code]
View 2 Replies
View Related
Oct 8, 2010
I need to have a series of divs fading in with different times and delay on page load.
Each div has an image that is on "display:none". When you go "hover" a div, his relative image fadeIn and stay there.
I've done that but the problem is that if you hover the div before it ends the "fadeIn" effect, his relative image will start to show up to. I want that the user can start the fadeIn effect of the image, only after the div has ended his effect.
This is my HTML test
<div id="immagine1">
<img src="images/image.png" alt="logo_key_css" width="169" height="53"/>
</div>
<div id="immagine2">
[Code].....
How can i "deactivate" the hover function till the ends of the fadeIn?
View 1 Replies
View Related
Feb 14, 2010
I've been doing some research on javascript's impact on the time it takes for a page to load, as defined by firebug's "Net" tab's "onload" demarcation (the red line). It seems that aside from dynamic data that's not part of the HTML, enabling javascript always slows down the page. I've checked wikipedia, yahoo, digg, even google; a javascript-enabled loading of each site shows a later onload() event compared to loading the same site without javascript enabled. My question: Can anyone think of a site that loads faster with javascript than it does without javascript?
View 11 Replies
View Related
Nov 26, 2011
I want to insert this star trail effect script, it works fine on blank page but star trail doesn't appear on most areas in this page and script corrupts several objects' position. How can I insert it successfully?
View 1 Replies
View Related