GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 26-May-2007, 06:33
obduk obduk is offline
Junior Member
 
Join Date: May 2007
Posts: 54
obduk will become famous soon enough

XHTML / Javascript Problem


I have this slide show veiwer that works fine in firefox, but not in dambed IE.

HTML Code:
<script type="text/javascript" src="js/owen_games.js"> </script> <table class="GameImages"> <tr> <td class="GameImagesSide"> <img id="previous" class="pointer" src="images/buttons/previous.gif" onclick="previous_picture()" alt="Previous Image" /> </td> <td class="GameImagesCenter"> <img id="owen_games_image" src="images/owen_games/logo.gif" alt="Image of Game" /> </td> <td class="GameImagesSide"> <img id="next" class="pointer" src="images/buttons/next.gif" onclick="next_picture()" alt="Next Image" /> </td> </tr> </table>

Code:
function previous_picture() { if(image_number > 0) { image_number -= 1; document.owen_games_image.src = image[image_number]; } }

It can work fine if I put img name, however that is not alowed in XHTML.

Owen
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
We're looking for JavaScript codes / mini tutorials. JdS Web Design Forum 8 23-Nov-2008 04:27
An Introduction to Javascript JasonMichael Web Design Forum 2 24-Oct-2004 11:19
NEED HELP!!! - Javascript problem with Netscape Rusty0918 Web Design Forum 1 09-Apr-2004 02:04
JavaScript Tutorial Part 1 pcxgamer Web Design Forum 2 01-Dec-2003 10:16
Why does javascript cause sound problem to website rhino1616 Web Design Forum 8 06-May-2003 17:25

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 14:16.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.