Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-14-2009, 02:59 PM   #1
In Runtime
 
akira282's Avatar
 
Join Date: Mar 2009
Posts: 172
Default AJAX slideviewer help needed

Hey, I'm just trying to implement a slideshow viewer for my website.

I already added the script in the picture.html and added jquery but it isn't working.

Here are the instructions:
http://www.ajaxdaddy.com/demo-slideshow-viewer.html
http://slideshow.triptracker.net/index.html

It shouldn't be really that hard, but it isn't working lol.

anyone?
__________________

__________________
[CPU] Intel Core i7 920 @ 2.66 [MOBO] ASUS P6T Deluxe V2 [GPU] EVGA GeForce GTX 260 SCE 896MB 620MHz/216 core [RAM] G.Skill 6GB DDR3 1333 7-7-7-18 [HD] WD Cav Black 640GB 7200RPM [DRIVE] Samsung DVD/CD burner [PSU] OCZ 700w [MONITOR] LG 1080p, 1920x1080 23" 2ms GTG Widescreen LCD [KEYBOARD] Saitek Eclipse Blue [CASE] Antec 902[OS] Windows Vista 64bit Home Prem.
akira282 is offline   Reply With Quote
Old 04-15-2009, 09:46 AM   #2
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: AJAX slideviewer help needed

Hmm. It seems to work fine for me, but there could be any number of circumstances that cause this. Here is the code I used (using images of my own) to get the script to work. It's actually a pretty cool script.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" dir="ltr">
 <head>
  <title>Slideshow Testing</title>
  <meta http-equiv="Conent-type" content="text/html; charset=utf-8" />
  <script type="text/javascript"
      src="http://slideshow.triptracker.net/slide.js"></script>
  <script type="text/javascript">
  <!--
    var viewer = new PhotoViewer();
    viewer.add('sierra.jpg');
    viewer.add('mgmCoffee.jpg');
    viewer.add('mgm_wa.jpg');
  //-->
  </script>
 </head>
 <body>
  <a href="javascript:void(viewer.show(0))">Slideshow</a>
 </body>
</html>
What does your code look like?
__________________

__________________
**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
http://www.twitter.com/xDaevax
Daeva is offline   Reply With Quote
Old 04-15-2009, 05:49 PM   #3
In Runtime
 
akira282's Avatar
 
Join Date: Mar 2009
Posts: 172
Default Re: AJAX slideviewer help needed

I got the code to work, but it was kind of challenging for some reason.

http://kyler282.googlepages.com/slide

can you review that code and see what you think?
__________________
[CPU] Intel Core i7 920 @ 2.66 [MOBO] ASUS P6T Deluxe V2 [GPU] EVGA GeForce GTX 260 SCE 896MB 620MHz/216 core [RAM] G.Skill 6GB DDR3 1333 7-7-7-18 [HD] WD Cav Black 640GB 7200RPM [DRIVE] Samsung DVD/CD burner [PSU] OCZ 700w [MONITOR] LG 1080p, 1920x1080 23" 2ms GTG Widescreen LCD [KEYBOARD] Saitek Eclipse Blue [CASE] Antec 902[OS] Windows Vista 64bit Home Prem.
akira282 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 07:26 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0