473,382 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Image Source of Google Ajax Slideshow

with google ajax slideshow,

1. how can i custom feed all the source images:
a. under a given URL folder;
b. with the given filenames (e.g. file01.jpg) ??

2. how can i enable the normal play/pause control under (outside) the image ?? not show the pause button when mouse hovers over the image.

I have read through the instruction from Google AJAX Feed API - AJAX Slide Show, i still got such problems in my minds.

The session of "linking images" tells something like:
linkTarget : google.feeds.LINK_TARGET_BLANK
What is LINK_TARGET_BLANK actually?
Does anybody tell me how the Google Codes work actually?
Dec 7 '08 #1
3 4203
acoder
16,027 Expert Mod 8TB
Can we see your code, i.e. how you've attempted to use it.
Dec 7 '08 #2
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5.   <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6.   <title>Google AJAX Feed API - AJAX Slide Show Sample</title>
  7.   <script src="http://www.google.com/jsapi"
  8.     type="text/javascript"></script>
  9.   <script src="http://www.google.com/uds/solutions/slideshow/gfslideshow.js"
  10.     type="text/javascript"></script>
  11.  
  12.   <style type="text/css">
  13.     .gss a img {border : none;}
  14.     .gss {
  15.       width: 288px;
  16.       height: 216px;
  17.       color: #dddddd;
  18.       background-color: #000000;
  19.       padding: 8px;
  20.     }
  21.  
  22.   </style>
  23.   <script type="text/javascript">
  24.     function load() {
  25.       var samples = "http://dlc0421.googlepages.com/gfss.rss";
  26.       var options = {
  27.         displayTime: 2000,
  28.         transistionTime: 600,
  29.         linkTarget : google.feeds.LINK_TARGET_BLANK
  30.       };
  31.       new GFslideShow(samples, "slideshow", options);
  32.  
  33.     }
  34.     google.load("feeds", "1");
  35.     google.setOnLoadCallback(load);
  36.   </script>
  37. </head>
  38.  
  39. <body>
  40.   <div id="body">
  41.     <div id="slideshow" class="gss">Loading...</div>
  42.   </div>
  43. </body>
  44. </html>
  45.  
This is part of the workable codes. The line http://dlc0421.googlepages.com/gfss.rss acts as the information for the source images. the point is that i wanna specify something like a http://www.abc.com/img/img1.jpg until ../img20.jpg via a while loop to loop all images under a given directory.

IN the meanwhile, i wanna set the individual timeDisplay between 2 images, i.e. the timeDisplay may different from 1 gap to another.

Please give me some help! THX so much!
Dec 7 '08 #3
acoder
16,027 Expert Mod 8TB
You need to use a valid feed, not just a folder.

For the linking images part, see this part. The LINK_TARGET_BLANK is a value to specify target="_BLANK" to open the image in a new window.
Dec 7 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Mr WZ Boson | last post by:
Hello, I hope you can help - I'm a bit new to PHP. My basic problem is with a page (HTML) which is intended to display an image slideshow. On this page there are a number of links to click...
4
by: Tim | last post by:
Hope someone in the big wide world can help... What I want to do is have an image slideshow which automatically scrolls through a series of images very fast, then pauses when you move your mouse...
5
by: christian | last post by:
Hi, i'm getting no success, with my attempt displaying some pictures one after another for i.e. some seconds. null.jpg is a white site! Really thanks for any help, regards,Christian
1
by: Steven Choo | last post by:
Hi all, I have used a script which allows visitors of my personal website to click on a small image to see an enlarged version in a pop-up. It would be great if i could add some text within the...
2
by: George | last post by:
Hi, The code below comes directly from http://www.dynamicdrive.com. It does exactly half of what I'd like it to do. The other half is this: I'd like the image block of the changing images to...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
25
by: Gilles Ganault | last post by:
Hello I've been googling for a couple of hours, but still haven't found what I need: - really simple PHP-based image gallery software. Ideally, just a single file that I just drop into a...
3
by: kennykenn | last post by:
im producing a banner and want the banner to rotate and fade in and out to the next image. i want to link each image to a SEPERATE site! I can get it to work with out the fading effect and can get...
3
by: krzysztof.murkowski | last post by:
Hi, I have problem with JavaScript for gallery of images. From the overview page with thumbnails, after a click on the small picture, the subpage 'slide_show.html' is called, with a number of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.