Indicating The Current Slide Your Are Viewing With A Img
Apr 29, 2009
I basically have a Jquery automatic slider. I have made 5 slides and there are 5 thumbnails of each img in the bottom to show users I have 5 slides.
When viewing the current slide, a white border box appears on the current slide. All the others are normal.
I would just like to know how I can replace the white border box with making the image of the thumbnail different.
EX: I have 5 black crircles and when your viewing slide #2. The SLide #2 circle turns blue.
Code I have is:
Both Frames lines are the ones who create the white border. Do I have to create my own function and add .attr({src : "new_image.gif"});
And delete both frames or is there a function already I can add? I see there is a background_color: 'transparent',
So I'm guessing there should be a background to add images but I wouldn't know the command.
View 4 Replies
ADVERTISEMENT
Sep 15, 2011
When I reveal my hidden <div> using ...
Code:
I would also like to return the user's view to the beginning of said <div>.
Until now I have been using a page anchor, but that archetype is no longer a possibility for other reasons. In essence, I would still like to have the same functionality as calling an anchor via URL.
Is there not a dom property / that can be adjusted?
View 2 Replies
View Related
Jun 12, 2009
I have the following JS which puts a transparent blanket over the page and centralizes a <DIV> in the middle of the page. The problem I have is that sometimes the content of the page is quite long, and thus this popup <DIV> will get centralize against the content and not the current view port. The blanket only layers the transparent element on the viewable part of the screen/browser, so I am putting in a overflow: hidden style, so I need to ensure that the popup (and the transparency layer) is only on the current viewing window and not based on the content size (otherwise with the scrollbars taken away I will not be able to get to the popup.
So what I need is to display the transparency DIV and popup within the current viewing window, whether the user has scrolled half way down a page then it should show here - if that makes sense
My current JS is below...
Code JavaScript:
View 1 Replies
View Related
Jul 3, 2009
Does anyone know how i would go about selecting the next .slide after the one with .current in it? how can i get the div index of the .current class?
<div id="slideshow">
Ive got the action attached to somthing outside of the slideshow div so i can use .this.
View 1 Replies
View Related
Sep 23, 2008
I have a page has multiple slide shows in it, and have written a little script to loop over and implement the function. I'd also like to diplay the current slide number under each sideshow ("2 of 5 images"). I tried a few ways to go about this (using the variables that should be floating around pager or prevNextClick). Neither worked. In the past I've had success with idx etc
[Code]...
View 20 Replies
View Related
Feb 2, 2011
I'm having a little trouble with 2 differentJS scripts. I have a drop down slide menu and a parralex slide gallery. Both work on separate pages and puton the same page they still work however the submenu of the slide down menu does not. if I remove the style sheet that belongs to the gallery
Then the munu works, however (obviously) the page layout goes wrong. if i remove<h1 class="title">Alex Holland Perspective</h1> the menu works however page layout goes wrong andI loose my header
Here is the code.
View 4 Replies
View Related
Jan 5, 2011
My company uses a software to manage and collect data for equipment. They have a dedicated server to host the software and an internal website that shows all of this data. Though it is an internal website, it can be accessed externally. The website displays data by taking a snapshot of the data from the software and displaying it as a jpeg. It refreshes itself every 30 seconds or so. Here's the problem: When viewing the website externally, the jpeg that shows the data doesn't show because for some reason the webpage thinks you are viewing the site internally, therefore it is trying to pull the image from an internal directory, I think. Now I am familiar with HTML but not with javascript, and the site uses javascript to pull the snapshot image on to the webpage everytime it refreshes.
[Code]...
View 2 Replies
View Related
Jul 20, 2005
I was wondering if there was a way to view the html code that javascript
produced since viewing the source code shows the javascript if statements
for netcrape and IE etc.
View 1 Replies
View Related
Sep 15, 2009
im using some accordian jquery code and the accoridian is open when i view the page.... is there anyway i can have it closed and i can click to open it
im using this code:
window.addEvent('domready', function() {
var status = {
'true': 'open',
'false': 'close'
[Code].....
View 2 Replies
View Related
Nov 28, 2003
are there any scripts on the web that could disable visitors from viewing my web source code? (can java script do this? if not any recommendations?)
View 14 Replies
View Related
Feb 17, 2009
we are developing a site and have just discovered our forms are not working in Firefox, they all run perfectly in Internet Explorer etc? Is there something we need to change with our coding? :thumbsup: Form 1: [URL] Form 2: [URL]
View 2 Replies
View Related
Jun 20, 2004
just wanted to know if there is a way to insert a code that shows how many users are viewing your page using javascript? i.e. 3 Users Online
View 4 Replies
View Related
Sep 21, 2004
I'm using ul, li tags to create drop down menus. The images in my main nav bar change when mousing over the images. When I move the mouse over an image and go down to the links that appear in the drop downs, the image changes back to what it was before I moused over it.
Does anyone know of a javascript that will display the mousoever image in the main nav bar while mousing over the links in the drop-down menu?
View 1 Replies
View Related
Oct 19, 2011
I'm making a form with some fields. Once the form is submitted it updates the page with a new div containing the data entered without refreshing. Im using jquery form plugin. What I'd like to achieve is the new div(.record) to .slideDown. I guess I need to somehow specify the exact div by giving it an id or number. I'm not sure and why im here.
At the moment when i submit all of the divs(.record) are hidden with .hide, then they all slide down with .slide. Best i can understand is to hide the last div then slide down. But again.. I don't know how to specify to only slide down the last div added and not the current .record divs on the page.
[Code]...
View 3 Replies
View Related
Jun 17, 2011
I'm trying to manipulate the functions of Codaslider for a layout. What I need is the ability to use an image for slide dynamic slide navigation. I've solved the issue for dynamic hashing, however I'm stuck at modifying the HTML. I've tried a few things but I figure this is the easiest way...
[Code]....
View 9 Replies
View Related
May 27, 2011
Ive seen a couple plugins on how to use a 5 star rank system, Most seem prettyunderstandable.
However my problem is i want to find a way to sort the ranked content by most votes, But cant seem to find a plugin for that. Anyways, Can you link a 5 star rank system along with a rating plugin that goes along with it.
View 10 Replies
View Related
Jul 1, 2010
I'm using jQuery cycle plugin right now, and I want to add a new slide based on the newly created image and I want to replace this slide later if the user has updated the image. I read the document of jQuery cycle, and I found it's using onBefore callback to do the job, but it's not on the fly, how could I do it on the fly?
View 2 Replies
View Related
Dec 13, 2011
How to insert and remove slide in jquery cycle before the first slide.
View 3 Replies
View Related
Jul 10, 2007
I've seen websites that had large flash ads that covered content on pages that, after they had run, resized or disappeared.
We would like to use the technology behind that (presumably JavaScript) to show and hide an intro flash on a home page. We would like to have a "close" link on the flash also.
I have searched Google and here but haven't found any good resources and many of the sites I have seen using the technology are no longer using them. I just need a little assistance on the JavaScript part of the puzzle.
We want the flash to start over the copy on the page and then roll out softly when it's done playing, revealing the content below. Code:
View 1 Replies
View Related
Mar 24, 2010
I am very new to using jquery (and any javascript at all really) and I am having a dillema. I am trying to have several expandable sections of my webpage but I only want one to be opened at a time so I want to use slideUp and slideDown rather than slideToggle.
I want to use the same button to open and close the section. How do I do this? Here is my current jquery code, as of right now when I click expandButton1 the itemContent1 section closes and then reopens immediately:
[Code]...
View 2 Replies
View Related
Apr 30, 2009
It's for a navigation on my website. I want to have the sub-categories sliding down, if you click on a parent-category. I made it and there's no problem. But I want the sub-categories to slide away with a second click on the parent-category and I don't know how to do this.
to give you an example of my code:
the html:
<ul>
<li><a href="#">Home</a></li>
<li class="menuparent"><a class="menuparent2" href="#">Info</a>
[Code].....
View 8 Replies
View Related
Nov 9, 2009
I'm trying to get a mootools plugin to work with a slide in/slide out javascript using multiple divs. Here's the page: [url] The mootools code (Noobslide) slides a main image on the right when you click thumbnails on the left, which are wrapped in a thumb mask using CSS. The first row of thumbnails works perfectly, but when it's passed on to the next div the mask isn't passed on and the effect breaks down.
Here's the html:
The javascript:
The CSS:
View 1 Replies
View Related
Aug 24, 2010
Im a starting graphic designer, 21 yrs of age and just rolling into this webdesign industry. Ive come a long way, do have some knowledge.. but when it comes to complicated things like JS I often visit knowledgeable forums like these.
I hope I can contribute into making this community richer.
Now, Ive implemented this slide out menu succesfully before, only now it seems that ive mistaken somewhere. The menu just pops out instead of sliding out like it should.
Code:
<script type="text/javascript">
$(document).ready(function(){
var docked = 0;
$("#dock li ul").height($(window).height());
[Code]....
And if you want to see a working example of how it should be look here.
View 4 Replies
View Related
Jun 26, 2010
Trying to learn the basics... Here is a script for three toggle buttons that each when clicked open their corresponding divs. Fine. Now how does one go about automatically closing an open div when clicking on a new 'toggler' that opens it's div? I see other posts about this very question, but I'm just not grasping the logic.
jQuery(document).ready(function($) {
$("#toggle1").click(function () {
$("#toggle1div").toggle("drop", {direction:"right"}, 500);
});
$("#toggle2").click(function () {
View 3 Replies
View Related
Jul 12, 2010
I am implementing the following example into a project I'm working on...Simple Slide PanelWhen clicking Slide Panel, the panel pushes everything down. How do you modify it so that instead of pushing everything down, it just slides down over the top of everything else?
View 4 Replies
View Related
Jan 14, 2009
I am trying to put together a purse shopping site - I would like to have the various views of the same purse in thumbnails under one image then when the customer clicks on the thumbnail the larger image will go into the viewing area. The general layout is like this page - [URL] So when someone clicks on the smallest image I would like it to replace the other image on the page and the larger image becomes the thumbnail. How is this accomplished?
View 2 Replies
View Related