Wildcards In A Slide Show
Jul 23, 2005
Anyone could give me some leads on where to find a javascript program
to make an automated slideshow with pictures located in an specific
directory? What I mean is that I do not wish to specify specific
pictures, but just tell the program to use all the contents (*.*) of
a specific directory.
View 2 Replies
ADVERTISEMENT
May 13, 2009
I found a sample java script for a slide show.
I'm trying modify it to show four pictures at a time.
And links to youtube videos
I really have no clue what I'm doing, I'm just changing stuff and seeing what happens. Yeah, I'm surprised I got this far.
What I need to learn is:
< how to assign and change the other three pictures.
< how to change the embeded image link.
Here is what I got so far: Slide show of Movies
And here is the code:
View 6 Replies
View Related
Aug 8, 2010
I have a problem on my wordpress blog that is integregated with a 3rd party shopping system. What I'm finding is that the Image Slide Show will not show up on the product page but will show up on other pages. obviously there is some conflict but I don't know where.Example: here is the product listing page while in the header the slide show seems to work fine.Now here is the page if you select one of the t-shirts but as you will see the image slide show in the Header vanishes?
View 2 Replies
View Related
Jul 20, 2005
The objective is to have a form with text boxes for selection criteria
followed by an 'asp' displaying the query results. We would like to match
strings from the text boxes with table data beginning with the same strings.
Currently we are able to select exact matches but not like items (ie items
beginning with the same string).
Data from the form is passed to variables in the 'asp' as follows:
var varMake=Request.Form("txtMake");
var varModel=Request.Form("txtModel");
We then open a connection to an Access database and populate a recordset
with a list of stock using the following variables:
var adoConnection=Server.CreateObject("ADODB.Connection");
var adoRecordset;
var mySQL;
The value given to mySQL is:
var mySQL="SELECT * FROM tblStock WHERE Make = ' " + varMake + " ' AND
Model LIKE ' " + varModel + " ' ORDER BY PurchasePrice DESC";
This is then executed by:
adoRecordset=adoConnection.Execute(mySQL);
For the Make to be an exact match is fine. However, it would be disireable
for the Model to display like items. But using an asterix as a wildcard
does not work.
E.g. we can obtain exact model matches for models 'abc1', 'abc2' and 'abc3'
etc. but nothing is returned for 'abc* ' when we would expect all 'abcnn' to
be returned. Note though that the asterix earlier in the SQL, 'Select * ',
does work by selecting all fields.
View 7 Replies
View Related
Oct 8, 2009
I am in the early stages of this script, but removeClass isn't working as intended.
[Code]...
The idea is to remove a background style if there is one applied to #body but to leave the text one there (and vice-versa). I am sure a wildcard can be used, but it isn't working. It will remove a style if I call it by name, or all styles if I declare nothing, but I need to specify a group to remove.
View 2 Replies
View Related
Jun 9, 2005
Whats the easies way to add captions to a slide show.
I have the basic slide show format with images in an array and having them get cycled through via a function like chgSlide(-1) or chgSlide(1).
I can' easily add the captions to an array. I'm not sure how to print the captions on the page. I could use a text box but thats lame.
How could I print these on the page as each image is updated in the slide show?
View 8 Replies
View Related
Dec 29, 2010
My slide show seem to not be initializing I used a base from [URL] and tweaked it around to be exactly what I need and it won't start.
here is my js
var interval = 1500; //1.5 secs
var random_display = 0; //goes in order
//defines where the images are stored
[Code]....
View 1 Replies
View Related
Nov 6, 2010
I have to include:1) 10-20 pictures2) a title that is displayed at the top of the page3) the file name of the current picture4) a drop down list that allows the user to ynamically change the background color. Black (default), red, green, orange, brown, and blue.5) Right under the pictures there should be five clickable images for first, previous, next, last and random. 6) I can use any images for the above described buttons.7) The slide show should rotate through images whenever border conditions are met. For example, if the next button is clicked on the last picture, then the first picture in the deck should get loaded. Alternatively, if the previous button is clicked on the first picture, then the last picture in the deck should get loaded.8) When the random button is clicked, a random picture must be selected. A randomly selected picture must be different from the current picture.9) Each button must display a tool-tip when the mouse hovers over the image. 10) CSS for all formatting.11) Javascript code in separate file.So far i have:
<script type = "text/javascript">
function loadPicture() {
var img = new Image();
[code]....
View 2 Replies
View Related
Apr 14, 2011
For some reason, the slide show at this link will not work in Firefox, but works in IE, Chrome and Safari. Any ideas on why its buggy.
View 2 Replies
View Related
Jul 23, 2005
I would like to make a slide show using random images. The problem is my
host is 250.com, and they don't support cgi-programs. Is there another
way to accomplish random images?
View 9 Replies
View Related
Oct 18, 2011
I am using some excellent code for a photo slide show from ..
The way this slide show gallery works is there are mulitple list items in an UL and within each list item is an image. sequentially one list item has the class .show and this changes the css of that list item so opaque is set to 1. Making it visible. A timer determines when the list items change so the next list item within the hierarchy has .show. Once is reaches the last list item, it goes back to the first item.
The problem I have with my code is that when the page first loads up, the first image displays briefly before changing to the second image. After this happens, the slide show behaves correctly.
In bold are the the important lines of code. First I use jquery to assign .class to first list item. The second line of code in bold is a conditional statement. If no image has .show, assign it to the first list item. This is when the code doesn't work as intended.code...
View 1 Replies
View Related
Aug 9, 2011
have set up a simple slide show within a table to present as redesign option on home page for a new client. The SS is working fine but the rest of the content that follows in rows beneath are not showing when the page loads. They do appear when you hit refresh. what's blocking the load. Here's the link to the test page:[URL]
View 2 Replies
View Related
Jan 25, 2007
I have the follwing slideshow and would like to know if it is possible to add a url to the images.
URLs to add: /html/technical.asp
/html/books.asp
<script>
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 10000
// Duration of crossfade (seconds)
var crossFadeDuration = 3
var Pic = new Array()
Pic[0] = '/html/images/technical-files.gif'
Pic[1] = '/html/images/reference-books.gif'
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}
function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter="blendTrans(duration=2)"
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply()
}
document.images.SlideShow.src = preLoad[j].src
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}
</script>
View 3 Replies
View Related
Aug 6, 2009
I have a project on building a horizontal slide show and it has to look like this site. tiltdesignstudio [dot]com and instead of flash, i need to use other programming language.
1) is it possible to create a site like that with out using flash?
2)What would be the best approach to build this project?
View 5 Replies
View Related
Mar 1, 2004
I´m trying to get multiple slide shows on one page (3 beside each other) using JavaScript.
I took the code from http://www.dynamicdrive.com/dynamicindex14/pixelate.htm
for creating the slide show, everything is working fine but I can´t change the code to work with multiple slide shows on one page.
View 3 Replies
View Related
May 5, 2006
I have one web-page and one picture box in the middle of page. I have some images in my SQL database, I want to load those images on picture box placed on my web page one by one. I want to display each image for 3 seconds and then next image, but these image are not fix, I will keep changing original image files in the images directory and will specify their names in database tables. Structure of database table is as follows:
pictureID pictureNameAndPath
1 images/picture1.gif
2 images/picture2.gif
3 images/picture3.gif
I just want from system to read this tables and display these pictures in the picture box placed on the page, using Javascript.
View 2 Replies
View Related
Jun 7, 2010
I'm pretty new to JavaScript, can adjust it, but don't know how to build applications yet, but working on it. I'm looking for a tutorial or an open source app that will do the following: Slide show with buttons that overlay the slideshow, so users can click on the buttons and move to another slide. It's pretty common for most bigger companies now. I don't need it to shuffle out Flash or video, just simple gifs that are kept in a separate folder.
View 14 Replies
View Related
Apr 29, 2011
Is there a way to make my css drop down to appear over the javascript slide show? [URL] Currently the drop down is hidden behind it.
I used this tutorial to make the slideshow: [URL]
CSS menu code:
Code:
.menu{
border:0px;
margin:0px;
padding:0px;
[Code]....
View 2 Replies
View Related
Dec 19, 2011
I want a slide show that changes the URL so each slide has a unique bookmarkable URL.
But I want to really understand this and I don't even know what this method is called (otherwise I'd search for it). So is there a term for this partial-updating-of-a-page-with-URL-updating? And what is the term for the part of the URL right of the '#'?
View 4 Replies
View Related
Apr 14, 2011
i have a slideshow at [URL] which utilizes the following code. how can i get rid of the fade effect and just have one image transition to the next cleanly with no fade animation?
/*
* jQuery Cycle Plugin for light-weight slideshows
* Examples and documentation at: http://malsup.com/jquery/cycle/
* Copyright (c) 2007 M. Alsup
[Code].....
View 1 Replies
View Related
May 27, 2011
I used JQUERY to create a slideshow on my website. It worked fine off-line but when i uploaded it on the server it doesn't work at all. I'm very new to this so i was wondering if its the coding, server or the script that makes this problem.and the problem is in each and single one of those pages in the menuknow if I should post a certain part of the script or the html file to ensure a better solution.
View 4 Replies
View Related
Mar 24, 2010
<script type="text/javascript">
$(document).ready(function() {
$('#box2').hide();
[code]....
View 6 Replies
View Related
Sep 24, 2010
I've been playing with this code:[URL]And i'm having problems using a link to change the slide.
View 1 Replies
View Related
Jan 28, 2011
Heres my code:
var interval = 1500;
var random_display = 0;
var imageDir = "grax/";
[Code]....
The show auto starts on 01.jpg, which is the second slide in the slide show, so I created a fake 00.jpg to move the images up one. This works fine except image 08.jpg shows twice at the end.
View 2 Replies
View Related
Jan 6, 2012
Im using the method i found on the net. but still got problem working. dont know where i done wrong. images not appearing.
<script type="text/javascript">
View 5 Replies
View Related
Mar 5, 2010
I'm trying to create a slide show using the script here:[URL]Here's my page.[URL] The problem is in IE (I'm testing this in IE7) there is a small black rectangle that displays in the fade. (I've tested this in Opera, Safari and Chrome. It works in all. I also tested it using an IE tester [URL]. Only 8 and 6 versions work correctly.) I can see on the dynamic drive page the slide show works correctly.I've tried changing the "background='black'" in the .js in a variety of places to transparent and tried to put an image, a transparent .png, in place of the background. No success with either one.
View 4 Replies
View Related